/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowProcessControllerMapTests.java | 56 private WindowProcessControllerMap mProcessMap; field in WindowProcessControllerMapTests 65 mProcessMap = new WindowProcessControllerMap(); in setUp() 91 mProcessMap.put(FAKE_PID1, pid1uid1); in testAdditionsAndRemovals() 92 mProcessMap.put(FAKE_PID2, pid2uid1); in testAdditionsAndRemovals() 93 assertEquals(pid1uid1, mProcessMap.getProcess(FAKE_PID1)); in testAdditionsAndRemovals() 94 assertEquals(pid2uid1, mProcessMap.getProcess(FAKE_PID2)); in testAdditionsAndRemovals() 95 ArraySet<WindowProcessController> uid1processes = mProcessMap.getProcesses(FAKE_UID1); in testAdditionsAndRemovals() 100 mProcessMap.remove(FAKE_PID2); in testAdditionsAndRemovals() 101 mProcessMap.put(FAKE_PID3, pid3uid1); in testAdditionsAndRemovals() 102 uid1processes = mProcessMap.getProcesses(FAKE_UID1); in testAdditionsAndRemovals() [all …]
|
D | ActivityTaskManagerServiceTests.java | 681 mAtm.mProcessMap.put(Binder.getCallingPid(), createWindowProcessController( in testPackageConfigUpdate_locales_successfullyApplied() 701 mAtm.mProcessMap.put(Binder.getCallingPid(), createWindowProcessController( in testPackageConfigUpdate_nightMode_successfullyApplied() 722 mAtm.mProcessMap.put(Binder.getCallingPid(), wpc); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied() 754 mAtm.mProcessMap.put(Binder.getCallingPid(), createWindowProcessController( in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied() 782 mAtm.mProcessMap.put(Binder.getCallingPid(), createWindowProcessController( in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply() 812 mAtm.mProcessMap.put(Binder.getCallingPid(), wpc); in testPackageConfigUpdate_LocalesEmptyAndNightModeUndefined_configShouldNotApply() 844 mAtm.mProcessMap.put(Binder.getCallingPid(), createWindowProcessController( in testPackageConfigUpdate_WhenUserRemoved_configShouldNotApply() 873 mAtm.mProcessMap.put(Binder.getCallingPid(), createWindowProcessController( in testPackageConfigUpdate_setLocaleListToEmpty_doesNotOverlayLocaleListInWpc() 902 mAtm.mProcessMap.put(Binder.getCallingPid(), createWindowProcessController( in testPackageConfigUpdate_resetNightMode_doesNotOverrideNightModeInWpc() 934 mAtm.mProcessMap.put(Binder.getCallingPid(), wpc); in testPackageConfigUpdate_localesNotSet_localeConfigRetrievedNull() [all …]
|
D | BackgroundActivityStartControllerExemptionTests.java | 119 WindowProcessControllerMap mProcessMap = new WindowProcessControllerMap(); field in BackgroundActivityStartControllerExemptionTests 176 setViaReflection(mService, "mProcessMap", mProcessMap); in setUp() 399 WindowProcessControllerMap mProcessMap = new WindowProcessControllerMap(); in testRealCaller_appAllowedByBLPCforOtherProcess() local 401 mProcessMap.put(callingPid, mCallerApp); in testRealCaller_appAllowedByBLPCforOtherProcess() 402 mProcessMap.put(REGULAR_PID_1_1, otherProcess); in testRealCaller_appAllowedByBLPCforOtherProcess() 403 setViaReflection(mService, "mProcessMap", mProcessMap); in testRealCaller_appAllowedByBLPCforOtherProcess()
|
D | BackgroundActivityStartControllerTests.java | 112 WindowProcessControllerMap mProcessMap = new WindowProcessControllerMap(); field in BackgroundActivityStartControllerTests 198 setViaReflection(mService, "mProcessMap", mProcessMap); in setUp()
|
D | WindowTestsBase.java | 551 final int numPid = mAtm.mProcessMap.getPidMap().size(); in getTestSession() 552 pid = numPid > 0 ? mAtm.mProcessMap.getPidMap().keyAt(numPid - 1) + 1 : 1; in getTestSession() 554 mAtm.mProcessMap.put(pid, r.app); in getTestSession() 570 if (atms.mProcessMap.getProcess(pid) == null) { in createTestSession() 923 if (mAtm.mProcessMap.getProcess(WindowManagerService.MY_PID) == null) { in registerTaskFragmentOrganizer()
|
D | SystemServicesTestRule.java | 548 atmService.mProcessMap.put(pid, proc);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PackageConfigurationUpdaterImpl.java | 90 WindowProcessController wpc = mAtm.mProcessMap.getProcess(mPid.get()); in commit() 120 final ArraySet<WindowProcessController> processes = mAtm.mProcessMap.getProcesses(uid); in updateConfig()
|
D | ActivityTaskManagerService.java | 419 final WindowProcessControllerMap mProcessMap = new WindowProcessControllerMap(); field in ActivityTaskManagerService 1151 final WindowProcessController app = mProcessMap.getProcess(pid); in getGlobalConfigurationForCallingPid() 1528 final WindowProcessController process = mProcessMap.getProcess(callingPid); in startDreamActivityInternal() 3234 process = mProcessMap.getProcess(pid); in checkCanCloseSystemDialogs() 3283 ArraySet<WindowProcessController> processes = mProcessMap.getProcesses(uid); in canCloseSystemDialogs() 4056 final WindowProcessController wpc = mProcessMap.getProcess(pid); in setVrThread() 4075 final WindowProcessController proc = mProcessMap.getProcess(pid); in setPersistentVrThread() 4701 SparseArray<WindowProcessController> pidMap = mProcessMap.getPidMap(); in updateGlobalConfigurationLocked() 5560 final WindowProcessController proc = mProcessMap.getProcess(pid); in getProcessController() 5575 final WindowProcessController proc = mProcessMap.getProcess(pid); in getPackageNameIfUnique() [all …]
|
D | CompatModePackages.java | 744 SparseArray<WindowProcessController> pidMap = mService.mProcessMap.getPidMap(); in setPackageScreenCompatModeLocked()
|
D | TaskFragmentOrganizerController.java | 1264 final WindowProcessController wpc = mAtmService.mProcessMap.getProcess(pid); in getAppThread()
|
D | Session.java | 148 mProcess = service.mAtmService.mProcessMap.getProcess(mPid); in Session()
|
D | BackgroundActivityStartController.java | 999 mService.mProcessMap.getProcesses(app.mUid); in checkProcessAllowsBal()
|
D | WindowProcessController.java | 630 final WindowProcessController caller = mAtm.mProcessMap.getProcess(r.launchedFromPid); in updateRapidActivityLaunch()
|
D | ActivityTaskSupervisor.java | 1108 mService.mProcessMap.remove(wpc.getPid()); in startSpecificActivity()
|
D | ActivityStarter.java | 1316 final WindowProcessController wpc = mService.mProcessMap.getProcess(realCallingPid); in executeRequest()
|