Home
last modified time | relevance | path

Searched refs:am (Results 1 – 5 of 5) sorted by relevance

/platform_testing/utils/crashcollector/src/android/test/crashcollector/
DCollector.java77 IBinder am = blockUntilSystemRunning(MAX_CHECK_AM_TIMEOUT_MS); in run() local
78 if (am == null) { in run()
86 IActivityManager iam = IActivityManager.Stub.asInterface(am); in run()
89 am.linkToDeath(death, 0); in run()
97 while (am.isBinderAlive()) { in run()
106 am = blockUntilSystemRunning(MAX_CHECK_AM_TIMEOUT_MS); in run()
124 IBinder am = null; in blockUntilSystemRunning() local
126 am = ServiceManager.checkService(Context.ACTIVITY_SERVICE); in blockUntilSystemRunning()
127 if (am != null) { in blockUntilSystemRunning()
139 return am; in blockUntilSystemRunning()
/platform_testing/libraries/health/runners/longevity/
DREADME.md35 `adb shell am instrument -w -r -e <option> <value> -e class <suite>
40 `adb shell am instrument -w -r -e iterations 50 -e quitter true
46 `adb shell am instrument -w -r -e iterations 10 -e shuffle true -e suite-timeout_msec 1800000
52 `adb shell am instrument -w -r -e iterations 100 -e min-battery 0.05
58 `adb shell am instrument -w -r -e profile sample_profile
81 `tests/` directory. Run them using `adb shell am instrument -w -r
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DTotalPssHelper.java146 ActivityManager am = (ActivityManager) InstrumentationRegistry.getInstrumentation() in getPss() local
148 List<RunningAppProcessInfo> apps = am.getRunningAppProcesses(); in getPss()
153 MemoryInfo meminfo = am.getProcessMemoryInfo(new int[] { in getPss()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java165 AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in changeSystemTime() local
166 am.setTime(c.getTimeInMillis()); in changeSystemTime()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java301 ActivityManager am = (ActivityManager) getInstrumentation() in getProcessId() local
303 List<RunningAppProcessInfo> appsInfo = am.getRunningAppProcesses(); in getProcessId()