Searched refs:ami (Results 1 – 5 of 5) sorted by relevance
144 final ActivityManagerInternal ami = mock(ActivityManagerInternal.class);145 doReturn(ami).when(() -> LocalServices.getService(eq(ActivityManagerInternal.class)));
297 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in makeIntentSenderCanceled() local298 ami.remove(new PendingIntent(rec)); in makeIntentSenderCanceled()
4147 AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in clearApplicationUserData() local4148 ami.removeAlarmsForUid(appInfo.uid); in clearApplicationUserData()
1333 final ActivityManagerInternal ami = in getSyncExemptionAndCleanUpExtrasForCaller() local1335 if (ami == null) { in getSyncExemptionAndCleanUpExtrasForCaller()1338 final int procState = ami.getUidProcessState(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()1339 final boolean isUidActive = ami.isUidActive(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
1039 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in alarmCountOnRemoveForCanceled() local1043 ami.remove(pi); in alarmCountOnRemoveForCanceled()