/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/ |
D | GrantRevokeTests.kt | 357 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/ |
D | CallAudioRouteStateMachineTest.java | 501 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()
|
D | CallAudioRouteTransitionTests.java | 340 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/ |
D | CarPowerManagementTest.java | 291 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/ |
D | Background.java | 167 protected void quickSwitchToPreviousApp(int expectedState) { in quickSwitchToPreviousApp()
|
D | LauncherInstrumentation.java | 969 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/ |
D | ActionTestHelpers.java | 108 protected void updateState(final Action action, final int expectedState, in updateState()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | CarPowerManagerUnitTest.java | 216 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 613 private int verifyVoiceRecognitionBroadcast(int expectedBroadcastIndex, int expectedState) { in verifyVoiceRecognitionBroadcast()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPowerManagementServiceTest.java | 551 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
|