Home
last modified time | relevance | path

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

/cts/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateManagerTests.java59 final int[] supportedStates = getDeviceStateManager().getSupportedStates(); in testValidSupportedStates() local
60 assertTrue(supportedStates.length > 0); in testValidSupportedStates()
62 for (int i = 0; i < supportedStates.length; i++) { in testValidSupportedStates()
63 final int state = supportedStates[i]; in testValidSupportedStates()
81 final int[] supportedStates = manager.getSupportedStates(); in testRequestAllSupportedStates() local
82 for (int i = 0; i < supportedStates.length; i++) { in testRequestAllSupportedStates()
84 = DeviceStateRequest.newBuilder(supportedStates[i]).build(); in testRequestAllSupportedStates()
127 final int[] supportedStates = manager.getSupportedStates(); in testRequestStateSucceedsAsTopApp() local
130 if (supportedStates.length < 2) { in testRequestStateSucceedsAsTopApp()
146 int newState = determineNewState(callback.mCurrentState, supportedStates); in testRequestStateSucceedsAsTopApp()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java2503 List<Long> supportedStates = new ArrayList<>(Arrays.asList( in testDeviceStateSensorOrientationMapCharacteristics() local
2505 for (long deviceState : supportedStates) { in testDeviceStateSensorOrientationMapCharacteristics()