Commit Graph

2436 Commits

Author SHA1 Message Date
smain@google.com
6ee8f9b22b am 4247c940: am f4cefc19: am 633f322b: update the analytics tracking event calls to use new API for analytics.js bug: 16331906
* commit '4247c940d45318f5553138fd37f13f85f2854c6a':
  update the analytics tracking event calls to use new API for analytics.js bug: 16331906
2014-10-08 05:19:10 +00:00
Ying Wang
e24e17a976 Export build thumbprint only if the product has specified at least one oem fingerprint property
Bug: 17888863
Change-Id: I4d12bc977dcb5e8e1858efb2a395466d8779de34
2014-10-07 18:59:47 -07:00
smain@google.com
783d016a27 am bc667f1c: am 08f336ea: fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c that causes anchors in most docs other than reference to stop working
* commit 'bc667f1cd7d852909a9a3893473f29dc7b000b2f':
  fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c that causes anchors in most docs other than reference to stop working
2014-10-07 22:23:35 +00:00
smain@google.com
4247c940d4 am f4cefc19: am 633f322b: update the analytics tracking event calls to use new API for analytics.js bug: 16331906
* commit 'f4cefc19e87eae62b6f2f8cc40b154f9fbe4b3de':
  update the analytics tracking event calls to use new API for analytics.js bug: 16331906
2014-10-07 22:23:19 +00:00
smain@google.com
bc667f1cd7 am 08f336ea: fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c that causes anchors in most docs other than reference to stop working
* commit '08f336eaffa09581f2c33aee99847ee4edbeb370':
  fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c that causes anchors in most docs other than reference to stop working
2014-10-04 00:46:20 +00:00
smain@google.com
08f336eaff fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c
that causes anchors in most docs other than reference to stop working

Change-Id: I58ed0f7a84c4478d482d63e675693a197088019a
2014-10-03 17:40:00 -07:00
smain@google.com
f4cefc19e8 am 633f322b: update the analytics tracking event calls to use new API for analytics.js bug: 16331906
* commit '633f322b38c9a16aa0cac78a1f2a3fb6b1cacf86':
  update the analytics tracking event calls to use new API for analytics.js bug: 16331906
2014-10-03 23:57:14 +00:00
smain@google.com
633f322b38 update the analytics tracking event calls to use new API for analytics.js
bug: 16331906

Change-Id: I015b5aae825525822ca767d293b473f9f332961a
2014-10-03 15:49:45 -07:00
smain@google.com
0aa165d84a am c464dbc3: am 5e5f5b77: am 7ddf7943: am 9a818f55: more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a>
* commit 'c464dbc3b673010720e66d6a299dadb1dfaadab6':
  more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as anchors for all API members. bug: 16924057
2014-10-03 21:32:19 +00:00
smain@google.com
c464dbc3b6 am 5e5f5b77: am 7ddf7943: am 9a818f55: more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as ancho
* commit '5e5f5b777414204cf600727662ac0f89de6f8211':
  more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as anchors for all API members. bug: 16924057
2014-10-03 19:03:43 +00:00
smain@google.com
5e5f5b7774 am 7ddf7943: am 9a818f55: more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as anchors for all AP
* commit '7ddf794392d6e79fed66039fd9a59d37d12dbcd3':
  more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as anchors for all API members. bug: 16924057
2014-10-03 18:59:17 +00:00
smain@google.com
7ddf794392 am 9a818f55: more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as anchors for all API members. bu
* commit '9a818f55f4a4ca4f88c2a29f8e77ea6cb2153de6':
  more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as anchors for all API members. bug: 16924057
2014-10-03 18:54:36 +00:00
smain@google.com
9a818f55f4 more fixes to scroll offset for the sticky header.
This offsets the layout position of all <a name=""> tags so they naturally
show up below the sticky nav bar... though this is only for API reference,
which uses <a> tags as anchors for all API members.
bug: 16924057

Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c
2014-10-03 18:34:20 +00:00
Dirk Dougherty
f30eef8f55 am fa5fb510: am 6f1efb31: am 11451e2e: am 83fadade: Doc change: increment queryparam to trigger cache flush on proxies.
* commit 'fa5fb51030043b286e2c14afe9fc024e3b3a09eb':
  Doc change: increment queryparam to trigger cache flush on proxies.
2014-09-27 06:04:51 +00:00
Dirk Dougherty
fa5fb51030 am 6f1efb31: am 11451e2e: am 83fadade: Doc change: increment queryparam to trigger cache flush on proxies.
* commit '6f1efb310be5f66f05a0ac40f4af92d4770a7598':
  Doc change: increment queryparam to trigger cache flush on proxies.
2014-09-27 05:25:08 +00:00
Dirk Dougherty
6f1efb310b am 11451e2e: am 83fadade: Doc change: increment queryparam to trigger cache flush on proxies.
* commit '11451e2ec160b0405528b2ba6c13b40b15df8ed1':
  Doc change: increment queryparam to trigger cache flush on proxies.
2014-09-27 05:20:41 +00:00
Dirk Dougherty
11451e2ec1 am 83fadade: Doc change: increment queryparam to trigger cache flush on proxies.
* commit '83fadade5bbc43914059405c1e49dd112e66d28d':
  Doc change: increment queryparam to trigger cache flush on proxies.
2014-09-27 05:14:16 +00:00
Dirk Dougherty
83fadade5b Doc change: increment queryparam to trigger cache flush on proxies.
Change-Id: I0ffbcc48761e697340e0c4a721893b33a085a137
2014-09-26 15:00:55 -07:00
Doug Zongker
e985f6f4d8 fix transfer list for full OTAs
The erase command we insert at the top for full OTAs was getting
inserted in the wrong place for version 2.

Change-Id: I9caf03a40efbdba79f3428f73e50d4319d9ba371
2014-09-25 16:39:45 -07:00
Doug Zongker
846cb3a9e6 add unit tests for rangelib
Change-Id: I3b77e849007259e697da56bd493ae5b553b901d1
2014-09-25 16:39:32 -07:00
Doug Zongker
623381880a generate version 2 blockimgdiff files
Generate version 2 of the block_image_update transfer list format.
This improves patch size by a different strategy for dealing with
out-of-order transfers.  If transfer A must be done before transfer B
due to B overwriting A's source but we want to do B before A, we
resolve the conflict by:

  - before B is executed, we save ("stash") the overlapping region (ie
    the blocks B will overwrite that A wants to read)

  - when A is executed, it will read those parts of source data from
    the stash rather than from the image.

This reverses the ordering constraint; with these additions now B
*must* go before A.  The implementation of the stash is left up to the
code that executes the transfer list to apply the patch; it could hold
stashed data in RAM or on a scratch disk such as /cache, if available.

The code retains the ability to build a version 1 block image patch;
it's needed for processing older target-files.

Change-Id: Ia9aa0bd45d5dc3ef7c5835e483b1b2ead10135fe
2014-09-25 16:39:14 -07:00
Jeff Arneson
151c727736 Merge "Refactor show_annotations_list to remove HTML tags from method params" into lmp-dev 2014-09-25 03:45:50 +00:00
Michael Runge
560569a617 If oem_fingerprint_props is empty, ignore.
There may be cases where there is an OEM partition
but it has no effect on the OTA itself.  In these
cases, ignore an empty value from the misc_info.txt

Change-Id: I5f467e873030765af12810a07ddd5f302ca8cc0b
2014-09-18 15:12:45 -07:00
Jeff Arneson
ad46e7e7a1 Refactor show_annotations_list to remove HTML tags from method params
No need to pass in the HTML tags to start and end the list, since
we do the same thing everywhere, and it wasn't very complete anyways.

Change-Id: I504b78b699a03cc5ba7c6f0584173087aab2024b
2014-09-15 10:02:14 -07:00
Jeff Arneson
faa1dc5c01 Merge "Show annotation information for fields, enums, etc. and in the class list" into lmp-dev 2014-09-12 18:24:59 +00:00
Jeff Arneson
9eefef66a8 Show annotation information for fields, enums, etc. and in the class list
Add the "Included in documentation due to annotations..." text for
fields, enum constants, and pretty much everything with a description.

Added annotation text to eh classes.cs file used to generate the
class list page.

Change-Id: I2685d1a34fa292088c03ccd76f2627fe954c9000
2014-09-11 11:04:58 -07:00
Doug Zongker
b34fcce08c explicitly check the superblock for differences
When generating incrementals for the system and vendor partitions,
check the first block (which contains the superblock) of the partition
to see if it's what we expect.  If this check fails, give an explicit
log message about the partition having been remounted R/W (the most
likely explanation) and the need to flash to get OTAs working again.

Bug: 17393999
Change-Id: Ifd2132b428dbc4907527291712690204a3664ac0
2014-09-11 09:38:01 -07:00
Jeff Arneson
1e7fd557dd Make the text generated by showAnnotations more noticable in docs
Made the foreground of the "included in docs by annotation..." orange,
the same color used in the header of the docs page. This text is inserted
when the showAnnotations flag is used with doclava

Change-Id: I56e0b2060ed42cd0d077fff149d578d31c763f95
2014-09-10 21:20:12 +00:00
Doug Zongker
8544877399 select default search_path by platform
Bug: 17443175
Change-Id: I2b8b0a3b56e667b749ac167a6d09dc973ecf8419
2014-09-09 15:11:13 -07:00
Jeff Arneson
5c980afc5e Merge "Show annotation information in generated documentation" into lmp-dev 2014-09-08 16:39:56 +00:00
Baligh Uddin
03f8a4dfb5 am 4f3d3147: Merge "Add java_args as a valid option" into klp-modular-dev
* commit '4f3d31479d5e4e8d35e60de628417cb820d69f5e':
  Add java_args as a valid option
2014-09-06 02:47:04 +00:00
Baligh Uddin
95c17467b7 am 1131d89b: Add jvm args option. I rather not hardcode some large value just for Volantis. This can easily be passed in from sign-build.sh and should be a no-op for any other tools
* commit '1131d89b426d7da401885d37a50a908c9f87d2a1':
  Add jvm args option.  I rather not hardcode some large value just for Volantis.  This can easily be passed in from sign-build.sh and should be a no-op for any other tools
2014-09-06 02:47:02 +00:00
Baligh Uddin
4f3d31479d Merge "Add java_args as a valid option" into klp-modular-dev 2014-09-06 02:19:37 +00:00
Baligh Uddin
f5085a8f94 Add java_args as a valid option
Bug: 17393134
Change-Id: If2749d03b5d409a08d415a829dd21f986cac1789
(cherry picked from commit bdc2e3186f)
2014-09-06 02:18:09 +00:00
Baligh Uddin
1131d89b42 Add jvm args option. I rather not hardcode some large value just for Volantis. This can easily be passed in from sign-build.sh and should be a no-op for any other tools
Bug: 17393134
Change-Id: Ic2325d7c1e1e7292c9339e169efbed526f82263c
(cherry picked from commit 339ee4968a)
2014-09-06 02:17:56 +00:00
Baligh Uddin
bdc2e3186f Add java_args as a valid option
Bug: 17393134
Change-Id: If2749d03b5d409a08d415a829dd21f986cac1789
2014-09-06 00:37:54 +00:00
Jeff Arneson
3a5cb1bd15 Show annotation information in generated documentation
Display the annotations used to override @hide for classes in packages
and methods in classes.

Bug: 16848303
Change-Id: I5599e6593613edbbe6a002d5d46a0a6561dec55a
2014-09-05 22:28:59 +00:00
Baligh Uddin
339ee4968a Add jvm args option. I rather not hardcode some large value just for Volantis. This can easily be passed in from sign-build.sh and should be a no-op for any other tools
Bug: 17393134
Change-Id: Ic2325d7c1e1e7292c9339e169efbed526f82263c
2014-09-05 18:29:47 +00:00
Doug Zongker
424296a4e8 add missing AOSP copyright notices
Change-Id: Idc812db30b259a55702f8728197f957f2d24d978
2014-09-02 08:53:09 -07:00
Ricardo Cervera
2178358f2f am 71346e66: am 14d6c100: am 54d2ca33: docs: Changing adt bundle links to HTTPS
* commit '71346e665f83bc80df5f32127639582387b100fd':
  docs: Changing adt bundle links to HTTPS
2014-08-27 16:28:11 +00:00
Ricardo Cervera
71346e665f am 14d6c100: am 54d2ca33: docs: Changing adt bundle links to HTTPS
* commit '14d6c100aa1926ec9e24c1f17e3aabba95141503':
  docs: Changing adt bundle links to HTTPS
2014-08-27 16:16:15 +00:00
Ricardo Cervera
54d2ca33a3 docs: Changing adt bundle links to HTTPS
Change-Id: I35c291bfef9a267aab5b8f108a6c6592c4f08750
2014-08-27 08:48:49 -07:00
Doug Zongker
ab7ca1d286 refactor BlockDifference into common
Move BlockDifference into common and make its script generation code
more complete, so that it can be use by releasetools.py to do diffs on
baseband images.

Bug: 16984795
Change-Id: Iba9afc1c7755458ce47468b5170672612b2cb4b3
2014-08-26 13:12:11 -07:00
Doug Zongker
4d0bfb4f40 remove unused xdelta3/xz utilities
This was part of the original block-based OTA mechanism.

Bug: 16987495
Change-Id: I5bd6599829ee6084a8da1f0b14af87aabf07c130
2014-08-26 13:11:56 -07:00
Doug Zongker
5f9c28cad4 fix build
Change-Id: I1e503406129343bbfddacc1150c81e403b47778c
2014-08-26 13:11:37 -07:00
Doug Zongker
fc44a515d4 new block OTA system tools
Replace the xdelta/xz-based block OTA generation with a new system
based on the existing bsdiff/imgdiff tools.

Bug: 16984795
Change-Id: Ia9732516ffdfc12be86260b2cc4b1dd2d210e886
2014-08-26 13:10:25 -07:00
Doug Zongker
6f1d031b39 take bootable images from target_files if present
Now that we're building and saving images in the target_files at build
time, we should use those images instead of rebuilding them.

Bug: 17201052
Change-Id: I459e650f66f1e0bdf01ad54df9e34f36bf2ee899
2014-08-22 10:25:57 -07:00
Geremy Condra
95ebe7a09b Use the specified verity key to sign boot and recovery OTA images.
This ensures that when the verity key is rotated to a release key
both the boot and recovery images will be correctly signed. It does
mean that they will both be signed with the same key for now, but
as that doesn't change the threat model separating them is just a
distant nice-to-have.

Bug: 15725238
Change-Id: I5b75e4346fe0655065643ab553431690cc1a8cb0
2014-08-20 20:17:01 +00:00
Geremy Condra
f19b365cc9 Add support for switching to verity release keys.
Bug: 15725238
Change-Id: I8f92210fd854b5a2567cf76aaecb5be02c3f9293
2014-08-20 00:05:23 +00:00
Benoit Fradin
a45a8682fa BuildBootImage: Add secondstage image support [DO NOT MERGE]
The AOSP bootimage format allows the use of a second stage image
however the BuildBootableImage function does not allows the "second"
optional argument. This patch adds the support of this argument.

Bug: 17035158

Change-Id: I8ed9d9e56449945c2d42fc908269921c394f68c0
Signed-off-by: Benoit Fradin <benoit.fradin@intel.com>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Signed-off-by: Patrick Tjin <pattjin@google.com>
2014-08-14 11:24:54 -07:00