/frameworks/base/services/core/java/com/android/server/wm/ |
D | CameraStateMonitor.java | 58 private final WindowManagerService mWmService; field in CameraStateMonitor 93 synchronized (mWmService.mGlobalLock) { 99 synchronized (mWmService.mGlobalLock) { 110 mWmService = displayContent.mWmService; in CameraStateMonitor() 111 mCameraManager = mWmService.mContext.getSystemService(CameraManager.class); in CameraStateMonitor() 116 mWmService.mContext.getMainExecutor(), mAvailabilityCallback); in startListeningToCameraState() 147 synchronized (mWmService.mGlobalLock) { in notifyCameraOpened() 215 synchronized (mWmService.mGlobalLock) { in removeCameraId()
|
D | TrustedOverlayHost.java | 46 final WindowManagerService mWmService; field in TrustedOverlayHost 49 mWmService = wms; in TrustedOverlayHost() 54 final SurfaceControl.Builder b = mWmService.makeSurfaceBuilder(null) in requireOverlaySurfaceControl() 61 SurfaceControl.Transaction t = mWmService.mTransactionFactory.get(); in requireOverlaySurfaceControl() 104 SurfaceControl.Transaction t = mWmService.mTransactionFactory.get(); in addOverlay() 112 final SurfaceControl.Transaction t = mWmService.mTransactionFactory.get(); in removeOverlay() 162 final SurfaceControl.Transaction t = mWmService.mTransactionFactory.get(); in release()
|
D | DisplayContent.java | 364 private final ImeContainer mImeWindowsContainer = new ImeContainer(mWmService); 740 synchronized (mWmService.mGlobalLock) { 825 mWmService.mWindowPlacerLocked.debugLayoutRepeats( 835 final Handler handler = mWmService.mH; 963 mWmService.mFrameChangingWindows.remove(w); 1010 final WindowSurfacePlacer surfacePlacer = mWmService.mWindowPlacerLocked; 1011 final RootWindowContainer root = mWmService.mRoot; 1067 && mWmService.mPolicy.isKeyguardShowing())) { 1135 if (mWmService.mRoot.getDisplayContent(display.getDisplayId()) != null) { in DisplayContent() 1138 + mWmService.mRoot.getDisplayContent(display.getDisplayId()) in DisplayContent() [all …]
|
D | ActivityRefresher.java | 48 @NonNull private final WindowManagerService mWmService; field in ActivityRefresher 53 mWmService = wmService; in ActivityRefresher() 78 mWmService.mLetterboxConfiguration in onActivityConfigurationChanging() 95 synchronized (mWmService.mGlobalLock) { in onActivityConfigurationChanging() 116 return mWmService.mLetterboxConfiguration.isCameraCompatRefreshEnabled() in shouldRefreshActivity()
|
D | DisplayRotationCompatPolicy.java | 66 private final WindowManagerService mWmService; field in DisplayRotationCompatPolicy 81 mWmService = displayContent.mWmService; in DisplayRotationCompatPolicy() 248 return mWmService.mLetterboxConfiguration.isCameraCompatTreatmentEnabled() in isTreatmentEnabledForDisplay() 307 final PackageManager packageManager = mWmService.mContext.getPackageManager(); in onCameraOpened() 328 () -> Toast.makeText(mWmService.mContext, stringRes, Toast.LENGTH_LONG).show()); in showToast() 335 mWmService.mContext, in showToast() 336 mWmService.mContext.getString(stringRes, applicationLabel), in showToast()
|
D | WindowState.java | 963 return stickyHideNav && mWmService.mConstants.mSystemGestureExcludedByPreQStickyImmersive in isImplicitlyExcludingAllSystemGestures() 1100 mPolicy = mWmService.mPolicy; in WindowState() 1101 mContext = mWmService.mContext; in WindowState() 1165 mOverrideScale = mWmService.mAtmService.mCompatModePackages.getCompatScale( in WindowState() 1247 if (mWmService.mAtmService.mCompatModePackages.useLegacyScreenCompatMode( in hasCompatScale() 1340 mWmService.mFrameChangingWindows.add(this); in setFrames() 1476 mWmService.makeWindowFreezingScreenIfNeededLocked(this); in updateResizingWindowIfNeeded() 1491 if (!mWmService.mResizingWindows.contains(this)) { in updateResizingWindowIfNeeded() 1493 mWmService.mResizingWindows.add(this); in updateResizingWindowIfNeeded() 1502 - mWmService.mDisplayFreezeTime); in updateResizingWindowIfNeeded() [all …]
|
D | EmbeddedWindowController.java | 210 final WindowManagerService mWmService; field in EmbeddedWindowController.EmbeddedWindow 242 mWmService = service; in EmbeddedWindow() 275 mInputChannel = mWmService.mInputManager.createInputChannel(name); in openInputChannel() 281 mWmService.mInputManager.removeInputChannel(mInputChannel.getToken()); in onRemoved() 287 mWmService.mAtmService.getProcessController(mOwnerPid, mOwnerUid); in onRemoved() 306 return mWmService.mRoot.getDisplayContent(getDisplayId()); in getDisplayContent() 352 mWmService.grantEmbeddedWindowFocus(null, mHostWindowState.mClient, in handleTap() 361 mWmService.grantEmbeddedWindowFocus(mSession, mInputTransferToken, grantFocus); in handleTap() 391 return mWmService.getDefaultDisplayContentLocked().mRemoteInsetsControlTarget; in getImeControlTarget()
|
D | RootWindowContainer.java | 490 mWmService.mInputManager.setFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked() 491 mWmService.mPolicy.setTopFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked() 492 mWmService.mAccessibilityController.setFocusedDisplay(topFocusedDisplayId); in updateFocusedWindowLocked() 511 mWmService.updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL, in onChildPositionChanged() 512 !mWmService.mPerDisplayFocusEnabled /* updateInputWindows */); in onChildPositionChanged() 528 final boolean changed = mWmService.mDisplayWindowSettings.updateSettingsForDisplay( in onSettingsRetrieved() 540 final Configuration newConfig = mWmService.computeNewConfiguration( in onSettingsRetrieved() 542 mWmService.mAtmService.updateConfigurationLocked(newConfig, null /* starting */, in onSettingsRetrieved() 692 if (mWmService.mForceRemoves.contains(w)) { in reclaimSomeSurfaceMemory() 707 if (mWmService.mActivityManager.killPids(pids, "Free memory", secure)) { in reclaimSomeSurfaceMemory() [all …]
|
D | Letterbox.java | 281 private final WindowManagerService mWmService; field in Letterbox.DoubleTapListener 284 mWmService = wmService; in DoubleTapListener() 289 synchronized (mWmService.mGlobalLock) { in onDoubleTapEvent() 307 private final WindowManagerService mWmService; field in Letterbox.InputInterceptor 312 mWmService = win.mWmService; in InputInterceptor() 315 mClientChannel = mWmService.mInputManager.createInputChannel(name); in InputInterceptor() 316 mInputEventReceiver = new TapEventReceiver(mClientChannel, mWmService, mHandler); in InputInterceptor() 352 mWmService.mInputManager.removeInputChannel(mToken); in dispose()
|
D | ShellRoot.java | 78 mToken = new WindowToken.Builder(dc.mWmService, client.asBinder(), mWindowType) in ShellRoot() 129 anim.scaleCurrentDuration(mDisplayContent.mWmService.getWindowAnimationScaleLocked()); in startAnimation() 133 mDisplayContent.mWmService.mSurfaceAnimationRunner); in startAnimation() 154 synchronized (mDisplayContent.mWmService.mGlobalLock) { in setAccessibilityWindow()
|
D | RefreshRatePolicy.java | 67 private final WindowManagerService mWmService; field in RefreshRatePolicy 98 mWmService = wmService; in RefreshRatePolicy() 124 mWmService.requestTraversal(); in addRefreshRateRangeForPackage() 129 mWmService.requestTraversal(); in removeRefreshRateRangeForPackage() 258 mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType(); in updateFrameRateVote()
|
D | ContentRecorder.java | 258 mDisplayContent.mWmService.mTransactionFactory.get() in pauseRecording() 280 mDisplayContent.mWmService.mTransactionFactory.get().remove(mRecordedSurface).apply(); in stopRecording() 310 mDisplayContent.mWmService.mContentRecordingController.setContentRecordingSessionLocked( in clearContentRecordingSession() 311 null, mDisplayContent.mWmService); in clearContentRecordingSession() 381 mDisplayContent.mWmService.mTransactionFactory.get() in startRecordingIfNeeded() 439 mDisplayContent.mWmService.mRoot.getDisplayContent( in retrieveRecordedWindowContainer() 443 mDisplayContent.mWmService.mDisplayManagerInternal.setWindowManagerMirroring( in retrieveRecordedWindowContainer() 612 mDisplayContent.mWmService.mDisplayManagerInternal.getDisplaySurfaceDefaultSize( in fetchSurfaceSizeIfPresent()
|
D | SurfaceFreezer.java | 57 private final @NonNull WindowManagerService mWmService; field in SurfaceFreezer 68 mWmService = service; in SurfaceFreezer() 88 mWmService.mTransactionFactory); in freeze() 151 mWmService.scheduleAnimationLocked(); in unfreezeInner()
|
D | DeferredDisplayUpdater.java | 246 mDisplayContent.mWmService.mDisplayManagerInternal.getNonOverrideDisplayInfo( in getCurrentDisplayInfo() 339 mDisplayContent.mWmService.mH.removeCallbacks(mScreenUnblockTimeoutRunnable); in waitForTransition() 340 mDisplayContent.mWmService.mH.postDelayed(mScreenUnblockTimeoutRunnable, in waitForTransition() 351 synchronized (mDisplayContent.mWmService.mGlobalLock) { in continueScreenUnblocking() 353 mDisplayContent.mWmService.mH.removeCallbacks(mScreenUnblockTimeoutRunnable); in continueScreenUnblocking()
|
D | WindowContainerThumbnail.java | 79 container.mWmService); in WindowContainerThumbnail() 115 anim.scaleCurrentDuration(mWindowContainer.mWmService.getTransitionAnimationScaleLocked()); in startAnimation() 120 mWindowContainer.mWmService.mSurfaceAnimationRunner), false /* hidden */, in startAnimation()
|
D | RootDisplayArea.java | 139 int windowLayerFromType = mWmService.mPolicy.getWindowLayerFromTypeLw(windowType, in findAreaForWindowTypeInLayer() 161 final WindowManagerPolicy policy = mWmService.mPolicy; in updateImeContainerForLayers()
|
D | PhysicalDisplaySwitchTransitionLauncher.java | 62 this(displayContent, displayContent.mWmService.mAtmService, in PhysicalDisplaySwitchTransitionLauncher() 63 displayContent.mWmService.mContext, transitionController); in PhysicalDisplaySwitchTransitionLauncher()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 139 private WindowManagerService mWmService; field in SystemServicesTestRule 291 mWmService.mRoot.getDisplayContent(displayId).getDisplay().getDisplayInfo(displayInfo); 343 return userId == mWmService.mCurrentUserId; 390 mWmService = WindowManagerService.main( 394 spyOn(mWmService); 395 spyOn(mWmService.mRoot); 397 doNothing().when(mWmService.mRoot).updateUIDsPresentOnDisplay(); 399 doReturn(true).when(mWmService.mRoot).hasAwakeDisplay(); 401 doNothing().when(mWmService.mRoot).ensureActivitiesVisible(any(), anyBoolean()); 402 spyOn(mWmService.mDisplayWindowSettings); [all …]
|
D | RefreshRatePolicyTest.java | 120 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in createWindow() 458 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in testSwitchingTypeForExactVote() 463 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in testSwitchingTypeForExactVote() 468 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in testSwitchingTypeForExactVote() 473 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in testSwitchingTypeForExactVote() 485 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in testSwitchingTypeForPreferredVote() 490 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in testSwitchingTypeForPreferredVote() 495 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in testSwitchingTypeForPreferredVote() 500 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in testSwitchingTypeForPreferredVote() 514 when(window.mWmService.mDisplayManagerInternal.getRefreshRateSwitchingType()) in testSwitchingTypeForDenylist() [all …]
|
D | SizeCompatTests.java | 1083 spyOn(activity.mWmService.mLetterboxConfiguration); in testShouldCreateCompatDisplayUserAspectRatioFullscreenOverride() 1085 doReturn(true).when(activity.mWmService.mLetterboxConfiguration) in testShouldCreateCompatDisplayUserAspectRatioFullscreenOverride() 1742 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio(1.1f); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMinAspectRatio() 1773 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio(3); in testDisplayIgnoreOrientationRequest_fixedOrientationAppRespectMaxAspectRatio() 1802 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio( in testDisplayIgnoreOrientationRequest_fixedOrientationAppWithAspectRatioOverride() 1897 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio( in testDisplayIgnoreOrientationRequest_unresizableWithCorrespondingMinAspectRatio() 1899 mActivity.mWmService.mLetterboxConfiguration.setDefaultMinAspectRatioForUnresizableApps( in testDisplayIgnoreOrientationRequest_unresizableWithCorrespondingMinAspectRatio() 1918 final float defaultAspectRatio = mActivity.mWmService.mLetterboxConfiguration in testDisplayIgnoreOrientationRequest_unresizableWithCorrespondingMinAspectRatio() 2003 mActivity.mWmService.mLetterboxConfiguration 2006 mActivity.mWmService.mLetterboxConfiguration.setFixedOrientationLetterboxAspectRatio(1.1f); [all …]
|
D | WindowTokenTests.java | 210 final WindowToken fromClientToken = new WindowToken.Builder(mDisplayContent.mWmService, in testSurfaceCreatedForWindowToken() 221 final WindowToken nonClientToken = new WindowToken.Builder(mDisplayContent.mWmService, in testSurfaceCreatedForWindowToken() 236 final WindowToken token1 = new WindowToken.Builder(mDisplayContent.mWmService, in testWindowAttachedWithOptions() 246 final WindowToken token2 = new WindowToken.Builder(mDisplayContent.mWmService, in testWindowAttachedWithOptions()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayChangeController.java | 47 private final IWindowManager mWmService; field in DisplayChangeController 56 mWmService = wmService; in DisplayChangeController() 63 mWmService.setDisplayChangeWindowController(mControllerImpl); in onInit()
|
D | DisplayInsetsController.java | 44 private final IWindowManager mWmService; field in DisplayInsetsController 55 mWmService = wmService; in DisplayInsetsController() 125 mWmService.setDisplayWindowInsetsController(mDisplayId, mInsetsControllerImpl); in register() 133 mWmService.setDisplayWindowInsetsController(mDisplayId, null); in unregister()
|
D | DisplayController.java | 55 private final IWindowManager mWmService; field in DisplayController 66 mWmService = wmService; in DisplayController() 68 mChangeController = new DisplayChangeController(mWmService, shellInit, mainExecutor); in DisplayController() 80 int[] displayIds = mWmService.registerDisplayWindowListener(mDisplayContainerListener); in onInit()
|
D | SystemWindows.java | 69 private final IWindowManager mWmService; field in SystemWindows 91 mWmService = wmService; in SystemWindows() 243 rootSurface = mWmService.addShellRoot(mDisplayId, win, shellRootLayer); in addRoot() 271 mWmService.setShellRootAccessibilityWindow(mDisplayId, shellRootLayer, in setShellRootAccessibilityWindow()
|