Home
last modified time | relevance | path

Searched refs:mDisplayManagerGlobal (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/hardware/display/
DDisplayManagerGlobalTest.java75 private DisplayManagerGlobal mDisplayManagerGlobal; field in DisplayManagerGlobalTest
84 mDisplayManagerGlobal = new DisplayManagerGlobal(mDisplayManager); in setUp()
89 mDisplayManagerGlobal.registerDisplayListener(mListener, mHandler, ALL_DISPLAY_EVENTS, in testDisplayListenerIsCalled_WhenDisplayEventOccurs()
122 mDisplayManagerGlobal.registerDisplayListener(mListener, mHandler, ALL_DISPLAY_EVENTS, in testDisplayListenerIsNotCalled_WhenClientIsNotSubscribed()
129 mDisplayManagerGlobal.registerDisplayListener(mListener, mHandler, in testDisplayListenerIsNotCalled_WhenClientIsNotSubscribed()
135 mDisplayManagerGlobal.registerDisplayListener(mListener, mHandler, in testDisplayListenerIsNotCalled_WhenClientIsNotSubscribed()
141 mDisplayManagerGlobal.registerDisplayListener(mListener, mHandler, in testDisplayListenerIsNotCalled_WhenClientIsNotSubscribed()
151 mDisplayManagerGlobal.registerNativeChoreographerForRefreshRateCallbacks(); in testDisplayManagerGlobalRegistersWithDisplayManager_WhenThereAreNoOtherListeners()
155 mDisplayManagerGlobal.unregisterNativeChoreographerForRefreshRateCallbacks(); in testDisplayManagerGlobalRegistersWithDisplayManager_WhenThereAreNoOtherListeners()
164 mDisplayManagerGlobal.registerDisplayListener(mListener, mHandler, in testDisplayManagerGlobalRegistersWithDisplayManager_WhenThereAreListeners()
[all …]
/frameworks/base/core/tests/mockingcoretests/src/android/view/
DDisplayTest.java86 private DisplayManagerGlobal mDisplayManagerGlobal; field in DisplayTest
107 mDisplayManagerGlobal = mock(DisplayManagerGlobal.class); in setupTests()
108 doReturn(mDisplayInfo).when(mDisplayManagerGlobal).getDisplayInfo(anyInt()); in setupTests()
134 final Display display = new Display(mDisplayManagerGlobal, DEFAULT_DISPLAY, mDisplayInfo, in testGetReportedHdrTypes_returns_mode_specific_hdr_types()
159 final Display display = new Display(mDisplayManagerGlobal, DEFAULT_DISPLAY, mDisplayInfo, in testGetHdrCapabilities_getSupportedHdrTypes_returns_mode_specific_hdr_types()
172 final Display display = new Display(mDisplayManagerGlobal, DEFAULT_DISPLAY, mDisplayInfo, in testConstructor_defaultDisplayAdjustments_matchesDisplayInfo()
184 final Display display = new Display(mDisplayManagerGlobal, DEFAULT_DISPLAY, mDisplayInfo, in testConstructor_defaultResources_matchesDisplayInfo()
196 final Display display = new Display(mDisplayManagerGlobal, DEFAULT_DISPLAY, mDisplayInfo, in testGetRotation_defaultDisplayAdjustments_rotationNotAdjusted()
208 final Display display = new Display(mDisplayManagerGlobal, DEFAULT_DISPLAY, mDisplayInfo, in testGetRotation_resourcesWithOverrideDisplayAdjustments_rotationAdjusted()
218 final Display display = new Display(mDisplayManagerGlobal, DEFAULT_DISPLAY, mDisplayInfo, in testGetRealSize_defaultResourcesPortrait_matchesLogicalSize()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInputMethodDialogWindowContextTest.java84 private DisplayManagerGlobal mDisplayManagerGlobal; field in InputMethodDialogWindowContextTest
115 mDisplayManagerGlobal = DisplayManagerGlobal.getInstance(); in setUp()
116 spyOn(mDisplayManagerGlobal); in setUp()
119 doReturn(display).when(mDisplayManagerGlobal).getCompatibleDisplay(eq(displayId), in setUp()
130 reset(mDisplayManagerGlobal); in tearDown()