summaryrefslogtreecommitdiff
path: root/app-launcher
AgeCommit message (Collapse)Author
2022-09-05Fix module-file name collisionsCole Faust
Bazel doesn't allow a module and file with the same name. Bug: 198619163 Test: Presubmits Change-Id: Ibdd1d712f16ca0b211d709768a5ce4b0eb507525
2021-02-19[LSC] Add LOCAL_LICENSE_KINDS to system/extrasBob Badour
Added SPDX-license-identifier-Apache-2.0 to: alloc-stress/Android.bp app-launcher/Android.bp boot_control_copy/Android.bp bootctl/Android.bp boottime_tools/bootanalyze/stressfs/Android.bp boottime_tools/bootio/Android.bp brillo_config/Android.mk checkpoint_gc/Android.bp cppreopts/Android.bp crypto-perf/Android.bp ext4_utils/Android.bp ext4_utils/Android.mk f2fs_utils/Android.bp ioblame/Android.bp ioshark/Android.bp iotop/Android.bp kexec_tools/Android.bp latencytop/Android.bp libfec/Android.bp libfec/test/Android.bp libfscrypt/Android.bp libfscrypt/tests/Android.bp libjsonpb/parse/Android.bp libjsonpb/verify/Android.bp memory_replay/Android.bp memtrack/Android.bp mmap-perf/Android.bp module_ndk_libs/libnativehelper/Android.bp multinetwork/Android.bp pagecache/Android.bp partition_tools/Android.bp partition_tools/aidl/Android.bp perf2cfg/Android.bp postinst/Android.bp preopt2cachename/Android.bp profcollectd/Android.bp profcollectd/libprofcollectd/Android.bp profcollectd/libprofcollectd/bindings/libflags/Android.bp pssbench/Android.mk puncture_fs/Android.bp runconuid/Android.bp sane_schedstat/Android.bp showslab/Android.bp simpleperf/Android.bp simpleperf/runtest/Android.bp simpleperf/scripts/inferno/Android.bp simpleperf/simpleperf_app_runner/Android.bp slideshow/Android.mk sound/Android.bp squashfs_utils/Android.bp su/Android.mk taskstats/Android.bp tests/Android.bp tests/audio/alsa/Android.bp tests/binder/benchmarks/Android.bp tests/bootloader/Android.mk tests/cpueater/Android.bp tests/crypto/Android.bp tests/directiotest/Android.bp tests/ext4/Android.mk tests/framebuffer/Android.bp tests/fstest/Android.bp tests/icachetest/Android.bp tests/iptables/qtaguid/Android.bp tests/kernel.config/Android.mk tests/lib/Android.bp tests/lib/testUtil/Android.bp tests/memeater/Android.mk tests/pagingtest/Android.mk tests/pftest/Android.bp tests/schedtest/Android.bp tests/storage/Android.bp tests/suspend_stress/Android.bp tests/tcp_nuke_addr/Android.bp tests/timetest/Android.bp tests/uevents/Android.bp toolchain-extras/Android.bp vbmeta_tools/Android.bp verity/Android.bp verity/fec/Android.bp zram-perf/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: cpustats/Android.bp Added SPDX-license-identifier-BSD to: ANRdaemon/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ia559848af903a7b6746d9b12b7de8b83bc57f99d
2021-02-16Revert "[LSC] Add LOCAL_LICENSE_KINDS to system/extras"Bob Badour
This reverts commit 044d055c842a5750359ed71dfe50a6a4bf5f4cc3. Reason for revert: Needs to run as multiple roots. Change-Id: I8e06e7eb19e0f634f52fbd8a1c6662f43e347dd5
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to system/extrasBob Badour
Added SPDX-license-identifier-Apache-2.0 to: boot_control_copy/Android.bp bootctl/Android.bp boottime_tools/bootanalyze/stressfs/Android.bp boottime_tools/bootio/Android.bp checkpoint_gc/Android.bp cppreopts/Android.bp crypto-perf/Android.bp ext4_utils/Android.bp ext4_utils/Android.mk f2fs_utils/Android.bp ioshark/Android.bp iotop/Android.bp kexec_tools/Android.bp latencytop/Android.bp libfec/Android.bp libfec/test/Android.bp libfscrypt/Android.bp libfscrypt/tests/Android.bp libjsonpb/parse/Android.bp libjsonpb/verify/Android.bp memory_replay/Android.bp memtrack/Android.bp mmap-perf/Android.bp module_ndk_libs/libnativehelper/Android.bp multinetwork/Android.bp pagecache/Android.bp partition_tools/Android.bp perf2cfg/Android.bp postinst/Android.bp preopt2cachename/Android.bp profcollectd/Android.bp profcollectd/libprofcollectd/Android.bp profcollectd/libprofcollectd/bindings/libflags/Android.bp puncture_fs/Android.bp runconuid/Android.bp sane_schedstat/Android.bp showslab/Android.bp simpleperf/Android.bp simpleperf/runtest/Android.bp simpleperf/scripts/inferno/Android.bp simpleperf/simpleperf_app_runner/Android.bp slideshow/Android.mk sound/Android.bp squashfs_utils/Android.bp su/Android.mk taskstats/Android.bp tests/Android.bp tests/audio/alsa/Android.bp tests/binder/benchmarks/Android.bp tests/bootloader/Android.mk tests/cpueater/Android.bp tests/crypto/Android.bp tests/directiotest/Android.bp tests/ext4/Android.mk tests/framebuffer/Android.bp tests/fstest/Android.bp tests/icachetest/Android.bp tests/iptables/qtaguid/Android.bp tests/kernel.config/Android.mk tests/lib/Android.bp tests/lib/testUtil/Android.bp tests/memeater/Android.mk tests/pagingtest/Android.mk tests/pftest/Android.bp tests/schedtest/Android.bp tests/storage/Android.bp tests/suspend_stress/Android.bp tests/tcp_nuke_addr/Android.bp tests/timetest/Android.bp tests/uevents/Android.bp toolchain-extras/Android.bp vbmeta_tools/Android.bp verity/Android.bp verity/fec/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: cpustats/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_notice to: Android.bp Added SPDX-license-identifier-BSD to: ANRdaemon/Android.bp Added legacy_notice to: alloc-stress/Android.bp app-launcher/Android.bp brillo_config/Android.mk ioblame/Android.bp partition_tools/aidl/Android.bp pssbench/Android.mk zram-perf/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ie7c022a4d7f828a89d0cda663684a497af37006e
2019-03-28Merge "Convert more of system/extras to Android.bp" am: 0a35afacda am: ↵Dan Willemsen
03cc6a3537 am: 07bcf1a5c3 Change-Id: Iaff58bceea0b9f344cef8422211be668803fd374
2019-03-28Convert more of system/extras to Android.bpDan Willemsen
See build/soong/README.md for more information about Soong. Bug: 122331914 Test: cd system/extras; mma Test: treehugger Change-Id: Ic1cf293df2c848c7476ca93c150106a4a3cd849c
2018-05-05Merge "Convert to Soong" am: fa073f4988 am: 0a0cdc00ffandroid-build-prod (mdb)
am: 76720740d0 Change-Id: I3421c0308d95c7bc0e0a922544df0e154a835985
2018-05-05Merge "Convert to Soong" am: fa073f4988android-build-prod (mdb)
am: 0a0cdc00ff Change-Id: I6fb6cc4735b54962c184e8271bed560bd61fd18b
2018-05-04Convert to SoongDan Willemsen
See build/soong/README.md for more information. This effectively moves some of these targets from /system/xbin to /system/bin, as Soong is not supporting xbin. I've attempted to fix and find any external dependencies to these paths. Test: m anrd app-launcher bootctrl.default bootctl cpustats crypto iotop Change-Id: I3eb58d8a260884652b5ee827ac88ece429d76448
2018-04-05ShellCheck warnings cleanupNg Zhi An
Test: manual, run app-launcher Change-Id: I82debf5e2bfc5ec9257ca0089328655141516097
2018-03-30Change to /bin/bash and clean up fgrepNg Zhi An
Test: manual, run app-launcher Change-Id: I9811ecfc6f2adfc704c27a973dcfde4811119e1f
2018-03-30Cleanup shellcheck issuesNg Zhi An
Mostly with double quotes, moving from `expr ...` to $((...)) Test: manual, run app-launcher Change-Id: I28d21cdb313bac6131e94ca0a3d24e80a41e9b20
2018-03-28Update go apps to launchNg Zhi An
- com.google.android.videos is not preinstalled on go, replace with com.google.android.apps.youtube.mango - replace com.google.android.gm with com.google.android.gm.lite - add com.android.settings Test: app-launcher # on a go device Change-Id: I92156cc324bf802bdfa31f9e82a2219a2c3659bf
2018-01-30Recognize gobo and gobo_512 as phone modelsNg Zhi An
Test: manual Change-Id: Id81a1a2ef704da20b99533a432199bdc8150ed51
2018-01-29Fix cpufreg_go to use adb -sNg Zhi An
cpufreq_go used the plain adb, this changes it to use $adb, which is set to adb -s if -s was passed, allowing the go test to run when multiple devices are connected. Bug: 72652287 Test: manual Change-Id: Iffd658e9f1f99cbe992a5e1a5a07adc70d334653
2017-11-14Merge commit 'f22d9cd819bf8b21bedba3dedcfa08fe8f91a15e' into HEADXin Li
Change-Id: I0a0f6a3057951735943b846270c2d445e5cb4c7b
2017-10-30Merge "Use -Werror in system/extras" am: 2b217ca555 am: aa317f0c4cChih-hung Hsieh
am: c500bdd557 Change-Id: Icb8574c2f32ec41a126e550bcac7c63a03487ae2
2017-10-30Merge "Use -Werror in system/extras" am: 2b217ca555Chih-hung Hsieh
am: aa317f0c4c Change-Id: I4792be67f2a33c61f0e740ba9093c06df4613921
2017-10-30Merge "Use -Werror in system/extras"Chih-hung Hsieh
2017-10-20Use -Werror in system/extrasChih-Hung Hsieh
* Remove unused variables. * Fix redefined macro warnings. * Fix sign-compare warnings. * Fix 'return false' in main(). * Keep existing warnings to fix later. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib92ef5297693595fb84ed4f8e61665bda4cee312
2017-10-02Fix device utilization reporting breakage.Mohan Srinivasan
Device utilization computation converted the values to hz, assuming the device is 100 HZ, which is not necessarily the case. This change converts everything to ms. Device utilization computation now works on marlin (P). Test: Test app-launcher and make sure device util% reported is correct. Change-Id: Id1dfe7e21fbd07d89fbe8a87ec49f76b17f7429e Signed-off-by: Mohan Srinivasan <srmohan@google.com>
2017-07-13Add support for Go.Mohan Srinivasan
Add support for Go devices. Test: Start app-launcher on Go and verify that the data reported looks sane. Change-Id: I1bc0bd23e7d807444f0ac35d7c18c8206bb7c12e Signed-off-by: Mohan Srinivasan <srmohan@google.com>
2017-07-06Additional setup and reduced file collisionMaggie White
There's some additional setup needed to make sure the devices are all in the same state, so I added instructions to the README. I also changed the system_stats functions to use variables to store string outputs instead of files to avoid collision when running multiple instances of the script from the same directory. Finally, I added cleanup at the end to remove the files created in the process, and some general code cleanup throughout the script. Bug: 62536649 Test: manual test on several devices Change-Id: I843a1cefcf6bd11f28e513d735b3bf313442efd2
2017-06-26Added setup commands and option to specify deviceMaggie White
The script previously did not configure any framework settings for this script, so I added commands to disable any features that could affect the performance numbers like wifi, NFC, screen rotation. It also clears notifications and starts the device on the home screen. It's not possible prior to this commit to run the app-launcher on a host with multiple devices attached to adb, so I added a '-s <serial number' option that allows the user to specify a specific device based on its serial number. I also changed the spacing of the script to be all spaces instead of mixed tabs and spaces. Test: Manually ran script on a marlin device Change-Id: I82c621fe280033c55ba38bfdf95836fd95f5ed58
2017-01-31Use TotalTime instead of ThisTime as app launch latency metricMohan Srinivasan
Use TotalTime instead of ThisTime (both reported by am) as our activity launch latency metric. TotalTime is more representative of user perceived latency. Also add back YouTube to the list of apps we launch test by default. Test: Time app launches manually for the various apps, and check that TotalTime better represents the launch latency. Change-Id: I127a22ae409ee0141d847e711e09f7873dbb420f Signed-off-by: Mohan Srinivasan <srmohan@google.com>
2017-01-26app-launcher is a App Launch Perf Analysis tool.Mohan Srinivasan
app-launcher is an automated tool that automates the launching of selected Apps (hundreds of times each) and collects system metrics like CPU util, storage device util, launch times, context switches, branch mispredicts etc. This is very useful for A/B compares of system changes in how they impact App Launch. This code was under google_experimental and was used by various members who found it very useful, so moving it under system/extras (under userdebug). Test: I (and others) have used app launcher on multiple occasions over several months. And comparison of metrics reported by app-launcher are consistent with metrics reported by other tools, for these tests. Change-Id: I8b469b4165035a958b155cfffc93341cddcc444c Signed-off-by: Mohan Srinivasan <srmohan@google.com>