Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/content/
DSyncAdapterStateFetcher.java59 final ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in isAppActive() local
60 return (ami != null) ? ami.isUidActive(uid) : false; in isAppActive()
DContentService.java1569 final ActivityManagerInternal ami = in getSyncExemptionAndCleanUpExtrasForCaller() local
1571 if (ami == null) { in getSyncExemptionAndCleanUpExtrasForCaller()
1574 final int procState = ami.getUidProcessState(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
1575 final boolean isUidActive = ami.isUidActive(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
1585 getRestrictionLevelForStatsd(ami.getRestrictionLevel(callingUid))); in getSyncExemptionAndCleanUpExtrasForCaller()
/frameworks/base/services/core/java/com/android/server/pm/
DKillAppBlocker.java86 void waitAppProcessGone(ActivityManagerInternal ami, Computer snapshot, in waitAppProcessGone() argument
92 if (ami != null) { in waitAppProcessGone()
100 if (ami.getUidProcessState(uid) != PROCESS_STATE_NONEXISTENT) { in waitAppProcessGone()
/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.java376 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in makeIntentSenderCanceled() local
377 ami.remove(new PendingIntent(rec)); in makeIntentSenderCanceled()
DActivityManagerShellCommand.java2485 final ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class);
2487 final int currentUserId = ami.getCurrentUserId();
DActivityManagerService.java3717 AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in clearApplicationUserData() local
3718 ami.removeAlarmsForUid(appInfo.uid); in clearApplicationUserData()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java2172 final ActivityManagerInternal ami = in checkCallingPermission() local
2174 Objects.requireNonNull(ami, "ActivityManagerInternal should not be null."); in checkCallingPermission()
2175 final int instrumentationUid = ami.getInstrumentationSourceUid(Binder.getCallingUid()); in checkCallingPermission()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1865 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in getHistoricalOps() local
1869 ami.getInstrumentationSourceUid(Binder.getCallingUid()) != Process.INVALID_UID; in getHistoricalOps()
6782 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class);
6784 ami.getInstrumentationSourceUid(Binder.getCallingUid()) != Process.INVALID_UID;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java1485 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class);
1489 ami.remove(pi);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2396 ActivityManagerInternal ami, in init() argument
2428 mAmi = ami; in init()