Home
last modified time | relevance | path

Searched refs:wpc (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java430 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
DRemoteAnimationController.java244 final WindowProcessController wpc = mService.mAtmService.getProcessController(pid, uid); in setRunningRemoteAnimation() local
245 if (wpc == null) { in setRunningRemoteAnimation()
249 wpc.setRunningRemoteAnimation(running); in setRunningRemoteAnimation()
DActivityTaskManagerService.java4741 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 …]
DActivityStackSupervisor.java973 final WindowProcessController wpc = in startSpecificActivityLocked() local
977 if (wpc != null && wpc.hasThread()) { in startSpecificActivityLocked()
979 realStartActivityLocked(r, wpc, andResume, checkConfig); in startSpecificActivityLocked()
DActivityRecord.java3527 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/
DActivityStartControllerTests.java78 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()
DRecentsAnimationTest.java130 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()
DActivityTestsBase.java320 final WindowProcessController wpc = new WindowProcessController(mService, in build() local
324 wpc.setThread(mock(IApplicationThread.class)); in build()
325 activity.setProcess(wpc); in build()
DActivityStarterTests.java211 final WindowProcessController wpc = in verifyStartActivityPreconditions() local
215 doReturn(wpc).when(service).getProcessController(anyObject()); in verifyStartActivityPreconditions()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java795 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()
DActivityManagerService.java16820 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()