Home
last modified time | relevance | path

Searched refs:TYPE_EXTERNAL (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DTakeScreenshotExecutorTest.kt8 import android.view.Display.TYPE_EXTERNAL in <lambda>()
81 val externalDisplay = display(TYPE_EXTERNAL, id = 1) in <lambda>()
112 val externalDisplay = display(TYPE_EXTERNAL, id = 1) in <lambda>()
158 display(TYPE_EXTERNAL, id = 1), in <lambda>()
173 setDisplays(display(TYPE_INTERNAL, id = 0), display(TYPE_EXTERNAL, id = 1)) in <lambda>()
198 setDisplays(display(TYPE_INTERNAL, id = 0), display(TYPE_EXTERNAL, id = 1)) in <lambda>()
225 setDisplays(display(TYPE_INTERNAL, id = 0), display(TYPE_EXTERNAL, id = 1)) in <lambda>()
252 setDisplays(display(TYPE_INTERNAL, id = 0), display(TYPE_EXTERNAL, id = 1)) in <lambda>()
263 setDisplays(display(TYPE_INTERNAL, id = 0), display(TYPE_EXTERNAL, id = 1)) in <lambda>()
276 setDisplays(display(TYPE_INTERNAL, id = 0), display(TYPE_EXTERNAL, id = 1)) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractorTest.kt24 import android.view.Display.TYPE_EXTERNAL in <lambda>()
118 fakeDisplayRepository.emit(setOf(display(type = TYPE_EXTERNAL))) in <lambda>()
129 setOf(display(type = TYPE_EXTERNAL), display(type = TYPE_EXTERNAL)) in <lambda>()
141 setOf(display(type = TYPE_EXTERNAL, flags = Display.FLAG_SECURE)) in <lambda>()
154 display(type = TYPE_EXTERNAL, flags = Display.FLAG_SECURE), in <lambda>()
155 display(type = TYPE_EXTERNAL, flags = 0) in <lambda>()
229 fakeDisplayRepository.emit(display(type = TYPE_EXTERNAL)) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/
DDisplayRepositoryTest.kt23 import android.view.Display.TYPE_EXTERNAL in <lambda>()
388 sendOnDisplayConnected(1, TYPE_EXTERNAL) in <lambda>()
401 sendOnDisplayConnected(1, TYPE_EXTERNAL) in <lambda>()
404 sendOnDisplayConnected(2, TYPE_EXTERNAL) in <lambda>()
414 sendOnDisplayConnected(1, TYPE_EXTERNAL) in <lambda>()
425 sendOnDisplayAdded(1, TYPE_EXTERNAL) in <lambda>()
428 assertThat(display!!.type).isEqualTo(TYPE_EXTERNAL) in <lambda>()
526 private fun sendOnDisplayConnected(id: Int, displayType: Int = TYPE_EXTERNAL) { in <lambda>()
544 val displays = ids.map { display(type = TYPE_EXTERNAL, id = it) }.toTypedArray() in <lambda>()
557 setDisplays(ids.map { display(type = TYPE_EXTERNAL, id = it) }) in <lambda>()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayDeviceTest.java76 mDisplayDeviceInfo.type = Display.TYPE_EXTERNAL; in testGetDisplaySurfaceDefaultSizeLocked_notRotated_anisotropyCorrection()
112 mDisplayDeviceInfo.type = Display.TYPE_EXTERNAL; in testGetDisplaySurfaceDefaultSizeLocked_rotation90_anisotropyCorrection()
DLogicalDisplayTest.java185 mDisplayDeviceInfo.type = Display.TYPE_EXTERNAL; in testNoLetterbox_anisotropyCorrection()
214 mDisplayDeviceInfo.type = Display.TYPE_EXTERNAL; in testLetterbox_anisotropyCorrectionYDpi()
272 mDisplayDeviceInfo.type = Display.TYPE_EXTERNAL; in testPillarbox_anisotropyCorrection()
301 mDisplayDeviceInfo.type = Display.TYPE_EXTERNAL; in testNoPillarbox_anisotropyCorrectionYDpi()
363 mDisplayDeviceInfo.type = Display.TYPE_EXTERNAL; in testGetDisplayPositionAlwaysRotateDisplayEnabled()
DExternalDisplayStatsServiceTest.java21 import static android.view.Display.TYPE_EXTERNAL;
95 mMockedDisplayInfo.type = TYPE_EXTERNAL; in setup()
DExternalDisplayPolicyTest.java20 import static android.view.Display.TYPE_EXTERNAL;
140 mockedLogicalDisplayInfo.type = TYPE_EXTERNAL; in setup()
DLogicalDisplayMapperTest.java25 import static android.view.Display.TYPE_EXTERNAL;
243 testDisplayDeviceAddAndRemove_NonInternal(TYPE_EXTERNAL); in testDisplayDeviceAddAndRemove_NonInternalTypes()
288 DisplayDevice device = createDisplayDevice(TYPE_EXTERNAL, 600, 800, in testDisplayDeviceAddAndRemove_OneExternalDefault()
399 add(createDisplayDevice(TYPE_EXTERNAL, 600, 800, 0)); in testGetDisplayIdsLocked()
798 DisplayDevice device1 = createDisplayDevice(TYPE_EXTERNAL, 600, 800, in testCreateNewLogicalDisplay_windowManagerIsNotNotifiedAboutSwitch()
1088 DisplayDevice device1 = createDisplayDevice(TYPE_EXTERNAL, 600, 800, in testCreateNewLogicalDisplay()
DDisplayManagerServiceTest.java535 Display.TYPE_EXTERNAL, DisplayViewport.VIEWPORT_EXTERNAL
2480 createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
2510 createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
2544 createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
2644 createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
2672 createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
2752 createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
2790 createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
2820 createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
2862 createFakeDisplayDevice(displayManager, new float[]{60f}, Display.TYPE_EXTERNAL);
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DExternalDisplayPolicy.java22 import static android.view.Display.TYPE_EXTERNAL;
64 return logicalDisplay.getDisplayInfoLocked().type == TYPE_EXTERNAL; in isExternalDisplayLocked()
DDisplayManagerShellCommand.java19 import static android.view.Display.TYPE_EXTERNAL;
264 return TYPE_EXTERNAL; in getType()
DDisplayDevice.java165 if (mIsAnisotropyCorrectionEnabled && displayDeviceInfo.type == Display.TYPE_EXTERNAL in getDisplaySurfaceDefaultSizeLocked()
DLogicalDisplay.java488 if (mIsAnisotropyCorrectionEnabled && deviceInfo.type == Display.TYPE_EXTERNAL in updateLocked()
721 if (mIsAnisotropyCorrectionEnabled && displayDeviceInfo.type == Display.TYPE_EXTERNAL in configureDisplayLocked()
DExternalDisplayStatsService.java238 if (displayInfo == null || displayInfo.type != Display.TYPE_EXTERNAL) { in onDisplayConnected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/domain/interactor/
DConnectedDisplayInteractor.kt150 return display.type == Display.TYPE_EXTERNAL in isExternalDisplay()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouteInfoTest.java56 externalInfo.type = Display.TYPE_EXTERNAL; in setUpOnce()
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/
DFoldableDeviceStateProviderTest.java23 import static android.view.Display.TYPE_EXTERNAL;
499 when(mExternalDisplay.getType()).thenReturn(TYPE_EXTERNAL); in test_dualScreenDisabledWhenExternalScreenIsConnected()
605 when(mExternalDisplay.getType()).thenReturn(TYPE_EXTERNAL); in addExternalDisplay()
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DFoldableDeviceStateProvider.java24 import static android.view.Display.TYPE_EXTERNAL;
382 if (display == null || display.getType() != TYPE_EXTERNAL) { in onDisplayAdded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotExecutor.kt287 Display.TYPE_EXTERNAL, in handleScreenshot()
/frameworks/base/core/java/android/view/
DDisplay.java418 public static final int TYPE_EXTERNAL = 2; field in Display
1576 || mDisplayInfo.type == TYPE_EXTERNAL) { in getOverlaySupport()
2055 case TYPE_EXTERNAL: in typeToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/
DDisplayRepository.kt260 .filter { id -> getDisplayType(id) == Display.TYPE_EXTERNAL } in connectedDisplayIds()
/frameworks/base/services/core/java/com/android/server/wm/
DContentRecorder.java113 && displayContent.getDisplayInfo().type == Display.TYPE_EXTERNAL); in ContentRecorder()
/frameworks/proto_logging/stats/atoms/sysui/
Dsysui_extension_atoms.proto135 // Number of TYPE_EXTERNAL displays at the moment of Display Switch.
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationCompatPolicyTests.java333 when(display.getType()).thenReturn(Display.TYPE_EXTERNAL); in testDisplayNotInternal_noForceRotationOrRefresh()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayObserverTest.java425 info.type = Display.TYPE_EXTERNAL; in init()

12