/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ |
D | UserInfoHelperTest.java | 64 @Mock private ActivityManagerInternal mActivityManagerInternal; field in UserInfoHelperTest 72 LocalServices.addService(ActivityManagerInternal.class, mActivityManagerInternal); in setUp() 77 doReturn(true).when(mActivityManagerInternal).isCurrentProfile(USER1_ID); in setUp() 78 doReturn(true).when(mActivityManagerInternal).isCurrentProfile(USER1_MANAGED_ID); in setUp() 79 doReturn(USER1_PROFILES).when(mActivityManagerInternal).getCurrentProfileIds(); in setUp() 140 doReturn(true).when(mActivityManagerInternal).isCurrentProfile(USER2_ID); in testCurrentUserIds() 141 doReturn(true).when(mActivityManagerInternal).isCurrentProfile(USER2_MANAGED_ID); in testCurrentUserIds() 142 doReturn(USER2_PROFILES).when(mActivityManagerInternal).getCurrentProfileIds(); in testCurrentUserIds() 154 doReturn(false).when(mActivityManagerInternal).isCurrentProfile(USER1_ID); in testIsCurrentUserId() 155 doReturn(false).when(mActivityManagerInternal).isCurrentProfile(USER1_MANAGED_ID); in testIsCurrentUserId() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | UserInfoHelper.java | 78 @Nullable private ActivityManagerInternal mActivityManagerInternal; field in UserInfoHelper 90 if (mActivityManagerInternal != null) { in onSystemReady() 94 mActivityManagerInternal = Objects.requireNonNull( in onSystemReady() 162 if (mActivityManagerInternal == null) { in getCurrentUserIds() 169 return mActivityManagerInternal.getCurrentProfileIds(); in getCurrentUserIds() 181 if (mActivityManagerInternal == null) { in isCurrentUserId() 188 return mActivityManagerInternal.isCurrentProfile(userId); in isCurrentUserId()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | PendingIntentControllerTest.java | 63 private ActivityManagerInternal mActivityManagerInternal; field in PendingIntentControllerTest 80 doReturn(mActivityManagerInternal).when( in setUp()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 122 private final ActivityManagerInternal mActivityManagerInternal; field in Notifier 174 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in Notifier() 402 mActivityManagerInternal.onWakefulnessChanged(wakefulness); in onWakefulnessChangeStarted() 762 if (mActivityManagerInternal.isSystemReady()) { in sendWakeUpBroadcast() 785 if (mActivityManagerInternal.isSystemReady()) { in sendGoToSleepBroadcast()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 76 private final ActivityManagerInternal mActivityManagerInternal; field in MediaProjectionManagerService 92 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in MediaProjectionManagerService() 106 mActivityManagerInternal.registerProcessObserver(new IProcessObserver.Stub() { in onStart() 477 && !mActivityManagerInternal.hasRunningForegroundService( in start()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | Vr2dDisplay.java | 73 private final ActivityManagerInternal mActivityManagerInternal; field in Vr2dDisplay 107 mActivityManagerInternal = activityManagerInternal; in Vr2dDisplay()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 88 private ActivityManagerInternal mActivityManagerInternal; field in CrossProfileAppsServiceImplTest 669 return mActivityManagerInternal; in getActivityManagerInternal()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 116 private final ActivityManagerInternal mActivityManagerInternal; field in Owners 160 mActivityManagerInternal = activityManagerInternal; in Owners() 228 mActivityManagerInternal.setDeviceOwnerUid(uid); in pushToActivityTaskManagerLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 89 ActivityManagerInternal mActivityManagerInternal; field in AppStateTracker 421 mActivityManagerInternal = Objects.requireNonNull(injectActivityManagerInternal()); in onSystemServicesReady() 1158 final boolean ret = mActivityManagerInternal.isUidActive(uid); in isUidActiveSynced()
|
D | BatteryService.java | 189 private ActivityManagerInternal mActivityManagerInternal; field in BatteryService 206 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in BatteryService() 391 if (mActivityManagerInternal.isSystemReady()) { in shutdownIfNoPowerLocked() 412 if (mActivityManagerInternal.isSystemReady()) { in shutdownIfOverTempLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 137 private final ActivityManagerInternal mActivityManagerInternal; field in LauncherAppsService.LauncherAppsImpl 160 mActivityManagerInternal = Objects.requireNonNull( in LauncherAppsImpl()
|
D | ShortcutService.java | 333 private final ActivityManagerInternal mActivityManagerInternal; field in ShortcutService 456 mActivityManagerInternal = Objects.requireNonNull( in ShortcutService() 572 return isProcessStateForeground(mActivityManagerInternal.getUidProcessState(uid)); in isUidForegroundLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 247 private ActivityManagerInternal mActivityManagerInternal; field in NetworkPolicyManagerServiceTest 309 mActivityManagerInternal = addLocalServiceMock(ActivityManagerInternal.class); in registerLocalServices() 1363 verify(mActivityManagerInternal).notifyNetworkPolicyRulesUpdated(UID_A, procStateSeq);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 332 private final ActivityManagerInternal mActivityManagerInternal; field in UserBackupManagerService 551 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in UserBackupManagerService() 1642 mActivityManagerInternal.clearPendingBackup(mUserId); in bindToAgentSynchronous() 2441 && mActivityManagerInternal.isAppForeground( in beginFullBackup()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 340 private ActivityManagerInternal mActivityManagerInternal; field in AppOpsService 538 } else if (mActivityManagerInternal != null in evalMode() 539 && mActivityManagerInternal.isPendingTopUid(uid)) { in evalMode() 578 if (mActivityManagerInternal != null in evalMode() 579 && mActivityManagerInternal.isPendingTopUid(uid)) { in evalMode() 587 if (mActivityManagerInternal != null in evalMode() 588 && mActivityManagerInternal.isPendingTopUid(uid)) { in evalMode() 1748 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in systemReady()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 329 private final ActivityManagerInternal mActivityManagerInternal; field in QuotaController 493 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in QuotaController() 543 if (mActivityManagerInternal.getUidProcessState(uid) <= ActivityManager.PROCESS_STATE_TOP) { in prepareForExecutionLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 283 ActivityManagerInternal mActivityManagerInternal; 1404 mActivityManagerInternal = Objects.requireNonNull( 2289 final boolean appIsBad = mActivityManagerInternal.isAppBad(service.applicationInfo);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 356 ActivityManagerInternal mActivityManagerInternal; field in PhoneWindowManager 805 mActivityManagerInternal.prepareForPossibleShutdown(); 1728 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in init() 4284 if (mActivityManagerInternal.isSystemReady()) { in dispatchMediaKeyWithWakeLockToAudioService()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 234 private ActivityManagerInternal mActivityManagerInternal; field in AppWidgetServiceImpl 278 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in systemServicesReady() 3661 final int procState = mActivityManagerInternal.getUidProcessState(callingUid); in noteAppWidgetTapped()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 577 private ActivityManagerInternal mActivityManagerInternal; field in NetworkPolicyManagerService 812 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in initService() 4788 mActivityManagerInternal.notifyNetworkPolicyRulesUpdated(uid, procStateSeq); in handleUidChanged()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 503 private final ActivityManagerInternal mActivityManagerInternal; field in AudioService 688 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in AudioService() 4775 if (mActivityManagerInternal.isSystemReady()) { in broadcastVibrateSetting()
|