Home
last modified time | relevance | path

Searched refs:mActivityManagerInternal (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemUserInfoHelper.java48 @Nullable private ActivityManagerInternal mActivityManagerInternal; field in SystemUserInfoHelper
61 if (mActivityManagerInternal == null) { in getActivityManagerInternal()
62 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in getActivityManagerInternal()
66 return mActivityManagerInternal; in getActivityManagerInternal()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java55 private ActivityManagerInternal mActivityManagerInternal; field in JobConcurrencyManagerTest
86 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in setUp()
141 doReturn(ui.id).when(mActivityManagerInternal).getCurrentUserId(); in createCurrentUser()
159 doReturn(UNAVAILABLE_USER).when(mActivityManagerInternal).getCurrentUserId(); in createRestrictedUser()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DPendingIntentControllerTest.java63 private ActivityManagerInternal mActivityManagerInternal; field in PendingIntentControllerTest
80 doReturn(mActivityManagerInternal).when( in setUp()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java123 private final ActivityManagerInternal mActivityManagerInternal; field in Notifier
177 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in Notifier()
405 mActivityManagerInternal.onWakefulnessChanged(wakefulness); in onWakefulnessChangeStarted()
732 if (mActivityManagerInternal.isSystemReady()) { in sendWakeUpBroadcast()
755 if (mActivityManagerInternal.isSystemReady()) { in sendGoToSleepBroadcast()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java79 private final ActivityManagerInternal mActivityManagerInternal; field in MediaProjectionManagerService
95 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in MediaProjectionManagerService()
109 mActivityManagerInternal.registerProcessObserver(new IProcessObserver.Stub() { in onStart()
480 && !mActivityManagerInternal.hasRunningForegroundService( in start()
/frameworks/base/services/core/java/com/android/server/vr/
DVr2dDisplay.java73 private final ActivityManagerInternal mActivityManagerInternal; field in Vr2dDisplay
107 mActivityManagerInternal = activityManagerInternal; in Vr2dDisplay()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java126 private final ActivityManagerInternal mActivityManagerInternal; field in Owners
175 mActivityManagerInternal = activityManagerInternal; in Owners()
249 mActivityManagerInternal.setDeviceOwnerUid(getDeviceOwnerUidLocked()); in pushToActivityManagerLocked()
262 mActivityManagerInternal.setProfileOwnerUid(profileOwners); in pushToActivityManagerLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java96 private ActivityManagerInternal mActivityManagerInternal; field in CrossProfileAppsServiceImplTest
689 return mActivityManagerInternal; in getActivityManagerInternal()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAppStateTrackerImpl.java86 ActivityManagerInternal mActivityManagerInternal; field in AppStateTrackerImpl
461 mActivityManagerInternal = Objects.requireNonNull(injectActivityManagerInternal()); in onSystemServicesReady()
1158 final boolean ret = mActivityManagerInternal.isUidActive(uid); in isUidActiveSynced()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java214 private ActivityManagerInternal mActivityManagerInternal; field in AlarmManagerService
1713 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in onStart()
1928 mActivityManagerInternal.getBootTimeTempAllowListDuration(), in setTimeZoneImpl()
2050 if (mActivityManagerInternal.isAppStartModeDisabled(callingUid, callingPackage)) { in setImplLocked()
2055 final int callerProcState = mActivityManagerInternal.getUidProcessState(callingUid); in setImplLocked()
2652 userId = mActivityManagerInternal.handleIncomingUser(Binder.getCallingPid(),
3567 final int[] startedUserIds = mActivityManagerInternal.getStartedUserIds(); in handleChangesToExactAlarmDenyList()
3731 && mActivityManagerInternal.isAppStartModeDisabled(uid, a.packageName)); in removeForStoppedLocked()
4003 mActivityManagerInternal.noteAlarmStart(alarm.operation, alarm.workSource, in deliverAlarmsLocked()
4181 mActivityManagerInternal.getBootTimeTempAllowListDuration(), in run()
[all …]
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java193 private ActivityManagerInternal mActivityManagerInternal; field in BatteryService
210 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in BatteryService()
399 if (mActivityManagerInternal.isSystemReady()) { in shutdownIfNoPowerLocked()
420 if (mActivityManagerInternal.isSystemReady()) { in shutdownIfOverTempLocked()
DSensorPrivacyService.java185 private final ActivityManagerInternal mActivityManagerInternal; field in SensorPrivacyService
207 mActivityManagerInternal = getLocalService(ActivityManagerInternal.class); in SensorPrivacyService()
499 capability = mActivityManagerInternal.getUidCapability(uid); in onSensorUseStarted()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java217 private ActivityManagerInternal mActivityManagerInternal; field in AlarmManagerServiceTest
388 doReturn(mActivityManagerInternal).when( in setUp()
1137 when(mActivityManagerInternal.isAppStartModeDisabled(TEST_CALLING_UID, in alarmsRemovedOnAppStartModeDisabled()
2570 when(mActivityManagerInternal.getStartedUserIds()).thenReturn(EmptyArray.INT); in denyListChanged()
2607 when(mActivityManagerInternal.getStartedUserIds()).thenReturn(new int[]{userId1, userId2}); in permissionGrantedDueToDenyList()
2614 when(mActivityManagerInternal.getBootTimeTempAllowListDuration()).thenReturn( in permissionGrantedDueToDenyList()
2665 when(mActivityManagerInternal.getStartedUserIds()).thenReturn(new int[]{userId1, userId2}); in permissionRevokedDueToDenyList()
2734 when(mActivityManagerInternal.getBootTimeTempAllowListDuration()).thenReturn(durationMs); in opChangedPermissionGranted()
3025 when(mActivityManagerInternal.getBootTimeTempAllowListDuration()).thenReturn(durationMs); in setTimeZoneImpl()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java150 private final ActivityManagerInternal mActivityManagerInternal; field in LauncherAppsService.LauncherAppsImpl
179 mActivityManagerInternal = Objects.requireNonNull( in LauncherAppsImpl()
817 return mActivityManagerInternal.getPendingIntentActivityAsApp(requestCode, intents, in injectCreatePendingIntent()
DShortcutService.java356 private final ActivityManagerInternal mActivityManagerInternal; field in ShortcutService
478 mActivityManagerInternal = Objects.requireNonNull( in ShortcutService()
630 return isProcessStateForeground(mActivityManagerInternal.getUidProcessState(uid)); in isUidForegroundLocked()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java336 private final ActivityManagerInternal mActivityManagerInternal; field in UserBackupManagerService
561 mActivityManagerInternal = null; in UserBackupManagerService()
588 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in UserBackupManagerService()
1704 mActivityManagerInternal.clearPendingBackup(mUserId); in bindToAgentSynchronous()
2529 && mActivityManagerInternal.isAppForeground( in beginFullBackup()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java288 ActivityManagerInternal mActivityManagerInternal;
1090 if (mActivityManagerInternal.isAppStartModeDisabled(uId, servicePkg)) {
1456 mActivityManagerInternal = Objects.requireNonNull(
2208 if (mActivityManagerInternal.isAppStartModeDisabled(job.getUid(),
2392 final boolean appIsBad = mActivityManagerInternal.isAppBad(
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java269 private ActivityManagerInternal mActivityManagerInternal; field in NetworkPolicyManagerServiceTest
331 mActivityManagerInternal = addLocalServiceMock(ActivityManagerInternal.class); in registerLocalServices()
1387 verify(mActivityManagerInternal).notifyNetworkPolicyRulesUpdated(UID_A, procStateSeq);
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java362 ActivityManagerInternal mActivityManagerInternal; field in PhoneWindowManager
1606 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in init()
1985 mActivityManagerInternal.prepareForPossibleShutdown(); in onVeryLongPress()
4117 if (mActivityManagerInternal.isSystemReady()) { in dispatchMediaKeyWithWakeLockToAudioService()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java366 private ActivityManagerInternal mActivityManagerInternal; field in AppOpsService
582 } else if (mActivityManagerInternal != null in evalMode()
583 && mActivityManagerInternal.isPendingTopUid(uid)) { in evalMode()
585 } else if (mActivityManagerInternal != null in evalMode()
586 && mActivityManagerInternal.isTempAllowlistedForFgsWhileInUse(uid)) { in evalMode()
2012 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in systemReady()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java234 private ActivityManagerInternal mActivityManagerInternal; field in AppWidgetServiceImpl
273 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in systemServicesReady()
3607 final int procState = mActivityManagerInternal.getUidProcessState(callingUid); in noteAppWidgetTapped()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java646 private ActivityManagerInternal mActivityManagerInternal; field in NetworkPolicyManagerService
935 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in initService()
5249 mActivityManagerInternal.notifyNetworkPolicyRulesUpdated(uid, procStateSeq);
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java549 private final ActivityManagerInternal mActivityManagerInternal; field in AudioService
861 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in AudioService()
5911 if (mActivityManagerInternal.isSystemReady()) { in broadcastVibrateSetting()