Home
last modified time | relevance | path

Searched refs:expectedOldState (Results 1 – 2 of 2) 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/
DCallAudioRouteStateMachineTest.java770 private void verifyNewSystemCallAudioState(CallAudioState expectedOldState, in verifyNewSystemCallAudioState() argument
783 assertTrue(oldStateCaptor.getValue().equals(expectedOldState)); in verifyNewSystemCallAudioState()