Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java144 final ActivityManagerInternal ami = mock(ActivityManagerInternal.class);
145 doReturn(ami).when(() -> LocalServices.getService(eq(ActivityManagerInternal.class)));
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java297 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in makeIntentSenderCanceled() local
298 ami.remove(new PendingIntent(rec)); in makeIntentSenderCanceled()
DActivityManagerService.java4147 AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in clearApplicationUserData() local
4148 ami.removeAlarmsForUid(appInfo.uid); in clearApplicationUserData()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1333 final ActivityManagerInternal ami = in getSyncExemptionAndCleanUpExtrasForCaller() local
1335 if (ami == null) { in getSyncExemptionAndCleanUpExtrasForCaller()
1338 final int procState = ami.getUidProcessState(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
1339 final boolean isUidActive = ami.isUidActive(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAlarmManagerServiceTest.java1039 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in alarmCountOnRemoveForCanceled() local
1043 ami.remove(pi); in alarmCountOnRemoveForCanceled()