Searched refs:INVALID_DEVICE_STATE (Results 1 – 3 of 3) sorted by relevance
63 private static final int INVALID_DEVICE_STATE = -1; field in DeviceStateManagerTests182 () -> callback.mCurrentState.getIdentifier() != INVALID_DEVICE_STATE); in testRequestStateFailsAsTopApp_ifStateNotDefinedAsAvailableForAppsToRequest()199 assumeTrue(nextState != INVALID_DEVICE_STATE); in testRequestStateFailsAsTopApp_ifStateNotDefinedAsAvailableForAppsToRequest()233 () -> callback.mCurrentState.getIdentifier() != INVALID_DEVICE_STATE); in testRequestStateSucceedsAsTopApp_ifStateDefinedAsAvailableForAppsToRequest()250 assumeTrue(nextState != INVALID_DEVICE_STATE); in testRequestStateSucceedsAsTopApp_ifStateDefinedAsAvailableForAppsToRequest()287 () -> callback.mCurrentState.getIdentifier() != INVALID_DEVICE_STATE); in testRequestStateFailsAsBackgroundApp()307 assumeTrue(nextState != INVALID_DEVICE_STATE); in testRequestStateFailsAsBackgroundApp()334 () -> callback.mCurrentState.getIdentifier() != INVALID_DEVICE_STATE); in testCancelStateRequestFromNewActivity()353 assumeTrue(nextState != INVALID_DEVICE_STATE); in testCancelStateRequestFromNewActivity()449 return INVALID_DEVICE_STATE; in calculateDifferentState()[all …]
88 private static final int INVALID_DEVICE_STATE = -1; field in ExtensionRearDisplayTest140 assumeTrue(mRearDisplayState != INVALID_DEVICE_STATE); in setUp()180 if (newState != INVALID_DEVICE_STATE) { in testRearDisplayStatusListeners()412 return INVALID_DEVICE_STATE; in determineNewState()
97 private static final int INVALID_DEVICE_STATE = -1; field in ExtensionRearDisplayPresentationTest153 assumeTrue(mRearDisplayPresentationState != INVALID_DEVICE_STATE); in setUp()203 if (newState != INVALID_DEVICE_STATE) { in testRearDisplayPresentationStatusListeners()541 return INVALID_DEVICE_STATE; in determineNewState()