Searched refs:possibleStates (Results 1 – 1 of 1) sorted by relevance
193 Set<Integer> possibleStates = possibleStates(false /* shouldSucceed */, in testRequestStateFailsAsTopApp_ifStateNotDefinedAsAvailableForAppsToRequest() local197 possibleStates); in testRequestStateFailsAsTopApp_ifStateNotDefinedAsAvailableForAppsToRequest()244 final Set<Integer> possibleStates = possibleStates(true /* shouldSucceed */, in testRequestStateSucceedsAsTopApp_ifStateDefinedAsAvailableForAppsToRequest() local248 possibleStates); in testRequestStateSucceedsAsTopApp_ifStateDefinedAsAvailableForAppsToRequest()301 final Set<Integer> possibleStates = possibleStates(true /* shouldSucceed */, in testRequestStateFailsAsBackgroundApp() local305 possibleStates); in testRequestStateFailsAsBackgroundApp()347 final Set<Integer> possibleStates = possibleStates(true /* shouldSucceed */, in testCancelStateRequestFromNewActivity() local351 possibleStates); in testCancelStateRequestFromNewActivity()420 private static Set<Integer> possibleStates(boolean shouldSucceed, in possibleStates() method in DeviceStateManagerTests447 private static int calculateDifferentState(int currentState, Set<Integer> possibleStates) { in calculateDifferentState() argument[all …]