Home
last modified time | relevance | path

Searched refs:mWindowManagerInternal (Results 1 – 23 of 23) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/
H A DMediaProjectionManagerServiceTest.java140 private WindowManagerInternal mWindowManagerInternal; field in MediaProjectionManagerServiceTest
250 doReturn(true).when(mWindowManagerInternal).setContentRecordingSession( in testCreateProjection_attemptReuse_priorProjectionGrant_notWaiting()
267 doReturn(true).when(mWindowManagerInternal).setContentRecordingSession( in testCreateProjection_attemptReuse_priorProjectionGrant_waiting()
451 verify(mWindowManagerInternal, never()).setContentRecordingSession(any( in testSetUserReviewGrantedConsentResult_noCurrentProjection()
460 doReturn(true).when(mWindowManagerInternal).setContentRecordingSession( in testSetUserReviewGrantedConsentResult_projectionNotCurrent()
470 verify(mWindowManagerInternal, times(1)).setContentRecordingSession( in testSetUserReviewGrantedConsentResult_projectionNotCurrent()
479 doReturn(true).when(mWindowManagerInternal).setContentRecordingSession( in testSetUserReviewGrantedConsentResult_projectionNull()
488 verify(mWindowManagerInternal, times(1)).setContentRecordingSession( in testSetUserReviewGrantedConsentResult_projectionNull()
507 verify(mWindowManagerInternal, times(1)).setContentRecordingSession( in testSetUserReviewGrantedConsentResult_projectionNull_consentNotGranted()
527 verify(mWindowManagerInternal, times(2)).setContentRecordingSession( in testSetUserReviewGrantedConsentResult_noVirtualDisplay()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/policy/
H A DDisplayFoldController.java40 private final WindowManagerInternal mWindowManagerInternal; field in DisplayFoldController
60 mWindowManagerInternal = windowManagerInternal; in DisplayFoldController()
106 mWindowManagerInternal.setForcedDisplaySize(mDisplayId, in setDeviceFolded()
111 mWindowManagerInternal.clearForcedDisplaySize(mDisplayId); in setDeviceFolded()
H A DPhoneWindowManager.java408 WindowManagerInternal mWindowManagerInternal; field in PhoneWindowManager
1877 mWindowManagerInternal.getKeyInterceptionInfoFromToken(focusedToken); in handleHomeButton()
2041 mWindowManagerInternal = LocalServices.getService(WindowManagerInternal.class);
2251 mWindowManagerInternal.registerAppTransitionListener(new AppTransitionListener() {
3518 mWindowManagerInternal.getKeyInterceptionInfoFromToken(focusedToken);
5150 mWindowManagerInternal.waitForAllWindowsDrawn(mHandler.obtainMessage(
5233 mWindowManagerInternal.waitForAllWindowsDrawn(mHandler.obtainMessage(
/aosp14/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperDisplayHelper.java52 private final WindowManagerInternal mWindowManagerInternal; field in WallpaperDisplayHelper
58 mWindowManagerInternal = windowManagerInternal; in WallpaperDisplayHelper()
127 return mWindowManagerInternal.shouldShowSystemDecorOnDisplay(displayId); in isUsableDisplay()
H A DWallpaperManagerService.java744 private final WindowManagerInternal mWindowManagerInternal; field in WallpaperManagerService
937 mWindowManagerInternal.addWindowToken(mToken, TYPE_WALLPAPER, mDisplayId, in connectLocked()
939 mWindowManagerInternal.setWallpaperShowWhenLocked( in connectLocked()
960 mWindowManagerInternal.removeWindowToken(mToken, false/* removeWindows */, in disconnectLocked()
1581 mWindowManagerInternal = LocalServices.getService(WindowManagerInternal.class); in WallpaperManagerService()
1587 mWallpaperDisplayHelper = new WallpaperDisplayHelper(dm, mWindowManagerInternal); in WallpaperManagerService()
3718 mWindowManagerInternal.setWallpaperShowWhenLocked( in updateEngineFlags()
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DDefaultImeVisibilityApplier.java64 private final WindowManagerInternal mWindowManagerInternal; field in DefaultImeVisibilityApplier
72 mWindowManagerInternal = LocalServices.getService(WindowManagerInternal.class); in DefaultImeVisibilityApplier()
148 mWindowManagerInternal.showImePostLayout(windowToken, statsToken); in applyImeVisibility()
159 mWindowManagerInternal.hideIme(windowToken, in applyImeVisibility()
H A DInputMethodBindingController.java70 @NonNull private final WindowManagerInternal mWindowManagerInternal; field in InputMethodBindingController
121 mWindowManagerInternal = mService.mWindowManagerInternal; in InputMethodBindingController()
400 mWindowManagerInternal.removeWindowToken(mCurToken, false /* removeWindows */, in removeCurrentToken()
459 mWindowManagerInternal.addWindowToken(mCurToken, in addFreshWindowToken()
H A DInputMethodMenuController.java58 private final WindowManagerInternal mWindowManagerInternal; field in InputMethodMenuController
77 mWindowManagerInternal = LocalServices.getService(WindowManagerInternal.class); in InputMethodMenuController()
154 .setVisibility(mWindowManagerInternal.isHardKeyboardAvailable() in showInputMethodMenu()
209 return mWindowManagerInternal.isKeyguardLocked() in isScreenLocked()
210 && mWindowManagerInternal.isKeyguardSecure(mSettings.getCurrentUserId()); in isScreenLocked()
H A DHandwritingModeController.java70 private final WindowManagerInternal mWindowManagerInternal; field in HandwritingModeController
92 mWindowManagerInternal = LocalServices.getService(WindowManagerInternal.class); in HandwritingModeController()
128 : mWindowManagerInternal.getHandwritingSurfaceForDisplay(displayId); in initializeHandwritingSpy()
255 if (!mWindowManagerInternal.isPointInsideWindow( in startHandwritingSession()
H A DImeVisibilityStateComputer.java75 private final WindowManagerInternal mWindowManagerInternal; field in ImeVisibilityStateComputer
195 mWindowManagerInternal = wmService; in ImeVisibilityStateComputer()
198 mWindowManagerInternal.setInputMethodTargetChangeListener(new ImeTargetChangeListener() { in ImeVisibilityStateComputer()
572 return mWindowManagerInternal.shouldRestoreImeVisibility(getWindowTokenFrom(state)); in shouldRestoreImeVisibility()
H A DInputMethodManagerService.java285 final WindowManagerInternal mWindowManagerInternal; field in InputMethodManagerService
1725 mWindowManagerInternal = LocalServices.getService(WindowManagerInternal.class); in InputMethodManagerService()
3018 mWindowManagerInternal.setDismissImeOnBackKeyPressed(false); in clearClientSessionsLocked()
3076 final boolean hasNavigationBar = mWindowManagerInternal in getInputMethodNavButtonFlagsLocked()
3097 if (mWindowManagerInternal.isKeyguardShowingAndNotOccluded() in shouldShowImeSwitcherLocked()
3105 if (mWindowManagerInternal.isHardKeyboardAvailable()) { in shouldShowImeSwitcherLocked()
3728 final int imeClientFocus = mWindowManagerInternal.hasInputMethodClientFocus( in isImeClientFocused()
3829 final int imeClientFocus = mWindowManagerInternal.hasInputMethodClientFocus( in startInputOrWindowGainedFocusInternalLocked()
4742 mWindowManagerInternal.getWindowName(mCurFocusedWindow)); in dumpDebug()
4744 mWindowManagerInternal.getWindowName(mLastImeTargetWindow)); in dumpDebug()
[all …]
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityWindowManager.java78 private final WindowManagerInternal mWindowManagerInternal; field in AccessibilityWindowManager
163 mWindowManagerInternal.computeWindowsForAccessibility(displayId); in setAccessibilityWindowAttributes()
237 mWindowManagerInternal.setWindowsForAccessibilityCallback( in startTrackingWindowsLocked()
251 mWindowManagerInternal.setWindowsForAccessibilityCallback( in stopTrackingWindowsLocked()
1061 mWindowManagerInternal = windowManagerInternal; in AccessibilityWindowManager()
1216 final int displayId = mWindowManagerInternal.getDisplayIdForWindow(token); in addAccessibilityInteractionConnection()
1265 mWindowManagerInternal.computeWindowsForAccessibility(displayId); in addAccessibilityInteractionConnection()
1271 mWindowManagerInternal.setAccessibilityIdToSurfaceMetadata(token, windowId); in addAccessibilityInteractionConnection()
1408 mWindowManagerInternal.setAccessibilityIdToSurfaceMetadata( in onAccessibilityInteractionConnectionRemovedLocked()
1442 return mWindowManagerInternal.getWindowOwnerUserId(windowToken); in getWindowOwnerUserId()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/vr/
H A DVr2dDisplay.java74 private final WindowManagerInternal mWindowManagerInternal; field in Vr2dDisplay
108 mWindowManagerInternal = windowManagerInternal; in Vr2dDisplay()
323 mWindowManagerInternal.setVr2dDisplayId(displayId); in updateDisplayId()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DAttentionDetectorTest.java68 private WindowManagerInternal mWindowManagerInternal; field in AttentionDetectorTest
81 when(mWindowManagerInternal.isKeyguardShowingAndNotOccluded()).thenReturn(false); in setUp()
145 when(mWindowManagerInternal.isKeyguardShowingAndNotOccluded()).thenReturn(true); in testOnUserActivity_doesntCheckIfInLockscreen()
425 mWindowManager = mWindowManagerInternal; in TestableAttentionDetector()
/aosp14/frameworks/base/services/core/java/com/android/server/app/
H A DGameServiceProviderInstanceImpl.java231 private final WindowManagerInternal mWindowManagerInternal; field in GameServiceProviderInstanceImpl
271 mWindowManagerInternal = windowManagerInternal; in GameServiceProviderInstanceImpl()
317 mWindowManagerInternal.registerTaskSystemBarsListener(mTaskSystemBarsVisibilityListener); in startLocked()
339 mWindowManagerInternal.unregisterTaskSystemBarsListener( in stopLocked()
611 mWindowManagerInternal.addTrustedTaskOverlay( in attachGameSessionLocked()
665 mWindowManagerInternal.removeTrustedTaskOverlay( in destroyGameSessionFromRecordLocked()
/aosp14/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
H A DDefaultImeVisibilityApplierTest.java144 verify(mInputMethodManagerService.mWindowManagerInternal).hideIme( in testApplyImeVisibility_hideImeFromTargetOnSecondaryDisplay()
187 verify(mInputMethodManagerService.mWindowManagerInternal).hideIme( in testApplyImeVisibility_hideImeWhenUnbinding()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DBackNavigationControllerTests.java86 private WindowManagerInternal mWindowManagerInternal; field in BackNavigationControllerTests
96 mWindowManagerInternal = mock(WindowManagerInternal.class); in setUp()
97 LocalServices.addService(WindowManagerInternal.class, mWindowManagerInternal); in setUp()
674 .when(mWindowManagerInternal).getFocusedWindowToken();
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
H A DTestPhoneWindowManager.java123 @Mock private WindowManagerInternal mWindowManagerInternal; field in TestPhoneWindowManager
202 doReturn(mWindowManagerInternal).when( in setUp()
570 verify(mWindowManagerInternal).registerAppTransitionListener( in assertLockedAfterAppTransitionFinished()
580 verify(mWindowManagerInternal).registerAppTransitionListener( in assertDidNotLockAfterAppTransitionFinished()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DGestureLauncherService.java139 private WindowManagerInternal mWindowManagerInternal; field in GestureLauncherService
255 mWindowManagerInternal = LocalServices.getService(WindowManagerInternal.class); in onBootPhase()
882 mWindowManagerInternal.isKeyguardShowingAndNotOccluded(); in onTrigger()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DMagnificationControllerTest.java142 private WindowManagerInternal mWindowManagerInternal; field in MagnificationControllerTest
161 LocalServices.addService(WindowManagerInternal.class, mWindowManagerInternal); in setUp()
162 when(mWindowManagerInternal.getAccessibilityController()).thenReturn( in setUp()
164 when(mWindowManagerInternal.setMagnificationCallbacks(eq(TEST_DISPLAY), any())) in setUp()
171 }).when(mWindowManagerInternal).getMagnificationRegion(anyInt(), any(Region.class)); in setUp()
187 when(mControllerCtx.getWindowManager()).thenReturn(mWindowManagerInternal); in setUp()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java252 private WindowManagerInternal mWindowManagerInternal; field in DisplayManagerService
689 mWindowManagerInternal = LocalServices.getService(WindowManagerInternal.class); in windowManagerAndInputReady()
2861 if (!mPendingTraversal && mWindowManagerInternal != null) { in scheduleTraversalLocked()
3248 mWindowManagerInternal.requestTraversalFromDisplayManager(); in handleMessage()
3252 mWindowManagerInternal.onDisplayManagerReceivedDeviceState(msg.arg1); in handleMessage()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java549 private WindowManagerInternal mWindowManagerInternal; field in NotificationManagerService
2752 mWindowManagerInternal = LocalServices.getService(WindowManagerInternal.class);
3392 mWindowManagerInternal.addWindowToken(windowToken, TYPE_TOAST, displayId,
8745 mWindowManagerInternal.removeWindowToken(
8824 mWindowManagerInternal.removeWindowToken(t, true /* removeWindows */, displayId);
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationManagerServiceTest.java326 private WindowManagerInternal mWindowManagerInternal; field in NotificationManagerServiceTest
481 LocalServices.addService(WindowManagerInternal.class, mWindowManagerInternal); in setUp()
7525 verify(mWindowManagerInternal).addWindowToken(binderCaptor.capture(), in testRateLimitedToasts_windowsRemoved()
7533 verify(mWindowManagerInternal) in testRateLimitedToasts_windowsRemoved()