Searched refs:ami (Results 1 – 6 of 6) sorted by relevance
133 final ActivityManagerInternal ami = mock(ActivityManagerInternal.class); in testCluster() local134 when(ami.getUidProcessState(anyInt())) in testCluster()137 LocalServices.addService(ActivityManagerInternal.class, ami); in testCluster()
322 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in makeIntentSenderCanceled() local323 ami.remove(new PendingIntent(rec)); in makeIntentSenderCanceled()
4340 AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in clearApplicationUserData() local4341 ami.removeAlarmsForUid(appInfo.uid); in clearApplicationUserData()
1428 final ActivityManagerInternal ami = in getSyncExemptionAndCleanUpExtrasForCaller() local1430 if (ami == null) { in getSyncExemptionAndCleanUpExtrasForCaller()1433 final int procState = ami.getUidProcessState(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()1434 final boolean isUidActive = ami.isUidActive(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
1028 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in alarmCountOnRemoveForCanceled() local1032 ami.remove(pi); in alarmCountOnRemoveForCanceled()
2059 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in getHistoricalOps() local2060 boolean isCallerInstrumented = ami.isUidCurrentlyInstrumented(Binder.getCallingUid()); in getHistoricalOps()