Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionMonitor.java241 protected void updateState(final Action action, final int expectedOldState, in updateState() argument
245 if (expectedOldState != STATE_UNDEFINED && in updateState()
246 mState != expectedOldState) { in updateState()
248 + " expecting " + expectedOldState); in updateState()
266 static void setState(final Action action, final int expectedOldState, in setState() argument
268 int oldMonitorState = expectedOldState; in setState()
274 monitor.updateState(action, expectedOldState, newState); in setState()
295 final int expectedOldState, final Object result, in complete() argument
299 setState(action, expectedOldState, STATE_COMPLETE); in complete()
339 static void setCompleteState(final Action action, final int expectedOldState, in setCompleteState() argument
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteTransitionTests.java829 private void verifyNewSystemCallAudioState(CallAudioState expectedOldState, in verifyNewSystemCallAudioState() argument
842 assertEquals(expectedOldState, oldStateCaptor.getAllValues().get(0)); in verifyNewSystemCallAudioState()
DCallAudioRouteStateMachineTest.java609 private void verifyNewSystemCallAudioState(CallAudioState expectedOldState, in verifyNewSystemCallAudioState() argument
622 assertTrue(oldStateCaptor.getAllValues().get(0).equals(expectedOldState)); in verifyNewSystemCallAudioState()