Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt361 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOnePermTest() constant
391 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantTwoPermTest() constant
417 val expectedState = mutableMapOf(FG_PERM_NAME_NO_APP_OP to (true to newFlags)) in grantNoAppOpPerm() constant
443 val expectedState = mutableMapOf(FG_PERM_NAME to (true to NO_FLAGS), in grantBgPermTest() constant
471 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantBgAndFgPermTest() constant
513 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantSystemFixedTest() constant
540 var expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantBgSystemFixedTest() variable
578 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOneTimeTest() constant
602 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantPreMAppTest() constant
625 val expectedState = mutableMapOf(FG_PERM_NAME to (true to flags)) in grantAlreadyGrantedPreMTest() constant
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java582 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithEarpieceNoHeadsetNoBluetooth() local
590 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithEarpieceAndHeadsetNoBluetooth() local
598 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndHeadsetAndBluetooth() local
607 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndBluetoothNoHeadset() local
616 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testInitializationWithNoEarpieceNoHeadsetNoBluetooth() local
624 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithHeadsetNoBluetoothNoEarpiece() local
632 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithHeadsetAndBluetoothNoEarpiece() local
641 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithBluetoothNoHeadsetNoEarpiece() local
649 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithAvailableButInactiveBtDevice() local
668 private void initializationTestHelper(CallAudioState expectedState, in initializationTestHelper()
DCallAudioRouteTransitionTests.java340 CallAudioState expectedState = new CallAudioState(false, mParams.expectedRoute, in testActiveTransition() local
392 CallAudioState expectedState = new CallAudioState(false, expectedRoute, in testQuiescentTransition() local
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java292 private void assertResponse(int expectedState, int expectedParam, boolean checkParam) in assertResponse()
304 private void assertResponseTransient(int expectedState, int expectedParam, boolean checkParam) in assertResponseTransient()
340 boolean waitForDisplayState(boolean expectedState) throws Exception { in waitForDisplayState()
419 private LinkedList<int[]> waitForStateSetAndGetAll(long timeoutMs, int expectedState) in waitForStateSetAndGetAll()
443 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/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionTestHelpers.java106 protected void updateState(final Action action, final int expectedState, in updateState()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java1036 void runToState(Runnable command, int expectedState, boolean requireEvent, String actionName) { in runToState()
1044 void runToState(Runnable command, int expectedState, String actionName) { in runToState()
1056 AccessibilityEvent event, int expectedState, List<Integer> actualEvents) { in isSwitchToStateEvent()
1065 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState, in swipeToState()
1069 expectedState, in swipeToState() local
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java617 private int verifyVoiceRecognitionBroadcast(int expectedBroadcastIndex, int expectedState) { in verifyVoiceRecognitionBroadcast()
/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.java417 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java634 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java438 final State expectedState; in checkForAvailabilityInResultData() local
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java1145 Class<?> expectedState, in verifyRekeyChildLocalCreateHandlesResponse()
DIkeSessionStateMachineTest.java6049 IkeNetworkCallbackBase callback, IkeSaRecord rekeySaRecord, State expectedState) in verifySetNetwork()
6057 State expectedState, in verifySetNetwork()