Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DObserverNodeTest.java133 final ActivityManagerInternal ami = mock(ActivityManagerInternal.class); in testCluster() local
134 when(ami.getUidProcessState(anyInt())) in testCluster()
137 LocalServices.addService(ActivityManagerInternal.class, ami); in testCluster()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java322 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in makeIntentSenderCanceled() local
323 ami.remove(new PendingIntent(rec)); in makeIntentSenderCanceled()
DActivityManagerService.java4340 AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in clearApplicationUserData() local
4341 ami.removeAlarmsForUid(appInfo.uid); in clearApplicationUserData()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1428 final ActivityManagerInternal ami = in getSyncExemptionAndCleanUpExtrasForCaller() local
1430 if (ami == null) { in getSyncExemptionAndCleanUpExtrasForCaller()
1433 final int procState = ami.getUidProcessState(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
1434 final boolean isUidActive = ami.isUidActive(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAlarmManagerServiceTest.java1028 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in alarmCountOnRemoveForCanceled() local
1032 ami.remove(pi); in alarmCountOnRemoveForCanceled()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2059 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in getHistoricalOps() local
2060 boolean isCallerInstrumented = ami.isUidCurrentlyInstrumented(Binder.getCallingUid()); in getHistoricalOps()