Home
last modified time | relevance | path

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

12345678910>>...17

/aosp_15_r20/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteControllerTest.java250 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testNormalCallRouteToEarpiece() local
263 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testActiveFocusAudioRouting() local
326 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testVideoCallRouteToSpeaker() local
350 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testActiveDeactivateBluetoothDevice() local
376 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testSwitchFocusForBluetoothDeviceSupportInbandRinging() local
408 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testConnectAndDisconnectWiredHeadset() local
427 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testConnectAndDisconnectDock() local
447 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testSpeakerToggle() local
468 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testSpeakerToggleWhenDockConnected() local
494 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testSwitchEarpiece() local
[all …]
DCallAudioRouteStateMachineTest.java998 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithEarpieceNoHeadsetNoBluetooth() local
1006 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithEarpieceAndHeadsetNoBluetooth() local
1014 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndHeadsetAndBluetooth() local
1023 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndBluetoothNoHeadset() local
1032 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testInitializationWithNoEarpieceNoHeadsetNoBluetooth() local
1040 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithHeadsetNoBluetoothNoEarpiece() local
1048 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithHeadsetAndBluetoothNoEarpiece() local
1057 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithBluetoothNoHeadsetNoEarpiece() local
1065 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithAvailableButInactiveBtDevice() local
1158 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testIgnoreSpeakerOffMessage() local
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/night/ui/
H A DNightDisplayTileMapperTest.kt73 val expectedState = in disabledModel_whenAutoModeOff() constant
88 val expectedState = in disabledModel_whenAutoModeOff_whenForceEnable() constant
102 val expectedState = in enabledModel_whenAutoModeOff() constant
116 val expectedState = in enabledModel_forceAutoMode_whenAutoModeOff() constant
130 val expectedState = createNightDisplayTileState(QSTileState.ActivationState.ACTIVE, null) in enabledModel_autoModeTwilight_locationOff() constant
140 val expectedState = in enabledModel_autoModeTwilight_locationOn() constant
154 val expectedState = in disabledModel_autoModeTwilight_locationOn() constant
168 val expectedState = createNightDisplayTileState(QSTileState.ActivationState.INACTIVE, null) in disabledModel_autoModeTwilight_locationOff() constant
179 val expectedState = in disabledModel_autoModeCustom_24Hour() constant
197 val expectedState = in disabledModel_autoModeCustom_12Hour() constant
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
H A DUiModeNightTileMapperTest.kt97 val expectedState = in mapsEnabledDataToUnavailableStateWhenOnPowerSave() constant
117 val expectedState = in mapsDisabledDataToUnavailableStateWhenOnPowerSave() constant
134 val expectedState = in mapsDisabledDataToInactiveState() constant
152 val expectedState = in mapsEnabledDataToActiveState() constant
171 val expectedState = in mapsEnabledDataToOnIconState() constant
190 val expectedState = in mapsDisabledDataToOffIconState() constant
209 val expectedState = in supportsClickAndLongClickActionsWhenNotInPowerSaveInNightMode() constant
233 val expectedState = in supportsOnlyLongClickActionWhenUnavailableInPowerSaveInNightMode() constant
253 val expectedState = in supportsClickAndLongClickActionsWhenNotInPowerSaveNotInNightMode() constant
275 val expectedState = in supportsOnlyClickActionWhenUnavailableInPowerSaveNotInNightMode() constant
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/ui/
H A DBatterySaverTileMapperTest.kt62 val expectedState = in map_standard_notPluggedInNotPowerSaving() constant
78 val expectedState = in map_standard_notPluggedInPowerSaving() constant
94 val expectedState = in map_standard_pluggedInPowerSaving() constant
110 val expectedState = in map_standard_pluggedInNotPowerSaving() constant
126 val expectedState = in map_extremeSaverDisabledNotPluggedInNotPowerSaving() constant
142 val expectedState = in map_extremeSaverDisabledNotPluggedInPowerSaving() constant
158 val expectedState = in map_extremeSaverDisabledPluggedInPowerSaving() constant
174 val expectedState = in map_extremeSaverDisabledPluggedInNotPowerSaving() constant
190 val expectedState = in map_extremeSaverEnabledNotPluggedInNotPowerSaving() constant
206 val expectedState = in map_extremeSaverEnabledNotPluggedInPowerSaving() constant
[all …]
/aosp_15_r20/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/
DGrantRevokeTests.kt424 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOnePermTest() constant
465 val expectedState = in grantTwoPermTest() constant
495 val expectedState = mutableMapOf(FG_PERM_NAME_NO_APP_OP to (true to newFlags)) in grantNoAppOpPerm() constant
525 val expectedState = in grantBgPermTest() constant
557 val expectedState = in grantBgAndFgPermTest() constant
645 val expectedState = in grantSystemFixedTest() constant
676 var expectedState = in grantBgSystemFixedTest() variable
722 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOneTimeTest() constant
750 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantPreMAppTest() constant
777 val expectedState = mutableMapOf(FG_PERM_NAME to (true to flags)) in grantAlreadyGrantedPreMTest() constant
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/
H A DAlarmTileMapperTest.kt69 val expectedState = in notAlarmSet() constant
91 val expectedState = in nextAlarmSet24HourFormat() constant
110 val expectedState = in nextAlarmSet12HourFormat() constant
130 val expectedState = in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly() constant
150 val expectedState = in nextAlarmSetOneMinuteLessThanAWeekLater_mapsSecondaryLabelToDisplayTime() constant
170 val expectedState = in nextAlarmSetExactlyAWeekLater_mapsSecondaryLabelToDisplayDateOnly() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/sensorprivacy/ui/
H A DSensorPrivacyToggleTileMapperTest.kt53 val expectedState = in mapCamera_notBlocked() constant
71 val expectedState = in mapCamera_blocked() constant
89 val expectedState = in mapMic_notBlocked() constant
107 val expectedState = in mapMic_blocked() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/
H A DInternetTileMapperTest.kt80 val expectedState = in withActiveCellularModel_mappedStateMatchesDataModel() constant
119 val expectedState = in withActiveSatelliteModel_mappedStateMatchesDataModel() constant
143 val expectedState = in withActiveWifiModel_mappedStateMatchesDataModel() constant
167 val expectedState = in withInactiveModel_mappedStateMatchesDataModel() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/hearingdevices/domain/
H A DHearingDevicesTileMapperTest.kt57 val expectedState = in map_anyActiveHearingDevice_anyPairedHearingDevice_activeState() constant
75 val expectedState = in map_noActiveHearingDevice_anyPairedHearingDevice_inactiveState() constant
93 val expectedState = in map_noActiveHearingDevice_noPairedHearingDevice_inactiveState() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/screenrecord/ui/
H A DScreenRecordTileMapperTest.kt65 val expectedState = in activeStateMatchesRecordingDataModel() constant
81 val expectedState = in activeStateMatchesStartingDataModel() constant
96 val expectedState = in inactiveStateMatchesDisabledDataModel() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/work/ui/
H A DWorkModeTileMapperTest.kt85 val expectedState = createWorkModeTileState(QSTileState.ActivationState.INACTIVE) in mapsDisabledDataToInactiveState() constant
96 val expectedState = createWorkModeTileState(QSTileState.ActivationState.ACTIVE) in mapsEnabledDataToActiveState() constant
104 val expectedState = createWorkModeTileState(QSTileState.ActivationState.UNAVAILABLE) in mapsNoActiveProfileDataToUnavailableState() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
H A DRotationLockTileMapperTest.kt85 val expectedState = in rotationNotLocked_cameraRotationDisabled() constant
100 val expectedState = in rotationNotLocked_cameraRotationEnabled() constant
115 val expectedState = in rotationLocked_cameraRotationNotEnabled() constant
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellularNetworkServiceTest.java152 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetNetworkRegistrationInfo() local
254 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetNetworkRegistrationInfoV1_5() local
352 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetNetworkRegistrationInfoV1_6WithLte() local
443 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetNetworkRegistrationInfoV1_6WithNr() local
548 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetAvailableServices_withMmsEnabled() local
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/
H A DDataSaverTileMapperTest.kt59 val expectedState = in activeStateMatchesEnabledModel() constant
73 val expectedState = in inactiveStateMatchesDisabledModel() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/
H A DColorCorrectionTileMapperTest.kt58 val expectedState = in disabledModel() constant
69 val expectedState = in enabledModel() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/
H A DAirplaneModeMapperTest.kt65 val expectedState = in enabledModel_mapsCorrectly() constant
80 val expectedState = in disabledModel_mapsCorrectly() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/
H A DReduceBrightColorsTileMapperTest.kt64 val expectedState = createReduceBrightColorsTileState(QSTileState.ActivationState.INACTIVE) in disabledModel() constant
74 val expectedState = createReduceBrightColorsTileState(QSTileState.ActivationState.ACTIVE) in enabledModel() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/qr/ui/
H A DQRCodeScannerTileMapperTest.kt67 val expectedState = createQRCodeScannerTileState(QSTileState.ActivationState.INACTIVE, null) in availableModel() constant
77 val expectedState = in temporarilyUnavailableModel() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/onehanded/ui/
H A DOneHandedModeTileMapperTest.kt68 val expectedState = in disabledModel() constant
83 val expectedState = in enabledModel() constant
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/inversion/domain/
H A DColorInversionTileMapperTest.kt62 val expectedState = in disabledModel() constant
77 val expectedState = in enabledModel() constant
/aosp_15_r20/packages/services/Car/tests/CarServiceTest/src/com/android/car/power/
DCarPowerManagementServiceTest.java677 private void assertResponse(int expectedState, int expectedParam, boolean checkParam) in assertResponse()
689 private void assertResponseTransient(int expectedState, int expectedParam, boolean checkParam) in assertResponseTransient()
774 boolean waitForDisplayState(int displayId, boolean expectedState) throws Exception { in waitForDisplayState()
787 void waitForAllDisplayState(boolean expectedState) throws Exception { in waitForAllDisplayState()
896 private LinkedList<int[]> waitForStateSetAndGetAll(long timeoutMs, int expectedState) in waitForStateSetAndGetAll()
924 private void sendStateAndCheckResponse(int state, int param, int expectedState) in sendStateAndCheckResponse()
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/external/ui/viewmodel/
H A DTileRequestDialogViewModelTest.kt83 val expectedState = in uiState_beforeActivation_hasDefaultIcon_andCorrectData() constant
101 val expectedState = in uiState_afterActivation_hasCorrectIcon_andCorrectData() constant
/aosp_15_r20/cts/tests/inputmethod/src/android/view/inputmethod/cts/
H A DBaseInputConnectionTest.java201 final String expectedState) { in verifyDeleteSurroundingTextMain()
210 final String expectedState, in verifyDeleteSurroundingTextMain()
288 String expectedState) { in verifyDeleteSurroundingTextInCodePointsMain()
662 final String expectedState) { in verifyReplaceText()
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
H A DPermissionsTest.java370 private void assertPermissionGrantState(String permission, int expectedState) { in assertPermissionGrantState()
375 int expectedState) { in assertPermissionGrantState()
380 String permission, int expectedState) { in assertPermissionGrantState()

12345678910>>...17