Searched refs:ami (Results 1 – 11 of 11) sorted by relevance
59 final ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in isAppActive() local60 return (ami != null) ? ami.isUidActive(uid) : false; in isAppActive()
1569 final ActivityManagerInternal ami = in getSyncExemptionAndCleanUpExtrasForCaller() local1571 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()
86 void waitAppProcessGone(ActivityManagerInternal ami, Computer snapshot, in waitAppProcessGone() argument92 if (ami != null) { in waitAppProcessGone()100 if (ami.getUidProcessState(uid) != PROCESS_STATE_NONEXISTENT) { in waitAppProcessGone()
133 final ActivityManagerInternal ami = mock(ActivityManagerInternal.class); in testCluster() local134 when(ami.getUidProcessState(anyInt())) in testCluster()137 LocalServices.addService(ActivityManagerInternal.class, ami); in testCluster()
376 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in makeIntentSenderCanceled() local377 ami.remove(new PendingIntent(rec)); in makeIntentSenderCanceled()
2485 final ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class);2487 final int currentUserId = ami.getCurrentUserId();
3717 AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class); in clearApplicationUserData() local3718 ami.removeAlarmsForUid(appInfo.uid); in clearApplicationUserData()
2172 final ActivityManagerInternal ami = in checkCallingPermission() local2174 Objects.requireNonNull(ami, "ActivityManagerInternal should not be null."); in checkCallingPermission()2175 final int instrumentationUid = ami.getInstrumentationSourceUid(Binder.getCallingUid()); in checkCallingPermission()
1865 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in getHistoricalOps() local1869 ami.getInstrumentationSourceUid(Binder.getCallingUid()) != Process.INVALID_UID; in getHistoricalOps()6782 ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class);6784 ami.getInstrumentationSourceUid(Binder.getCallingUid()) != Process.INVALID_UID;
1485 final AlarmManagerInternal ami = LocalServices.getService(AlarmManagerInternal.class);1489 ami.remove(pi);
2396 ActivityManagerInternal ami, in init() argument2428 mAmi = ami; in init()