summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-11Merge "Merge branch android12-platform-release" into android12-gsiandroid12-gsiSzuWei Lin
2022-01-06Merge branch android12-platform-releaseSzuWei Lin
Change-Id: If3da7c46282e4d21828f206f2c54cd98375b6006
2021-11-10Snap for 7901677 from fc5067293cd5ed658e950b8b99d9dfcbcb9aca63 to ↵android-platform-12.0.0_r9android-platform-12.0.0_r8android-platform-12.0.0_r7android-platform-12.0.0_r6android-platform-12.0.0_r5android-platform-12.0.0_r4android-platform-12.0.0_r31android-platform-12.0.0_r30android-platform-12.0.0_r3android-platform-12.0.0_r29android-platform-12.0.0_r28android-platform-12.0.0_r27android-platform-12.0.0_r26android-platform-12.0.0_r25android-platform-12.0.0_r24android-platform-12.0.0_r23android-platform-12.0.0_r22android-platform-12.0.0_r21android-platform-12.0.0_r20android-platform-12.0.0_r2android-platform-12.0.0_r19android-platform-12.0.0_r18android-platform-12.0.0_r17android-platform-12.0.0_r16android-platform-12.0.0_r15android-platform-12.0.0_r14android-platform-12.0.0_r13android-platform-12.0.0_r12android-platform-12.0.0_r11android-platform-12.0.0_r10android12-platform-releaseAndroid Build Coastguard Worker
sc-platform-release Change-Id: I82cc3e2eae3acdaa0890b83195ed25510bec884b
2021-11-09Snap for 7641961 from 7027df47b2d6d343b4c0c20b6e0f4386f10a3915 to ↵Android Build Coastguard Worker
sc-qpr1-release am: c1b9def1f6 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15569921 Change-Id: I87705f80f3b263b5f6d7b7d373965daafcf7038c
2021-08-14Snap for 7641961 from 7027df47b2d6d343b4c0c20b6e0f4386f10a3915 to ↵android-12.0.0_r28android-12.0.0_r26android-12.0.0_r16android12-qpr1-releaseAndroid Build Coastguard Worker
sc-qpr1-release Change-Id: Ie965510177a8ef90ac56417fe3c97fa26f0f840d
2021-08-13[automerger skipped] Merge stage-aosp-sc-ts-dev before making it an upstream ↵android-12.0.0_r32android-12.0.0_r29android-12.0.0_r27android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseXin Li
am: 01d6f2938f -s ours am skip reason: Merged-In I38cc89bc7f81f8d6d6165a4b8f344c0660c10364 with SHA-1 ee3097ce79 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15550142 Change-Id: Ic99df91fc3401198d797a3b9d5df1fd4043cff31
2021-08-13Merge stage-aosp-sc-ts-dev before making it an upstreamXin Li
Bug: 169893837 Merged-In: I38cc89bc7f81f8d6d6165a4b8f344c0660c10364 Change-Id: Idb4ffda9324693b6cce9b403905aa84b5ec4c87c
2021-08-12Merge ab/7633965The Android Open Source Project
Bug: 169893837 Merged-In: I38cc89bc7f81f8d6d6165a4b8f344c0660c10364 Change-Id: If1ad65890088a8946fddef89e9b5393ec4750ad4
2021-07-31Snap for 7600758 from ee3097ce79889c5e0bbaec34cda8becebcc9f64f to sc-release ↵Android Build Coastguard Worker
am: 2aca084d01 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15438716 Change-Id: I649ff0833a5b008d3c1b71dab072e5cab0d95edc
2021-07-31Snap for 7600758 from ee3097ce79889c5e0bbaec34cda8becebcc9f64f to sc-releaseandroid-vts-12.0_r1android-security-12.0.0_r59android-security-12.0.0_r58android-security-12.0.0_r57android-security-12.0.0_r56android-security-12.0.0_r55android-security-12.0.0_r54android-security-12.0.0_r53android-security-12.0.0_r52android-security-12.0.0_r51android-security-12.0.0_r50android-security-12.0.0_r49android-security-12.0.0_r48android-security-12.0.0_r47android-security-12.0.0_r46android-security-12.0.0_r45android-security-12.0.0_r44android-security-12.0.0_r43android-security-12.0.0_r42android-security-12.0.0_r41android-security-12.0.0_r40android-security-12.0.0_r39android-security-12.0.0_r38android-security-12.0.0_r37android-security-12.0.0_r36android-security-12.0.0_r35android-security-12.0.0_r34android-platform-12.0.0_r1android-cts-12.0_r1android-12.0.0_r9android-12.0.0_r8android-12.0.0_r34android-12.0.0_r33android-12.0.0_r31android-12.0.0_r30android-12.0.0_r3android-12.0.0_r25android-12.0.0_r2android-12.0.0_r11android-12.0.0_r10android-12.0.0_r1android12-security-releaseandroid12-s5-releaseandroid12-s4-releaseandroid12-s3-releaseandroid12-s2-releaseandroid12-s1-releaseandroid12-releaseAndroid Build Coastguard Worker
Change-Id: Ia36346771c7e4fda8ae51e510b11b2ac02932435
2021-07-30simpleperf: replace InCloudAndroid() with runtime check.android12-devYabin Cui
On x86 and x86_64, it's likely to run on an emulator or vm without hardware perf counters. It's hard to enumerate them all. So check if hardware perf counters are available at runtime. Bug: 191277482 Test: run simpleperf_unit_test Change-Id: I38cc89bc7f81f8d6d6165a4b8f344c0660c10364 (cherry picked from commit 1f6f51aee77235b1fb374a917f0b46c9c09f0933)
2021-07-29Snap for 7592383 from d09092fd6d2632e6e2787af06ad6fdb69099966c to sc-release ↵Android Build Coastguard Worker
am: af66a363ee Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15414829 Change-Id: Ie811ac5eb480bfc4c22c3352d036bbb1cb403322
2021-07-29Snap for 7592383 from d09092fd6d2632e6e2787af06ad6fdb69099966c to sc-releaseAndroid Build Coastguard Worker
Change-Id: Ic4c549416485f17c8149b002e438898b2dc89363
2021-07-28Migrate profcollectd's libflags bindings from bindgen to cxx.Joel Galenson
This should both simplify the code and fix some errors in the existing implementation. Bug: 182498247 Test: Build Change-Id: I2a5bcbcac407ba0bb41d4884b99fe8a55113ae38 (cherry picked from commit c8fb4177717b50c3c5789011e4ab795771a62102)
2021-07-21Snap for 7566880 from 1d2f2761cd1770bc040596e706335b74572e76de to sc-release ↵Android Build Coastguard Worker
am: 39a87051cb Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15343427 Change-Id: I003322a2b61487a460c8fcead5c357246146f2b2
2021-07-21Snap for 7566880 from 1d2f2761cd1770bc040596e706335b74572e76de to sc-releaseAndroid Build Coastguard Worker
Change-Id: Ieb7f474597e800b8267d1dace838edafd30f9da2
2021-07-21profcollectd: Remove reports past retention periodYi Kong
Manually generated profcollect reports (through `profcollectctl report`) and reports that failed to upload for whatever reason need to be cleaned up periodically, to save disk space as well as to minimise privacy leak surface. Test: manual Bug: 178561556 Change-Id: I54f09d1738f7b3c3b763251af83133bda5c214ae Merged-In: I54f09d1738f7b3c3b763251af83133bda5c214ae (cherry picked from commit 8dffc1208417a18870b33ce92c03a8f77da8dbee)
2021-07-15Snap for 7550575 from 29b4145bff8bc65f46c3a830f0f6cb5c6422ff80 to sc-release ↵Android Build Coastguard Worker
am: 1e6b9ff16c Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15291208 Change-Id: I0f58021d2c18d0adb2049035fd92fdfdedcc0137
2021-07-15Snap for 7550575 from 29b4145bff8bc65f46c3a830f0f6cb5c6422ff80 to sc-releaseAndroid Build Coastguard Worker
Change-Id: I0aa894b08dad3f12f8b57d45f8975b7fd08c1a88
2021-07-14Migrate profcollectd's libbase bindings from bindgen to cxx.Joel Galenson
This should both simplify the code and fix some errors in the existing implementation. Bug: 182498247 Test: Build Change-Id: Id3f7f518922e745715aef1286be684bd3e9c16fe Merged-In: Id3f7f518922e745715aef1286be684bd3e9c16fe (cherry picked from commit 93dd9936881424d2ed4f061bd7d06f8d74163010)
2021-07-08Snap for 7529640 from c783e4235cb0e2a39d40e17ac93c3d2be6dae309 to sc-release ↵Android Build Coastguard Worker
am: 24eca5412a Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15227577 Change-Id: I88b170a619e41a0d616fa5c459eb794f97fd0259
2021-07-08Snap for 7529640 from c783e4235cb0e2a39d40e17ac93c3d2be6dae309 to sc-releaseAndroid Build Coastguard Worker
Change-Id: I3180afbb195a24a082bc3bb47f219c3b7bdce75f
2021-07-07Merge "Revert "Add ramdisk_available to init_first_stage's deps"" into sc-devTreeHugger Robot
2021-07-01Revert "Add ramdisk_available to init_first_stage's deps"Inseob Kim
Revert submission 15071196-init_first_stage_soong Reason for revert: fixes b/192248690 Reverted Changes: I23cf4f975:Add ramdisk_available to init_first_stage's deps Icd98c7e24:Add ramdisk_available to init_first_stage's deps If9da9ba16:Add ramdisk_available to init_first_stage's deps Ibc8668029:Add ramdisk_available to init_first_stage's deps I3b4b8c475:Add ramdisk_available to init_first_stage's deps I59cd149e0:Completely migrate init first stage to Soong I36d789578:Add ramdisk_available to init_first_stage's deps I2a0daa612:Add BUILD_USES_RECOVERY_AS_BOOT to soong config Ic76c325ce:Directly create ramdisk dirs in ramdisk image rule... I4c5374deb:Add BOARD_BUILD_SYSTEM_ROOT_IMAGE to config vars I8aab5faf3:Add ramdisk_available to init_first_stage's deps I9d5a10661:Add ramdisk_available to init_first_stage's deps Iaa2edeb4a:Add ramdisk_available to init_first_stage's deps I7cb582ca0:Update init_first_stage I06091d15e:Add ramdisk_available to init_first_stage's deps I8bdb8dda3:Add ramdisk_available to init_first_stage's deps I7436b8dd1:Add ramdisk_available to init_first_stage's deps I39693fd86:Add ramdisk_available to init_first_stage's deps I0a9ba90f0:Add ramdisk_available to init_first_stage's deps Ib66b4c4ea:Add ramdisk_available to init_first_stage's deps I31ce63d23:Add ramdisk_available to init_first_stage's deps Icb580f97c:Add ramdisk_available to init_first_stage's deps I044a075b7:Add ramdisk_available to init_first_stage's deps I33164a7e7:Fix ndk and aml arch order Ib8d92904a:Add ramdisk_available to sysprop_library Ibc3516453:Add install_in_root to cc_binary Change-Id: I50e4ecb6b4c5196955f7f97f887cdca352b4f56f
2021-06-30Snap for 7506386 from 3c75ec976b63902a83ad7dc3352f26cda60e4ac3 to sc-release ↵Android Build Coastguard Worker
am: 46f8573733 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15149334 Change-Id: I6570647fb04e22caa528fe13615f30dd0b79c377
2021-06-30Snap for 7506386 from 3c75ec976b63902a83ad7dc3352f26cda60e4ac3 to sc-releaseAndroid Build Coastguard Worker
Change-Id: I49710bdb8e4bae89907b66a6c405651d16f46c50
2021-06-29Revert "simpleperf: update testdata used for testing reading dex files."Nicolas Geoffray
This reverts commit 371ed7afc58655c639ab685f2a1bd20ca8c0ca14. Reason for revert: version 002 of vdex has been reverted Bug: 191480616 Bug: 192327398 Change-Id: I360b65111812156a0d95fad33fa59e224cc43276 Merged-In: I360b65111812156a0d95fad33fa59e224cc43276 (cherry picked from commit 3ae1f42b51362b333ab0378bc44522bfbb81e1d2)
2021-06-26Snap for 7495277 from b98bc39d9f3d44fc2910c0bdd16ba1933cab282d to sc-release ↵Android Build Coastguard Worker
am: 744500ad95 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15116107 Change-Id: I9e15e9c3ce48cbb5c07b3e5ce8fa0d31a25f7613
2021-06-26Snap for 7495277 from b98bc39d9f3d44fc2910c0bdd16ba1933cab282d to sc-releaseAndroid Build Coastguard Worker
Change-Id: I166bfcbfff0153aa8b8da0d7d4747125b78f493c
2021-06-25Merge "Mark constructor as static" into sc-devPirama Arumuga Nainar
2021-06-24Mark constructor as staticPirama Arumuga Nainar
Bug: http://b/183606176 Mark the constructor init_profile_extras as static so each library gets its own copy of the constructor. Also get rid of the init_profile_extras_once flag which is unnecessary. The same fix could be applied to profile-extras.cpp used for GCOV but I'm skipping it since we don't officially support gcov and can be cleaned up along with the rest of the build system support. Test: verify that symbols from libjavacrypto.so (e.g. *NativeCrypto*) are written from system_server Change-Id: Ieedbeb609fd63963d76a067c2bc0291af7c04b1c
2021-06-25Snap for 7491908 from 7605233f146d044959ac125067aefc16ada8ed50 to sc-release ↵Android Build Coastguard Worker
am: c9897186b9 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15105825 Change-Id: Id084c531e867d0830e8994e75587903b8953a05f
2021-06-25Snap for 7491908 from 7605233f146d044959ac125067aefc16ada8ed50 to sc-releaseAndroid Build Coastguard Worker
Change-Id: Ica22f90958f36295d184914c18a16d07a5fc4ae3
2021-06-23Add ramdisk_available to init_first_stage's depsInseob Kim
Bug: 187196593 Test: boot Change-Id: I3b4b8c4758d5e710d3c98dd138b0893a7b320601 Merged-In: I3b4b8c4758d5e710d3c98dd138b0893a7b320601
2021-06-22Snap for 7478986 from 5cac9f0abba7db330f7bded033c5201c57e5b141 to sc-release ↵android-build-team Robot
am: f86a5298e6 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15052679 Change-Id: I0af915181e855ead315750dcb5c6f480e5ec216a
2021-06-22Snap for 7478986 from 5cac9f0abba7db330f7bded033c5201c57e5b141 to sc-releaseandroid-build-team Robot
Change-Id: I815265e5f01733f21382d018ec7e5fd18e087c9d
2021-06-18simpleperf: update testdata used for testing reading dex files.Yabin Cui
libdexfile only supports reading the latest version of compact dex file. After bumping compact dex file version to v2, libdexfile no longer supports reading symbols from old compact dex files. So temporarily disable base.vdex for testing. And add base_with_cdex_v2.vdex to test the new version. Bug: 191480616 Test: run simpleperf_unit_test Change-Id: Iaa3762e295cd1d9418b8e49ee29fb98518d7d09b (cherry picked from commit 371ed7afc58655c639ab685f2a1bd20ca8c0ca14)
2021-06-12Snap for 7450397 from 2a8f28f46094672eec33ae234ed97a8b63c483c4 to sc-release ↵android-build-team Robot
am: c7a4d5c6e6 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14950899 Change-Id: I6fa4d728942173f5c9f9ce29a7b0776847617fce
2021-06-12Snap for 7450397 from 2a8f28f46094672eec33ae234ed97a8b63c483c4 to sc-releaseandroid-build-team Robot
Change-Id: I13c26dc07bc5d29c32a387a121d42fd1b25e4159
2021-06-11profcollectd: fix setting ACL bitsYi Kong
Unlike C++17 filesystem library, Rust OpenOptions.mode masks the given ACL bits with environment umask. This behaviour is unintended. Since the Rust API doesn't not provide a way to set ACL without umask during file creation, change the permission after the fact. Test: manual Bug: 189325542 Change-Id: I285c36d93d69e8304177d54dc48429f924020f8a Merged-In: I285c36d93d69e8304177d54dc48429f924020f8a (cherry picked from commit dcff610995f7d100b5b2729959bd47e58f2a4862)
2021-06-10Snap for 7444394 from 791c277789eaed56b901b4f0a5a3656e5930c935 to sc-release ↵android-build-team Robot
am: 6d0f40f720 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14927517 Change-Id: I2ea1983545b32ec718471c1d53eed573314d7f17
2021-06-10Snap for 7444394 from 791c277789eaed56b901b4f0a5a3656e5930c935 to sc-releaseandroid-build-team Robot
Change-Id: I527b7b70d160bb908ff2e0ed4bee4ce15a9032c9
2021-06-09profcollectd: Change data directory group to systemYi Kong
This allows the system server to read the reports for uploading. Test: manual Bug: 178561556 Bug: 183487233 Change-Id: I537333760737dec5ba7d39a7ee6bac3f3d3418c6
2021-06-08Improve checkpoint_gc jank and loggingDaniel Rosenberg
This switches over to setting gc_urgent to 2 for a lower gc setting which will respect existing IO for lower performance impact. We skip running if we're not using f2fs userdata. Added some more descriptive comments and logs to make debugging any future issue easier. 2 > gc_urgent triggers GC_URGENT_LOW, which does not make use of gc_urgent_sleep_time, so we drop that. We leave gc running at GC_URGENT_LOW in case of a long delay between ota postinstall and reboot. If something else disables it then, we'll rely on normal background gc. Test: Cause disk fragmentation, run checkpoint_gc.sh Bug: 173524015 Change-Id: I948070fc169c0a085e4a75cb7adb8138656e99d5
2021-06-03Snap for 7419753 from cd86421c8c262e437b607ad37a748a34760cfade to sc-release ↵android-build-team Robot
am: 0e9cc93551 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14808562 Change-Id: I8827d05c6aff56c5328a6b20ee6aa25886a1700a
2021-06-03Snap for 7419753 from cd86421c8c262e437b607ad37a748a34760cfade to sc-releaseandroid-build-team Robot
Change-Id: I9eefbefa79ad7a5b0f8d6a2771321c1412430e9e
2021-06-02Snap for 7414767 from fc0691cc2c46ec53c035bc227c15ed66a5dbd858 to sc-release ↵android-build-team Robot
am: 8219f78fe6 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14792644 Change-Id: I40e07d0e4014c03272a9918cc9731bf67bed829d
2021-06-02Snap for 7414767 from fc0691cc2c46ec53c035bc227c15ed66a5dbd858 to sc-releaseandroid-build-team Robot
Change-Id: Ibc67e3610d4bb01344a173550dc1d71e99cc04a1
2021-06-01Merge "simpleperf: increase record duration" into sc-devYabin Cui
2021-06-01simpleperf: increase record durationLuca Weiss
Fixes CTS tests in CtsSimpleperfTestCases: * record_cmd#app_option_for_debuggable_app * record_cmd#app_option_for_profileable_app Bug: 189726439 Test: run CtsSimpleperfTestCases Change-Id: Iedac3d8a1817043b82d320b57b8c5b89b9b4defd (cherry picked from commit 0f18a172b772f0c57ea38f36ea514ac64c9a1cce)