OSDN Git Service

android-x86/build.git
8 years agoam 63712481: am bb97ff59: am a7168e1c: am e539537d: (-s ours) am 7f96f4f6: am 4c710cb...
Zach Jang [Mon, 21 Sep 2015 19:05:35 +0000 (19:05 +0000)]
am 63712481: am bb97ff59: am a7168e1c: am e539537d: (-s ours) am 7f96f4f6: am 4c710cbe: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

* commit '63712481f04b6525288b5df182d6f3e853a3bfb9':
  DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

8 years agoam ab095b44: am 48e2b43e: am 47ef4c34: DO NOT MERGE - Backport of ag/748221 - Securit...
Zach Jang [Mon, 21 Sep 2015 19:05:33 +0000 (19:05 +0000)]
am ab095b44: am 48e2b43e: am 47ef4c34: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

* commit 'ab095b445af361911df2856e77f43c4cf103a0e2':
  DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

8 years agoam bb97ff59: am a7168e1c: am e539537d: (-s ours) am 7f96f4f6: am 4c710cbe: DO NOT...
Zach Jang [Mon, 21 Sep 2015 18:58:22 +0000 (18:58 +0000)]
am bb97ff59: am a7168e1c: am e539537d: (-s ours) am 7f96f4f6: am 4c710cbe: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

* commit 'bb97ff5941b266639e31fd4a30a6d34921e7bc2b':
  DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

8 years agoam 48e2b43e: am 47ef4c34: DO NOT MERGE - Backport of ag/748221 - Security Patch Level...
Zach Jang [Mon, 21 Sep 2015 18:58:10 +0000 (18:58 +0000)]
am 48e2b43e: am 47ef4c34: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

* commit '48e2b43e8cc030456b0f625f321c45d2e1775130':
  DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

8 years agoam a7168e1c: am e539537d: (-s ours) am 7f96f4f6: am 4c710cbe: DO NOT MERGE - Backport...
Zach Jang [Thu, 17 Sep 2015 20:40:28 +0000 (20:40 +0000)]
am a7168e1c: am e539537d: (-s ours) am 7f96f4f6: am 4c710cbe: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

* commit 'a7168e1c6ef9e9bc5491b09cb9db683b69e25e2b':
  DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

8 years agoam e539537d: (-s ours) am 7f96f4f6: am 4c710cbe: DO NOT MERGE - Backport of ag/748221...
Zach Jang [Thu, 17 Sep 2015 20:27:20 +0000 (20:27 +0000)]
am e539537d: (-s ours) am 7f96f4f6: am 4c710cbe: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

* commit 'e539537d8c7a4288f40afa9226787b9af3d4416b':
  DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

8 years agoam 7f96f4f6: am 4c710cbe: DO NOT MERGE - Backport of ag/748221 - Security Patch Level...
Zach Jang [Thu, 17 Sep 2015 20:16:43 +0000 (20:16 +0000)]
am 7f96f4f6: am 4c710cbe: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

* commit '7f96f4f6b95de53bd4aaff762885050ad7c4a7be':
  DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

8 years agoam 4c710cbe: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings...
Zach Jang [Thu, 17 Sep 2015 20:04:23 +0000 (20:04 +0000)]
am 4c710cbe: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

* commit '4c710cbe7f5786c3df396ea4283da920fd5c351b':
  DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

8 years agoam 47ef4c34: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings...
Zach Jang [Thu, 17 Sep 2015 20:04:17 +0000 (20:04 +0000)]
am 47ef4c34: DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

* commit '47ef4c3467e4f895b776fb0e8dbcba8f90a9398c':
  DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings CL#2/3

8 years agoAdd verity_signer and verity_key flags to add_img_to_target_files.
Baligh Uddin [Thu, 17 Sep 2015 04:20:30 +0000 (21:20 -0700)]
Add verity_signer and verity_key flags to add_img_to_target_files.

The signing process requires the boot and recovery images be signed
by CROS-Signer, which is done after a signed_target_files.zip is
available.  Once the boot/recovery images are signed, we need
to insert it back into signed_target_files.zip and regenerate the
system.map and verity tree.  The script (add_img_to_target_files) does
this operation and needs to be aware of verity specific flags.

Bug: 23831896
Change-Id: Id24e878161052c768b74da1231b97eb0574b4c8b

8 years agoDO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings
Zach Jang [Sat, 12 Sep 2015 00:27:09 +0000 (17:27 -0700)]
DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings
CL#2/3

b/23946860

Change-Id: I42a2aaf26cf458d1775b11029789330cdd85b3a3

8 years agoDO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings
Zach Jang [Sat, 12 Sep 2015 00:27:09 +0000 (17:27 -0700)]
DO NOT MERGE - Backport of ag/748221 - Security Patch Level in Settings
CL#2/3

b/23946860

Change-Id: I42a2aaf26cf458d1775b11029789330cdd85b3a3

8 years agoam 2ad5c0cc: Merge "emulator.mk: Add ethernet permission" into mnc-dev
Bo Hu [Wed, 16 Sep 2015 17:45:59 +0000 (17:45 +0000)]
am 2ad5c0cc: Merge "emulator.mk: Add ethernet permission" into mnc-dev

* commit '2ad5c0cca46b7f0a159dbc90243756c84a93b093':
  emulator.mk: Add ethernet permission

8 years agoMerge "emulator.mk: Add ethernet permission" into mnc-dev
Bo Hu [Wed, 16 Sep 2015 17:38:07 +0000 (17:38 +0000)]
Merge "emulator.mk: Add ethernet permission" into mnc-dev

8 years agoresolved conflicts for a1fcaf86 to mnc-dr-dev
Ian Pedowitz [Wed, 16 Sep 2015 01:39:19 +0000 (18:39 -0700)]
resolved conflicts for a1fcaf86 to mnc-dr-dev

Change-Id: Ie53652faa530a3c9c83f30c8f2b636d90f0f1b7a

8 years agoAdd an option to include a full bootloader in incremental OTA.
leozwang [Tue, 15 Sep 2015 15:44:12 +0000 (08:44 -0700)]
Add an option to include a full bootloader in incremental OTA.

Bug: 23999213
Change-Id: I6c715eb01048e187622ba1e90c89a3306a294b8a

8 years agoam 91c8c66e: am 17aa06f6: Fix build.
leozwang [Tue, 15 Sep 2015 07:58:27 +0000 (07:58 +0000)]
am 91c8c66e: am 17aa06f6: Fix build.

* commit '91c8c66eb033a76e0c5968c23eced5f7bbde6d82':
  Fix build.

8 years agoam 17aa06f6: Fix build.
leozwang [Tue, 15 Sep 2015 07:52:08 +0000 (07:52 +0000)]
am 17aa06f6: Fix build.

* commit '17aa06f6fe0c10cb3bb84a11dfc78a88a4155adc':
  Fix build.

8 years agoFix build.
leozwang [Tue, 15 Sep 2015 07:41:53 +0000 (00:41 -0700)]
Fix build.

Convert ota_from_target_files back to symbolic link.

Change-Id: I932ba8c0b15fa71a27083adc92e9f9a90dc82f8c
(cherry picked from commit 17aa06f6fe0c10cb3bb84a11dfc78a88a4155adc)

8 years agoFix build.
leozwang [Tue, 15 Sep 2015 07:41:53 +0000 (00:41 -0700)]
Fix build.

Convert ota_from_target_files back to symbolic link.

Change-Id: I932ba8c0b15fa71a27083adc92e9f9a90dc82f8c

8 years agoam 47f6a4e7: am 1c1a6d15: am 2c9dfb82: am 1d4ad515: Revert "Add an option to include...
Leo Wang [Tue, 15 Sep 2015 04:51:19 +0000 (04:51 +0000)]
am 47f6a4e7: am 1c1a6d15: am 2c9dfb82: am 1d4ad515: Revert "Add an option to include a full bootloader in incremental OTA."

* commit '47f6a4e72592bef7ed91f2541c55c151428e11ad':
  Revert "Add an option to include a full bootloader in incremental OTA."

8 years agoam 1c1a6d15: am 2c9dfb82: am 1d4ad515: Revert "Add an option to include a full bootlo...
Leo Wang [Tue, 15 Sep 2015 04:43:38 +0000 (04:43 +0000)]
am 1c1a6d15: am 2c9dfb82: am 1d4ad515: Revert "Add an option to include a full bootloader in incremental OTA."

* commit '1c1a6d15b2c979f28d3cf9a13e96e16e24be16ec':
  Revert "Add an option to include a full bootloader in incremental OTA."

8 years agoam 2c9dfb82: am 1d4ad515: Revert "Add an option to include a full bootloader in incre...
Leo Wang [Tue, 15 Sep 2015 04:36:53 +0000 (04:36 +0000)]
am 2c9dfb82: am 1d4ad515: Revert "Add an option to include a full bootloader in incremental OTA."

* commit '2c9dfb8239bb4cbe1c9118ccc5bd115713f513e6':
  Revert "Add an option to include a full bootloader in incremental OTA."

8 years agoam 1d4ad515: Revert "Add an option to include a full bootloader in incremental OTA."
Leo Wang [Tue, 15 Sep 2015 04:29:45 +0000 (04:29 +0000)]
am 1d4ad515: Revert "Add an option to include a full bootloader in incremental OTA."

* commit '1d4ad5158b2cf2f30269d8f733548188208af64a':
  Revert "Add an option to include a full bootloader in incremental OTA."

8 years agoRevert "Add an option to include a full bootloader in incremental OTA."
Leo Wang [Tue, 15 Sep 2015 04:03:20 +0000 (04:03 +0000)]
Revert "Add an option to include a full bootloader in incremental OTA."

This reverts commit 46d5efcd0d451a48cc793931efef2b1ca982386d.

Change-Id: Ibd347be362db50c0cdb34bf828718872bd74ad56

8 years agoam 5837f102: am 1753b4e9: resolved conflicts for 00fdede3 to lmp-mr1-ub-dev
leozwang [Tue, 15 Sep 2015 01:17:03 +0000 (01:17 +0000)]
am 5837f102: am 1753b4e9: resolved conflicts for 00fdede3 to lmp-mr1-ub-dev

* commit '5837f1025cf28935f3c6f3e0417dcfeac4d56688':
  Add an option to include a full bootloader in incremental OTA.

8 years agoam 1753b4e9: resolved conflicts for 00fdede3 to lmp-mr1-ub-dev
leozwang [Tue, 15 Sep 2015 01:07:05 +0000 (01:07 +0000)]
am 1753b4e9: resolved conflicts for 00fdede3 to lmp-mr1-ub-dev

* commit '1753b4e9e444d9ce57f5ce481ed5e3317670ee31':
  Add an option to include a full bootloader in incremental OTA.

8 years agoemulator.mk: Add ethernet permission
bohu [Mon, 14 Sep 2015 23:02:43 +0000 (16:02 -0700)]
emulator.mk: Add ethernet permission

Networking on old emulator device(a.k.a. goldfish) relies on RIL;
However, RIL is not available on ranchu device yet. For ranchu device
to have a functional networking, we need to add ethernet permission
and start dhcpcd_eth0 service on ranchu device. This CL adds ethernet
permission to both goldfish (which is harmless) and ranchu devices.

This addition was originally proposed by miroslav.tisma@imgtec.com
and the ethernet permission was only added to arm64 and mips64 after
discussion. With the ranchu device supporting more architectures,
it makes sense to allow this permission on all devices and all CPU
architectures.

related CL by miroslav.tisma@imgtec.com on AOSP:
    b09fb84becf73bf2bc578ebf27910d75b79d668a

bug: 24070972

Change-Id: I81ac5d8901adee43784fe9dd45a170fb90bb824a

8 years agoresolved conflicts for 00fdede3 to lmp-mr1-ub-dev
leozwang [Mon, 14 Sep 2015 23:39:23 +0000 (16:39 -0700)]
resolved conflicts for 00fdede3 to lmp-mr1-ub-dev

Change-Id: If4b79f7ed4d67cd8ed708a84703eac58b1e979ac

8 years agoam 46d5efcd: Add an option to include a full bootloader in incremental OTA.
leozwang [Mon, 14 Sep 2015 21:27:04 +0000 (21:27 +0000)]
am 46d5efcd: Add an option to include a full bootloader in incremental OTA.

* commit '46d5efcd0d451a48cc793931efef2b1ca982386d':
  Add an option to include a full bootloader in incremental OTA.

8 years agoAdd an option to include a full bootloader in incremental OTA.
leozwang [Fri, 14 Aug 2015 17:57:58 +0000 (10:57 -0700)]
Add an option to include a full bootloader in incremental OTA.

Bug: 23101469
Bug: 23999213

Change-Id: Id5ed748a5639663bb5df954f9375838fd9c295ca

8 years agoam 265d9aeb: releasetools: Update the fingerprint when signing.
Tao Bao [Sat, 12 Sep 2015 23:00:24 +0000 (23:00 +0000)]
am 265d9aeb: releasetools: Update the fingerprint when signing.

* commit '265d9aeb622c5829787b16b903f028cacaa99c18':
  releasetools: Update the fingerprint when signing.

8 years agoreleasetools: Update the fingerprint when signing.
Tao Bao [Fri, 11 Sep 2015 22:27:56 +0000 (15:27 -0700)]
releasetools: Update the fingerprint when signing.

ro.bootimage.build.fingerprint should be updated when signing.

Bug: 22720426
Bug: 24009888
Change-Id: I5bd31858c6bc31edcecc6f5248f4274481506288

8 years agoreleasetools: Always write the last block if it's padded.
Tao Bao [Sun, 6 Sep 2015 03:35:32 +0000 (20:35 -0700)]
releasetools: Always write the last block if it's padded.

In BBOTAs if the last block of a DataImage is padded, we should always
write the whole block even for incremental OTAs. Because otherwise the
last block may be skipped if unchanged, but would fail the post-install
verification if it has non-zero contents in the padding bytes.

Bug: 23828506
Change-Id: I6f6789eec568ed0b808b9e425f5ecdbea1bdf446
(cherry picked from commit 7589e961a7b8b7d964704db87f83ed8811e97ac6)

8 years agoam 39c322ce: releasetools: Fix the bug in symlink deletion.
Tao Bao [Thu, 3 Sep 2015 17:26:12 +0000 (17:26 +0000)]
am 39c322ce: releasetools: Fix the bug in symlink deletion.

* commit '39c322cefcc0ecba76a2ffb8881694fd010a87fc':
  releasetools: Fix the bug in symlink deletion.

8 years agoreleasetools: Fix the bug in symlink deletion.
Tao Bao [Wed, 2 Sep 2015 17:28:08 +0000 (10:28 -0700)]
releasetools: Fix the bug in symlink deletion.

For file-based OTAs, symlinks in the source build but not in the target
build will be deleted. However, if a symlink is replaced by a regular
file in the target build, the file will be accidentally deleted when
applying (resuming) the same package again.

Verify the checksum of a symlink that will be unpacked or renamed to.
Delete the file only if it doesn't have the target checksum.

Bug: 23646151
Change-Id: I77bae035e39f2e0be25f7f6d71c5882464e3d50f
(cherry picked from commit 84006eacd05e3f2784a0ecdf36609767f2c34044)

8 years agoam 057831bc: Merge "Set the Security Patch level with Oct 1 for MNC" into mnc-dev
Zach Jang [Wed, 2 Sep 2015 00:04:40 +0000 (00:04 +0000)]
am 057831bc: Merge "Set the Security Patch level with Oct 1 for MNC" into mnc-dev

* commit '057831bc665b15d7beda970b91b2c332dee417f0':
  Set the Security Patch level with Oct 1 for MNC

8 years agoMerge "Set the Security Patch level with Oct 1 for MNC" into mnc-dev
Zach Jang [Tue, 1 Sep 2015 23:51:02 +0000 (23:51 +0000)]
Merge "Set the Security Patch level with Oct 1 for MNC" into mnc-dev

8 years agoMerge "Include init.usb.configfs.rc into rootdir" into mnc-dr-dev
Badhri Jagan Sridharan [Tue, 1 Sep 2015 22:57:27 +0000 (22:57 +0000)]
Merge "Include init.usb.configfs.rc into rootdir" into mnc-dr-dev

8 years agoInclude init.usb.configfs.rc into rootdir
Badhri Jagan Sridharan [Sat, 29 Aug 2015 02:44:05 +0000 (19:44 -0700)]
Include init.usb.configfs.rc into rootdir

Bug=23633457

Change-Id: I26bbc5ff597138b2ccac1de72117753739b31554

8 years agoMerge "Revert "Temporarily use blockimgdiff v2 for OTA."" into mnc-dr-dev
Tao Bao [Tue, 1 Sep 2015 19:02:24 +0000 (19:02 +0000)]
Merge "Revert "Temporarily use blockimgdiff v2 for OTA."" into mnc-dr-dev

8 years agoam 4ffdc8fa: Fix bug that caused table of Studio links to result in "stand-alone...
smain@google.com [Mon, 31 Aug 2015 21:36:29 +0000 (21:36 +0000)]
am 4ffdc8fa: Fix bug that caused table of Studio links to result in "stand-alone" tools instructions. bug: 23570662

* commit '4ffdc8faf2c795027f38b6ef4685dd6d1179878e':
  Fix bug that caused table of Studio links to result in "stand-alone" tools instructions. bug: 23570662

8 years agoMerge changes from topic 'stash-size' into mnc-dr-dev
Tao Bao [Mon, 31 Aug 2015 20:59:48 +0000 (20:59 +0000)]
Merge changes from topic 'stash-size' into mnc-dr-dev

* changes:
  Split large files for BBOTA v3.
  Revise stash for BBOTAs when needed.
  Assert the stash size when generating OTAs.

8 years agoSet the Security Patch level with Oct 1 for MNC
Zach Jang [Mon, 31 Aug 2015 17:12:17 +0000 (10:12 -0700)]
Set the Security Patch level with Oct 1 for MNC

- MNC currently has security patches from the August OEM bulletin with patch date of Sep 1 plus only critical fixes from September OEM bulletin
- To be cherry-picked if picking up remaining fixes from September OEM bulletin to MNC

Change-Id: I2d1ba9c5a893727962f3f1837df1dd9df49e44f5

8 years agoFix bug that caused table of Studio links to result in "stand-alone" tools instructions.
smain@google.com [Fri, 28 Aug 2015 23:51:12 +0000 (16:51 -0700)]
Fix bug that caused table of Studio links to result in "stand-alone" tools instructions.
bug: 23570662

Change-Id: I7482eddbeffa581307bf7f76b9653de41966b6f9

8 years agoam 4fc14679: am fc168f84: resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev
Ying Wang [Thu, 27 Aug 2015 01:37:54 +0000 (01:37 +0000)]
am 4fc14679: am fc168f84: resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev

* commit '4fc1467949aaf9e6a49a6771ed996e3c2c702314':
  Don't fail build of otatools if there are no device certificates

8 years agoam 8f7c08ed: am 1e120181: am 473b6a5f: am fc028e59: Dist the otatools package.
Ying Wang [Thu, 27 Aug 2015 01:37:53 +0000 (01:37 +0000)]
am 8f7c08ed: am 1e120181: am 473b6a5f: am fc028e59: Dist the otatools package.

* commit '8f7c08ed622d733c0997324d5b0464ba7e57c1fa':
  Dist the otatools package.

8 years agoam fc168f84: resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev
Ying Wang [Thu, 27 Aug 2015 01:33:15 +0000 (01:33 +0000)]
am fc168f84: resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev

* commit 'fc168f84695f492f2ad0eed3063145f425bebf45':
  Don't fail build of otatools if there are no device certificates

8 years agoam 1e120181: am 473b6a5f: am fc028e59: Dist the otatools package.
Ying Wang [Thu, 27 Aug 2015 01:27:37 +0000 (01:27 +0000)]
am 1e120181: am 473b6a5f: am fc028e59: Dist the otatools package.

* commit '1e120181f0a9240eca61dface4fb4530bf2594ab':
  Dist the otatools package.

8 years agoresolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev
Ying Wang [Thu, 27 Aug 2015 00:03:18 +0000 (17:03 -0700)]
resolved conflicts for merge of 1a8c6567 to lmp-mr1-ub-dev

Change-Id: Iadb7c55c246705ac10c6822b7bb5d71794ce485b

8 years agoRevert "Temporarily use blockimgdiff v2 for OTA."
Tao Bao [Wed, 26 Aug 2015 22:28:35 +0000 (15:28 -0700)]
Revert "Temporarily use blockimgdiff v2 for OTA."

This reverts commit d07bfc519673fdba66448f0a81ef869b922c3804.

Real fixes [1][2][3] are ready to merge. Time to revert the workaround.

[1] commit d47d8e14880132c42a75f41c8041851797c75e35
[2] commit 1fc67631eedbfba07e005d85aadae6e1b91d8d93
[3] commit 937847ae493d36b9741f6387a2357d5cdceda3d9

Bug: 22430577
Change-Id: Icd6623e8717c93ad1f12cd1ba43db5e006e928ad

8 years agoSplit large files for BBOTA v3.
Tao Bao [Tue, 25 Aug 2015 22:10:10 +0000 (15:10 -0700)]
Split large files for BBOTA v3.

For BBOTA v3, we need to stash source blocks to support resumable
feature. However, with the growth of file size and the shrink of the
cache size, source blocks that represent a file are too large to be
stashed as a whole. CL in [1] solves the issue by replacing the diff
command with a "new" command. However, it may increase the generated
package size substantially (e.g. from ~100MB to ~400MB).

With this CL, if a file spans too many blocks, we split it into smaller
pieces by generating multiple commands. For the same case above, it
reduces the package size to ~150MB.

One potential downside is that after splitting, files like .jar,
.apk and .zip can no longer use imgdiff. We may lose the potential
benefit of using imgdiff for patch size reduction.

[1] commit 82c47981bd0602a1c7b50dfabf9a6a2412993bae

Bug: 22430577
Change-Id: Iee1ad6543f3d40368e079e418cc31728e1ab3f48
(cherry picked from commit 9a5caf2c30e5dcb19823dff328de1cfb140a2799)

8 years agoRevise stash for BBOTAs when needed.
Tao Bao [Mon, 17 Aug 2015 16:45:13 +0000 (09:45 -0700)]
Revise stash for BBOTAs when needed.

When generating incremental BBOTAs (v2 and above), we need to ensure
that the needed runtime stash is below the given threshold. If it's
running out of space on /cache, we replace the command that uses a
stash with a "new" command instead.

This may increase the OTA package size, since it is carrying more full
blocks instead of patches. It gets even worse for large files that span
a number of blocks, because currently we will store all the blocks for
the file as "new" blocks if stashing cannot be satisfied. We may further
optimize by splitting them into smaller chunks so that most of them can
still be stashed.

Bug: 22430577
Change-Id: Ieae5243d461e3f899f613f76a380f6f7c3edb356
(cherry picked from commit 82c47981bd0602a1c7b50dfabf9a6a2412993bae)

8 years agoAssert the stash size when generating OTAs.
Tao Bao [Thu, 21 May 2015 21:09:49 +0000 (14:09 -0700)]
Assert the stash size when generating OTAs.

With block-based OTA v2 and v3, it requires stash space on the /cache
partition to back up blocks during an update. We need to ensure that
it doesn't exceed the partition size. Since there might be other files
on /cache as well, we use cache_size * threshold as the maximum allowed
size. The threshold defaults to 0.8, which can be overridden by command
line option '--stash_threshold'.

Change-Id: Ieee5d373c9bfb2ea401d85ca8a3adb491579de76
(cherry picked from commit 23ac4042128e47f6fe1ef176e7cb96f907d8e149)

8 years agoam 473b6a5f: am fc028e59: Dist the otatools package.
Ying Wang [Wed, 26 Aug 2015 20:17:16 +0000 (20:17 +0000)]
am 473b6a5f: am fc028e59: Dist the otatools package.

* commit '473b6a5f2b00f941acb08b5c3df59cbbdf647609':
  Dist the otatools package.

8 years agoam 8d771971: Don\'t fail build of otatools if there are no device certificates
Claes Elgemark [Wed, 26 Aug 2015 17:14:49 +0000 (17:14 +0000)]
am 8d771971: Don\'t fail build of otatools if there are no device certificates

* commit '8d771971212069f77851163f437c782f581bf6db':
  Don't fail build of otatools if there are no device certificates

8 years agoDon't fail build of otatools if there are no device certificates
Claes Elgemark [Wed, 1 Apr 2015 09:29:29 +0000 (11:29 +0200)]
Don't fail build of otatools if there are no device certificates

Bug: 23552169
Change-Id: I32723701d952ef2243ce0234132fa9876f0f21b6

8 years agoam c69aa42b: Merge "Set the Security Patch level for MNC" into mnc-dev
Bart Sears [Wed, 26 Aug 2015 03:49:10 +0000 (03:49 +0000)]
am c69aa42b: Merge "Set the Security Patch level for MNC" into mnc-dev

* commit 'c69aa42b4331569814d23336412e6754a0495d65':
  Set the Security Patch level for MNC

8 years agoMerge "Set the Security Patch level for MNC" into mnc-dev
Bart Sears [Wed, 26 Aug 2015 03:40:38 +0000 (03:40 +0000)]
Merge "Set the Security Patch level for MNC" into mnc-dev

8 years agoam afc5ab39: am c6e087ad: resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev
Tao Bao [Tue, 25 Aug 2015 23:39:51 +0000 (23:39 +0000)]
am afc5ab39: am c6e087ad: resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev

* commit 'afc5ab39d84e9fc5fecbcd3c5a77fe4f956ff825':
  add otatools-package target

8 years agoam c6e087ad: resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev
Tao Bao [Tue, 25 Aug 2015 23:30:14 +0000 (23:30 +0000)]
am c6e087ad: resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev

* commit 'c6e087adc420ca08bfea8613c07aa51e1b4a2e3e':
  add otatools-package target

8 years agoresolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev
Tao Bao [Tue, 25 Aug 2015 23:18:01 +0000 (16:18 -0700)]
resolved conflicts for merge of 2bcfbe7e to lmp-mr1-ub-dev

Change-Id: Ia53581aee207b0a24807767d7e80959a4fc9aff3

8 years agoam ca19158e: am e9a8f465: (-s ours) resolved conflicts for merge of 0287a8f6 to lmp...
Konstantinos Menychtas [Tue, 25 Aug 2015 18:31:01 +0000 (18:31 +0000)]
am ca19158e: am e9a8f465: (-s ours) resolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev

* commit 'ca19158e034d6e0f5a605698c0f303893a2b9248':
  Increasing all emulator system image sizes

8 years agoam e9a8f465: (-s ours) resolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev
Konstantinos Menychtas [Tue, 25 Aug 2015 18:22:28 +0000 (18:22 +0000)]
am e9a8f465: (-s ours) resolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev

* commit 'e9a8f465859137ba37786031b804864205900cb4':
  Increasing all emulator system image sizes

8 years agoam fc028e59: Dist the otatools package.
Ying Wang [Tue, 25 Aug 2015 18:21:13 +0000 (18:21 +0000)]
am fc028e59: Dist the otatools package.

* commit 'fc028e59c2bc36297f23cdf2ee4fe9b1b60aa1cd':
  Dist the otatools package.

8 years agoDist the otatools package.
Ying Wang [Tue, 25 Aug 2015 00:13:53 +0000 (17:13 -0700)]
Dist the otatools package.

Bug: 23495952

(cherry picked from commit 267e957373765ad1e3ce89abe61886a305277027)

Change-Id: I49fcb9fed599268a9d37de7b14280eeb65c34788

8 years agoresolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev
Konstantinos Menychtas [Tue, 25 Aug 2015 17:20:11 +0000 (10:20 -0700)]
resolved conflicts for merge of 0287a8f6 to lmp-mr1-ub-dev

Change-Id: I1c5e60988d95e8ee73fb4cee632750ecb69b81f5

8 years agoSet the Security Patch level for MNC
Bart Sears [Tue, 25 Aug 2015 06:22:20 +0000 (23:22 -0700)]
Set the Security Patch level for MNC

MNC will include the security patches from the August OEM bulletin
which will have a patch date of September 1.

Bug: 23288951
Change-Id: Ia0f313bf35fa7af1efed1787006bfbb614bc8c29

8 years agoam 32bf3f32: add otatools-package target
Doug Zongker [Tue, 25 Aug 2015 01:20:34 +0000 (01:20 +0000)]
am 32bf3f32: add otatools-package target

* commit '32bf3f32651ddff9ffa2168017d71ec4b151a0a9':
  add otatools-package target

8 years agoadd otatools-package target
Doug Zongker [Fri, 22 Aug 2014 15:04:58 +0000 (08:04 -0700)]
add otatools-package target

Add a target to zip up all the otatools and releasetools, for easy
copying to the OTA builder machine.

Change-Id: I55a6d93c1de75ac936d941c0e3ae72897407f563
(cherry picked from commit f22b0f43efbc16c548692dc239a387edda15d78f)

8 years agoam ed7e864a: fix a few bugs in the studio download button behavior: - make button...
smain@google.com [Mon, 24 Aug 2015 16:41:18 +0000 (16:41 +0000)]
am ed7e864a: fix a few bugs in the studio download button behavior:  - make button text always white (avoid blue on blue during hover)  - revise logic to add the platform name to download button to avoid weird duplicity bug on small screens  - remove the animation scr

* commit 'ed7e864a735f004f1dbb4a2db5261855b5693913':
  fix a few bugs in the studio download button behavior:  - make button text always white (avoid blue on blue during hover)  - revise logic to add the platform name to download button to avoid weird duplicity bug on small screens  - remove the animation script when clicking download before agree because it reloaded the page (unkown cause) depends on: https://googleplex-android-review.git.corp.google.com/#/c/752757/

9 years agofix a few bugs in the studio download button behavior:
smain@google.com [Thu, 20 Aug 2015 00:36:57 +0000 (17:36 -0700)]
fix a few bugs in the studio download button behavior:
 - make button text always white (avoid blue on blue during hover)
 - revise logic to add the platform name to download button to avoid weird duplicity bug on small screens
 - remove the animation script when clicking download before agree because it reloaded the page (unkown cause)
depends on: https://googleplex-android-review.git.corp.google.com/#/c/752757/

Change-Id: I1b2b4ff9c0b0cbbd34f1c77a2b736fe3425a16e4

9 years agoam dae79613: Increasing all emulator system image sizes
Konstantinos Menychtas [Tue, 18 Aug 2015 20:19:10 +0000 (20:19 +0000)]
am dae79613: Increasing all emulator system image sizes

* commit 'dae79613cb4deb209d3428b108535715aa364f68':
  Increasing all emulator system image sizes

9 years agoam 956e4693: Increasing MIPS emulator system image size and user-data image size
Konstantinos Menychtas [Tue, 18 Aug 2015 18:28:45 +0000 (18:28 +0000)]
am 956e4693: Increasing MIPS emulator system image size and user-data image size

* commit '956e469327b1da4b635f20795ed48f6c36ba10d6':
  Increasing MIPS emulator system image size and user-data image size

9 years agoIncreasing all emulator system image sizes
Konstantinos Menychtas [Tue, 18 Aug 2015 17:27:04 +0000 (10:27 -0700)]
Increasing all emulator system image sizes

Size increase in system image deemed necessary after build
breakage observed on lmp-mr1-dev due to lack of space on
MIPS system image.

All system image sizes updated to match the image size
values set in MNC-dev (avoid merge conflicts, future-proof
all images against similar breakage issues).
This image size increase takes moderate space on host
device and does not affect system image download size
(images are sparse but delivered compressed anyway).

Change-Id: I2bdeb10f2d98030a358a9bc4249ce23c432de5bd

9 years agoIncreasing MIPS emulator system image size and user-data image size
Konstantinos Menychtas [Tue, 18 Aug 2015 17:14:12 +0000 (10:14 -0700)]
Increasing MIPS emulator system image size and user-data image size

Size increase taken as a precaution against recent built breakage
due to lack of space on a number of targets (e.g. x86, ARM64).
System and user-data image sizes set to match currently most common
setup for the emulator: system image: 1.25gb, user-data image 700mb.

Change-Id: I7118eb26dd78f5fa9e4f0006e15c8d47dee8e28c

9 years agoam 6a8f88cd: adjust image placement for m hero on medium screens.
Dirk Dougherty [Sun, 16 Aug 2015 23:57:48 +0000 (23:57 +0000)]
am 6a8f88cd: adjust image placement for m hero on medium screens.

* commit '6a8f88cdec931470256ade35ffe6b8097425e36f':
  adjust image placement for m hero on medium screens.

9 years agoadjust image placement for m hero on medium screens.
Dirk Dougherty [Sat, 15 Aug 2015 04:18:36 +0000 (21:18 -0700)]
adjust image placement for m hero on medium screens.

Change-Id: I644837bf151549ad8dbbfb194f8e699233362933

9 years agoam 71e0a80c: Merge "doc change: Add hero image for m and css for landing pages."...
Joe Fernandez [Thu, 13 Aug 2015 23:11:45 +0000 (23:11 +0000)]
am 71e0a80c: Merge "doc change: Add hero image for m and css for landing pages." into mnc-dev

* commit '71e0a80c2c2fdc26bb014685eebb874aa40f782d':
  doc change: Add hero image for m and css for landing pages.

9 years agoMerge "doc change: Add hero image for m and css for landing pages." into mnc-dev
Joe Fernandez [Thu, 13 Aug 2015 23:02:37 +0000 (23:02 +0000)]
Merge "doc change: Add hero image for m and css for landing pages." into mnc-dev

9 years agodoc change: Add hero image for m and css for landing pages.
Dirk Dougherty [Thu, 13 Aug 2015 19:37:34 +0000 (12:37 -0700)]
doc change: Add hero image for m and css for landing pages.

Change-Id: I52ddba716eebf821f8f5dbd888d6e3519f4284d4

9 years agoam 743938fb: Merge "Make sure only AppCompat (not it\'s tests) are in the docs" into...
Chris Banes [Thu, 13 Aug 2015 17:36:49 +0000 (17:36 +0000)]
am 743938fb: Merge "Make sure only AppCompat (not it\'s tests) are in the docs" into mnc-dev

* commit '743938fb0d4f56d7d009486fb90891eab9b50897':
  Make sure only AppCompat (not it's tests) are in the docs

9 years agoMerge "Make sure only AppCompat (not it's tests) are in the docs" into mnc-dev
Chris Banes [Thu, 13 Aug 2015 17:28:32 +0000 (17:28 +0000)]
Merge "Make sure only AppCompat (not it's tests) are in the docs" into mnc-dev

9 years agoam 5bf35d06: Merge "Include new AOSP messaging app in base AOSP telephony builds...
Mike Dodd [Thu, 13 Aug 2015 15:22:44 +0000 (15:22 +0000)]
am 5bf35d06: Merge "Include new AOSP messaging app in base AOSP telephony builds." into mnc-dev

* commit '5bf35d0685ba62ded55cc63f3dd2f23b82cc645d':
  Include new AOSP messaging app in base AOSP telephony builds.

9 years agoMerge "Include new AOSP messaging app in base AOSP telephony builds." into mnc-dev
Mike Dodd [Thu, 13 Aug 2015 15:16:38 +0000 (15:16 +0000)]
Merge "Include new AOSP messaging app in base AOSP telephony builds." into mnc-dev

9 years agoMake sure only AppCompat (not it's tests) are in the docs
Chris Banes [Thu, 13 Aug 2015 08:38:12 +0000 (09:38 +0100)]
Make sure only AppCompat (not it's tests) are in the docs

BUG: 23169683

Change-Id: I6ab3b8c89eba17920f1265021c7960819e4371ab

9 years agoam 25abc5a3: Merge "Fix issie #23116383: Include security patch level in Settings...
Dianne Hackborn [Thu, 13 Aug 2015 00:54:30 +0000 (00:54 +0000)]
am 25abc5a3: Merge "Fix issie #23116383: Include security patch level in Settings" into mnc-dev

* commit '25abc5a38e2e7f2962463aa4e5cd407ecdde689c':
  Fix issie #23116383: Include security patch level in Settings

9 years agoMerge "Fix issie #23116383: Include security patch level in Settings" into mnc-dev
Dianne Hackborn [Thu, 13 Aug 2015 00:46:58 +0000 (00:46 +0000)]
Merge "Fix issie #23116383: Include security patch level in Settings" into mnc-dev

9 years agoFix issie #23116383: Include security patch level in Settings
Dianne Hackborn [Wed, 12 Aug 2015 23:11:20 +0000 (16:11 -0700)]
Fix issie #23116383: Include security patch level in Settings

Change-Id: I46303c064d1365781a2c8a05bd6087518afb2aec

9 years agoInclude new AOSP messaging app in base AOSP telephony builds.
Mike Dodd [Tue, 11 Aug 2015 20:14:09 +0000 (13:14 -0700)]
Include new AOSP messaging app in base AOSP telephony builds.

b/23110861

Change-Id: I31ba32f3341c77ba6eb083a189dffa1a08c6c8d4

9 years agoam a0372e20: Merge "Removing VisualizationWallpapers as it does not comply with API...
Ian Pedowitz [Wed, 12 Aug 2015 20:17:30 +0000 (20:17 +0000)]
am a0372e20: Merge "Removing VisualizationWallpapers as it does not comply with API 23 rules" into mnc-dev

* commit 'a0372e20a24283002c2d27b372194d88e1983a3f':
  Removing VisualizationWallpapers as it does not comply with API 23 rules

9 years agoMerge "Removing VisualizationWallpapers as it does not comply with API 23 rules"...
Ian Pedowitz [Wed, 12 Aug 2015 19:41:54 +0000 (19:41 +0000)]
Merge "Removing VisualizationWallpapers as it does not comply with API 23 rules" into mnc-dev

9 years agoam 745d11cc: Merge "Revert "Include new AOSP messaging app in base builds."" into...
Mike Dodd [Wed, 12 Aug 2015 18:58:59 +0000 (18:58 +0000)]
am 745d11cc: Merge "Revert "Include new AOSP messaging app in base builds."" into mnc-dev

* commit '745d11ccd077060b5d3b0e3e53682e8c1f85dd66':
  Revert "Include new AOSP messaging app in base builds."

9 years agoMerge "Revert "Include new AOSP messaging app in base builds."" into mnc-dev
Mike Dodd [Wed, 12 Aug 2015 18:53:47 +0000 (18:53 +0000)]
Merge "Revert "Include new AOSP messaging app in base builds."" into mnc-dev

9 years agoRevert "Include new AOSP messaging app in base builds."
Mike Dodd [Wed, 12 Aug 2015 18:48:45 +0000 (18:48 +0000)]
Revert "Include new AOSP messaging app in base builds."

This reverts commit a8b0905e165448857ad45d1633c545c53bd53a5e.

Change-Id: Ia8b8eaf6576937907b073ad97593440e114c0b6f

9 years agoRemoving VisualizationWallpapers as it does not comply with API 23 rules
Ian Pedowitz [Wed, 12 Aug 2015 18:11:55 +0000 (11:11 -0700)]
Removing VisualizationWallpapers as it does not comply with API 23 rules

Bug: 23021372
Change-Id: Ib985ac99bd9068c21f8a1c48e77c72426f69ea79

9 years agoam 02389bf9: Merge "Include new AOSP messaging app in base builds." into mnc-dev
Mike Dodd [Wed, 12 Aug 2015 17:49:48 +0000 (17:49 +0000)]
am 02389bf9: Merge "Include new AOSP messaging app in base builds." into mnc-dev

* commit '02389bf940f751ffb85c8c2187a7039f0c18dad1':
  Include new AOSP messaging app in base builds.

9 years agoMerge "Include new AOSP messaging app in base builds." into mnc-dev
Mike Dodd [Wed, 12 Aug 2015 17:01:24 +0000 (17:01 +0000)]
Merge "Include new AOSP messaging app in base builds." into mnc-dev

9 years agoam 11cf92aa: am 1dca55fd: skip the merge of 67e7c661 to lmp-mr1-ub-dev
Tao Bao [Wed, 12 Aug 2015 07:03:42 +0000 (07:03 +0000)]
am 11cf92aa: am 1dca55fd: skip the merge of 67e7c661 to lmp-mr1-ub-dev

* commit '11cf92aa37b9f51176a2055b1ff97b6211404103':
  Add support for clobbered blocks

9 years agoam 1dca55fd: skip the merge of 67e7c661 to lmp-mr1-ub-dev
Tao Bao [Wed, 12 Aug 2015 06:55:21 +0000 (06:55 +0000)]
am 1dca55fd: skip the merge of 67e7c661 to lmp-mr1-ub-dev

* commit '1dca55fde512f1758690fb563f1ffc9cec5f7271':
  Add support for clobbered blocks