Searched refs:stateAndReason (Results 1 – 2 of 2) sorted by relevance
66 Pair<Integer, Integer> stateAndReason = in updateProximityStateEvaluatesStateOffPolicyAsExpected() local69 assertTrue(Display.STATE_OFF == stateAndReason.first); in updateProximityStateEvaluatesStateOffPolicyAsExpected()70 assertTrue(Display.STATE_REASON_DEFAULT_POLICY == stateAndReason.second); in updateProximityStateEvaluatesStateOffPolicyAsExpected()108 Pair<Integer, Integer> stateAndReason = in updateProximityStateWorksAsExpectedWhenDisplayDisabled() local111 assertTrue(Display.STATE_OFF == stateAndReason.first); in updateProximityStateWorksAsExpectedWhenDisplayDisabled()112 assertTrue(Display.STATE_REASON_DEFAULT_POLICY == stateAndReason.second); in updateProximityStateWorksAsExpectedWhenDisplayDisabled()126 Pair<Integer, Integer> stateAndReason = in updateProximityStateWorksAsExpectedWhenTransitionPhase() local129 assertTrue(Display.STATE_OFF == stateAndReason.first); in updateProximityStateWorksAsExpectedWhenTransitionPhase()130 assertTrue(Display.STATE_REASON_DEFAULT_POLICY == stateAndReason.second); in updateProximityStateWorksAsExpectedWhenTransitionPhase()144 Pair<Integer, Integer> stateAndReason = in updateProximityStateWorksAsExpectedWhenScreenOffBecauseOfProximity() local[all …]
1315 final Pair<Integer, Integer> stateAndReason = in updatePowerStateInternal() local1318 int state = stateAndReason.first; in updatePowerStateInternal()1353 state, /* reason= */ stateAndReason.second, in updatePowerStateInternal()