Home
last modified time | relevance | path

Searched refs:WindowProcessController (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessControllerMap.java28 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 …]
DActivityTaskManagerInternal.java305 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 …]
DVrController.java156 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()
DEmbeddedWindowController.java82 final WindowProcessController processController = in updateProcessController()
121 final WindowProcessController processController = in onActivityRemoved()
DActivityTaskManagerService.java391 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 …]
DSafeActivityOptions.java122 @Nullable WindowProcessController callerApp, in getOptions()
194 @Nullable WindowProcessController callerApp, ActivityStackSupervisor supervisor, in checkPermissions()
DActivityStackSupervisor.java384 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 …]
DAppTaskImpl.java108 WindowProcessController callerApp = null; in moveToFront()
DRecentsAnimation.java67 private final @Nullable WindowProcessController mCaller;
84 int recentsUid, @Nullable WindowProcessController caller) { in RecentsAnimation()
DCompatModePackages.java328 SparseArray<WindowProcessController> pidMap = mService.mProcessMap.getPidMap(); in setPackageScreenCompatModeLocked()
330 final WindowProcessController app = pidMap.valueAt(i); in setPackageScreenCompatModeLocked()
DWindowToken.java626 ArrayList<WindowProcessController> notifiedProcesses = null; in notifyFixedRotationTransform()
629 final WindowProcessController app; in notifyFixedRotationTransform()
DActivityStarter.java467 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()
DRootWindowContainer.java1737 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/
DWindowProcessControllerMapTests.java53 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 …]
DWindowProcessControllerTests.java55 WindowProcessController mWpc;
64 mWpc = new WindowProcessController( in setUp()
191 WindowProcessController wpc = new WindowProcessController( in testActivityNotOverridingSystemUiProcessConfig()
DActivityStartControllerTests.java82 final WindowProcessController wpc = new WindowProcessController(mService, in testPendingActivityLaunches()
DActivityTestsBase.java125 private WindowProcessController mWpc;
222 ActivityBuilder setUseProcess(WindowProcessController wpc) { in setUseProcess()
305 final WindowProcessController wpc; in buildInner()
309 wpc = new WindowProcessController(mService, in buildInner()
DRecentsAnimationTest.java140 WindowProcessController wpc = new WindowProcessController(mService, aInfo.applicationInfo, in testPreloadRecentsActivity()
184 WindowProcessController app = recentActivity.app; in testRestartRecentsActivity()
DActivityRecordTests.java1369 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()
DActivityStarterTests.java201 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/
DAnrHelperTest.java31 import com.android.server.wm.WindowProcessController;
59 final WindowProcessController parentProcess = mock(WindowProcessController.class); in testHandleAppNotResponding()
/frameworks/base/services/core/java/com/android/server/am/
DAnrHelper.java27 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()
DAppErrors.java58 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/
DMockingOomAdjusterTests.java95 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/
Dart-profile-boot447 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 …]

12