Home
last modified time | relevance | path

Searched refs:DisplayManagerGlobal (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/layoutlib/bridge/src/android/hardware/display/
DDisplayManagerGlobal.java40 public final class DisplayManagerGlobal { class
46 private static DisplayManagerGlobal sInstance;
49 public DisplayManagerGlobal(IDisplayManager dm) {} in DisplayManagerGlobal() method in DisplayManagerGlobal
51 public static DisplayManagerGlobal getInstance() { in getInstance()
52 synchronized (DisplayManagerGlobal.class) { in getInstance()
54 sInstance = new DisplayManagerGlobal(null); in getInstance()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DDisplayManagerGlobalTest.java75 private DisplayManagerGlobal mDisplayManagerGlobal;
84 mDisplayManagerGlobal = new DisplayManagerGlobal(mDisplayManager); in setUp()
96 callback.onDisplayEvent(displayId, DisplayManagerGlobal.EVENT_DISPLAY_ADDED); in testDisplayListenerIsCalled_WhenDisplayEventOccurs()
106 callback.onDisplayEvent(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED); in testDisplayListenerIsCalled_WhenDisplayEventOccurs()
112 callback.onDisplayEvent(displayId, DisplayManagerGlobal.EVENT_DISPLAY_REMOVED); in testDisplayListenerIsCalled_WhenDisplayEventOccurs()
131 callback.onDisplayEvent(displayId, DisplayManagerGlobal.EVENT_DISPLAY_ADDED); in testDisplayListenerIsNotCalled_WhenClientIsNotSubscribed()
137 callback.onDisplayEvent(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED); in testDisplayListenerIsNotCalled_WhenClientIsNotSubscribed()
143 callback.onDisplayEvent(displayId, DisplayManagerGlobal.EVENT_DISPLAY_REMOVED); in testDisplayListenerIsNotCalled_WhenClientIsNotSubscribed()
/frameworks/base/core/java/android/app/servertransaction/
DClientTransactionListenerController.java32 import android.hardware.display.DisplayManagerGlobal;
57 private final DisplayManagerGlobal mDisplayManager;
81 DisplayManagerGlobal.getInstance()); in getInstance()
91 @NonNull DisplayManagerGlobal displayManager) { in createInstanceForTesting()
95 private ClientTransactionListenerController(@NonNull DisplayManagerGlobal displayManager) { in ClientTransactionListenerController()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayInfoProxy.java20 import android.hardware.display.DisplayManagerGlobal;
42 DisplayManagerGlobal.invalidateLocalDisplayInfoCaches(); in set()
DExternalDisplayPolicy.java19 import static android.hardware.display.DisplayManagerGlobal.EVENT_DISPLAY_CONNECTED;
26 import android.hardware.display.DisplayManagerGlobal;
27 import android.hardware.display.DisplayManagerGlobal.DisplayEvent;
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/
DExtensionHelper.java26 import android.hardware.display.DisplayManagerGlobal;
55 final DisplayManagerGlobal dmGlobal = DisplayManagerGlobal.getInstance(); in rotateRectToDisplayRotation()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java22 import android.hardware.display.DisplayManagerGlobal;
98 DisplayManagerGlobal.getInstance()); in run()
107 DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); in run()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardDisplayManagerTest.java30 import android.hardware.display.DisplayManagerGlobal;
89 mDefaultDisplay = new Display(DisplayManagerGlobal.getInstance(), Display.DEFAULT_DISPLAY, in setUp()
91 mSecondaryDisplay = new Display(DisplayManagerGlobal.getInstance(), in setUp()
98 mAlwaysUnlockedDisplay = new Display(DisplayManagerGlobal.getInstance(), in setUp()
/frameworks/base/core/java/android/hardware/display/
DVirtualDisplay.java35 private final DisplayManagerGlobal mGlobal;
39 VirtualDisplay(DisplayManagerGlobal global, Display display, IVirtualDisplayCallback token, in VirtualDisplay()
DDisplayManagerGlobal.java77 public final class DisplayManagerGlobal { class
120 private static DisplayManagerGlobal sInstance;
145 public DisplayManagerGlobal(IDisplayManager dm) { in DisplayManagerGlobal() method in DisplayManagerGlobal
180 public static DisplayManagerGlobal getInstance() { in getInstance()
181 synchronized (DisplayManagerGlobal.class) { in getInstance()
185 sInstance = new DisplayManagerGlobal(IDisplayManager.Stub.asInterface(b)); in getInstance()
DDisplayManager.java93 private final DisplayManagerGlobal mGlobal;
642 mGlobal = DisplayManagerGlobal.getInstance(); in DisplayManager()
1642 DisplayManagerGlobal.VirtualDisplayCallback in createVirtualDisplay()
1643 callbackWrapper = new DisplayManagerGlobal.VirtualDisplayCallback(null, null); in createVirtualDisplay()
1651 return DisplayManagerGlobal.getInstance().createVirtualDisplayWrapper(virtualDisplayConfig, in createVirtualDisplay()
/frameworks/base/core/java/com/android/internal/jank/
DDisplayResolutionTracker.java29 import android.hardware.display.DisplayManagerGlobal;
145 DisplayManagerGlobal manager = DisplayManagerGlobal.getInstance(); in getDefault()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java30 import android.hardware.display.DisplayManagerGlobal;
71 Display defaultDisplay = new Display(DisplayManagerGlobal.getInstance(), DEFAULT_DISPLAY, in testDecorContextWithDefaultDisplay()
86 Display display = new Display(DisplayManagerGlobal.getInstance(), EXTERNAL_DISPLAY, in testDecorContextWithExternalDisplay()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouteInfoTest.java21 import android.hardware.display.DisplayManagerGlobal;
47 final DisplayManagerGlobal global = DisplayManagerGlobal.getInstance(); in setUpOnce()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DDisplayTrackerImplTest.kt21 import android.hardware.display.DisplayManagerGlobal
59 DisplayManagerGlobal.getInstance(), in setUp()
66 DisplayManagerGlobal.getInstance(), in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DFaceScanningProviderFactoryTest.kt18 import android.hardware.display.DisplayManagerGlobal
66 val dmGlobal = mock(DisplayManagerGlobal::class.java) in setup()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java28 import android.hardware.display.DisplayManagerGlobal;
53 return DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); in getDefaultDisplay()
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java23 import android.hardware.display.DisplayManagerGlobal;
112 int newRotation = DisplayManagerGlobal.getInstance() in updateOrientation()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DClientTransactionListenerControllerTest.java45 import android.hardware.display.DisplayManagerGlobal;
102 private DisplayManagerGlobal mDisplayManager;
111 mDisplayManager = new DisplayManagerGlobal(mIDisplayManager); in setup()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInputMethodDialogWindowContextTest.java47 import android.hardware.display.DisplayManagerGlobal;
84 private DisplayManagerGlobal mDisplayManagerGlobal;
115 mDisplayManagerGlobal = DisplayManagerGlobal.getInstance(); in setUp()
DTestDisplayContent.java38 import android.hardware.display.DisplayManagerGlobal;
202 final Display display = new Display(DisplayManagerGlobal.getInstance(), displayId, in build()
/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceInternal.java37 import android.hardware.display.DisplayManagerGlobal;
225 new DisplayManagerGlobal.VirtualDisplayCallback(callback, executor); in createVirtualDisplay()
233 DisplayManagerGlobal displayManager = DisplayManagerGlobal.getInstance(); in createVirtualDisplay()
/frameworks/base/core/tests/mockingcoretests/src/android/view/
DDisplayTest.java37 import android.hardware.display.DisplayManagerGlobal;
86 private DisplayManagerGlobal mDisplayManagerGlobal;
93 .mockStatic(DisplayManagerGlobal.class) in setupTests()
107 mDisplayManagerGlobal = mock(DisplayManagerGlobal.class); in setupTests()
/frameworks/base/core/java/android/view/
DDisplay.java46 import android.hardware.display.DisplayManagerGlobal;
95 private final DisplayManagerGlobal mGlobal;
663 public Display(DisplayManagerGlobal global, int displayId, /*@NotNull*/ DisplayInfo displayInfo, in Display()
675 public Display(DisplayManagerGlobal global, int displayId, /*@NotNull*/ DisplayInfo displayInfo, in Display()
680 private Display(DisplayManagerGlobal global, int displayId, in Display()
1467 | DisplayManagerGlobal.EVENT_DISPLAY_CHANGED, in registerHdrSdrRatioChangedListener()
1925 || DisplayManagerGlobal.getInstance().isUidPresentOnDisplay(uid, displayId); in hasAccess()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java31 import android.hardware.display.DisplayManagerGlobal;
117 final Display display = DisplayManagerGlobal.getInstance() in onConfigurationChanged()
167 final DisplayInfo info = DisplayManagerGlobal.getInstance().getDisplayInfo(displayId); in systemReady()

123