Home
last modified time | relevance | path

Searched refs:supportedModes (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/graphics/displaymode/app/src/com/android/cts/graphics/displaymode/
DBootDisplayModeTest.java99 Display.Mode[] supportedModes = display.getSupportedModes(); in testGetBootDisplayMode() local
106 supportedModes.length >= 3); in testGetBootDisplayMode()
112 for (Display.Mode mode : supportedModes) { in testGetBootDisplayMode()
126 for (Display.Mode mode : supportedModes) { in testGetBootDisplayMode()
141 Display.Mode[] supportedModes = display.getSupportedModes(); in testClearBootDisplayMode() local
153 supportedModes.length >= 3); in testClearBootDisplayMode()
157 for (Display.Mode mode : supportedModes) { in testClearBootDisplayMode()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DSpatializerTest.java187 List<Integer> supportedModes = spat.getSupportedHeadTrackingModes(); in testHeadTrackingListener() local
188 Assert.assertNotNull("Invalid null list of tracking modes", supportedModes); in testHeadTrackingListener()
189 Log.i(TAG, "Reported supported head tracking modes:" + supportedModes); in testHeadTrackingListener()
190 if (!(supportedModes.contains(Spatializer.HEAD_TRACKING_MODE_RELATIVE_DEVICE) in testHeadTrackingListener()
191 || supportedModes.contains(Spatializer.HEAD_TRACKING_MODE_RELATIVE_WORLD) in testHeadTrackingListener()
192 || supportedModes.contains(Spatializer.HEAD_TRACKING_MODE_OTHER))) { in testHeadTrackingListener()
196 0, supportedModes.size()); in testHeadTrackingListener()
208 if (supportedModes.contains(Spatializer.HEAD_TRACKING_MODE_RELATIVE_DEVICE)) { in testHeadTrackingListener()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DHdrCapabilitiesAtomTests.java99 Display.Mode[] supportedModes = display.getSupportedModes(); in has4k30Issue() local
101 long modesThatSupportDv = Arrays.stream(supportedModes) in has4k30Issue()
107 && modesThatSupportDv < supportedModes.length; in has4k30Issue()
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java859 Display.Mode[] supportedModes = mDefaultDisplay.getSupportedModes();
867 int[] groups = new int[supportedModes.length];
872 for (int i = 0; i < supportedModes.length; i++) {
873 Display.Mode supportedMode = supportedModes[i];
879 for (int j = 0; j < supportedModes.length; j++) {
880 boolean matches = displayModeMatches(supportedModes[j],
891 + " modes are " + Arrays.toString(supportedModes);
903 for (int i = 0; i < supportedModes.length; i++) {
904 for (int j = 0; j < supportedModes.length; j++) {
906 float fpsI = supportedModes[i].getRefreshRate();
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DScreenDeviceInfo.java190 Display.Mode[] supportedModes = display.getSupportedModes(); in addPhysicalResolutionAndRefreshRate() local
195 Optional<Display.Mode> maxMode = Arrays.stream(supportedModes).max(modeComparator); in addPhysicalResolutionAndRefreshRate()
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java1113 int[] supportedModes = { in testTextureViewPreviewWithMirroring() local
1120 for (int mode : supportedModes) { in testTextureViewPreviewWithMirroring()