Searched refs:supportedStates (Results 1 – 2 of 2) sorted by relevance
59 final int[] supportedStates = getDeviceStateManager().getSupportedStates(); in testValidSupportedStates() local60 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() local82 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() local130 if (supportedStates.length < 2) { in testRequestStateSucceedsAsTopApp()146 int newState = determineNewState(callback.mCurrentState, supportedStates); in testRequestStateSucceedsAsTopApp()[all …]
2503 List<Long> supportedStates = new ArrayList<>(Arrays.asList( in testDeviceStateSensorOrientationMapCharacteristics() local2505 for (long deviceState : supportedStates) { in testDeviceStateSensorOrientationMapCharacteristics()