/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerInternal.java | 430 public abstract boolean isFactoryTestProcess(WindowProcessController wpc); in isFactoryTestProcess() argument 432 public abstract void handleAppDied(WindowProcessController wpc, boolean restarting, in handleAppDied() argument 451 public abstract void preBindApplication(WindowProcessController wpc); in preBindApplication() argument 454 public abstract boolean attachApplication(WindowProcessController wpc) throws RemoteException; in attachApplication() argument 514 public abstract void onHandleAppCrash(WindowProcessController wpc); in onHandleAppCrash() argument 554 public abstract void setProfileProc(WindowProcessController wpc); in setProfileProc() argument
|
D | RemoteAnimationController.java | 244 final WindowProcessController wpc = mService.mAtmService.getProcessController(pid, uid); in setRunningRemoteAnimation() local 245 if (wpc == null) { in setRunningRemoteAnimation() 249 wpc.setRunningRemoteAnimation(running); in setRunningRemoteAnimation()
|
D | ActivityTaskManagerService.java | 4741 final WindowProcessController wpc = mProcessMap.getProcess(pid); in setVrThread() local 4742 mVrController.setVrThreadLocked(tid, pid, wpc); in setVrThread() 6757 public boolean isFactoryTestProcess(WindowProcessController wpc) { in isFactoryTestProcess() argument 6763 && wpc.mName.equals(mTopComponent.getPackageName())) { in isFactoryTestProcess() 6767 && (wpc.mInfo.flags & FLAG_FACTORY_TEST) != 0; in isFactoryTestProcess() 6813 public void handleAppDied(WindowProcessController wpc, boolean restarting, in handleAppDied() argument 6817 boolean hasVisibleActivities = mRootActivityContainer.handleAppDied(wpc); in handleAppDied() 6819 wpc.clearRecentTasks(); in handleAppDied() 6820 wpc.clearActivities(); in handleAppDied() 6822 if (wpc.isInstrumenting()) { in handleAppDied() [all …]
|
D | ActivityStackSupervisor.java | 973 final WindowProcessController wpc = in startSpecificActivityLocked() local 977 if (wpc != null && wpc.hasThread()) { in startSpecificActivityLocked() 979 realStartActivityLocked(r, wpc, andResume, checkConfig); in startSpecificActivityLocked()
|
D | ActivityRecord.java | 3527 final WindowProcessController wpc; in restartProcessIfVisible() local 3533 wpc = app; in restartProcessIfVisible() 3535 mAtmService.mAmInternal.killProcess(wpc.mName, wpc.mUid, "resetConfig"); in restartProcessIfVisible()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
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 | RecentsAnimationTest.java | 130 WindowProcessController wpc = new WindowProcessController(mService, aInfo.applicationInfo, in testPreloadRecentsActivity() local 133 wpc.setThread(mock(IApplicationThread.class)); in testPreloadRecentsActivity() 134 doReturn(wpc).when(mService).getProcessController(eq(wpc.mName), eq(wpc.mUid)); in testPreloadRecentsActivity()
|
D | ActivityTestsBase.java | 320 final WindowProcessController wpc = new WindowProcessController(mService, in build() local 324 wpc.setThread(mock(IApplicationThread.class)); in build() 325 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/am/ |
D | OomAdjuster.java | 795 final WindowProcessController wpc = app.getWindowProcessController(); in computeOomAdjLocked() local 827 } else if (wpc.hasVisibleActivities()) { in computeOomAdjLocked() 938 if (!foregroundActivities && wpc.hasActivities()) { in computeOomAdjLocked() 941 final int minLayer = wpc.computeOomAdjFromActivities( in computeOomAdjLocked() 1045 if (wpc.isHomeProcess()) { in computeOomAdjLocked() 1066 if (wpc.isPreviousProcess() && app.hasActivities()) { in computeOomAdjLocked() 1144 if (app.hasShownUi && !wpc.isHomeProcess()) { in computeOomAdjLocked() 1218 if (app.hasShownUi && !wpc.isHomeProcess()) { in computeOomAdjLocked() 1252 if (app.hasShownUi && !wpc.isHomeProcess() in computeOomAdjLocked() 1458 if (app.hasShownUi && !wpc.isHomeProcess() in computeOomAdjLocked()
|
D | ActivityManagerService.java | 16820 final WindowProcessController wpc = mAtmInternal != null ? mAtmInternal.getTopApp() : null; in getTopAppLocked() local 16821 final ProcessRecord r = wpc != null ? (ProcessRecord) wpc.mOwner : null; in getTopAppLocked() 18135 final WindowProcessController wpc = in killProcessesForRemovedTask() local 18137 final ProcessRecord pr = (ProcessRecord) wpc.mOwner; in killProcessesForRemovedTask()
|