Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/content/
DSyncAdapterStateFetcher.java60 final ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in isAppActive() local
61 return (ami != null) ? ami.isUidActive(uid) : false; in isAppActive()
DContentService.java1433 final ActivityManagerInternal ami = in getSyncExemptionAndCleanUpExtrasForCaller() local
1435 if (ami == null) { in getSyncExemptionAndCleanUpExtrasForCaller()
1438 final int procState = ami.getUidProcessState(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
1439 final boolean isUidActive = ami.isUidActive(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
/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.java335 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in makeIntentSenderCanceled() local
336 ami.remove(new PendingIntent(rec)); in makeIntentSenderCanceled()
DActivityManagerService.java3567 AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in clearApplicationUserData() local
3568 ami.removeAlarmsForUid(appInfo.uid); in clearApplicationUserData()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2363 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in getHistoricalOps() local
2366 boolean isCallerInstrumented = ami.isUidCurrentlyInstrumented(Binder.getCallingUid()); in getHistoricalOps()
6841 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class);
6842 boolean isCallerInstrumented = ami.isUidCurrentlyInstrumented(Binder.getCallingUid());
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java1363 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in alarmCountOnRemoveForCanceled() local
1367 ami.remove(pi); in alarmCountOnRemoveForCanceled()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2171 TelephonyManager telephonyManager, ActivityManagerInternal ami, in init() argument
2193 mAmi = ami; in init()