/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | PhoneWindowManagerTests.java | 82 private ActivityTaskManagerInternal mAtmInternal; field in PhoneWindowManagerTests 92 mAtmInternal = mock(ActivityTaskManagerInternal.class); in setUp() 93 LocalServices.addService(ActivityTaskManagerInternal.class, mAtmInternal); in setUp() 94 mPhoneWindowManager.mActivityTaskManagerInternal = mAtmInternal; in setUp() 148 doReturn(tokenAcquirer).when(mAtmInternal).createSleepTokenAcquirer(anyString()); in testScreenTurnedOff() 232 when(mAtmInternal.startHomeOnDisplay( in mockStartDockOrHome()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveUids.java | 50 mService.mAtmInternal.onUidActive(uid, value.getCurProcState()); in put() 58 mService.mAtmInternal.onUidInactive(uid); in remove()
|
D | AppErrors.java | 697 mService.mAtmInternal.onHandleAppCrash(r.getWindowProcessController()); in crashApplicationInner() 703 mService.mAtmInternal.resumeTopActivities(false /* scheduleIdle */); in crashApplicationInner() 740 return mService.mAtmInternal.handleAppCrashInActivityController( in handleAppCrashInActivityController() 905 mService.mAtmInternal.onHandleAppCrash(proc); 938 mService.mAtmInternal.resumeTopActivities(false /* scheduleIdle */); 943 mService.mAtmInternal.resumeTopActivities(false /* scheduleIdle */); 945 final int affectedTaskId = mService.mAtmInternal.finishTopCrashedActivities( 1057 if ((mService.mAtmInternal.canShowErrorDialogs() || showBackground) 1109 if (mService.mAtmInternal.canShowErrorDialogs() || showBackground) {
|
D | PendingIntentController.java | 90 final ActivityTaskManagerInternal mAtmInternal; field in PendingIntentController 109 mAtmInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in PendingIntentController() 397 mAtmInternal.clearPendingResultForActivity(activityToken, pir); in clearPendingResultForActivity()
|
D | PendingIntentRecord.java | 626 res = controller.mAtmInternal.startActivitiesInPackage( in sendInner() 633 res = controller.mAtmInternal.startActivityInPackage(uid, callingPid, in sendInner() 646 controller.mAtmInternal.sendActivityResult(-1, key.activity, key.who, in sendInner() 718 if (uid != callingUid && controller.mAtmInternal.isUidForeground(callingUid)) { in getBackgroundStartPrivilegesForActivitySender()
|
D | AppProfiler.java | 371 if (mService.mAtmInternal != null) { in setProfileApp() 372 mService.mAtmInternal.setProfileApp(profileApp); in setProfileApp() 382 if (mService.mAtmInternal != null) { in setProfileProc() 383 mService.mAtmInternal.setProfileProc(profileProc == null ? null in setProfileProc() 394 if (mService.mAtmInternal != null) { in setProfilerInfo() 395 mService.mAtmInternal.setProfilerInfo(profilerInfo); in setProfilerInfo() 907 mTestPssOrRssMode, mService.mAtmInternal.isSleeping(), now)); in updateNextPssTimeLPf() 1420 mService.mAtmInternal == null || !mService.mAtmInternal.isSleeping(), in updateLowMemStateLSP() 1968 mService.mAtmInternal.dump(DUMP_ACTIVITIES_CMD, null, catPw, emptyArgs, 0, false, false, in reportMemUsage()
|
D | UserController.java | 3812 return mService.mAtmInternal; 3904 mService.mAtmInternal.startHomeActivity(userId, reason); 3919 mService.mAtmInternal.updateUserConfiguration(); 3929 mService.mAtmInternal.loadRecentTasksForUser(userId); 3980 mService.mAtmInternal.removeUser(userId); 3984 return mService.mAtmInternal.switchUser(userId, uss); 3988 mService.mAtmInternal.resumeTopActivities(false /* scheduleIdle */); 3992 mService.mAtmInternal.clearLockedTasks(reason); 3996 return mService.mAtmInternal.isCallerRecents(callingUid);
|
D | OomAdjuster.java | 600 mProcessStateCurTop = mService.mAtmInternal.getTopProcessState(); in performUpdateOomAdjLSP() 685 final int prevTopProcessState = mService.mAtmInternal.getTopProcessState(); in enqueuePendingTopAppIfNecessaryLSP() 687 final int topProcessState = mService.mAtmInternal.getTopProcessState(); in enqueuePendingTopAppIfNecessaryLSP() 1097 mService.mAtmInternal.scheduleDestroyAllActivities("always-finish"); in postUpdateOomAdjInnerLSP() 1601 mService.mAtmInternal.onUidProcStateChanged( in updateUidsLSP() 1906 if (mService.mAtmInternal.useTopSchedGroupForTopProcess()) { in computeOomAdjLSP()
|
D | ProcessErrorStateRecord.java | 274 if (mService.mAtmInternal.isShuttingDown()) { in skipAnrLocked()
|
/frameworks/base/services/contextualsearch/java/com/android/server/contextualsearch/ |
D | ContextualSearchManagerService.java | 100 private final ActivityTaskManagerInternal mAtmInternal; field in ContextualSearchManagerService 162 mAtmInternal = Objects.requireNonNull( in ContextualSearchManagerService() 303 boolean isAssistDataAllowed = mAtmInternal.isAssistDataAllowed(); in getContextualSearchIntent() 304 final List<ActivityAssistInfo> records = mAtmInternal.getTopVisibleActivities(); in getContextualSearchIntent() 373 return mAtmInternal.startActivityWithScreenshot(launchIntent, in invokeContextualSearchIntent()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 124 private final ActivityTaskManagerInternal mAtmInternal; field in DreamManagerService 234 mAtmInternal = getLocalService(ActivityTaskManagerInternal.class); in DreamManagerService() 287 mAtmInternal.registerActivityStartInterceptor( in onBootPhase() 757 mAtmInternal.notifyActiveDreamChanged(name); in startDreamLocked() 782 mHandler.post(() -> mAtmInternal.notifyActiveDreamChanged(null)); in cleanupDreamLocked() 1151 final IAppTask appTask = mAtmInternal.startDreamActivity(intent, callingUid, in startDreamActivity()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 159 final ActivityTaskManagerInternal mAtmInternal; field in VoiceInteractionManagerService 182 mAtmInternal = Objects.requireNonNull( in VoiceInteractionManagerService() 517 mAtmInternal.onLocalVoiceInteractionStarted(token, in startLocalVoiceInteraction() 812 mAtmInternal.setAllowAppSwitches(TAG, in switchImplementationIfNeededNoTracingLocked() 816 mAtmInternal.setAllowAppSwitches(TAG, -1, mCurUser); in switchImplementationIfNeededNoTracingLocked() 2377 mAtmInternal.notifyActiveVoiceInteractionServiceChanged( in setImplLocked() 2729 boolean isAssistDataAllowed = mAtmInternal.isAssistDataAllowed(); in getContextualSearchIntent() 2730 final List<ActivityAssistInfo> records = mAtmInternal.getTopVisibleActivities(); in getContextualSearchIntent() 2770 int resultCode = mAtmInternal.startActivityWithScreenshot(launchIntent, in startContextualSearch()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 137 private final ActivityTaskManagerInternal mAtmInternal; field in CompanionDeviceManagerService 162 mAtmInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in CompanionDeviceManagerService() 822 if (mAtmInternal != null) { in updateAtm() 823 mAtmInternal.setCompanionAppUids(userId, companionAppUids); in updateAtm()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ProcessRecordTests.java | 74 sService.mAtmInternal = sService.mActivityTaskManager.getAtmInternal(); in setUpOnce()
|
D | OomAdjusterTests.java | 79 sService.mAtmInternal = sService.mActivityTaskManager.getAtmInternal(); in setUpOnce()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ServiceTimeoutTest.java | 113 realAms.mAtmInternal = spy(realAms.mActivityTaskManager.getAtmInternal()); in setUp()
|
D | MockingOomAdjusterTests.java | 193 mService.mAtmInternal = spy(mService.mActivityTaskManager.getAtmInternal()); in setUp() 384 doReturn(PROCESS_STATE_TOP).when(mService.mAtmInternal).getTopProcessState(); in testUpdateOomAdj_DoOne_TopApp_Awake() 398 doReturn(PROCESS_STATE_TOP_SLEEPING).when(mService.mAtmInternal).getTopProcessState(); in testUpdateOomAdj_DoOne_RunningAnimations() 402 doReturn(PROCESS_STATE_TOP).when(mService.mAtmInternal).getTopProcessState(); in testUpdateOomAdj_DoOne_RunningAnimations() 454 doReturn(PROCESS_STATE_TOP_SLEEPING).when(mService.mAtmInternal).getTopProcessState(); in testUpdateOomAdj_DoOne_TopApp_Sleeping() 459 doReturn(PROCESS_STATE_TOP).when(mService.mAtmInternal).getTopProcessState(); in testUpdateOomAdj_DoOne_TopApp_Sleeping() 957 doReturn(PROCESS_STATE_TOP).when(mService.mAtmInternal).getTopProcessState(); in testUpdateOomAdj_DoOne_Service_Started_WaivePriority() 1043 doReturn(PROCESS_STATE_TOP).when(mService.mAtmInternal).getTopProcessState(); in testUpdateOomAdj_DoOne_Service_AllowOomManagement() 1094 doReturn(PROCESS_STATE_TOP).when(mService.mAtmInternal).getTopProcessState(); in testUpdateOomAdj_DoOne_Service_BoundByTop() 1454 doReturn(PROCESS_STATE_TOP).when(mService.mAtmInternal).getTopProcessState(); in testUpdateOomAdj_DoOne_Provider_TopApp() [all …]
|
D | AsyncProcessStartTest.java | 137 mRealAms.mAtmInternal = mActivityTaskManagerInt; in setUp()
|
D | ProcessObserverTest.java | 138 mRealAms.mAtmInternal = mActivityTaskManagerInt; in setUp()
|
D | ServiceBindingOomAdjPolicyTest.java | 171 realAms.mAtmInternal = spy(realAms.mActivityTaskManager.getAtmInternal()); in setUp() 184 doReturn(false).when(mAms.mAtmInternal).hasSystemAlertWindowPermission(anyInt(), anyInt(), in setUp()
|
D | BaseBroadcastQueueTest.java | 166 realAms.mAtmInternal = spy(realAms.mActivityTaskManager.getAtmInternal()); in setUp()
|
D | AppChildProcessTest.java | 106 mAms.mAtmInternal = spy(mAms.mActivityTaskManager.getAtmInternal()); in setUp()
|
D | ApplicationStartInfoTest.java | 115 mAms.mAtmInternal = spy(mAms.mActivityTaskManager.getAtmInternal()); in setUp()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 136 private final ActivityTaskManagerInternal mAtmInternal; field in PinnerService 250 mAtmInternal = LocalServices.getService(ActivityTaskManagerInternal.class); in PinnerService() 519 Intent intent = mAtmInternal.getHomeIntent(); in getHomeInfo()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 644 ams.mAtmInternal = mInternal;
|