summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-02Merge "Snap for 7414945 from f33a791c40db8a67ae1525fa059fd470b55c9eee to ↵android-vts-10.0_r9android-vts-10.0_r16android-vts-10.0_r15android-vts-10.0_r14android-vts-10.0_r13android-vts-10.0_r12android-vts-10.0_r11android-vts-10.0_r10android-cts-10.0_r9android-cts-10.0_r16android-cts-10.0_r15android-cts-10.0_r14android-cts-10.0_r13android-cts-10.0_r12android-cts-10.0_r11android-cts-10.0_r10android10-tests-releaseAndroid Build Coastguard Worker
android10-tests-release" into android10-tests-release
2021-06-02Snap for 7414945 from f33a791c40db8a67ae1525fa059fd470b55c9eee to ↵Android Build Coastguard Worker
android10-tests-release Change-Id: I96fc7cad9106ba33b70ae32e1cfb9164a2fc80ac
2021-06-01Merge "simpleperf: increase record duration" into android10-tests-devandroid10-tests-devTreehugger Robot
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 Change-Id: Iedac3d8a1817043b82d320b57b8c5b89b9b4defd
2020-07-17Merge "Snap for 6689265 from 1b0881c929f311b92e0ffd9295a9087ec55734c1 to ↵android-vts-10.0_r8android-vts-10.0_r7android-vts-10.0_r6android-vts-10.0_r5android-cts-10.0_r8android-cts-10.0_r7android-cts-10.0_r6android-build-prod (mdb)
android10-tests-release" into android10-tests-release
2020-07-17Snap for 6689265 from 1b0881c929f311b92e0ffd9295a9087ec55734c1 to ↵android-build-prod (mdb)
android10-tests-release Change-Id: I04f1dc7b26335dc5259b563410c4577366bf5a55
2020-07-16Merge "simpleperf: force testing run-as and app_runner separately." into ↵Treehugger Robot
android10-tests-dev
2020-07-16simpleperf: force testing run-as and app_runner separately.Yabin Cui
In CtsSimpleperfTestCases, two methods are used to record an app: through run-as and through simpleperf_app_runner. Tests don't fail unless both methods fail. This can't detect the situation when only one method fails. So change to test run-as and simpleperf_app_runner separately. Bug: 154862631 Test: run CtsSimpleperfTestCases. Change-Id: I023aa7793f748e695f809c153ed23f006e13ea12 (cherry picked from commit 94c148de3309a5510dc3d2cf820d2cb51eb07357)
2020-04-20Merge "Snap for 6411617 from 14b2e2dff4add893cbabe76e149342280f97aa6a to ↵android-vts-10.0_r4android-cts-10.0_r5android-build-prod (mdb)
android10-tests-release" into android10-tests-release
2020-04-20Snap for 6411617 from 14b2e2dff4add893cbabe76e149342280f97aa6a to ↵android-build-prod (mdb)
android10-tests-release Change-Id: I1e04c6197aeb099e427cd5e082273af15f21afdf
2020-04-17Merge "simpleperf: add Broadcom STB into whitelist, omit tests requiring hw ↵Treehugger Robot
counters." into android10-tests-dev
2020-04-17simpleperf: add Broadcom STB into whitelist, omit tests requiring hw counters.Natalie Chiu
Some Socs like Broadcom STB will not be available when disable jtag(non-invasive debug), so omit tests requiring hw counters on them. Bug: 154157678 Test: run cts -m CtsSimpleperfTestCases -t record_cmd#generate_samples_by_hw_counters Test: hw counters. Change-Id: Iddfb34bfa1d66e37398bb162f8e1cfa645d756f4
2020-02-05Merge "Snap for 6182957 from 5bb741cc8cb0f7fe53d7bbc273616bde58df837e to ↵android-cts-10.0_r4android-build-prod (mdb)
android10-tests-release" into android10-tests-release
2020-02-05Snap for 6182957 from 5bb741cc8cb0f7fe53d7bbc273616bde58df837e to ↵android-build-prod (mdb)
android10-tests-release Change-Id: I4d8edade841721ad4166040650efc3fcb0c8d2eb
2020-02-05Merge "simpleperf: Omit dwarf-callgraph tests running on ARM binary ↵Treehugger Robot
translation" into android10-tests-dev
2020-01-21simpleperf: Omit dwarf-callgraph tests running on ARM binaryDmytro Chystiakov
translation Bug: b/144472912 Test: Run ARM CtsSimpleperfTestCases module Change-Id: Ia8eef58d6408532943baf5d848a77644a0adcf04 Signed-off-by: Dmytro Chystiakov <dmytro.chystiakov@intel.com> (cherry picked from commit 709ee2f95cbb75512c352a1d9aafcc5296ba948d)
2019-11-19Merge "Snap for 6017365 from aa57fd3ff3dc46e4ac4f29424edd18288b2aeab6 to ↵android-vts-10.0_r3android-vts-10.0_r2android-cts-10.0_r3android-build-prod (mdb)
android10-tests-release" into android10-tests-release
2019-11-19Snap for 6017365 from aa57fd3ff3dc46e4ac4f29424edd18288b2aeab6 to ↵android-build-prod (mdb)
android10-tests-release Change-Id: Iadfc6e71db8ad1c0f75d581e5670d5c90e794478
2019-11-19Merge "simpleperf:add MSM8909 into whitelist, omit tests requireing hw ↵Treehugger Robot
counters." into android10-tests-dev
2019-11-15simpleperf:add MSM8909 into whitelist, omit tests requireing hw counters.pmc.waiver
Test: run cts -m CtsSimpleperfTestCases -t record_cmd#generate_samples_by_hw_counters Test: hw counters. Bug: 144472902 (cherry picked from commit 8a0a1ebb671bed0c910d35e71bbc083a031f7331) Change-Id: I4f5391efc96a07a26564e1c373ead202edf4c8ad
2019-06-06Lower gc_urgent_sleeptime to 50android-cts-10.0_r2android10-devDaniel Rosenberg
This will substantially speed up GC progress Test: Run /vendor/bin/checkpoint_gc Bug: 133822599 Change-Id: Ic1f064437381bce99d62dfd146088d43e08b1766
2019-06-05Merge "Do not create property_watch_loop thread for zygote" into qt-devOliver Nguyen
2019-06-03Prefix sysprop for flushing coverage with 'debug.'Pirama Arumuga Nainar
Bug: http://b/133322197 Fix selinux denials when reading the coverage.flush sysprop by prefixing it with 'debug.'. Sysprops starting with 'debug.' are readable by all processes when ro.debuggable is set. Test: Build cuttlefish with coverage and verify that selinux denials for sysprop reads no longer happen. Change-Id: I76bef0a658ce881cc81e2d2d4947bef966060376 (cherry picked from commit 9d31ce99069b28d302c5487c2154fc0fd5c2f9fd)
2019-06-03Do not create property_watch_loop thread for zygotePirama Arumuga Nainar
Bug: http://b/116873221 Bug: http://b/133872559 Do not create thread running property_watch_loop for zygote (which is essentially /system/bin/app_process invoked with a specific argument to start the zygote). The reason this is needed is because when the zygote forks system_server or an app, it waits for all threads to stop. But the thread created here doesn't know that it has to stop. So zygote gets stuck waiting and the device doesn't boot. This check is only needed for the platform, but can be done on any version after Android L, when getprogname() was added. Test: cuttlefish with coverage enabled can boot. Change-Id: I65aa603a88bf8da1f14b5c4ada3adf3776f33275 (cherry picked from commit 4cedcc68d4dfedf96474973de1e7e22d0ce0a523)
2019-05-10Command-line argument to set logcat buffer sizeChangyeon Jo
Adds new argument to set the size of the log ring buffer. Bug: 132431643 Change-Id: I092924bf16950fede49f35b25dbbea7dfe2c8109 Signed-off-by: Changyeon Jo <changyeon@google.com>
2019-05-01Add a max timeout in checkpoint_gcDaniel Rosenberg
After one hour, we will abandon our efforts to do checkpointing ahead of time. At that point, it's likely that something has gone wrong with garbage collection. Log dirty segments. Test: Run checkpoint_gc after remounting with checkpoint=disable. This will prevent GC from making progress. The script should exit after one hour Bug: 131557838 Change-Id: Ifbff5d3e889725259d7c797fe6fa1d4a84fc7cec
2019-04-26Add an lpunpack tool for extracting partitions from super.img.David Anderson
This tool performs the inverse of lpmake. It can extract partition images out of a prebuilt super.img. There are a few caveats: - lpunpack does not support retrofit/split images. - lpunpack does not support sparse super images. They must be unsparsed before using with lpunpack. - Partition names will be suffixed on A/B devices, meaning, vendor_a.img will contain vendor.img and vendor_b.img will be 0-length. Note that lpunpack will store output files with holes for zero blocks, as a space-saving measure. Usage: lpunpack [options] SUPER_IMAGE [OUTPUT_DIR] Bug: 131173010 Test: m superimage mm lpunpack lpunpack super.img lpunpack super.img out/ lpunpack -p vendor_a super.img lpunpack -p unknown super.img sha1sum image with precursor image Change-Id: Iad3f7362ae6ce767ddc7de2e8cfa7e4a47190e99 Merged-In: Iad3f7362ae6ce767ddc7de2e8cfa7e4a47190e99
2019-04-16Merge "cppreopts: umount_all fstab.postinstall" into qt-devYifan Hong
2019-04-09cppreopts: umount_all fstab.postinstallYifan Hong
- Change 'umount /postinstall' to a full umount_all so that postinstall-verity device get destroyed. - No longer set sys.cppreopt=mounted because that incurs even more code. Just duplicate the two procedures. Test: flash, boot, then check `dmctl list devices`, then OTA Fixes: 129988285 Change-Id: Ic0cdf55b3639632dc5f2659c8bf36b8c3deea92d
2019-04-09Change warning logic in preopt2cachenameAlex Light
We were incorrectly warning when a filename had 8 segments. This is valid since we can have paths of the form '/postinstall/product/priv-app/<app>/oat/arm64/<app>.odex' in addition to those of the form '/postinstall/priv-app/<app>/oat/arm64/<app>.odex'. Test: boot, look at logcat Bug: 123696019 Change-Id: I97c88302a3967e133421244bb132b4e8fd0812a1 (cherry picked from commit 73befcf4495616129ce484e5124e05b85277192e)
2019-04-08simpleperf: update simpleperf prebuilts to build 5436767.Elliott Hughes
Taken from branch aosp-simpleperf-release. Bug: http://b/128690014 (cherry picked from commit 9c8b641a6c1f21a1271d5f1fb0d220e68684ae5c) Change-Id: I6f92c53b5537d03a0077ec08fc81404d69d7bc60
2019-04-04lpmake: allow to build non-sparse super image.Yifan Hong
Bug: 120041578 Test: build without --sparse but with --image. Change-Id: Iaaa8324fa1f9e8e6785f96e787c8a4ee23d37982 Merged-In: Iaaa8324fa1f9e8e6785f96e787c8a4ee23d37982
2019-04-02Merge "simpleperf: add an explicit "simpleperf" target." am: 7ed6aabda8 am: ↵Elliott Hughes
784ccdf92d am: 885c96098b Change-Id: Ie7e001f84d85d0384ffbde794a060506cbe47908
2019-04-02Merge "simpleperf: add an explicit "simpleperf" target." am: 7ed6aabda8Elliott Hughes
am: 784ccdf92d Change-Id: I511d370eadb5b1788300cf79fd25070610c25391
2019-04-02Merge "simpleperf: add an explicit "simpleperf" target."Elliott Hughes
am: 7ed6aabda8 Change-Id: I33a0e877ccd49127980fe0113e138189f5c16690
2019-04-02Merge "simpleperf: add an explicit "simpleperf" target."Treehugger Robot
2019-04-02Merge "Make checkpoint_gc.sh robust against interference" am: 07a8c9f8de am: ↵Daniel Rosenberg
dfc3247d58 am: 5c73e66be5 Change-Id: Ie086639b64a774270b1d140445d4e360387f5d9c
2019-04-02Merge "Make checkpoint_gc.sh robust against interference" am: 07a8c9f8deDaniel Rosenberg
am: dfc3247d58 Change-Id: I33d144fe33ed91941fa925c451522ffe169acba5
2019-04-02Merge "Make checkpoint_gc.sh robust against interference"Daniel Rosenberg
am: 07a8c9f8de Change-Id: I463777238185d14bdda88ed23eaa2e1253878731
2019-04-02Merge "Make checkpoint_gc.sh robust against interference"Daniel Rosenberg
2019-04-02simpleperf: add an explicit "simpleperf" target.Elliott Hughes
This lets us set up the aosp-simpleperf-release branch to just build simpleperf. Bug: http://b/128690014 Test: manual Change-Id: Ida8c4df5f6563b050a1399028fac31e7d1737f52
2019-04-01Merge "Use fsync instead of sync during first boot" am: 654a37cd65 am: ↵Wei Wang
d603390bed am: 17226e5ef6 Change-Id: I4ad0e370ace2e6f24df93a8581ce753bb4a84617
2019-04-01Make checkpoint_gc.sh robust against interferenceDaniel Rosenberg
If some other process decides to run a brief period of GC and then turn it off, checkpoint_gc.sh will keep running and hold up the OTA. To combat that, we set gc_urgent again each cycle. Test: set gc_urgent to 0 after the script sets it to 1. Verify script still runs Change-Id: If361a7e6aace2b20d976d94210fc5a72c3630c72
2019-04-01Merge "Use fsync instead of sync during first boot" am: 654a37cd65Wei Wang
am: d603390bed Change-Id: I7292168b8684759512e3fb6279d3a00adaa77571
2019-04-01Merge "Use fsync instead of sync during first boot"Wei Wang
am: 654a37cd65 Change-Id: I7f31af52f578b0157007fbc728e929f4a05d7ae0
2019-04-01Merge "Use fsync instead of sync during first boot"Wei Wang
2019-04-01Use fsync instead of sync during first bootWei Wang
1) fsync the specific copied file instead of sync whole file system 2) boost prio/ioprio for CFQ since cpppreopt is on critical path 3) change to foreground group Before CL: 03-29 21:49:31.450 1 1 I init : Service 'cppreopts' (pid 1662) exited with status 0 waiting took 55.175999 seconds 03-29 21:49:31.808 1440 1440 I PackageManager: cppreopts took 55591 ms After CL: 04-01 15:47:43.841 1 1 I init : Service 'cppreopts' (pid 1871) exited with status 0 waiting took 2.007000 seconds 04-01 15:47:45.343 1549 1549 I PackageManager: cppreopts took 3709 ms Bug: 129542240 Test: boot Change-Id: Ia9bacabe798764084790b077abc80ae60401f9c1
2019-03-29Merge changes from topic "coverage_flush" am: 41cb9915b2 am: 9fcdb3edafPirama Arumuga Nainar
am: 101b4d5d0e Change-Id: I3e205b4883c90d1f85ac7fe5c5aed1d751c778ba
2019-03-29Add OWNERS for system/extras/toolchain-extras am: 26ca42cb84 am: e6eff58534Pirama Arumuga Nainar
am: 7bba35096c Change-Id: Iaf456eff56259244574dea97e58263361a891ee4
2019-03-29Merge changes from topic "coverage_flush" am: 41cb9915b2Pirama Arumuga Nainar
am: 9fcdb3edaf Change-Id: I87d76100735dad338e5df31bc2e11325012da2db