Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java477 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithEarpieceNoHeadsetNoBluetooth() local
479 initializationTestHelper(expectedState, CallAudioRouteStateMachine.EARPIECE_FORCE_ENABLED); in testInitializationWithEarpieceNoHeadsetNoBluetooth()
485 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithEarpieceAndHeadsetNoBluetooth() local
487 initializationTestHelper(expectedState, CallAudioRouteStateMachine.EARPIECE_FORCE_ENABLED); in testInitializationWithEarpieceAndHeadsetNoBluetooth()
493 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndHeadsetAndBluetooth() local
496 initializationTestHelper(expectedState, CallAudioRouteStateMachine.EARPIECE_FORCE_ENABLED); in testInitializationWithEarpieceAndHeadsetAndBluetooth()
502 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndBluetoothNoHeadset() local
505 initializationTestHelper(expectedState, CallAudioRouteStateMachine.EARPIECE_FORCE_ENABLED); in testInitializationWithEarpieceAndBluetoothNoHeadset()
511 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testInitializationWithNoEarpieceNoHeadsetNoBluetooth() local
513 initializationTestHelper(expectedState, CallAudioRouteStateMachine.EARPIECE_FORCE_DISABLED); in testInitializationWithNoEarpieceNoHeadsetNoBluetooth()
[all …]
DCallAudioRouteTransitionTests.java316 CallAudioState expectedState = new CallAudioState(false, mParams.expectedRoute, in testActiveTransition() local
319 verifyNewSystemCallAudioState(initState, expectedState); in testActiveTransition()
363 CallAudioState expectedState = new CallAudioState(false, mParams.expectedRoute, in testQuiescentTransition() local
366 assertEquals(expectedState, stateMachine.getCurrentCallAudioState()); in testQuiescentTransition()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPowerManagementTest.java258 private void assertResponse(int expectedState, int expectedParam, boolean checkParam) in assertResponse() argument
261 DEFAULT_WAIT_TIMEOUT_MS, expectedState); in assertResponse()
263 assertEquals(expectedState, last[0]); in assertResponse()
292 boolean waitForDisplayState(boolean expectedState) in waitForDisplayState() argument
294 if (expectedState == mDisplayOn) { in waitForDisplayState()
299 return expectedState == mDisplayOn; in waitForDisplayState()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java61 protected void goToOverviewUnchecked(int expectedState) { in goToOverviewUnchecked() argument
107 mLauncher.swipeToState(startX, startY, endX, endY, 10, expectedState); in goToOverviewUnchecked()
DLauncherInstrumentation.java657 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState) { in swipeToState() argument
664 TestProtocol.stateOrdinalToString(expectedState), in swipeToState()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionTestHelpers.java108 protected void updateState(final Action action, final int expectedState, in updateState() argument
111 super.updateState(action, expectedState, state); in updateState()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java239 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived() argument
241 assertEquals(expectedState, state[0]); in assertStateReceived()