/frameworks/base/services/core/java/com/android/server/display/ |
D | VirtualDisplayAdapter.java | 90 IBinder appToken = callback.asBinder(); in createVirtualDisplayLocked() local 100 VirtualDisplayDevice device = new VirtualDisplayDevice(displayToken, appToken, in createVirtualDisplayLocked() 104 mVirtualDisplayDevices.put(appToken, device); in createVirtualDisplayLocked() 108 projection.registerCallback(new MediaProjectionCallback(appToken)); in createVirtualDisplayLocked() 110 appToken.linkToDeath(device, 0); in createVirtualDisplayLocked() 112 mVirtualDisplayDevices.remove(appToken); in createVirtualDisplayLocked() 122 public void resizeVirtualDisplayLocked(IBinder appToken, in resizeVirtualDisplayLocked() argument 124 VirtualDisplayDevice device = mVirtualDisplayDevices.get(appToken); in resizeVirtualDisplayLocked() 131 public void setVirtualDisplaySurfaceLocked(IBinder appToken, Surface surface) { in setVirtualDisplaySurfaceLocked() argument 132 VirtualDisplayDevice device = mVirtualDisplayDevices.get(appToken); in setVirtualDisplaySurfaceLocked() [all …]
|
D | DisplayManagerService.java | 695 private void resizeVirtualDisplayInternal(IBinder appToken, in resizeVirtualDisplayInternal() argument 702 mVirtualDisplayAdapter.resizeVirtualDisplayLocked(appToken, width, height, densityDpi); in resizeVirtualDisplayInternal() 706 private void setVirtualDisplaySurfaceInternal(IBinder appToken, Surface surface) { in setVirtualDisplaySurfaceInternal() argument 712 mVirtualDisplayAdapter.setVirtualDisplaySurfaceLocked(appToken, surface); in setVirtualDisplaySurfaceInternal() 716 private void releaseVirtualDisplayInternal(IBinder appToken) { in releaseVirtualDisplayInternal() argument 723 mVirtualDisplayAdapter.releaseVirtualDisplayLocked(appToken); in releaseVirtualDisplayInternal()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SplashScreenSurface.java | 43 SplashScreenSurface(View view, IBinder appToken) { in SplashScreenSurface() argument 45 mAppToken = appToken; in SplashScreenSurface()
|
D | PhoneWindowManager.java | 2852 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, in addSplashScreen() argument 2951 params.token = appToken; in addSplashScreen() 2970 + packageName + " / " + appToken + ": " + (view.getParent() != null ? view : null)); in addSplashScreen() 2976 return view.getParent() != null ? new SplashScreenSurface(view, appToken) : null; in addSplashScreen() 2979 Log.w(TAG, appToken + " already running, starting window not displayed. " + in addSplashScreen() 2985 Log.w(TAG, appToken + " failed creating starting window", e); in addSplashScreen()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowSurfacePlacer.java | 680 private void createThumbnailAppAnimator(int transit, AppWindowToken appToken, in createThumbnailAppAnimator() argument 682 AppWindowAnimator openingAppAnimator = (appToken == null) ? null : appToken.mAppAnimator; in createThumbnailAppAnimator() 686 final int taskId = appToken.getTask().mTaskId; in createThumbnailAppAnimator() 703 WindowState window = appToken.findMainWindow(); in createThumbnailAppAnimator() 707 appToken.windowType, in createThumbnailAppAnimator() 726 WindowState win = appToken.findMainWindow(); in createThumbnailAppAnimator()
|
D | DisplayContent.java | 861 final AppWindowToken appToken = token.asAppWindowToken(); in removeAppToken() local 863 if (appToken == null) { in removeAppToken() 868 appToken.onRemovedFromDisplay(); in removeAppToken() 2880 Bitmap screenshotApplications(IBinder appToken, int width, int height, in screenshotApplications() argument 2883 Bitmap bitmap = screenshotApplications(appToken, width, height, includeFullDisplay, in screenshotApplications() 2921 GraphicBuffer screenshotApplicationsToBuffer(IBinder appToken, int width, int height, in screenshotApplicationsToBuffer() argument 2924 return screenshotApplications(appToken, width, height, includeFullDisplay, frameScale, in screenshotApplicationsToBuffer() 2928 private <E> E screenshotApplications(IBinder appToken, int width, int height, in screenshotApplications() argument 2934 if (DEBUG_SCREENSHOT) Slog.i(TAG_WM, "Screenshot of " + appToken in screenshotApplications() 2941 mScreenshotApplicationState.reset(appToken == null && !wallpaperOnly); in screenshotApplications() [all …]
|
D | Task.java | 659 final AppWindowToken appToken = animator.mWin.mAppToken; in getLayerForDim() local 660 if (animator.mAttrType == TYPE_APPLICATION_STARTING && hasChild(appToken) ) { in getLayerForDim() 661 return Math.min(defaultLayer, appToken.getLowestAnimLayer() - layerOffset); in getLayerForDim()
|
D | AppWindowToken.java | 87 final IApplicationToken appToken; field in AppWindowToken 225 appToken = token; in AppWindowToken() 277 if (appToken == null) { in updateReportedVisibilityLocked() 1135 if (DEBUG_ORIENTATION) logWithStack(TAG, "Set freezing of " + appToken + ": hidden=" in startFreezingScreen() 1693 if (appToken != null) { in dump()
|
D | Session.java | 226 public void prepareToReplaceWindows(IBinder appToken, boolean childrenOnly) { in prepareToReplaceWindows() argument 227 mService.setWillReplaceWindows(appToken, childrenOnly); in prepareToReplaceWindows()
|
D | WindowManagerService.java | 2805 final AppWindowToken appToken = win.mAppToken; in prolongAnimationsFromSpecs() local 2806 if (appToken != null && appToken.mAppAnimator != null) { in prolongAnimationsFromSpecs() 2807 appToken.mAppAnimator.startProlongAnimation(scaleUp ? in prolongAnimationsFromSpecs() 2835 final AppWindowToken appToken = win.mAppToken; in endProlongedAnimations() local 2836 if (appToken != null && appToken.mAppAnimator != null) { in endProlongedAnimations() 2837 appToken.mAppAnimator.endProlongedAnimation(); in endProlongedAnimations() 3850 private Bitmap screenshotApplications(IBinder appToken, int displayId, int width, in screenshotApplications() argument 3857 if (DEBUG_SCREENSHOT) Slog.i(TAG_WM, "Screenshot of " + appToken in screenshotApplications() 3862 return displayContent.screenshotApplications(appToken, width, height, in screenshotApplications()
|
D | InputMonitor.java | 260 if (appWindowToken != null && appWindowToken.appToken != null) { in notifyANR()
|
D | WindowState.java | 1110 return mAppToken != null ? mAppToken.appToken : null; in getAppToken() 2006 final AppWindowToken appToken = mService.mInputMethodTarget.mAppToken; in getAnimLayerAdjustment() local 2007 if (appToken != null) { in getAnimLayerAdjustment() 2008 return appToken.getAnimLayerAdjustment(); in getAnimLayerAdjustment() 3994 windowInfo.activityToken = mAppToken.appToken.asBinder(); in getWindowInfo()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityRecord.java | 212 final IApplicationToken.Stub appToken; // window manager token field in ActivityRecord 615 app.thread.scheduleActivityMovedToDisplay(appToken, displayId, in scheduleActivityMovedToDisplay() 633 app.thread.scheduleActivityConfigurationChanged(appToken, new Configuration(config)); in scheduleConfigurationChanged() 654 app.thread.scheduleMultiWindowModeChanged(appToken, mLastReportedMultiWindowMode, in scheduleMultiWindowModeChanged() 682 app.thread.schedulePictureInPictureModeChanged(appToken, in schedulePictureInPictureModeChanged() 799 appToken = new Token(this); in ActivityRecord() 941 mWindowContainerController = new AppWindowContainerController(taskController, appToken, 1278 return service.mWindowManager.containsDismissKeyguardWindow(appToken); 1362 ar, appToken, state == PAUSED /* andPause */); in deliverNewIntentLocked() 1659 app.thread.scheduleWindowVisibility(appToken, true /* showWindow */); in makeVisibleIfNeeded() [all …]
|
D | ActivityStack.java | 396 activityPausedLocked(r.appToken, true); in handleMessage() 413 activityDestroyedLocked(r != null ? r.appToken : null, "destroyTimeout"); in handleMessage() 718 if (!r.finishing && (token != r.appToken) && r.okToShowLocked()) { in topRunningActivityLocked() 1156 activityPausedLocked(mPausingActivity.appToken, true); in awakeFromSleepingLocked() 1347 prev.app.thread.schedulePauseActivity(prev.appToken, prev.finishing, in startPausingLocked() 2102 r.app.thread.scheduleWindowVisibility(r.appToken, false); in makeInvisible() 2183 mWindowManager.setWindowOpaque(waitingActivity.appToken, false); in notifyActivityDrawnLocked() 2187 waitingActivity.appToken, r != null); in notifyActivityDrawnLocked() 2450 requestFinishActivityLocked(mLastNoHistoryActivity.appToken, Activity.RESULT_CANCELED, in resumeTopActivityInnerLocked() 2612 next.mayFreezeScreenLocked(next.app) ? next.appToken : null, in resumeTopActivityInnerLocked() [all …]
|
D | ActivityStackSupervisor.java | 1351 r.mayFreezeScreenLocked(app) ? r.appToken : null, displayId); in realStartActivityLocked() 1457 app.thread.scheduleLaunchActivity(new Intent(r.intent), r.appToken, in realStartActivityLocked() 1495 stack.requestFinishActivityLocked(r.appToken, Activity.RESULT_CANCELED, null, in realStartActivityLocked() 3859 r.app.thread.dumpActivity(tp.getWriteFd(), r.appToken, innerPrefix, args); in dumpHistoryList() 4383 mWindowManager.notifyAppRelaunching(r.appToken); in activityRelaunchingLocked() 4480 activityIdleInternalLocked(r != null ? r.appToken : null, true /* fromTimeout */, in activityIdleInternal() 4899 topActivityTokens.add(0, top.appToken); in getTopVisibleActivities() 4901 topActivityTokens.add(top.appToken); in getTopVisibleActivities()
|
D | TaskRecord.java | 652 windowManager.setWillReplaceWindow(topActivity.appToken, animate); in reparent() 742 windowManager.scheduleClearWillReplaceWindows(topActivity.appToken, !kept); in reparent()
|
D | ActivityStarter.java | 996 resultTo = started.appToken; in startActivities()
|
D | ActivityManagerService.java | 2236 r.app.thread.scheduleEnterAnimationComplete(r.appToken); in handleMessage() 3156 mWindowManager.setFocusedApp(r.appToken, true); in setResumedActivityUncheckLocked() 4898 null, resultTo != null ? resultTo.appToken : null, resultWho, requestCode, -1, in startNextMatchingActivity() 13215 activity.app.thread.requestAssistContextExtras(activity.appToken, pae, requestType, 16344 r.appToken, innerPrefix, args);
|
/frameworks/base/core/java/android/view/ |
D | Window.java | 749 public void setWindowManager(WindowManager wm, IBinder appToken, String appName) { in setWindowManager() argument 750 setWindowManager(wm, appToken, appName, false); in setWindowManager() 760 public void setWindowManager(WindowManager wm, IBinder appToken, String appName, in setWindowManager() argument 762 mAppToken = appToken; in setWindowManager()
|
D | IWindowSession.aidl | 109 void prepareToReplaceWindows(IBinder appToken, boolean childrenOnly); in prepareToReplaceWindows() argument
|
D | WindowManagerPolicy.java | 1007 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, in addSplashScreen() argument
|
/frameworks/base/core/java/android/security/ |
D | IKeystoreService.aidl | 68 OperationResult begin(IBinder appToken, String alias, int purpose, boolean pruneable, in begin() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TestWindowManagerPolicy.java | 209 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, in addSplashScreen() argument 215 atoken = sWm.mRoot.getAppWindowToken(appToken); in addSplashScreen()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeWindowSession.java | 224 public void prepareToReplaceWindows(IBinder appToken, boolean childrenOnly) { in prepareToReplaceWindows() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppOpsService.java | 207 public ClientState(IBinder appToken) { in ClientState() argument 208 mAppToken = appToken; in ClientState() 210 if (appToken instanceof Binder) { in ClientState()
|