Searched refs:availableStates (Results 1 – 2 of 2) sorted by relevance
76 List<Integer> availableStates = Arrays.stream(getDevice() in testDeviceStateChanges() local81 if (availableStates.size() == 1) { in testDeviceStateChanges()88 for (int i = 0; i < availableStates.size(); i++) { in testDeviceStateChanges()89 int currentStateIndex = availableStates.indexOf(currentState); in testDeviceStateChanges()91 if (nextStateIndex >= availableStates.size()) { in testDeviceStateChanges()94 int nextState = availableStates.get(nextStateIndex); in testDeviceStateChanges()
428 final Set<Integer> availableStates = new HashSet<>(supportedDeviceStates); in possibleStates() local431 availableStates.retainAll(availableStatesToRequest); in possibleStates()433 availableStates.removeAll(availableStatesToRequest); in possibleStates()436 return availableStates; in possibleStates()