Home
last modified time | relevance | path

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

/cts/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateManagerTests.java196 int nextState = calculateDifferentState(callback.mCurrentState.getIdentifier(), in testRequestStateFailsAsTopApp_ifStateNotDefinedAsAvailableForAppsToRequest()
247 int nextState = calculateDifferentState(callback.mCurrentState.getIdentifier(), in testRequestStateSucceedsAsTopApp_ifStateDefinedAsAvailableForAppsToRequest()
304 int nextState = calculateDifferentState(callback.mCurrentState.getIdentifier(), in testRequestStateFailsAsBackgroundApp()
350 int nextState = calculateDifferentState(callback.mCurrentState.getIdentifier(), in testCancelStateRequestFromNewActivity()
447 private static int calculateDifferentState(int currentState, Set<Integer> possibleStates) { in calculateDifferentState() method in DeviceStateManagerTests