summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-08Snap for 8426163 from e474f50680b5c938d7462172b949578699df2854 to ↵android-mainline-12.0.0_r112aml_tz2_305400500aml_tz2_305400300aml_tz2_305400100aml_tz2_304500300aml_tz2_303900110aml_tz2_303900102aml_tz2_303800002aml_tz2_303800001aml_tz2_303200001android12-mainline-tzdata2-releaseaml_tz2_305400100Android Build Coastguard Worker
mainline-tzdata2-release Change-Id: Idbcfde9117fc93b159ca7325439be30538debfe5
2021-10-07Snap for 7803083 from 3b739c8720db08d5b34e8a547a5b2f6305fe37b6 to ↵Android Build Coastguard Worker
mainline-tzdata2-release Change-Id: I3f7a03441a6392968c6e25d20d018e592a2c1e93
2021-08-13[automerger skipped] Merge stage-aosp-sc-ts-dev before making it an upstream ↵android-mainline-12.0.0_r99android-mainline-12.0.0_r77android-mainline-12.0.0_r70android-mainline-12.0.0_r63android-mainline-12.0.0_r59android-mainline-12.0.0_r49android-mainline-12.0.0_r122android-mainline-12.0.0_r100android12-mainline-networkstack-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: I2921a44214baa73de6d6246f17bc2a6b1bad10a7
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-31simpleperf: replace InCloudAndroid() with runtime check. am: ee3097ce79Yabin Cui
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15433573 Change-Id: Ib33b9d71f6e5e609273e649c26f7c8520de47b4a
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-28Migrate profcollectd's libflags bindings from bindgen to cxx. am: d09092fd6dJoel Galenson
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15412604 Change-Id: I77deb916a5f2bcd50b4425b5379540dd9a0aecde
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-20profcollectd: Remove reports past retention period am: 1d2f2761cdYi Kong
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15334381 Change-Id: I4dcb065af11e119d2b110aea3c4e477d7543fbeb
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-14Migrate profcollectd's libbase bindings from bindgen to cxx. am: 29b4145bffJoel Galenson
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15285750 Change-Id: I5aeafa301af7eaf6d394892939c25e8d765ee57f
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-07Merge "Revert "Add ramdisk_available to init_first_stage's deps"" into ↵TreeHugger Robot
sc-dev am: c783e4235c Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15167730 Change-Id: Iac0421031c09d333d3d7a1afbecfc4d8413bb917
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-29Revert "simpleperf: update testdata used for testing reading dex files." am: ↵Nicolas Geoffray
3c75ec976b Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15142314 Change-Id: I853b4c65c7d02b4bd809f941d624f299b28ef67f
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-25Merge "Mark constructor as static" into sc-dev am: b98bc39d9fPirama Arumuga Nainar
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15105506 Change-Id: I5b2ae5cecc6d2ae44b41f46bddda656dd31dd7e5
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-24Add ramdisk_available to init_first_stage's deps am: 7605233f14Inseob Kim
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15071197 Change-Id: I66868b62535fcec05f836c0418a34b57bec70b76
2021-06-23Add ramdisk_available to init_first_stage's depsInseob Kim
Bug: 187196593 Test: boot Change-Id: I3b4b8c4758d5e710d3c98dd138b0893a7b320601 Merged-In: I3b4b8c4758d5e710d3c98dd138b0893a7b320601
2021-06-21simpleperf: update testdata used for testing reading dex files. am: 5cac9f0abbYabin Cui
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/15031587 Change-Id: I6a9c708401100eeae1ffb70bd894b56504e55b4e
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-11profcollectd: fix setting ACL bits am: 2a8f28f460Yi Kong
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14934458 Change-Id: I20bed186e1cfc194f041938b5a57246cc28b96b9
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-09profcollectd: Change data directory group to system am: 791c277789Yi Kong
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14912273 Change-Id: I4950addcded1444dce04712f0595528d68b6c6fb
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-09Improve checkpoint_gc jank and logging am: 69083346bfDaniel Rosenberg
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14909600 Change-Id: I7bbc2b0282035998c98d3df53cd92c9b7592664f
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-01Merge "simpleperf: increase record duration" into sc-dev am: cd86421c8cYabin Cui
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14791360 Change-Id: I16241aac8cf5fa4b0958016cc9c639c6c82694ec
2021-06-01Merge "Remove at_quick_exit call" into sc-dev am: fc0691cc2cTreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14789007 Change-Id: Iee5a903a02b06d4e6096985b84a044dd2b5bba55
2021-06-01f2fs_utils: support -O ro am: 90f568a14eJaegeuk Kim
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14737466 Change-Id: Iee5e52324492918a4a12a67a63a57e9a4c4a1f7c
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)
2021-06-01Merge "Remove at_quick_exit call" into sc-devTreeHugger Robot
2021-06-01Remove at_quick_exit callPirama Arumuga Nainar
This doesn't help with coverage for ART tools. Bug: http://b/186576313 Test: N/A Change-Id: I5c2ab63485f2b07d9e026492835072ab85dcccfb (cherry picked from commit 91e13733870df7f6df8aa68d0b17711ba98c3c5a)
2021-05-26f2fs_utils: support -O roJaegeuk Kim
"-O ro" sets the filesystem as readonly. Bug: 171942852 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: Ia561618557e4e72bcc702b1e1d954a380a90d1b2
2021-05-25profcollectd: Compress profile reports am: c4d103c875Yi Kong
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14703273 Change-Id: Ia3004838fba0a376136dbb52f92b805898d73677
2021-05-25profcollectd: Compress profile reportsYi Kong
Test: build Bug: 187671217 Change-Id: Ie73f0c545d3e150fd43649e8bc9d4de167b9a0a5 Merged-In: Ie73f0c545d3e150fd43649e8bc9d4de167b9a0a5 (cherry picked from commit 048ed1d16b067fb5e42718e292aa548fac61c034)
2021-05-24Merge "Update libnativehelper NDK API" into sc-dev am: 48f22bd729Orion Hodson
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14678278 Change-Id: I71c3f573770ff75e51b6287cba3898c62c52410c
2021-05-24Merge "Update libnativehelper NDK API" into sc-devOrion Hodson
2021-05-24Update libnativehelper NDK APIOrion Hodson
Final improvements from NDK API review of libnativehelper APIs (sync from libnativehelper/). Bug: 188067586 Test: m Change-Id: Ibd48464f88107e334907f8a5c5875f475b00e957
2021-05-22Merge "Make constructor and at_exit handler non-static" into sc-dev am: ↵TreeHugger Robot
32cb3c71bd Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14646054 Change-Id: Id9425533a3425d24ea5b862938d5660fcb3a2520
2021-05-22Merge "Make constructor and at_exit handler non-static" into sc-devTreeHugger Robot
2021-05-20Update libnativehelper NDK API am: f65a2d53a6Orion Hodson
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14662186 Change-Id: I9e2be211cdf983a1375f01adb5c81d90b472b860
2021-05-20Update libnativehelper NDK APIOrion Hodson
Follows NDK API review of libnativehelper APIs. Bug: 188067586 Test: m Change-Id: I7c6f863d02631e16d9f7ab70abb28ebe30a6a68b
2021-05-19Make constructor and at_exit handler non-staticPirama Arumuga Nainar
Bug: http://b/187935521 This change fixes a crash in dalvikvm. These functions were mistakenly marked as static but doesn't need to be. Test: m CLANG_COVERAGE=true NATIVE_COVERAGE_PATHS="art"; atest -v art-run-test-001-HelloWorld Change-Id: I515addc298633437f1a91cf5e96d17c28c7a61ff (cherry picked from commit d795a881fd2d3c213837cdc6c160e9ad3a92d8cc)
2021-05-14Merge "simpleperf: add --only-host-test option in do_test.py." am: ↵Yabin Cui
3c6d3fe723 am: 5e06f4fc31 am: c4e6bd2e74 am: d6e22ee6c4 Original change: https://android-review.googlesource.com/c/platform/system/extras/+/1708911 Change-Id: Ifc34e7236cf3d7554ce860299392e55aaf433cda