6291981008
Add a host side test as part of MicrodroidTestCase which starts a Microdroid VM that reserves 80% of the device's memory reported from /proc/meminfo (MemFree - field) and touches all the allocated guest memory with a tmpfs filesystem and successive copies from /dev/zero. This step is necessary to create host stage2 fragmentation and we measure a cold app startup time delta before and after we tear-down the VM. The following metrics will be reported during atest AVFHostTestCase#testAppStartupTime: app_startup/com.android.settings/total_time/before_vm app_startup/com.android.settings/wait_time/before_vm app_startup/com.android.settings/total_time/during_vm app_startup/com.android.settings/wait_time/during_vm app_startup/com.android.settings/total_time/after_vm app_startup/com.android.settings/wait_time/after_vm Bug: 236621823 Test: Verified localy using atest Change-Id: Iede9d6f0507c8d7e56b3e32324441ff11e54fa1e |
||
---|---|---|
.. | ||
java/android/avf/test | ||
Android.bp | ||
AndroidTest.xml |