Home
last modified time | relevance | path

Searched refs:WindowProcessController (Results 1 – 25 of 31) 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.java323 public abstract void onProcessAdded(WindowProcessController proc); in onProcessAdded()
325 public abstract void onCleanUpApplicationRecord(WindowProcessController proc); in onCleanUpApplicationRecord()
327 public abstract boolean isHeavyWeightProcess(WindowProcessController proc); in isHeavyWeightProcess()
328 public abstract void clearHeavyWeightProcessIfEquals(WindowProcessController proc); in clearHeavyWeightProcessIfEquals()
338 public abstract void onProcessMapped(int pid, WindowProcessController proc); in onProcessMapped()
430 public abstract boolean isFactoryTestProcess(WindowProcessController wpc); in isFactoryTestProcess()
432 public abstract void handleAppDied(WindowProcessController wpc, boolean restarting, in handleAppDied()
451 public abstract void preBindApplication(WindowProcessController wpc); in preBindApplication()
454 public abstract boolean attachApplication(WindowProcessController wpc) throws RemoteException; in attachApplication()
499 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()
DActivityTaskManagerService.java384 final ProcessMap<WindowProcessController> mProcessNames = new ProcessMap<>();
388 WindowProcessController mHomeProcess;
390 WindowProcessController mHeavyWeightProcess = null;
396 WindowProcessController mPreviousProcess;
532 WindowProcessController mProfileProc = null;
941 final WindowProcessController app = mProcessMap.getProcess(pid); in getGlobalConfigurationForPid()
1474 final WindowProcessController caller = getProcessController(callingPid, callingUid); in startRecentsActivity()
1669 WindowProcessController proc = null; in activityIdle()
2385 WindowProcessController callerApp = null; in moveTaskToFrontLocked()
3308 final WindowProcessController app = getProcessController(appInt); in releaseSomeActivities()
[all …]
DSafeActivityOptions.java120 @Nullable WindowProcessController callerApp, in getOptions()
192 @Nullable WindowProcessController callerApp, ActivityStackSupervisor supervisor, in checkPermissions()
DRecentsAnimation.java64 private final @Nullable WindowProcessController mCaller;
81 @Nullable WindowProcessController caller) { in RecentsAnimation()
DCompatModePackages.java328 SparseArray<WindowProcessController> pidMap = mService.mProcessMap.getPidMap(); in setPackageScreenCompatModeLocked()
330 final WindowProcessController app = pidMap.valueAt(i); in setPackageScreenCompatModeLocked()
DRootActivityContainer.java592 final WindowProcessController app = in canStartHomeOnDisplay()
743 WindowProcessController fgApp = null; in updatePreviousProcess()
769 boolean attachApplication(WindowProcessController app) throws RemoteException { in attachApplication()
1127 int finishTopCrashedActivities(WindowProcessController app, String reason) { in finishTopCrashedActivities()
1574 void scheduleDestroyAllActivities(WindowProcessController app, String reason) { in scheduleDestroyAllActivities()
1584 void releaseSomeActivitiesLocked(WindowProcessController app, String reason) { in releaseSomeActivitiesLocked()
1633 void handleAppCrash(WindowProcessController app) { in handleAppCrash()
1965 boolean handleAppDied(WindowProcessController app) { in handleAppDied()
2301 final WindowProcessController resumedActivityProcess = in sendPowerHintForLaunchStartIfNeeded()
DActivityStackSupervisor.java412 final WindowProcessController callerApp;
415 int _startFlags, ActivityStack _stack, WindowProcessController app) { in PendingActivityLaunch()
720 boolean realStartActivityLocked(ActivityRecord r, WindowProcessController proc, in realStartActivityLocked()
947 void updateHomeProcess(WindowProcessController app) { in updateHomeProcess()
973 final WindowProcessController wpc = in startSpecificActivityLocked()
1005 WindowProcessController callerApp, ActivityRecord resultRecord, in checkStartAnyActivityPermission()
1832 ArrayMap<String, SparseArray<WindowProcessController>> pmap = in cleanUpRemovedTaskLocked()
1836 SparseArray<WindowProcessController> uids = pmap.valueAt(i); in cleanUpRemovedTaskLocked()
1838 WindowProcessController proc = uids.valueAt(j); in cleanUpRemovedTaskLocked()
DAppTaskImpl.java113 WindowProcessController callerApp = null; in moveToFront()
DActivityMetricsLogger.java196 final private WindowProcessController processRecord;
346 final WindowProcessController processRecord = findProcessForActivity(launchedActivity); in notifyActivityLaunched()
857 void logAbortedBgActivityStart(Intent intent, WindowProcessController callerApp, in logAbortedBgActivityStart()
961 private WindowProcessController findProcessForActivity(ActivityRecord launchedActivity) { in findProcessForActivity()
DActivityRecord.java323 WindowProcessController app; // if non-null, hosting application
941 ActivityRecord(ActivityTaskManagerService _service, WindowProcessController _caller, in ActivityRecord()
1083 void setProcess(WindowProcessController proc) { in setProcess()
2330 public boolean mayFreezeScreenLocked(WindowProcessController app) { in mayFreezeScreenLocked()
2338 public void startFreezingScreenLocked(WindowProcessController app, int configChanges) { in startFreezingScreenLocked()
2461 WindowProcessController anrApp; in keyDispatchingTimedOut()
3527 final WindowProcessController wpc; in restartProcessIfVisible()
3555 WindowProcessController proc = app; in isProcessRunning()
DWindowProcessController.java81 public class WindowProcessController extends ConfigurationContainer<ConfigurationContainer> class
185 public WindowProcessController(ActivityTaskManagerService atm, ApplicationInfo info, in WindowProcessController() method in WindowProcessController
DActivityStarter.java628 WindowProcessController callerApp = null; in startActivity()
943 WindowProcessController callerApp, PendingIntentRecord originatingPendingIntent, in shouldAbortBackgroundActivityStart()
1029 final ArraySet<WindowProcessController> uidProcesses = in shouldAbortBackgroundActivityStart()
1033 final WindowProcessController proc = uidProcesses.valueAt(i); in shouldAbortBackgroundActivityStart()
1243 final WindowProcessController heavy = mService.mHeavyWeightProcess; in startActivityMayWait()
1248 WindowProcessController callerApp = in startActivityMayWait()
DActivityStack.java426 final WindowProcessController mOwner;
428 ScheduleDestroyArgs(WindowProcessController owner, String reason) { in ScheduleDestroyArgs()
3857 final TaskRecord finishTopCrashedActivityLocked(WindowProcessController app, String reason) { in finishTopCrashedActivityLocked()
4508 final void scheduleDestroyActivities(WindowProcessController owner, String reason) { in scheduleDestroyActivities()
4514 private void destroyActivitiesLocked(WindowProcessController owner, String reason) { in destroyActivitiesLocked()
4559 final int releaseSomeActivitiesLocked(WindowProcessController app, ArraySet<TaskRecord> tasks, in releaseSomeActivitiesLocked()
4741 WindowProcessController app, String listName) { in removeHistoryRecordsForAppLocked()
4757 private boolean removeHistoryRecordsForAppLocked(WindowProcessController app) { in removeHistoryRecordsForAppLocked()
5308 boolean handleAppDiedLocked(WindowProcessController app) { in handleAppDiedLocked()
5322 void handleAppCrash(WindowProcessController app) { in handleAppCrash()
/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 …]
DActivityStartControllerTests.java78 final WindowProcessController wpc = new WindowProcessController(mService, in testPendingActivityLaunches()
DWindowProcessControllerTests.java48 WindowProcessController mWpc;
54 mWpc = new WindowProcessController( in setUp()
DRecentsAnimationTest.java130 WindowProcessController wpc = new WindowProcessController(mService, aInfo.applicationInfo, in testPreloadRecentsActivity()
175 WindowProcessController app = recentActivity.app; in testRestartRecentsActivity()
DActivityStarterTests.java211 final WindowProcessController wpc = in verifyStartActivityPreconditions()
213 ? null : new WindowProcessController( in verifyStartActivityPreconditions()
662 final WindowProcessController callerApp = in runAndVerifyBackgroundActivityStartsSubtest()
663 new WindowProcessController(mService, ai, null, callingUid, -1, null, null); in runAndVerifyBackgroundActivityStartsSubtest()
DWindowTestUtils.java76 mActivityRecord.app = mock(WindowProcessController.class); in TestAppWindowToken()
DActivityTestsBase.java320 final WindowProcessController wpc = new WindowProcessController(mService, in build()
DRootActivityContainerTests.java553 final WindowProcessController app = mock(WindowProcessController.class); in testCanStartHomeWhenInstrumented()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java65 import com.android.server.wm.WindowProcessController;
247 final private WindowProcessController mWindowProcessController;
592 mWindowProcessController = new WindowProcessController( in ProcessRecord()
990 WindowProcessController getWindowProcessController() { in getWindowProcessController()
1410 String parentShortComponentName, WindowProcessController parentProcess, in appNotResponding()
DAppErrors.java61 import com.android.server.wm.WindowProcessController;
771 final WindowProcessController proc = app.getWindowProcessController();
772 final WindowProcessController homeProc = mService.mAtmInternal.getHomeProcess();

12