Home
last modified time | relevance | path

Searched refs:appToken (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/java/com/android/server/display/
DVirtualDisplayAdapter.java50 public DisplayDevice createVirtualDisplayLocked(IBinder appToken, in createVirtualDisplayLocked() argument
55 VirtualDisplayDevice device = new VirtualDisplayDevice(displayToken, appToken, in createVirtualDisplayLocked()
59 appToken.linkToDeath(device, 0); in createVirtualDisplayLocked()
65 mVirtualDisplayDevices.put(appToken, device); in createVirtualDisplayLocked()
72 public DisplayDevice releaseVirtualDisplayLocked(IBinder appToken) { in releaseVirtualDisplayLocked() argument
73 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken); in releaseVirtualDisplayLocked()
76 appToken.unlinkToDeath(device, 0); in releaseVirtualDisplayLocked()
84 private void handleBinderDiedLocked(IBinder appToken) { in handleBinderDiedLocked() argument
85 VirtualDisplayDevice device = mVirtualDisplayDevices.remove(appToken); in handleBinderDiedLocked()
109 IBinder appToken, int ownerUid, String ownerPackageName, in VirtualDisplayDevice() argument
[all …]
DDisplayManagerService.java672 public int createVirtualDisplay(IBinder appToken, String packageName, in createVirtualDisplay() argument
678 if (appToken == null) { in createVirtualDisplay()
721 appToken, callingUid, packageName, name, width, height, densityDpi, in createVirtualDisplay()
736 mVirtualDisplayAdapter.releaseVirtualDisplayLocked(appToken); in createVirtualDisplay()
746 public void releaseVirtualDisplay(IBinder appToken) { in releaseVirtualDisplay() argument
755 mVirtualDisplayAdapter.releaseVirtualDisplayLocked(appToken); in releaseVirtualDisplay()
/frameworks/base/services/java/com/android/server/am/
DActivityStack.java276 activityPausedLocked(r.appToken, true); in handleMessage()
293 activityDestroyedLocked(r != null ? r.appToken : null); in handleMessage()
388 if (!r.finishing && (token != r.appToken) && okToShow(r)) { in topRunningActivityLocked()
715 who.appToken, Display.DEFAULT_DISPLAY, w, h, SCREENSHOT_FORCE_565); in screenshotActivities()
761 prev.app.thread.schedulePauseActivity(prev.appToken, prev.finishing, in startPausingLocked()
1098 mWindowManager.setAppVisibility(r.appToken, true); in ensureActivitiesVisibleLocked()
1124 mWindowManager.setAppVisibility(r.appToken, true); in ensureActivitiesVisibleLocked()
1127 r.app.thread.scheduleWindowVisibility(r.appToken, true); in ensureActivitiesVisibleLocked()
1161 mWindowManager.setAppVisibility(r.appToken, false); in ensureActivitiesVisibleLocked()
1168 r.app.thread.scheduleWindowVisibility(r.appToken, false); in ensureActivitiesVisibleLocked()
[all …]
DActivityRecord.java64 final IApplicationToken.Stub appToken; // window manager token field in ActivityRecord
352 appToken = new Token(this); in ActivityRecord()
648 app.thread.scheduleNewIntent(ar, appToken); in deliverNewIntentLocked()
748 service.mWindowManager.pauseKeyDispatching(appToken); in pauseKeyDispatchingLocked()
755 service.mWindowManager.resumeKeyDispatching(appToken); in resumeKeyDispatchingLocked()
809 service.mWindowManager.startAppFreezingScreen(appToken, configChanges); in startFreezingScreenLocked()
816 service.mWindowManager.stopAppFreezingScreen(appToken, force); in stopFreezingScreenLocked()
994 app.thread.scheduleSleeping(appToken, _sleeping); in setSleeping()
DActivityStackSupervisor.java863 resultTo = outActivity[0] != null ? outActivity[0].appToken : null; in startActivities()
879 mWindowManager.setAppVisibility(r.appToken, true); in realStartActivityLocked()
893 r.mayFreezeScreenLocked(app) ? r.appToken : null); in realStartActivityLocked()
967 app.thread.scheduleLaunchActivity(new Intent(r.intent), r.appToken, in realStartActivityLocked()
1002 stack.requestFinishActivityLocked(r.appToken, Activity.RESULT_CANCELED, null, in realStartActivityLocked()
2339 mWindowManager.setAppVisibility(s.appToken, false); in processStoppingActivitiesLocked()
2552 r.appToken, innerPrefix, args); in dumpHistoryList()
2607 activityIdleInternalLocked(r != null ? r.appToken : null, true, null); in activityIdleInternal()
DActivityManagerService.java2232 mWindowManager.setFocusedApp(r.appToken, true); in setFocusedActivityLocked()
3279 r.resolvedType, aInfo, resultTo != null ? resultTo.appToken : null, in startNextMatchingActivity()
3379 mWindowManager.setAppOrientation(r.appToken, requestedOrientation); in setRequestedOrientation()
3381 mConfiguration, r.mayFreezeScreenLocked(r.app) ? r.appToken : null); in setRequestedOrientation()
3399 return mWindowManager.getAppOrientation(r.appToken); in getRequestedOrientation()
6769 topThumbnail.requestThumbnail(topRecord.appToken);
6772 sendPendingThumbnail(null, topRecord.appToken, null, null, true);
8655 activity.app.thread.requestAssistContextExtras(activity.appToken, pae,
11265 r.appToken, innerPrefix, args); in dumpActivity()
/frameworks/base/services/java/com/android/server/wm/
DAppWindowToken.java44 final IApplicationToken appToken; field in AppWindowToken
112 appToken = _token; in AppWindowToken()
136 if (appToken == null) { in updateReportedVisibilityLocked()
249 if (appToken != null) { in dump()
DWindowState.java418 WindowToken appToken = appWin.mToken; in WindowState() local
419 while (appToken.appWindowToken == null) { in WindowState()
420 WindowToken parent = mService.mTokenMap.get(appToken.token); in WindowState()
421 if (parent == null || appToken == parent) { in WindowState()
424 appToken = parent; in WindowState()
426 mRootToken = appToken; in WindowState()
427 mAppToken = appToken.appWindowToken; in WindowState()
701 return mAppToken != null ? mAppToken.appToken : null; in getAppToken()
DInputMonitor.java128 if (appWindowToken != null && appWindowToken.appToken != null) { in notifyANR()
132 boolean abort = appWindowToken.appToken.keyDispatchingTimedOut(reason); in notifyANR()
DWindowManagerService.java4424 Slog.i(TAG, "Set freezing of " + wtoken.appToken in startAppFreezingScreenLocked()
4461 if (wtoken == null || wtoken.appToken == null) { in startAppFreezingScreen()
4480 if (wtoken == null || wtoken.appToken == null) { in stopAppFreezingScreen()
5523 public Bitmap screenshotApplications(IBinder appToken, int displayId, int width, in screenshotApplications() argument
5541 if (appToken == null) { in screenshotApplications()
5574 && mInputMethodTarget.mAppToken.appToken != null in screenshotApplications()
5575 && mInputMethodTarget.mAppToken.appToken.asBinder() == appToken; in screenshotApplications()
5593 if (!including && appToken != null) { in screenshotApplications()
5600 if (ws.mAppToken == null || ws.mAppToken.token != appToken) { in screenshotApplications()
5633 if (ws.mAppToken != null && ws.mAppToken.token == appToken && in screenshotApplications()
[all …]
/frameworks/base/core/java/android/view/
DWindow.java466 public void setWindowManager(WindowManager wm, IBinder appToken, String appName) { in setWindowManager() argument
467 setWindowManager(wm, appToken, appName, false); in setWindowManager()
477 public void setWindowManager(WindowManager wm, IBinder appToken, String appName, in setWindowManager() argument
479 mAppToken = appToken; in setWindowManager()
DWindowManagerPolicy.java654 public View addStartingWindow(IBinder appToken, String packageName, in addStartingWindow() argument
675 public void removeStartingWindow(IBinder appToken, View window); in removeStartingWindow() argument
DIWindowManager.aidl209 Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth, in screenshotApplications() argument
/frameworks/base/services/java/com/android/server/
DAppOpsService.java155 public ClientState(IBinder appToken) { in ClientState() argument
156 mAppToken = appToken; in ClientState()
158 if (appToken instanceof Binder) { in ClientState()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java1578 public View addStartingWindow(IBinder appToken, String packageName, int theme, in addStartingWindow() argument
1640 params.token = appToken; in addStartingWindow()
1669 + " / " + appToken + ": " in addStartingWindow()
1679 Log.w(TAG, appToken + " already running, starting window not displayed"); in addStartingWindow()
1684 Log.w(TAG, appToken + " failed creating starting window", e); in addStartingWindow()
1696 public void removeStartingWindow(IBinder appToken, View window) { in removeStartingWindow() argument
1700 Log.v(TAG, "Removing starting window for " + appToken + ": " + window, e); in removeStartingWindow()