/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowProcessControllerMap.java | 28 private final SparseArray<WindowProcessController> mPidMap = new SparseArray<>(); 30 private final Map<Integer, ArraySet<WindowProcessController>> mUidMap = new HashMap<>(); 33 WindowProcessController getProcess(int pid) { in getProcess() 38 ArraySet<WindowProcessController> getProcesses(int uid) { in getProcesses() 42 SparseArray<WindowProcessController> getPidMap() { in getPidMap() 46 void put(int pid, WindowProcessController proc) { in put() 49 final WindowProcessController prevProc = mPidMap.get(pid); in put() 57 ArraySet<WindowProcessController> procSet = mUidMap.getOrDefault(uid, in put() 58 new ArraySet<WindowProcessController>()); in put() 64 final WindowProcessController proc = mPidMap.get(pid); in remove() [all …]
|
D | ActivityTaskManagerInternal.java | 305 public abstract void onProcessAdded(WindowProcessController proc); in onProcessAdded() 307 public abstract void onCleanUpApplicationRecord(WindowProcessController proc); in onCleanUpApplicationRecord() 309 public abstract boolean isHeavyWeightProcess(WindowProcessController proc); in isHeavyWeightProcess() 310 public abstract void clearHeavyWeightProcessIfEquals(WindowProcessController proc); in clearHeavyWeightProcessIfEquals() 321 public abstract void onProcessMapped(int pid, WindowProcessController proc); in onProcessMapped() 413 public abstract boolean isFactoryTestProcess(WindowProcessController wpc); in isFactoryTestProcess() 415 public abstract void handleAppDied(WindowProcessController wpc, boolean restarting, in handleAppDied() 434 public abstract void preBindApplication(WindowProcessController wpc); in preBindApplication() 437 public abstract boolean attachApplication(WindowProcessController wpc) throws RemoteException; in attachApplication() 482 public abstract WindowProcessController getTopApp(); in getTopApp() [all …]
|
D | VrController.java | 156 public void onTopProcChangedLocked(WindowProcessController proc) { in onTopProcChangedLocked() 222 public void setVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setVrThreadLocked() 256 public void setPersistentVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setPersistentVrThreadLocked() 291 private boolean changeVrModeLocked(boolean vrMode, WindowProcessController proc) { in changeVrModeLocked()
|
D | EmbeddedWindowController.java | 82 final WindowProcessController processController = in updateProcessController() 121 final WindowProcessController processController = in onActivityRemoved()
|
D | ActivityTaskManagerService.java | 391 final ProcessMap<WindowProcessController> mProcessNames = new ProcessMap<>(); 395 WindowProcessController mHomeProcess; 397 WindowProcessController mHeavyWeightProcess = null; 404 WindowProcessController mPreviousProcess; 537 WindowProcessController mProfileProc = null; 975 final WindowProcessController app = mProcessMap.getProcess(pid); in getGlobalConfigurationForPid() 1284 final WindowProcessController process = mProcessMap.getProcess(Binder.getCallingPid()); in startDreamActivity() 1586 final WindowProcessController caller = getProcessController(callingPid, callingUid); in startRecentsActivity() 2523 WindowProcessController callerApp = null; in moveTaskToFrontLocked() 3402 final WindowProcessController app = getProcessController(appInt); in releaseSomeActivities() [all …]
|
D | SafeActivityOptions.java | 122 @Nullable WindowProcessController callerApp, in getOptions() 194 @Nullable WindowProcessController callerApp, ActivityStackSupervisor supervisor, in checkPermissions()
|
D | ActivityStackSupervisor.java | 384 final WindowProcessController callerApp; 388 int startFlags, ActivityStack stack, WindowProcessController callerApp, in PendingActivityLaunch() 718 boolean realStartActivityLocked(ActivityRecord r, WindowProcessController proc, in realStartActivityLocked() 939 void updateHomeProcess(WindowProcessController app) { in updateHomeProcess() 965 final WindowProcessController wpc = in startSpecificActivity() 992 boolean launchingInTask, WindowProcessController callerApp, ActivityRecord resultRecord, in checkStartAnyActivityPermission() 1547 ArrayMap<String, SparseArray<WindowProcessController>> pmap = in cleanUpRemovedTaskLocked() 1551 SparseArray<WindowProcessController> uids = pmap.valueAt(i); in cleanUpRemovedTaskLocked() 1553 WindowProcessController proc = uids.valueAt(j); in cleanUpRemovedTaskLocked() 1874 void removeHistoryRecords(WindowProcessController app) { in removeHistoryRecords() [all …]
|
D | AppTaskImpl.java | 108 WindowProcessController callerApp = null; in moveToFront()
|
D | RecentsAnimation.java | 67 private final @Nullable WindowProcessController mCaller; 84 int recentsUid, @Nullable WindowProcessController caller) { in RecentsAnimation()
|
D | CompatModePackages.java | 328 SparseArray<WindowProcessController> pidMap = mService.mProcessMap.getPidMap(); in setPackageScreenCompatModeLocked() 330 final WindowProcessController app = pidMap.valueAt(i); in setPackageScreenCompatModeLocked()
|
D | WindowToken.java | 626 ArrayList<WindowProcessController> notifiedProcesses = null; in notifyFixedRotationTransform() 629 final WindowProcessController app; in notifyFixedRotationTransform()
|
D | ActivityStarter.java | 467 final WindowProcessController callerApp = supervisor.mService in resolveActivity() 720 final WindowProcessController heavy = mService.mHeavyWeightProcess; in resolveToHeavyWeightSwitcherIfNeeded() 728 WindowProcessController callerApp = mService.getProcessController(mRequest.caller); in resolveToHeavyWeightSwitcherIfNeeded() 868 WindowProcessController callerApp = null; in executeRequest() 1236 WindowProcessController callerApp, PendingIntentRecord originatingPendingIntent, in shouldAbortBackgroundActivityStart() 1366 final ArraySet<WindowProcessController> uidProcesses = in shouldAbortBackgroundActivityStart() 1370 final WindowProcessController proc = uidProcesses.valueAt(i); in shouldAbortBackgroundActivityStart()
|
D | RootWindowContainer.java | 1737 final WindowProcessController app = in canStartHomeOnDisplayArea() 1900 WindowProcessController fgApp = null; in updatePreviousProcess() 1929 boolean attachApplication(WindowProcessController app) throws RemoteException { in attachApplication() 1958 WindowProcessController app, ActivityRecord top) { in startActivityForAttachedApplicationIfNeeded() 2263 int finishTopCrashedActivities(WindowProcessController app, String reason) { in finishTopCrashedActivities() 2751 void handleAppCrash(WindowProcessController app) { in handleAppCrash() 2758 private static void handleAppCrash(ActivityRecord r, WindowProcessController app) { in handleAppCrash() 3115 boolean handleAppDied(WindowProcessController app) { in handleAppDied() 3522 final WindowProcessController resumedActivityProcess = in sendPowerHintForLaunchStartIfNeeded()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowProcessControllerMapTests.java | 53 private WindowProcessController pid1uid1; 54 private WindowProcessController pid1uid2; 55 private WindowProcessController pid2uid1; 56 private WindowProcessController pid3uid1; 57 private WindowProcessController pid4uid2; 62 pid1uid1 = new WindowProcessController( in setUp() 66 pid1uid2 = new WindowProcessController( in setUp() 70 pid2uid1 = new WindowProcessController( in setUp() 74 pid3uid1 = new WindowProcessController( in setUp() 78 pid4uid2 = new WindowProcessController( in setUp() [all …]
|
D | WindowProcessControllerTests.java | 55 WindowProcessController mWpc; 64 mWpc = new WindowProcessController( in setUp() 191 WindowProcessController wpc = new WindowProcessController( in testActivityNotOverridingSystemUiProcessConfig()
|
D | ActivityStartControllerTests.java | 82 final WindowProcessController wpc = new WindowProcessController(mService, in testPendingActivityLaunches()
|
D | ActivityTestsBase.java | 125 private WindowProcessController mWpc; 222 ActivityBuilder setUseProcess(WindowProcessController wpc) { in setUseProcess() 305 final WindowProcessController wpc; in buildInner() 309 wpc = new WindowProcessController(mService, in buildInner()
|
D | RecentsAnimationTest.java | 140 WindowProcessController wpc = new WindowProcessController(mService, aInfo.applicationInfo, in testPreloadRecentsActivity() 184 WindowProcessController app = recentActivity.app; in testRestartRecentsActivity()
|
D | ActivityRecordTests.java | 1369 final WindowProcessController wpc = mActivity.app; in testActivityOverridesProcessConfig() 1385 final WindowProcessController wpc = mActivity.app; in testActivityOverridesProcessConfig_TwoActivities() 1399 final WindowProcessController wpc = mActivity.app; in testActivityOverridesProcessConfig_TwoActivities_SecondaryDisplay() 1412 final WindowProcessController wpc = mActivity.app; in testActivityOverridesProcessConfig_TwoActivities_DifferentTasks() 1549 final WindowProcessController wpc = secondaryDisplayActivity.app; in testActivityOnDifferentDisplayUpdatesProcessOverride() 1563 final WindowProcessController wpc = mActivity.app; in testActivityReparentChangesProcessOverride() 1592 final WindowProcessController wpc = mActivity.app; in testActivityReparentDoesntClearProcessOverride_TwoActivities() 1630 final WindowProcessController wpc = firstActivity.app; in testActivityDestroyDoesntChangeProcessOverride() 1665 WindowProcessController process) { in createActivityOnDisplay()
|
D | ActivityStarterTests.java | 201 final WindowProcessController wpc = in verifyStartActivityPreconditionsUntracked() 203 ? null : new WindowProcessController(service, ai, null, 0, -1, null, listener); in verifyStartActivityPreconditionsUntracked() 659 final WindowProcessController callerApp = in runAndVerifyBackgroundActivityStartsSubtest() 660 new WindowProcessController(mService, ai, null, callingUid, -1, null, listener); in runAndVerifyBackgroundActivityStartsSubtest()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | AnrHelperTest.java | 31 import com.android.server.wm.WindowProcessController; 59 final WindowProcessController parentProcess = mock(WindowProcessController.class); in testHandleAppNotResponding()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AnrHelper.java | 27 import com.android.server.wm.WindowProcessController; 59 WindowProcessController parentProcess, boolean aboveSystem, String annotation) { in appNotResponding() 120 final WindowProcessController mParentProcess; 126 WindowProcessController parentProcess, boolean aboveSystem, String annotation) { in AnrRecord()
|
D | AppErrors.java | 58 import com.android.server.wm.WindowProcessController; 778 final WindowProcessController proc = app.getWindowProcessController(); 779 final WindowProcessController homeProc = mService.mAtmInternal.getHomeProcess();
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 95 import com.android.server.wm.WindowProcessController; 344 doReturn(mock(WindowProcessController.class)).when(app).getWindowProcessController(); in testUpdateOomAdj_DoOne_VisibleActivities() 345 WindowProcessController wpc = app.getWindowProcessController(); in testUpdateOomAdj_DoOne_VisibleActivities() 358 any(WindowProcessController.ComputeOomAdjCallback.class)); in testUpdateOomAdj_DoOne_VisibleActivities() 371 doReturn(mock(WindowProcessController.class)).when(app).getWindowProcessController(); in testUpdateOomAdj_DoOne_RecentTasks() 372 WindowProcessController wpc = app.getWindowProcessController(); in testUpdateOomAdj_DoOne_RecentTasks() 454 WindowProcessController.class)); in testUpdateOomAdj_DoOne_HeavyWeight() 458 WindowProcessController.class)); in testUpdateOomAdj_DoOne_HeavyWeight() 469 doReturn(mock(WindowProcessController.class)).when(app).getWindowProcessController(); in testUpdateOomAdj_DoOne_HomeApp() 470 WindowProcessController wpc = app.getWindowProcessController(); in testUpdateOomAdj_DoOne_HomeApp() [all …]
|
/frameworks/base/services/ |
D | art-profile-boot | 447 Lcom/android/server/wm/WindowProcessController;->setPerceptible(Z)V 463 …rver/am/ProcessRecord;->getWindowProcessController()Lcom/android/server/wm/WindowProcessController; 523 Lcom/android/server/wm/WindowProcessController;->setCurrentSchedulingGroup(I)V 534 Lcom/android/server/wm/WindowProcessController;->setHasForegroundActivities(Z)V 536 Lcom/android/server/wm/WindowProcessController;->setCurrentProcState(I)V 570 Lcom/android/server/wm/WindowProcessController;->hasVisibleActivities()Z 593 …anagerService$LocalService;->isHeavyWeightProcess(Lcom/android/server/wm/WindowProcessController;)Z 594 Lcom/android/server/wm/WindowProcessController;->isHomeProcess()Z 595 Lcom/android/server/wm/WindowProcessController;->isPreviousProcess()Z 605 Lcom/android/server/wm/WindowProcessController;->hasActivities()Z [all …]
|