Home
last modified time | relevance | path

Searched refs:mProcessMap (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowProcessControllerMapTests.java56 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 …]
DActivityTaskManagerServiceTests.java681 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 …]
DBackgroundActivityStartControllerExemptionTests.java119 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()
DBackgroundActivityStartControllerTests.java112 WindowProcessControllerMap mProcessMap = new WindowProcessControllerMap(); field in BackgroundActivityStartControllerTests
198 setViaReflection(mService, "mProcessMap", mProcessMap); in setUp()
DWindowTestsBase.java551 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()
DSystemServicesTestRule.java548 atmService.mProcessMap.put(pid, proc);
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigurationUpdaterImpl.java90 WindowProcessController wpc = mAtm.mProcessMap.getProcess(mPid.get()); in commit()
120 final ArraySet<WindowProcessController> processes = mAtm.mProcessMap.getProcesses(uid); in updateConfig()
DActivityTaskManagerService.java419 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 …]
DCompatModePackages.java744 SparseArray<WindowProcessController> pidMap = mService.mProcessMap.getPidMap(); in setPackageScreenCompatModeLocked()
DTaskFragmentOrganizerController.java1264 final WindowProcessController wpc = mAtmService.mProcessMap.getProcess(pid); in getAppThread()
DSession.java148 mProcess = service.mAtmService.mProcessMap.getProcess(mPid); in Session()
DBackgroundActivityStartController.java999 mService.mProcessMap.getProcesses(app.mUid); in checkProcessAllowsBal()
DWindowProcessController.java630 final WindowProcessController caller = mAtm.mProcessMap.getProcess(r.launchedFromPid); in updateRapidActivityLaunch()
DActivityTaskSupervisor.java1108 mService.mProcessMap.remove(wpc.getPid()); in startSpecificActivity()
DActivityStarter.java1316 final WindowProcessController wpc = mService.mProcessMap.getProcess(realCallingPid); in executeRequest()