| /packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/ | 
| D | GrantRevokeTests.kt | 361         val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags))  in grantOnePermTest()  constant391         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
 539         val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags),  in grantSystemFixedTest()  constant
 566         var expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags),  in grantBgSystemFixedTest()  variable
 604         val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags))  in grantOneTimeTest()  constant
 628         val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags))  in grantPreMAppTest()  constant
 651         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 | 673         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE,  in testInitializationWithEarpieceNoHeadsetNoBluetooth()  local681         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET,  in testInitializationWithEarpieceAndHeadsetNoBluetooth()  local
 689         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH,  in testInitializationWithEarpieceAndHeadsetAndBluetooth()  local
 698         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH,  in testInitializationWithEarpieceAndBluetoothNoHeadset()  local
 707         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER,  in testInitializationWithNoEarpieceNoHeadsetNoBluetooth()  local
 715         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET,  in testInitializationWithHeadsetNoBluetoothNoEarpiece()  local
 723         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH,  in testInitializationWithHeadsetAndBluetoothNoEarpiece()  local
 732         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH,  in testInitializationWithBluetoothNoHeadsetNoEarpiece()  local
 740         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE,  in testInitializationWithAvailableButInactiveBtDevice()  local
 827         CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER,  in testIgnoreSpeakerOffMessage()  local
 [all …]
 
 | 
| D | CallAudioRouteTransitionTests.java | 352         CallAudioState expectedState = new CallAudioState(false, mParams.expectedRoute,  in testActiveTransition()  local405         CallAudioState expectedState = new CallAudioState(false, expectedRoute,  in testQuiescentTransition()  local
 
 | 
| /packages/services/Car/tests/carservice_test/src/com/android/car/power/ | 
| D | CarPowerManagementTest.java | 650     private void assertResponse(int expectedState, int expectedParam, boolean checkParam)  in assertResponse()662     private void assertResponseTransient(int expectedState, int expectedParam, boolean checkParam)  in assertResponseTransient()
 745         boolean waitForDisplayState(int displayId, boolean expectedState) throws Exception {  in waitForDisplayState()
 758         void waitForAllDisplayState(boolean expectedState) throws Exception {  in waitForAllDisplayState()
 867         private LinkedList<int[]> waitForStateSetAndGetAll(long timeoutMs, int expectedState)  in waitForStateSetAndGetAll()
 895         private void sendStateAndCheckResponse(int state, int param, int expectedState)  in sendStateAndCheckResponse()
 
 | 
| /packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ | 
| D | EapTtlsHandshakeStateTest.java | 292             Class<? extends EapMethodState> expectedState)  in testHandshake()319             Class<? extends EapMethodState> expectedState)  in testHandshake()
 
 | 
| D | EapTtlsTunnelStateTest.java | 336             Class<? extends EapMethodState> expectedState)  in processMessageAndVerifyEapResponse()
 | 
| /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ | 
| D | ActionTestHelpers.java | 106         protected void updateState(final Action action, final int expectedState,  in updateState()
 | 
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ | 
| D | CarPowerManagementServiceUnitTest.java | 1301     private void assertStateReceived(int expectedState, int expectedParam) throws Exception {  in assertStateReceived()1449         private void waitForAllDisplaysState(boolean expectedState, long timeoutMs)  in waitForAllDisplaysState()
 1465         private void waitForDisplayState(int displayId, boolean expectedState, long timeoutMs)  in waitForDisplayState()
 
 | 
| /packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ | 
| D | LauncherInstrumentation.java | 1402     void runToState(Runnable command, int expectedState, boolean requireEvent, String actionName) {  in runToState()1410     void runToState(Runnable command, int expectedState, String actionName) {  in runToState()
 1422             AccessibilityEvent event, int expectedState, List<Integer> actualEvents) {  in isSwitchToStateEvent()
 1431     void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState,  in swipeToState()
 1435                 expectedState,  in swipeToState()  local
 
 | 
| /packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ | 
| D | NetworkStatsManagerTest.java | 748             int expectedState, long maxUnexpected) {  in assertAlmostNoUnexpectedTraffic()927             Integer expectedState) {  in getTotalAndAssertNotEmpty()
 
 | 
| /packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ | 
| D | TimerFragmentTest.java | 675     private void assertStateEquals(Timer.State expectedState, int index) {  in assertStateEquals()
 | 
| /packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ | 
| D | ChildSessionStateMachineTest.java | 1196             Class<?> expectedState,  in verifyRekeyChildLocalCreateHandlesResponse()1206             Class<?> expectedState,  in verifyRekeyChildLocalCreateHandlesResponse()
 
 | 
| D | IkeSessionStateMachineTest.java | 6673             IkeNetworkCallbackBase callback, IkeSaRecord rekeySaRecord, State expectedState)  in verifySetNetwork()6681             State expectedState,  in verifySetNetwork()
 
 | 
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ | 
| D | CarPowerManagerUnitTest.java | 460     private void assertStateReceived(int expectedState, int expectedParam) throws Exception {  in assertStateReceived()
 | 
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/ | 
| D | HeadsetClientStateMachineTest.java | 798     private int verifyVoiceRecognitionBroadcast(int expectedBroadcastIndex, int expectedState) {  in verifyVoiceRecognitionBroadcast()
 | 
| /packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ | 
| D | AbstractRestrictBackgroundNetworkTestCase.java | 463         final State expectedState;  in checkForAvailabilityInResultData()  local
 | 
| /packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ | 
| D | TetheringTest.java | 987         final int expectedState = isLocalOnly ? IFACE_IP_MODE_LOCAL_ONLY : IFACE_IP_MODE_TETHERED;  in verifyStartHotspot()  local
 | 
| /packages/providers/MediaProvider/src/com/android/providers/media/ | 
| D | MediaProvider.java | 1404         final int expectedState = isEnabled  in setComponentEnabledSetting()  local
 |