Home
last modified time | relevance | path

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

/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt357 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOnePermTest() constant
387 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantTwoPermTest() constant
413 val expectedState = mutableMapOf(FG_PERM_NAME_NO_APP_OP to (true to newFlags)) in grantNoAppOpPerm() constant
439 val expectedState = mutableMapOf(FG_PERM_NAME to (true to NO_FLAGS), in grantBgPermTest() constant
467 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantBgAndFgPermTest() constant
509 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantSystemFixedTest() constant
536 var expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantBgSystemFixedTest() variable
574 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOneTimeTest() constant
598 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantPreMAppTest() constant
621 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.java501 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithEarpieceNoHeadsetNoBluetooth() local
509 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithEarpieceAndHeadsetNoBluetooth() local
517 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndHeadsetAndBluetooth() local
526 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndBluetoothNoHeadset() local
535 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testInitializationWithNoEarpieceNoHeadsetNoBluetooth() local
543 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithHeadsetNoBluetoothNoEarpiece() local
551 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithHeadsetAndBluetoothNoEarpiece() local
560 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithBluetoothNoHeadsetNoEarpiece() local
568 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithAvailableButInactiveBtDevice() local
587 private void initializationTestHelper(CallAudioState expectedState, in initializationTestHelper()
DCallAudioRouteTransitionTests.java340 CallAudioState expectedState = new CallAudioState(false, mParams.expectedRoute, in testActiveTransition() local
388 CallAudioState expectedState = new CallAudioState(false, mParams.expectedRoute, in testQuiescentTransition() local
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPowerManagementTest.java291 private void assertResponse(int expectedState, int expectedParam, boolean checkParam) in assertResponse()
303 private void assertResponseTransient(int expectedState, int expectedParam, boolean checkParam) in assertResponseTransient()
339 boolean waitForDisplayState(boolean expectedState) in waitForDisplayState()
414 private LinkedList<int[]> waitForStateSetAndGetAll(long timeoutMs, int expectedState) in waitForStateSetAndGetAll()
438 private void sendStateAndCheckResponse(int state, int param, int expectedState) in sendStateAndCheckResponse()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java167 protected void quickSwitchToPreviousApp(int expectedState) { in quickSwitchToPreviousApp()
DLauncherInstrumentation.java969 void runToState(Runnable command, int expectedState, boolean requireEvent) { in runToState()
977 void runToState(Runnable command, int expectedState) { in runToState()
988 AccessibilityEvent event, int expectedState, List<Integer> actualEvents) { in isSwitchToStateEvent()
997 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState, in swipeToState()
1001 expectedState); in swipeToState() local
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionTestHelpers.java108 protected void updateState(final Action action, final int expectedState, in updateState()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java216 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java613 private int verifyVoiceRecognitionBroadcast(int expectedBroadcastIndex, int expectedState) { in verifyVoiceRecognitionBroadcast()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java551 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()