Home
last modified time | relevance | path

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

/cts/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateManagerTests.java193 Set<Integer> possibleStates = possibleStates(false /* shouldSucceed */, in testRequestStateFailsAsTopApp_ifStateNotDefinedAsAvailableForAppsToRequest() local
197 possibleStates); in testRequestStateFailsAsTopApp_ifStateNotDefinedAsAvailableForAppsToRequest()
244 final Set<Integer> possibleStates = possibleStates(true /* shouldSucceed */, in testRequestStateSucceedsAsTopApp_ifStateDefinedAsAvailableForAppsToRequest() local
248 possibleStates); in testRequestStateSucceedsAsTopApp_ifStateDefinedAsAvailableForAppsToRequest()
301 final Set<Integer> possibleStates = possibleStates(true /* shouldSucceed */, in testRequestStateFailsAsBackgroundApp() local
305 possibleStates); in testRequestStateFailsAsBackgroundApp()
347 final Set<Integer> possibleStates = possibleStates(true /* shouldSucceed */, in testCancelStateRequestFromNewActivity() local
351 possibleStates); in testCancelStateRequestFromNewActivity()
420 private static Set<Integer> possibleStates(boolean shouldSucceed, in possibleStates() method in DeviceStateManagerTests
447 private static int calculateDifferentState(int currentState, Set<Integer> possibleStates) { in calculateDifferentState() argument
[all …]