Searched refs:ami (Results 1 – 8 of 8) sorted by relevance
60 final ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in isAppActive() local61 return (ami != null) ? ami.isUidActive(uid) : false; in isAppActive()
1433 final ActivityManagerInternal ami = in getSyncExemptionAndCleanUpExtrasForCaller() local1435 if (ami == null) { in getSyncExemptionAndCleanUpExtrasForCaller()1438 final int procState = ami.getUidProcessState(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()1439 final boolean isUidActive = ami.isUidActive(callingUid); in getSyncExemptionAndCleanUpExtrasForCaller()
133 final ActivityManagerInternal ami = mock(ActivityManagerInternal.class); in testCluster() local134 when(ami.getUidProcessState(anyInt())) in testCluster()137 LocalServices.addService(ActivityManagerInternal.class, ami); in testCluster()
335 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in makeIntentSenderCanceled() local336 ami.remove(new PendingIntent(rec)); in makeIntentSenderCanceled()
3567 AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in clearApplicationUserData() local3568 ami.removeAlarmsForUid(appInfo.uid); in clearApplicationUserData()
2363 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in getHistoricalOps() local2366 boolean isCallerInstrumented = ami.isUidCurrentlyInstrumented(Binder.getCallingUid()); in getHistoricalOps()6841 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class);6842 boolean isCallerInstrumented = ami.isUidCurrentlyInstrumented(Binder.getCallingUid());
1363 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in alarmCountOnRemoveForCanceled() local1367 ami.remove(pi); in alarmCountOnRemoveForCanceled()
2171 TelephonyManager telephonyManager, ActivityManagerInternal ami, in init() argument2193 mAmi = ami; in init()