Each app uses a certain amount of memory when running in the foreground. This test takes a list of app on the command line starts them one at a time and reports the total PSS of the app's process. The test allows to monitor memory usage over time. Change-Id: I3411bd96cf7c7af10acbb8deeb9936469b810ea2
12 lines
534 B
XML
12 lines
534 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.tests.memoryusage">
|
|
<instrumentation android:label="Memory usage instrumentation"
|
|
android:name="com.android.tests.memoryusage.MemoryUsageInstrumentation"
|
|
android:targetPackage="com.android.tests.memoryusage" />
|
|
|
|
<application android:label="Memory Usage Test">
|
|
<uses-library android:name="android.test.runner" />
|
|
</application>
|
|
</manifest> |