Home
last modified time | relevance | path

Searched refs:logicalDisplayMock (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DDisplayPowerControllerTest.java1137 private void setUpDisplay(int displayId, String uniqueId, LogicalDisplay logicalDisplayMock, in setUpDisplay() argument
1144 when(logicalDisplayMock.getDisplayIdLocked()).thenReturn(displayId); in setUpDisplay()
1145 when(logicalDisplayMock.getPrimaryDisplayDeviceLocked()).thenReturn(displayDeviceMock); in setUpDisplay()
1146 when(logicalDisplayMock.getDisplayInfoLocked()).thenReturn(info); in setUpDisplay()
1147 when(logicalDisplayMock.isEnabledLocked()).thenReturn(isEnabled); in setUpDisplay()
1148 when(logicalDisplayMock.isInTransitionLocked()).thenReturn(false); in setUpDisplay()
H A DDisplayPowerController2Test.java1135 private void setUpDisplay(int displayId, String uniqueId, LogicalDisplay logicalDisplayMock, in setUpDisplay() argument
1142 when(logicalDisplayMock.getDisplayIdLocked()).thenReturn(displayId); in setUpDisplay()
1143 when(logicalDisplayMock.getPrimaryDisplayDeviceLocked()).thenReturn(displayDeviceMock); in setUpDisplay()
1144 when(logicalDisplayMock.getDisplayInfoLocked()).thenReturn(info); in setUpDisplay()
1145 when(logicalDisplayMock.isEnabledLocked()).thenReturn(isEnabled); in setUpDisplay()
1146 when(logicalDisplayMock.isInTransitionLocked()).thenReturn(false); in setUpDisplay()