Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/
DGrantRevokeTests.kt362 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOnePermTest() constant
392 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantTwoPermTest() constant
418 val expectedState = mutableMapOf(FG_PERM_NAME_NO_APP_OP to (true to newFlags)) in grantNoAppOpPerm() constant
444 val expectedState = mutableMapOf(FG_PERM_NAME to (true to NO_FLAGS), in grantBgPermTest() constant
472 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantBgAndFgPermTest() constant
540 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantSystemFixedTest() constant
567 var expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantBgSystemFixedTest() variable
605 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOneTimeTest() constant
629 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantPreMAppTest() constant
652 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.java617 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithEarpieceNoHeadsetNoBluetooth() local
625 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithEarpieceAndHeadsetNoBluetooth() local
633 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndHeadsetAndBluetooth() local
642 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndBluetoothNoHeadset() local
651 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testInitializationWithNoEarpieceNoHeadsetNoBluetooth() local
659 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithHeadsetNoBluetoothNoEarpiece() local
667 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithHeadsetAndBluetoothNoEarpiece() local
676 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithBluetoothNoHeadsetNoEarpiece() local
684 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithAvailableButInactiveBtDevice() local
703 private void initializationTestHelper(CallAudioState expectedState, in initializationTestHelper()
DCallAudioRouteTransitionTests.java349 CallAudioState expectedState = new CallAudioState(false, mParams.expectedRoute, in testActiveTransition() local
401 CallAudioState expectedState = new CallAudioState(false, expectedRoute, in testQuiescentTransition() local
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java648 private void assertResponse(int expectedState, int expectedParam, boolean checkParam) in assertResponse()
660 private void assertResponseTransient(int expectedState, int expectedParam, boolean checkParam) in assertResponseTransient()
723 boolean waitForDisplayState(boolean expectedState) throws Exception { in waitForDisplayState()
817 private LinkedList<int[]> waitForStateSetAndGetAll(long timeoutMs, int expectedState) in waitForStateSetAndGetAll()
845 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.java1408 void runToState(Runnable command, int expectedState, boolean requireEvent, String actionName) { in runToState()
1416 void runToState(Runnable command, int expectedState, String actionName) { in runToState()
1428 AccessibilityEvent event, int expectedState, List<Integer> actualEvents) { in isSwitchToStateEvent()
1437 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState, in swipeToState()
1441 expectedState, in swipeToState() local
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java747 int expectedState, long maxUnexpected) { in assertAlmostNoUnexpectedTraffic()
927 Integer expectedState) { in getTotalAndAssertNotEmpty()
/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.java454 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java733 private int verifyVoiceRecognitionBroadcast(int expectedBroadcastIndex, int expectedState) { in verifyVoiceRecognitionBroadcast()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java986 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.java456 final State expectedState; in checkForAvailabilityInResultData() local
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java1173 Class<?> expectedState, in verifyRekeyChildLocalCreateHandlesResponse()
DIkeSessionStateMachineTest.java6602 IkeNetworkCallbackBase callback, IkeSaRecord rekeySaRecord, State expectedState) in verifySetNetwork()
6610 State expectedState, in verifySetNetwork()