/frameworks/layoutlib/bridge/src/android/hardware/display/ |
D | DisplayManagerGlobal.java | 40 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/ |
D | DisplayManagerGlobalTest.java | 75 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/ |
D | ClientTransactionListenerController.java | 32 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/ |
D | DisplayInfoProxy.java | 20 import android.hardware.display.DisplayManagerGlobal; 42 DisplayManagerGlobal.invalidateLocalDisplayInfoCaches(); in set()
|
D | ExternalDisplayPolicy.java | 19 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/ |
D | ExtensionHelper.java | 26 import android.hardware.display.DisplayManagerGlobal; 55 final DisplayManagerGlobal dmGlobal = DisplayManagerGlobal.getInstance(); in rotateRectToDisplayRotation()
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | DumpCommand.java | 22 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/ |
D | KeyguardDisplayManagerTest.java | 30 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/ |
D | VirtualDisplay.java | 35 private final DisplayManagerGlobal mGlobal; 39 VirtualDisplay(DisplayManagerGlobal global, Display display, IVirtualDisplayCallback token, in VirtualDisplay()
|
D | DisplayManagerGlobal.java | 77 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()
|
D | DisplayManager.java | 93 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/ |
D | DisplayResolutionTracker.java | 29 import android.hardware.display.DisplayManagerGlobal; 145 DisplayManagerGlobal manager = DisplayManagerGlobal.getInstance(); in getDefault()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorContextTest.java | 30 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/ |
D | MediaRouteInfoTest.java | 21 import android.hardware.display.DisplayManagerGlobal; 47 final DisplayManagerGlobal global = DisplayManagerGlobal.getInstance(); in setUpOnce()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | DisplayTrackerImplTest.kt | 21 import android.hardware.display.DisplayManagerGlobal 59 DisplayManagerGlobal.getInstance(), in setUp() 66 DisplayManagerGlobal.getInstance(), in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | FaceScanningProviderFactoryTest.kt | 18 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/ |
D | ShellUiAutomatorBridge.java | 28 import android.hardware.display.DisplayManagerGlobal; 53 return DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); in getDefaultDisplay()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 23 import android.hardware.display.DisplayManagerGlobal; 112 int newRotation = DisplayManagerGlobal.getInstance() in updateOrientation()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | ClientTransactionListenerControllerTest.java | 45 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/ |
D | InputMethodDialogWindowContextTest.java | 47 import android.hardware.display.DisplayManagerGlobal; 84 private DisplayManagerGlobal mDisplayManagerGlobal; 115 mDisplayManagerGlobal = DisplayManagerGlobal.getInstance(); in setUp()
|
D | TestDisplayContent.java | 38 import android.hardware.display.DisplayManagerGlobal; 202 final Display display = new Display(DisplayManagerGlobal.getInstance(), displayId, in build()
|
/frameworks/base/core/java/android/companion/virtual/ |
D | VirtualDeviceInternal.java | 37 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/ |
D | DisplayTest.java | 37 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/ |
D | Display.java | 46 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/ |
D | SystemGesturesPointerEventListener.java | 31 import android.hardware.display.DisplayManagerGlobal; 117 final Display display = DisplayManagerGlobal.getInstance() in onConfigurationChanged() 167 final DisplayInfo info = DisplayManagerGlobal.getInstance().getDisplayInfo(displayId); in systemReady()
|