/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowProcessControllerTests.java | 44 final WindowProcessController wpc = new WindowProcessController( in testDisplayConfigurationListener() local 47 assertEquals(INVALID_DISPLAY, wpc.getDisplayId()); in testDisplayConfigurationListener() 51 wpc.registerDisplayConfigurationListenerLocked(testActivityDisplay1); in testDisplayConfigurationListener() 52 assertTrue(testActivityDisplay1.containsListener(wpc)); in testDisplayConfigurationListener() 53 assertEquals(testActivityDisplay1.mDisplayId, wpc.getDisplayId()); in testDisplayConfigurationListener() 57 wpc.registerDisplayConfigurationListenerLocked(testActivityDisplay2); in testDisplayConfigurationListener() 58 assertFalse(testActivityDisplay1.containsListener(wpc)); in testDisplayConfigurationListener() 59 assertTrue(testActivityDisplay2.containsListener(wpc)); in testDisplayConfigurationListener() 60 assertEquals(testActivityDisplay2.mDisplayId, wpc.getDisplayId()); in testDisplayConfigurationListener() 63 wpc.registerDisplayConfigurationListenerLocked(null); in testDisplayConfigurationListener() [all …]
|
D | ActivityStartControllerTests.java | 78 final WindowProcessController wpc = new WindowProcessController(mService, in testPendingActivityLaunches() local 82 wpc.setThread(mock(IApplicationThread.class)); in testPendingActivityLaunches() 85 new PendingActivityLaunch(activity, source, startFlags, stack, wpc)); in testPendingActivityLaunches()
|
D | ActivityTestsBase.java | 293 final WindowProcessController wpc = new WindowProcessController(mService, in build() local 297 wpc.setThread(mock(IApplicationThread.class)); in build() 298 activity.setProcess(wpc); in build()
|
D | ActivityStarterTests.java | 211 final WindowProcessController wpc = in verifyStartActivityPreconditions() local 215 doReturn(wpc).when(service).getProcessController(anyObject()); in verifyStartActivityPreconditions()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerInternal.java | 424 public abstract boolean isFactoryTestProcess(WindowProcessController wpc); in isFactoryTestProcess() argument 426 public abstract void handleAppDied(WindowProcessController wpc, boolean restarting, in handleAppDied() argument 445 public abstract void preBindApplication(WindowProcessController wpc); in preBindApplication() argument 448 public abstract boolean attachApplication(WindowProcessController wpc) throws RemoteException; in attachApplication() argument 508 public abstract void onHandleAppCrash(WindowProcessController wpc); in onHandleAppCrash() argument 548 public abstract void setProfileProc(WindowProcessController wpc); in setProfileProc() argument
|
D | ActivityTaskManagerService.java | 4714 final WindowProcessController wpc = mProcessMap.getProcess(pid); in setVrThread() local 4715 mVrController.setVrThreadLocked(tid, pid, wpc); in setVrThread() 6700 public boolean isFactoryTestProcess(WindowProcessController wpc) { in isFactoryTestProcess() argument 6706 && wpc.mName.equals(mTopComponent.getPackageName())) { in isFactoryTestProcess() 6710 && (wpc.mInfo.flags & FLAG_FACTORY_TEST) != 0; in isFactoryTestProcess() 6756 public void handleAppDied(WindowProcessController wpc, boolean restarting, in handleAppDied() argument 6760 boolean hasVisibleActivities = mRootActivityContainer.handleAppDied(wpc); in handleAppDied() 6762 wpc.clearRecentTasks(); in handleAppDied() 6763 wpc.clearActivities(); in handleAppDied() 6765 if (wpc.isInstrumenting()) { in handleAppDied() [all …]
|
D | ActivityStackSupervisor.java | 958 final WindowProcessController wpc = in startSpecificActivityLocked() local 962 if (wpc != null && wpc.hasThread()) { in startSpecificActivityLocked() 964 realStartActivityLocked(r, wpc, andResume, checkConfig); in startSpecificActivityLocked()
|
D | ActivityRecord.java | 3535 final WindowProcessController wpc; in restartProcessIfVisible() local 3541 wpc = app; in restartProcessIfVisible() 3543 mAtmService.mAmInternal.killProcess(wpc.mName, wpc.mUid, "resetConfig"); in restartProcessIfVisible()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 791 final WindowProcessController wpc = app.getWindowProcessController(); in computeOomAdjLocked() local 823 } else if (wpc.hasVisibleActivities()) { in computeOomAdjLocked() 934 if (!foregroundActivities && wpc.hasActivities()) { in computeOomAdjLocked() 937 final int minLayer = wpc.computeOomAdjFromActivities( in computeOomAdjLocked() 1041 if (wpc.isHomeProcess()) { in computeOomAdjLocked() 1062 if (wpc.isPreviousProcess() && app.hasActivities()) { in computeOomAdjLocked() 1140 if (app.hasShownUi && !wpc.isHomeProcess()) { in computeOomAdjLocked() 1214 if (app.hasShownUi && !wpc.isHomeProcess()) { in computeOomAdjLocked() 1248 if (app.hasShownUi && !wpc.isHomeProcess() in computeOomAdjLocked() 1454 if (app.hasShownUi && !wpc.isHomeProcess() in computeOomAdjLocked()
|
D | ActivityManagerService.java | 16703 final WindowProcessController wpc = mAtmInternal != null ? mAtmInternal.getTopApp() : null; in getTopAppLocked() local 16704 final ProcessRecord r = wpc != null ? (ProcessRecord) wpc.mOwner : null; in getTopAppLocked() 18022 final WindowProcessController wpc = in killProcessesForRemovedTask() local 18024 final ProcessRecord pr = (ProcessRecord) wpc.mOwner; in killProcessesForRemovedTask()
|