Home
last modified time | relevance | path

Searched defs:expectedState (Results 1 – 20 of 20) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteControllerTest.java225 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testNormalCallRouteToEarpiece() local
258 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testVideoCallRouteToSpeaker() local
282 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testActiveDeactivateBluetoothDevice() local
308 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testSwitchFocusForBluetoothDeviceSupportInbandRinging() local
335 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testConnectAndDisconnectWiredHeadset() local
354 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testConnectAndDisconnectDock() local
374 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testSpeakerToggle() local
395 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testSpeakerToggleWhenDockConnected() local
421 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testSwitchEarpiece() local
448 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testSwitchBluetooth() local
[all …]
DCallAudioRouteStateMachineTest.java998 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithEarpieceNoHeadsetNoBluetooth() local
1006 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithEarpieceAndHeadsetNoBluetooth() local
1014 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndHeadsetAndBluetooth() local
1023 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndBluetoothNoHeadset() local
1032 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testInitializationWithNoEarpieceNoHeadsetNoBluetooth() local
1040 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithHeadsetNoBluetoothNoEarpiece() local
1048 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithHeadsetAndBluetoothNoEarpiece() local
1057 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithBluetoothNoHeadsetNoEarpiece() local
1065 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithAvailableButInactiveBtDevice() local
1158 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testIgnoreSpeakerOffMessage() local
[all …]
DCallAudioRouteTransitionTests.java359 CallAudioState expectedState = new CallAudioState(false, mParams.expectedRoute, in testActiveTransition() local
414 CallAudioState expectedState = new CallAudioState(false, expectedRoute, in testQuiescentTransition() local
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/
DGrantRevokeTests.kt422 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOnePermTest() constant
463 val expectedState = in grantTwoPermTest() constant
493 val expectedState = mutableMapOf(FG_PERM_NAME_NO_APP_OP to (true to newFlags)) in grantNoAppOpPerm() constant
523 val expectedState = in grantBgPermTest() constant
555 val expectedState = in grantBgAndFgPermTest() constant
643 val expectedState = in grantSystemFixedTest() constant
674 var expectedState = in grantBgSystemFixedTest() variable
720 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOneTimeTest() constant
748 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantPreMAppTest() constant
775 val expectedState = mutableMapOf(FG_PERM_NAME to (true to flags)) in grantAlreadyGrantedPreMTest() constant
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java675 private void assertResponse(int expectedState, int expectedParam, boolean checkParam) in assertResponse()
687 private void assertResponseTransient(int expectedState, int expectedParam, boolean checkParam) in assertResponseTransient()
778 boolean waitForDisplayState(int displayId, boolean expectedState) throws Exception { in waitForDisplayState()
791 void waitForAllDisplayState(boolean expectedState) throws Exception { in waitForAllDisplayState()
900 private LinkedList<int[]> waitForStateSetAndGetAll(long timeoutMs, int expectedState) in waitForStateSetAndGetAll()
928 private void sendStateAndCheckResponse(int state, int param, int expectedState) in sendStateAndCheckResponse()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapTtlsHandshakeStateTest.java292 Class<? extends EapMethodState> expectedState) in testHandshake()
319 Class<? extends EapMethodState> expectedState) in testHandshake()
DEapTtlsTunnelStateTest.java336 Class<? extends EapMethodState> expectedState) in processMessageAndVerifyEapResponse()
/packages/apps/Nfc/testutils/src/com/android/nfc/utils/
DNfcSnippet.java91 int expectedState = enable ? NfcAdapter.STATE_ON : NfcAdapter.STATE_OFF; in setNfcState() local
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DRestrictedStoragePermissionSharedUidTest.java240 StorageState expectedState; in checkExceptedStorageStateForAppsSharingUid() local
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionTestHelpers.java106 protected void updateState(final Action action, final int expectedState, in updateState()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java753 int expectedState, long maxUnexpected) { in assertAlmostNoUnexpectedTraffic()
932 Integer expectedState) { in getTotalAndAssertNotEmpty()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java1230 Class<?> expectedState, in verifyRekeyChildLocalCreateHandlesResponse()
1240 Class<?> expectedState, in verifyRekeyChildLocalCreateHandlesResponse()
1361 Class<T> exceptionClass, IState expectedState, int expectedErrorCode) { in verifyIkeSessionFatalErrorAndSendOutboundIkeDeletePayload()
DIkeSessionStateMachineTest.java1610 private void verifyFireCallbackOnDnsFailure(IkeSessionCallback callback, IState expectedState) { in verifyFireCallbackOnDnsFailure()
5303 private void verifyIkeDeleteRequestHandled(IState expectedState) throws Exception { in verifyIkeDeleteRequestHandled()
6787 IkeNetworkCallbackBase callback, IkeSaRecord rekeySaRecord, State expectedState) in verifySetNetwork()
6795 State expectedState, in verifySetNetwork()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java1633 void runToState(Runnable command, int expectedState, boolean requireEvent, String actionName) { in runToState()
1645 public void runToState(Runnable command, int expectedState, String actionName) { in runToState()
1657 AccessibilityEvent event, int expectedState, List<Integer> actualEvents) { in isSwitchToStateEvent()
1666 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState, in swipeToState()
1670 expectedState, in swipeToState() local
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerFragmentTest.java675 private void assertStateEquals(Timer.State expectedState, int index) { in assertStateEquals()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java484 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java2769 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
3189 private void waitForAllDisplaysState(boolean expectedState, long timeoutMs) in waitForAllDisplaysState()
3205 private void waitForDisplayState(int displayId, boolean expectedState, long timeoutMs) in waitForDisplayState()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java554 final State expectedState; in checkForAvailabilityInNetworkCheckResult() local
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java1001 final int expectedState = isLocalOnly ? IFACE_IP_MODE_LOCAL_ONLY : IFACE_IP_MODE_TETHERED; in verifyStartHotspot() local
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1530 final int expectedState = isEnabled in setComponentEnabledSetting() local