/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 | 778 private void resizeVirtualDisplayInternal(IBinder appToken, in resizeVirtualDisplayInternal() argument 785 mVirtualDisplayAdapter.resizeVirtualDisplayLocked(appToken, width, height, densityDpi); in resizeVirtualDisplayInternal() 789 private void setVirtualDisplaySurfaceInternal(IBinder appToken, Surface surface) { in setVirtualDisplaySurfaceInternal() argument 795 mVirtualDisplayAdapter.setVirtualDisplaySurfaceLocked(appToken, surface); in setVirtualDisplaySurfaceInternal() 799 private void releaseVirtualDisplayInternal(IBinder appToken) { in releaseVirtualDisplayInternal() argument 806 mVirtualDisplayAdapter.releaseVirtualDisplayLocked(appToken); in releaseVirtualDisplayInternal() 813 private void setVirtualDisplayStateInternal(IBinder appToken, boolean isOn) { in setVirtualDisplayStateInternal() argument 819 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 948 appToken = new Token(this, _intent); in ActivityRecord() 1112 mAppWindowToken = mAtmService.mWindowManager.mRoot.getAppWindowToken(appToken.asBinder()); in createAppWindowToken() 1115 Slog.w(TAG, "Attempted to add existing app token: " + appToken); in createAppWindowToken() 1121 mAppWindowToken = createAppWindow(mAtmService.mWindowManager, appToken, in createAppWindowToken() [all …]
|
D | RecentsAnimationController.java | 661 boolean shouldApplyInputConsumer(AppWindowToken appToken) { in shouldApplyInputConsumer() argument 665 return mInputConsumerEnabled && mTargetAppToken != appToken && isAnimatingApp(appToken); in shouldApplyInputConsumer() 703 private boolean isAnimatingApp(AppWindowToken appToken) { in isAnimatingApp() argument 708 if (app == appToken) { in isAnimatingApp()
|
D | AppWindowToken.java | 151 final IApplicationToken appToken; field in AppWindowToken 371 appToken = token; in AppWindowToken() 375 mInputApplicationHandle = new InputApplicationHandle(appToken.asBinder()); in AppWindowToken() 397 if (appToken == null) { in updateReportedVisibilityLocked() 454 Slog.v(TAG_WM, "Reporting gone in " + mActivityRecord.appToken); in onWindowsGone() 464 Slog.v(TAG_WM, "Reporting visible in " + mActivityRecord.appToken); in onWindowsVisible() 506 + appToken + ", visible=" + visible + "): " + appTransition in setVisibility() 775 ? mActivityRecord.appToken : null; in reportDescendantOrientationChangeIfNeeded() 1431 if (DEBUG_ORIENTATION) logWithStack(TAG, "Set freezing of " + appToken + ": hidden=" in startFreezingScreen() 3007 if (appToken != null) { in dump() [all …]
|
D | ActivityStack.java | 451 activityPausedLocked(r.appToken, true); in handleMessage() 468 activityDestroyedLocked(r != null ? r.appToken : null, "destroyTimeout"); in handleMessage() 1130 if (!r.finishing && (token != r.appToken) && r.okToShowLocked()) { in topRunningActivityLocked() 1520 activityPausedLocked(mPausingActivity.appToken, true); in awakeFromSleepingLocked() 1699 prev.appToken, PauseActivityItem.obtain(prev.finishing, userLeaving, in startPausingLocked() 2426 r.appToken, WindowVisibilityItem.obtain(false /* showWindow */)); in makeInvisible() 2502 mWindowManager.setWindowOpaque(waitingActivity.appToken, false); in notifyActivityDrawnLocked() 2506 waitingActivity.appToken, r != null); in notifyActivityDrawnLocked() 2785 requestFinishActivityLocked(mLastNoHistoryActivity.appToken, Activity.RESULT_CANCELED, in resumeTopActivityInnerLocked() 2954 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 | 829 proc.getThread(), r.appToken); in realStartActivityLocked() 877 stack.requestFinishActivityLocked(r.appToken, Activity.RESULT_CANCELED, null, in realStartActivityLocked() 2269 tp.getWriteFd(), r.appToken, innerPrefix, args); in dumpHistoryList() 2491 mWindowManager.notifyAppRelaunching(r.appToken); in activityRelaunchingLocked() 2587 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 | 651 ? starting.appToken : null, in ensureVisibilityAndConfig() 681 topActivityTokens.add(0, top.appToken); in getTopVisibleActivities() 683 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 | 198 mService.restartActivityProcessIfVisible(mActivity.appToken); in testRestartProcessIfVisible() 375 eq(mActivity.appToken), eq(expected)); in testSetRequestedOrientationUpdatesConfiguration() 433 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 | 2338 public StartingSurface addSplashScreen(IBinder appToken, String packageName, int theme, in addSplashScreen() argument 2438 params.token = appToken; in addSplashScreen() 2457 + packageName + " / " + appToken + ": " + (view.getParent() != null ? view : null)); in addSplashScreen() 2463 return view.getParent() != null ? new SplashScreenSurface(view, appToken) : null; in addSplashScreen() 2466 Log.w(TAG, appToken + " already running, starting window not displayed. " + in addSplashScreen() 2472 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 | 229 ComponentName activity, int userId, int event, IBinder appToken, in updateActivityUsageStats() argument
|