/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 | 780 private void resizeVirtualDisplayInternal(IBinder appToken, in resizeVirtualDisplayInternal() argument 787 mVirtualDisplayAdapter.resizeVirtualDisplayLocked(appToken, width, height, densityDpi); in resizeVirtualDisplayInternal() 791 private void setVirtualDisplaySurfaceInternal(IBinder appToken, Surface surface) { in setVirtualDisplaySurfaceInternal() argument 797 mVirtualDisplayAdapter.setVirtualDisplaySurfaceLocked(appToken, surface); in setVirtualDisplaySurfaceInternal() 801 private void releaseVirtualDisplayInternal(IBinder appToken) { in releaseVirtualDisplayInternal() argument 808 mVirtualDisplayAdapter.releaseVirtualDisplayLocked(appToken); in releaseVirtualDisplayInternal() 815 private void setVirtualDisplayStateInternal(IBinder appToken, boolean isOn) { in setVirtualDisplayStateInternal() argument 821 mVirtualDisplayAdapter.setVirtualDisplayStateLocked(appToken, isOn); in setVirtualDisplayStateInternal()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppWindowThumbnail.java | 58 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader) { in AppWindowThumbnail() argument 59 this(t, appToken, thumbnailHeader, false /* relative */); in AppWindowThumbnail() 69 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader, in AppWindowThumbnail() argument 71 this(t, appToken, thumbnailHeader, relative, new Surface(), null); in AppWindowThumbnail() 74 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader, in AppWindowThumbnail() argument 76 mAppToken = appToken; in AppWindowThumbnail() 84 new SurfaceAnimator(this, this::onAnimationFinished, appToken.mWmService); in AppWindowThumbnail() 90 WindowState window = appToken.findMainWindow(); in AppWindowThumbnail() 95 mSurfaceControl = appToken.makeSurface() in AppWindowThumbnail() 96 .setName("thumbnail anim: " + appToken.toString()) in AppWindowThumbnail() [all …]
|
D | ActivityRecord.java | 263 final IApplicationToken.Stub appToken; // window manager token field in ActivityRecord 686 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in scheduleActivityMovedToDisplay() local 704 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in scheduleConfigurationChanged() local 724 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in scheduleTopResumedActivityChanged() local 753 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in scheduleMultiWindowModeChanged() local 789 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in schedulePictureInPictureModeChanged() local 949 appToken = new Token(this, _intent); in ActivityRecord() 1113 mAppWindowToken = mAtmService.mWindowManager.mRoot.getAppWindowToken(appToken.asBinder()); in createAppWindowToken() 1116 Slog.w(TAG, "Attempted to add existing app token: " + appToken); in createAppWindowToken() 1122 mAppWindowToken = createAppWindow(mAtmService.mWindowManager, appToken, in createAppWindowToken() [all …]
|
D | RecentsAnimationController.java | 703 boolean shouldApplyInputConsumer(AppWindowToken appToken) { in shouldApplyInputConsumer() argument 707 return mInputConsumerEnabled && mTargetAppToken != appToken && isAnimatingApp(appToken); in shouldApplyInputConsumer() 745 private boolean isAnimatingApp(AppWindowToken appToken) { in isAnimatingApp() argument 750 if (app == appToken) { in isAnimatingApp()
|
D | AppWindowToken.java | 151 final IApplicationToken appToken; field in AppWindowToken 372 appToken = token; in AppWindowToken() 376 mInputApplicationHandle = new InputApplicationHandle(appToken.asBinder()); in AppWindowToken() 398 if (appToken == null) { in updateReportedVisibilityLocked() 455 Slog.v(TAG_WM, "Reporting gone in " + mActivityRecord.appToken); in onWindowsGone() 465 Slog.v(TAG_WM, "Reporting visible in " + mActivityRecord.appToken); in onWindowsVisible() 507 + appToken + ", visible=" + visible + "): " + appTransition in setVisibility() 776 ? mActivityRecord.appToken : null; in reportDescendantOrientationChangeIfNeeded() 1447 if (DEBUG_ORIENTATION) logWithStack(TAG, "Set freezing of " + appToken + ": hidden=" in startFreezingScreen() 3023 if (appToken != null) { in dump() [all …]
|
D | ActivityStack.java | 454 activityPausedLocked(r.appToken, true); in handleMessage() 471 activityDestroyedLocked(r != null ? r.appToken : null, "destroyTimeout"); in handleMessage() 1133 if (!r.finishing && (token != r.appToken) && r.okToShowLocked()) { in topRunningActivityLocked() 1523 activityPausedLocked(mPausingActivity.appToken, true); in awakeFromSleepingLocked() 1702 prev.appToken, PauseActivityItem.obtain(prev.finishing, userLeaving, in startPausingLocked() 2428 r.appToken, WindowVisibilityItem.obtain(false /* showWindow */)); in makeInvisible() 2504 mWindowManager.setWindowOpaque(waitingActivity.appToken, false); in notifyActivityDrawnLocked() 2508 waitingActivity.appToken, r != null); in notifyActivityDrawnLocked() 2794 requestFinishActivityLocked(mLastNoHistoryActivity.appToken, Activity.RESULT_CANCELED, in resumeTopActivityInnerLocked() 2963 ClientTransaction.obtain(next.app.getThread(), next.appToken); in resumeTopActivityInnerLocked() [all …]
|
D | InputManagerCallback.java | 108 if (appWindowToken != null && appWindowToken.appToken != null) { in notifyANR()
|
D | Session.java | 180 public void prepareToReplaceWindows(IBinder appToken, boolean childrenOnly) { in prepareToReplaceWindows() argument 181 mService.setWillReplaceWindows(appToken, childrenOnly); in prepareToReplaceWindows()
|
D | AccessibilityController.java | 669 final AppWindowToken appToken = windowState.mAppToken; in getLetterboxBounds() local 670 if (appToken == null) { in getLetterboxBounds() 675 final Rect letterboxInsets = appToken.getLetterboxInsets(); in getLetterboxBounds()
|
D | ActivityStackSupervisor.java | 844 proc.getThread(), r.appToken); in realStartActivityLocked() 892 stack.requestFinishActivityLocked(r.appToken, Activity.RESULT_CANCELED, null, in realStartActivityLocked() 2273 tp.getWriteFd(), r.appToken, innerPrefix, args); in dumpHistoryList() 2495 mWindowManager.notifyAppRelaunching(r.appToken); in activityRelaunchingLocked() 2591 activityIdleInternalLocked(r != null ? r.appToken : null, true /* fromTimeout */, in activityIdleInternal()
|
D | ActivityStartController.java | 441 resultTo = outActivity[0] != null ? outActivity[0].appToken : null; in startActivities()
|
D | ActivityDisplay.java | 1061 .notifySizeCompatModeActivityChanged(mDisplayId, r.appToken); in handleActivitySizeCompatModeIfNeeded() 1228 final IBinder token = r.appToken; in setFocusedApp()
|
D | RootActivityContainer.java | 652 ? starting.appToken : null, in ensureVisibilityAndConfig() 682 topActivityTokens.add(0, top.appToken); in getTopVisibleActivities() 684 topActivityTokens.add(top.appToken); in getTopVisibleActivities()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskTests.java | 47 final WindowTestUtils.TestAppWindowToken appToken = in testRemoveContainer() local 54 assertNull(appToken.getParent()); in testRemoveContainer() 61 final WindowTestUtils.TestAppWindowToken appToken = in testRemoveContainer_deferRemoval() local 71 assertNotNull(appToken.getParent()); in testRemoveContainer_deferRemoval() 76 assertNull(appToken.getParent()); in testRemoveContainer_deferRemoval()
|
D | AppWindowTokenTests.java | 399 final WindowTestUtils.TestAppWindowToken appToken = createIsolatedTestAppWindowToken(); in testAddRemoveRace() local 401 appToken.addStartingWindow(mPackageName, in testAddRemoveRace() 404 appToken.removeStartingWindow(); in testAddRemoveRace() 406 assertNoStartingWindow(appToken); in testAddRemoveRace() 408 appToken.getParent().getParent().removeImmediately(); in testAddRemoveRace() 421 android.R.style.Theme, null, "Test", 0, 0, 0, 0, token1.appToken.asBinder(), in testTransferStartingWindow() 437 token1.appToken.asBinder(), true, true, false, in testTransferStartingWindowWhileCreating() 455 final WindowTestUtils.TestAppWindowToken appToken = in createTestAppWindowTokenForGivenTask() local 457 task.addChild(appToken, 0); in createTestAppWindowTokenForGivenTask() 459 return appToken; in createTestAppWindowTokenForGivenTask()
|
D | TestWindowManagerPolicy.java | 112 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, in addSplashScreen() argument 119 atoken = wm.mRoot.getAppWindowToken(appToken); in addSplashScreen()
|
D | ActivityRecordTests.java | 204 mService.restartActivityProcessIfVisible(mActivity.appToken); in testRestartProcessIfVisible() 381 eq(mActivity.appToken), eq(expected)); in testSetRequestedOrientationUpdatesConfiguration() 439 eq(mActivity.app.getThread()), eq(mActivity.appToken), eq(expected)); in testPushConfigurationWhenLaunchTaskBehind()
|
D | ActivityDisplayTests.java | 372 assertEquals(activity.appToken, resultWrapper.get(0).get(2, TimeUnit.SECONDS)); in testHandleActivitySizeCompatMode()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SplashScreenSurface.java | 42 SplashScreenSurface(View view, IBinder appToken) { in SplashScreenSurface() argument 44 mAppToken = appToken; in SplashScreenSurface()
|
D | WindowManagerPolicy.java | 968 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, in addSplashScreen() argument
|
D | PhoneWindowManager.java | 2342 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, in addSplashScreen() argument 2442 params.token = appToken; in addSplashScreen() 2461 + packageName + " / " + appToken + ": " + (view.getParent() != null ? view : null)); in addSplashScreen() 2467 return view.getParent() != null ? new SplashScreenSurface(view, appToken) : null; in addSplashScreen() 2470 Log.w(TAG, appToken + " already running, starting window not displayed. " + in addSplashScreen() 2476 Log.w(TAG, appToken + " failed creating starting window", e); in addSplashScreen()
|
/frameworks/base/core/java/android/view/ |
D | Window.java | 759 public void setWindowManager(WindowManager wm, IBinder appToken, String appName) { in setWindowManager() argument 760 setWindowManager(wm, appToken, appName, false); in setWindowManager() 770 public void setWindowManager(WindowManager wm, IBinder appToken, String appName, in setWindowManager() argument 772 mAppToken = appToken; in setWindowManager()
|
D | IWindowSession.aidl | 116 void prepareToReplaceWindows(IBinder appToken, boolean childrenOnly); in prepareToReplaceWindows() argument
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 217 ComponentName activity, int userId, int event, IBinder appToken, in updateActivityUsageStats() argument
|