Searched refs:am (Results 1 – 5 of 5) sorted by relevance
77 IBinder am = blockUntilSystemRunning(MAX_CHECK_AM_TIMEOUT_MS); in run() local78 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() local126 am = ServiceManager.checkService(Context.ACTIVITY_SERVICE); in blockUntilSystemRunning()127 if (am != null) { in blockUntilSystemRunning()139 return am; in blockUntilSystemRunning()
35 `adb shell am instrument -w -r -e <option> <value> -e class <suite>40 `adb shell am instrument -w -r -e iterations 50 -e quitter true46 `adb shell am instrument -w -r -e iterations 10 -e shuffle true -e suite-timeout_msec 180000052 `adb shell am instrument -w -r -e iterations 100 -e min-battery 0.0558 `adb shell am instrument -w -r -e profile sample_profile81 `tests/` directory. Run them using `adb shell am instrument -w -r
146 ActivityManager am = (ActivityManager) InstrumentationRegistry.getInstrumentation() in getPss() local148 List<RunningAppProcessInfo> apps = am.getRunningAppProcesses(); in getPss()153 MemoryInfo meminfo = am.getProcessMemoryInfo(new int[] { in getPss()
165 AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in changeSystemTime() local166 am.setTime(c.getTimeInMillis()); in changeSystemTime()
301 ActivityManager am = (ActivityManager) getInstrumentation() in getProcessId() local303 List<RunningAppProcessInfo> appsInfo = am.getRunningAppProcesses(); in getProcessId()