/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 203 DisplayManagerService displayManager = in testCreateVirtualDisplay_sentToInputManager() local 205 registerDefaultDisplays(displayManager); in testCreateVirtualDisplay_sentToInputManager() 206 displayManager.systemReady(false /* safeMode */, true /* onlyCore */); in testCreateVirtualDisplay_sentToInputManager() 207 displayManager.windowManagerAndInputReady(); in testCreateVirtualDisplay_sentToInputManager() 210 DisplayManagerService.BinderService bs = displayManager.new BinderService(); in testCreateVirtualDisplay_sentToInputManager() 227 displayManager.performTraversalInternal(mock(SurfaceControl.Transaction.class)); in testCreateVirtualDisplay_sentToInputManager() 230 displayManager.getDisplayHandler().runWithScissors(() -> {}, 0 /* now */); in testCreateVirtualDisplay_sentToInputManager() 279 DisplayManagerService displayManager = in testPhysicalViewports() local 281 registerDefaultDisplays(displayManager); in testPhysicalViewports() 282 displayManager.systemReady(false /* safeMode */, true /* onlyCore */); in testPhysicalViewports() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | DisplayTrackerImplTest.kt | 45 @Mock private lateinit var displayManager: DisplayManager variable in com.android.systemui.settings.DisplayTrackerImplTest 72 `when`(displayManager.displays).thenReturn(arrayOf(mDefaultDisplay, mSecondaryDisplay)) in setUp() 74 tracker = DisplayTrackerImpl(displayManager, handler) in setUp() 90 verify(displayManager).registerDisplayListener(any(), any()) in registerCallback_registersDisplayListener() 96 verify(displayManager) in registerBrightnessCallback_registersDisplayListener() 107 verify(displayManager, never()).unregisterDisplayListener(any()) in unregisterCallback_displayListenerStillRegistered() 116 verify(displayManager).unregisterDisplayListener(any()) in unregisterLastCallback_unregistersDisplayListener()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/ |
D | UnfoldTransitionFactory.kt | 50 displayManager: DisplayManager, 64 displayManager, 79 displayManager: DisplayManager, 88 displayManager,
|
D | UnfoldSharedComponent.kt | 65 @BindsInstance displayManager: DisplayManager, in create() 91 @BindsInstance displayManager: DisplayManager, in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | DisplayTrackerImpl.kt | 33 val displayManager: DisplayManager, constant in com.android.systemui.settings.DisplayTrackerImpl 38 get() = displayManager.displays 80 displayManager.registerDisplayListener(displayChangedListener, backgroundHandler) in addDisplayChangeCallback() 92 displayManager.registerDisplayListener( in addBrightnessChangeCallback() 106 displayManager.unregisterDisplayListener(displayChangedListener) in removeCallback() 113 displayManager.unregisterDisplayListener(displayBrightnessChangedListener) in removeCallback()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContextTest.java | 156 final DisplayManager displayManager = appContext.getSystemService(DisplayManager.class); in verifyGetDisplayFromDisplayContextDerivedContext() local 159 display = getSecondaryDisplay(displayManager); in verifyGetDisplayFromDisplayContextDerivedContext() 161 display = displayManager.getDisplay(DEFAULT_DISPLAY); in verifyGetDisplayFromDisplayContextDerivedContext() 168 private static Display getSecondaryDisplay(DisplayManager displayManager) { in getSecondaryDisplay() argument 174 VirtualDisplay virtualDisplay = displayManager.createVirtualDisplay( in getSecondaryDisplay() 215 final DisplayManager displayManager = appContext.getSystemService(DisplayManager.class); in createUiContext() local 216 final Display display = displayManager.getDisplay(DEFAULT_DISPLAY); in createUiContext()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ImageCaptureImplTest.kt | 40 private val displayManager = mock<DisplayManager>() constant in com.android.systemui.screenshot.ImageCaptureImplTest 43 displayManager, 66 displayManager: DisplayManager, 70 ImageCaptureImpl(displayManager, atmService, bgDispatcher) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/ |
D | RotationChangeProviderTest.kt | 47 @Mock lateinit var displayManager: DisplayManager variable in com.android.systemui.unfold.updates.RotationChangeProviderTest 60 rotationChangeProvider = RotationChangeProvider(displayManager, spyContext, fakeHandler) in setup() 63 verify(displayManager).registerDisplayListener(displayListener.capture(), any()) in setup() 82 verify(displayManager).unregisterDisplayListener(any()) in onRotationChanged_subscribersRemoved_noRotationChangeReceived()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | BiometricDisplayListener.kt | 34 private val displayManager: DisplayManager, constant in com.android.systemui.biometrics.BiometricDisplayListener 67 displayManager.registerDisplayListener( in enable() 76 displayManager.unregisterDisplayListener(this) in disable()
|
D | SideFpsController.kt | 88 displayManager: DisplayManager, in <lambda>() 107 displayManager, in <lambda>() 486 displayManager: DisplayManager, 495 displayManager,
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/ |
D | RotationChangeProvider.kt | 34 private val displayManager: DisplayManager, constant in com.android.systemui.unfold.updates.RotationChangeProvider 65 displayManager.registerDisplayListener(displayListener, mainHandler) in subscribeToRotation() 73 displayManager.unregisterDisplayListener(displayListener) in unsubscribeToRotation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarButtonTest.java | 96 final DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in createVirtualDisplay() local 103 mVirtualDisplay = displayManager.createVirtualDisplay(displayName, displayInfo.logicalWidth, in createVirtualDisplay() 129 DisplayManager displayManager = mContext.getSystemService(DisplayManager.class); in isDisplayOn() local 130 Display display = displayManager.getDisplay(displayId); in isDisplayOn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/display/ |
D | DisplayHelper.java | 37 public DisplayHelper(Context context, DisplayManager displayManager) { in DisplayHelper() argument 39 mDisplayManager = displayManager; in DisplayHelper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | DisplayIdIndexSupplier.java | 42 DisplayIdIndexSupplier(DisplayManager displayManager) { in DisplayIdIndexSupplier() argument 43 mDisplayManager = displayManager; in DisplayIdIndexSupplier()
|
D | ModeSwitchesController.java | 127 SwitchSupplier(Context context, DisplayManager displayManager, in SwitchSupplier() argument 129 super(displayManager); in SwitchSupplier()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/dagger/ |
D | ClipboardOverlayModule.java | 49 static Context provideWindowContext(DisplayManager displayManager, in provideWindowContext() argument 51 Display display = displayManager.getDisplay(displayTracker.getDefaultDisplayId()); in provideWindowContext()
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/ |
D | ColorModeControls.kt | 40 displayManager = context.getSystemService(DisplayManager::class.java)!! 47 private val displayManager: DisplayManager constant in com.android.test.silkfx.common.ColorModeControls 119 displayManager.setTemporaryBrightness(displayId, level) in setBrightness()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
D | FakeDisplayTracker.kt | 25 val displayManager: DisplayManager = context.getSystemService(DisplayManager::class.java)!! constant in com.android.systemui.settings.FakeDisplayTracker 27 override var allDisplays: Array<Display> = displayManager.displays
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ImageCaptureImpl.kt | 40 private val displayManager: DisplayManager, constant in com.android.systemui.screenshot.ImageCaptureImpl 62 val display = displayManager.getDisplay(displayId) in physicalDisplayToken()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/dagger/ |
D | MultiUserUtilsModule.java | 78 DisplayManager displayManager, in provideDisplayTracker() argument 81 return new DisplayTrackerImpl(displayManager, handler); in provideDisplayTracker()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | ModeSwitchesControllerTest.java | 107 FakeSwitchSupplier(DisplayManager displayManager) { in FakeSwitchSupplier() argument 108 super(displayManager); in FakeSwitchSupplier()
|
D | IWindowMagnificationConnectionTest.java | 169 FakeControllerSupplier(DisplayManager displayManager) { in FakeControllerSupplier() argument 170 super(displayManager); in FakeControllerSupplier()
|
D | WindowMagnificationTest.java | 188 FakeControllerSupplier(DisplayManager displayManager, in FakeControllerSupplier() argument 190 super(displayManager); in FakeControllerSupplier()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | BurnInProtectionHelper.java | 118 DisplayManager displayManager = in BurnInProtectionHelper() local 120 mDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in BurnInProtectionHelper() 121 displayManager.registerDisplayListener(this, null /* handler */); in BurnInProtectionHelper()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/ |
D | KeyguardPreviewRenderer.kt | 57 displayManager: DisplayManager, 98 displayManager.getDisplay(bundle.getInt(KEY_DISPLAY_ID)), in <lambda>()
|