summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-05make_ext4fs: add option to specify the number of inodes [DO NOT MERGE]android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasePatrick Tjin
Add option to specify the number of inodes to create when making the filesystem. Read-only partitions don't have a need for extra inodes, a lot of space is wasted by these inodes. Bug: 32246383 Bug: 33252070 Bug: 33428604 Test: make vendor partition with new options Change-Id: I7063972ec4f4e617d28d2e029ad6a9f8e94add73 (cherry picked from commit 15c434682ac78262d2dad9730805eab52b748cdf) (cherry picked from commit 7842cd2b1454fb9d4440838b119b99c35b55734b)
2016-11-29DO NOT MERGE verity_verifier: Support verifying images with FEC. am: ↵Tao Bao
989f6a13a7 am: 533ed53bc0 am: 3734580187 am: 69dd400b72 Change-Id: I9ac01c8b23f58972b1867822c197c36909d771d2
2016-11-29DO NOT MERGE verity_verifier: Support verifying images with FEC. am: ↵Tao Bao
989f6a13a7 am: 533ed53bc0 am: 3734580187 Change-Id: Id3fd5d9611e86735f5cb54f7888048ff7c108f3b
2016-11-29DO NOT MERGE verity_verifier: Support verifying images with FEC. am: 989f6a13a7Tao Bao
am: 533ed53bc0 Change-Id: I1eca68a42d8c935f95e6dbeadd8e52ca5df48d01
2016-11-29DO NOT MERGE verity_verifier: Support verifying images with FEC.Tao Bao
am: 989f6a13a7 Change-Id: I7e9bebaafac56456c618befee18f971114e24b85
2016-11-22DO NOT MERGE verity_verifier: Support verifying images with FEC.Tao Bao
The current VerityVerifier.jar cannot verify verity images with FEC metadata (since N). Replace it with a new verity verifier that uses libfec to parse and verify verity metadata. It accepts the same command line arguments as the old verity_verifier script. Usage: verity_verifier <image> -mincrypt <verity_key> image the image file (raw or sparse image) to be verified verity_key the verity key in mincrypt format (/verity_key on device) Note: this is a backport of commit bb634ff8dab6327bd38eadee22d5f8ec9d3940d0. It uses the mincrypt headers and functions instead. Bug: 32173582 Test: $ verity_verifier $OUT/system.img -mincrypt $OUT/root/verity_key VERIFIED Change-Id: I8624973715dcd0f6d89d408c1c97bf584b50ce06 (cherry picked from commit bb634ff8dab6327bd38eadee22d5f8ec9d3940d0)
2016-11-20DO NOT MERGE: libfec: allow fec_header to be located anywhereSami Tolvanen
am: 549f048fcb Change-Id: Ie9b58e09558995ccd52004e82add513483df5d69
2016-11-20DO NOT MERGE: fec: add --paddingSami Tolvanen
am: 61fce29c45 Change-Id: Ia302825abf17edc824a37cd3085f02946deb9d12
2016-11-20DO NOT MERGE: fec: remove unneeded target executableSami Tolvanen
am: 955d3afe95 Change-Id: Iaf46fa50e6944376497520a191518b7ba916cae9
2016-11-20DO NOT MERGE: fec: remove unused mmap codeSami Tolvanen
am: cace33a52a Change-Id: I8597822eb5f71f001d8ce2ac651c641d4f3a1030
2016-11-20DO NOT MERGE: libfec: allow fec_header to be located anywhereSami Tolvanen
Don't require fec_header to be immediately after ECC data. Bug: 28865197 Bug: 32789520 Change-Id: Ie8faeeb07c35e2593553f7678762aae7f14c2ff7 (cherrypicked from commit d9fd5b0d7507877ad6a0ede10c473fe2970d278d)
2016-11-20DO NOT MERGE: fec: add --paddingSami Tolvanen
Add an option to insert padding between ECC data and fec_header to make it easier to position the header at the end of the partition. Bug: 28865197 Bug: 32789520 Change-Id: I8c11401df56d15362fe3eb3c2a6a91ea82b02a83 (cherrypicked from commit 85e592cb86c9cbca82852240f0148adbee1b74e8)
2016-11-20DO NOT MERGE: fec: remove unneeded target executableSami Tolvanen
Bug: 32789520 Change-Id: Ic925814191b8ac952b584a994cf455f871a8ee0c (cherrypicked from commit 4c716c92a691e6b39e8e65a397f9b6e91f9e07ee)
2016-11-10DO NOT MERGE: fec: remove unused mmap codeSami Tolvanen
Bug: 32789520 Change-Id: If4b32546c6678afaaebffbcf1fbeee17a1879561 (cherrypicked from commit 8bad827700bae35005872f3e6d674c5144fda8ff)
2016-10-26build_verity_metadata: Support --signer_args argument. am: 1522691d1d am: ↵Tao Bao
c2e9c0f0fc am: c681cb32b3 am: b91b1cd229 Change-Id: I2fdccda3685d5c255dda29680aa1f9ea7629fd47
2016-10-26build_verity_metadata: Support --signer_args argument. am: 1522691d1d am: ↵Tao Bao
c2e9c0f0fc am: c681cb32b3 Change-Id: Ifdaf37a7a04172798ce3ab125c799c819f350de3
2016-10-26build_verity_metadata: Support --signer_args argument. am: 1522691d1dTao Bao
am: c2e9c0f0fc Change-Id: Id0290ac657b6ebd1c6ec59f6ac5f44cd3806d5d7
2016-10-26build_verity_metadata: Support --signer_args argument.Tao Bao
am: 1522691d1d Change-Id: I9827575704475f3781a214ab73a3b82b7bd00e38
2016-10-25build_verity_metadata: Support --signer_args argument.Tao Bao
Use argparse to parse input parameters for future extension. Add 'build' and 'size' as two sub-commands. - 'build_verity_metadata.py -s SIZE' becomes 'build_verity_metadata.py size SIZE'. - 'build_verity_metadata.py BLOCKS METADATA_IMAGE ...' becomes 'build_verity_metadata.py build BLOCKS METADATA_IMAGE ...'. The 'build' command now accepts an optional argument '--signer_args' to specify signer specific arguments. Bug: 31500665 Test: Building and signing work w/ and w/o --signer_args. Change-Id: I3cfd2b584efad216b91d5fcd0314f4468ff7450f (cherry picked from commit 39d1756abe66538a6cbdfc4c7b5377ce279e332c)
2016-09-07ANRdaemon: fix a bug in handling dump request when trace is running.Zhengyin Qian
Change-Id: I16e2be8b90841eef251c83eda9f71c8e70f519ad
2016-08-24Merge "Remove unused function declarations" into cw-f-devDamien Bargiacchi
2016-08-16Remove unused function declarationsDamien Bargiacchi
Change-Id: I71dc112b3e1028e3ec3d3c1ec832959b1232f2f6
2016-08-11Merge "procrank: fix bounds check to prevent heap overflow" into nyc-mr1-devNick Desaulniers
am: 96eaef2510 Change-Id: I9dc98b9c1d27dcee8d74bdabf00422dc8dfd6abf
2016-08-11procrank: fix bounds check to prevent heap overflowNick Desaulniers
am: 98a20cd128 Change-Id: I9e79ff3f83f36b68fa119d1b95f235a804cfb34e
2016-08-11Merge "procrank: fix bounds check to prevent heap overflow" into nyc-mr1-devandroid-cts-7.1_r2nougat-mr1-devNick Desaulniers
2016-08-10procrank: fix bounds check to prevent heap overflowNick Desaulniers
Bug: 30774296 Change-Id: I44005caaa3cc17fe829f375a4cfeb5a464c97fbe
2016-08-09Fix binderAddInts benchmarkJohn Reck
am: 187816e579 Change-Id: I5629093163fe4e58a5d09563aa47a5086e423833
2016-08-09Fix binderAddInts benchmarkJohn Reck
Bug: 30765667 Restores the fork() that was missed in a refactor causing the benchmark to no longer measure binder's IPC performance. Change-Id: Id79ab082f1d20e1d058f80bd43018c9737b8250b
2016-08-09Fix lsof option in anrd script.Zhengyin Qian
Change-Id: Ib0043c51ed289469dbef33d9333b1e6113c3b23e
2016-08-05Fix missing pipe in ANRdaemon.Nancy Zheng
Change-Id: I1322ed51f0f1456ebfb8cbb1404772f7fc2bf840
2016-07-28Run preloads_copy.sh as system:systemFyodor Kupolov
am: 17985b261d Change-Id: Ibd98f4f6153db24e6d1b8bf7722a0d023466d875
2016-07-27Optional script to copy preloads to data directoryFyodor Kupolov
am: 9b8b12f84e Change-Id: I417fb2c538507242cb9bfa31ed638a25c79ec81f
2016-07-27Run preloads_copy.sh as system:systemFyodor Kupolov
Root is not required, and most importantly system_server won't be able delete preloads folder during cleanup. Bug: 30280710 Change-Id: I41890834467cc51b7b4ebd9c2918a47904f0b377
2016-07-26Optional script to copy preloads to data directoryFyodor Kupolov
Bug: 29940807 Change-Id: Iba4deaecb5a4055ad10b92829f37ecd3cf8a5ee0
2016-07-19cppreopts: parallel cppreopts to improve performanceWei Wang
Bug: 30118894 Bug: 30189706 Change-Id: I0ed0c69873313a3bfaf2e1ff217da59b0f8929c1
2016-07-12Basic A/B bootloader tests via bootctlJed Estep
Change-Id: Ie7868cc205859c657e905e60ab6928517f02edb8
2016-06-29Merge "Copy preopted files from B partition." into nyc-mr1-devAlex Light
2016-06-29ANRdaemon: move trace result from /sdcard to /data am: d93aa41807 am: adfc967454Zhengyin Qian
am: 20e3c1bc94 Change-Id: Ib688c2e38c181d6fdc2ca901782934dc4726eb52
2016-06-29ANRdaemon: move trace result from /sdcard to /data am: d93aa41807Zhengyin Qian
am: adfc967454 Change-Id: I4f8d4551c3ab2f5430600af833ced564aa328a55
2016-06-29ANRdaemon: move trace result from /sdcard to /dataZhengyin Qian
am: d93aa41807 Change-Id: I487116b8261bcef0fc9b829eaf38408d8a47ee78
2016-06-29Copy preopted files from B partition.Alex Light
This translates from the preopted files in the system_other partition into the main dalvik-cache. This also has init scripts to allow this to run. We first copy to a temporary file before renaming them in order to make the copy atomic. Bug: 29278988 Change-Id: I8bf1b2d021998949fd9996a923be7db9691e6a1e
2016-06-27Simpleperf: fix flaky tests.Yabin Cui
am: a486a4b8ae Change-Id: I194792e233c6ccdd695e04ed2a58f7f1034f0494
2016-06-27Simpleperf: fix flaky tests.nougat-devYabin Cui
Simpleperf stat/record command may need 1 second to set security.perf_harden property. So the monitored child threads should run longer than 1 second. Bug: 29763505 Change-Id: I9bf6dcba03f3fc5c91130f38a08ce0062e104103
2016-06-22ANRdaemon: move trace result from /sdcard to /dataZhengyin Qian
Bug: 28765756 Change-Id: Ic9461bc66c8ba4df1455d8b75c4fb6b544d0cf27
2016-06-16resolve merge conflicts of 041bdd8 to nyc-mr1-devMohamad Ayyash
Change-Id: I8b9b227f8afedb1eb77de8be9de689e3c621003e
2016-06-16Merge "libfec: pack the fec_header structure" into nyc-mr1-devThierry Strudel
2016-06-16libfec: pack the fec_header structureJeremy Compostella
The fec_header structure is generated build time and stored on disk. The fec_header might be build on a 64 bits machine while it is read per a 32 bits device or the other way around. In such situations, the fec_header fields are not aligned as expected by the device and it fails to read the fec_header structure. This patch makes the fec_header packed. Change-Id: I77546f850cea5559909971a1192e1a7616d22d50 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
2016-06-16Merge "mksquashfsimage.sh: Make disable-4k-align a paramter" into nyc-devMohamad Ayyash
2016-06-15mksquashfsimage.sh: Make disable-4k-align a paramterMohamad Ayyash
BUG: 29388879 Change-Id: I6ede2273419ba986d08decc0540741c54ed736b1 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-06-15resolve merge conflicts of 7354c0e to nyc-mr1-devMohamad Ayyash
Change-Id: I19693f5459794b71decfae4507fb2742c74f7c41