Home
last modified time | relevance | path

Searched refs:mobileIsDefault (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractor.kt69 val mobileIsDefault: StateFlow<Boolean> in <lambda>() constant
146 override val mobileIsDefault = constant
148 mobileConnectionsRepo.mobileIsDefault,
150 ) { mobileIsDefault, hasCarrierMergedConnection -> in hasCarrierMergedConnection() method
153 mobileIsDefault || hasCarrierMergedConnection in hasCarrierMergedConnection()
362 mobileIsDefault,
365 ) { mobileIsDefault, defaultConnectionIsValidated, forcingCellularValidation -> in forcingCellularValidation() method
367 !mobileIsDefault -> false in forcingCellularValidation()
401 mobileIsDefault, in getMobileConnectionInteractorForSubId()
DMobileIconInteractor.kt59 val mobileIsDefault: Flow<Boolean> in <lambda>() constant
145 override val mobileIsDefault: StateFlow<Boolean>, constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractorTest.kt549 connectionsRepository.mobileIsDefault.value = true in failedConnection_default_validated_notFailed()
560 connectionsRepository.mobileIsDefault.value = false in failedConnection_notDefault_notValidated_notFailed()
571 connectionsRepository.mobileIsDefault.value = true in failedConnection_default_notValidated_failed()
594 connectionsRepository.mobileIsDefault.value = true in failedConnection_dataSwitchInSameGroup_notFailed()
612 connectionsRepository.mobileIsDefault.value = true in failedConnection_dataSwitchNotInSameGroup_isFailed()
716 val latest by collectLastValue(underTest.mobileIsDefault) in mobileIsDefault_mobileFalseAndCarrierMergedFalse_false()
718 connectionsRepository.mobileIsDefault.value = false in mobileIsDefault_mobileFalseAndCarrierMergedFalse_false()
727 val latest by collectLastValue(underTest.mobileIsDefault) in mobileIsDefault_mobileTrueAndCarrierMergedFalse_true()
729 connectionsRepository.mobileIsDefault.value = true in mobileIsDefault_mobileTrueAndCarrierMergedFalse_true()
739 val latest by collectLastValue(underTest.mobileIsDefault) in mobileIsDefault_mobileFalseAndCarrierMergedTrue_true()
[all …]
DMobileIconInteractorTest.kt747 mobileIconsInteractor.mobileIsDefault, in createInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileRepositorySwitcher.kt172 override val mobileIsDefault: StateFlow<Boolean> = in <lambda>() constant
174 .flatMapLatest { it.mobileIsDefault } in <lambda>()
175 .stateIn(scope, SharingStarted.WhileSubscribed(), realRepository.mobileIsDefault.value) in <lambda>()
DMobileConnectionsRepository.kt62 val mobileIsDefault: StateFlow<Boolean> constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModelTest.kt114 connectionsRepository.mobileIsDefault.value = true in setUp()
143 iconsInteractor.mobileIsDefault, in setUp()
360 connectionsRepository.mobileIsDefault.value = true in networkType_dataEnabled_groupIsRepresented()
376 connectionsRepository.mobileIsDefault.value = true in networkType_null_whenDisabled()
390 connectionsRepository.mobileIsDefault.value = true in networkType_null_whenCarrierNetworkChangeActive()
410 connectionsRepository.mobileIsDefault.value = true in networkTypeIcon_notNull_whenEnabled()
509 connectionsRepository.mobileIsDefault.value = true in networkType_alwaysShow_shownEvenWhenFailedConnection()
553 connectionsRepository.mobileIsDefault.value = false in networkType_alwaysShow_shownWhenNotDefault()
575 connectionsRepository.mobileIsDefault.value = false in networkType_notShownWhenNotDefault()
DLocationBasedMobileIconViewModelTest.kt132 iconsInteractor.mobileIsDefault, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModel.kt235 iconInteractor.mobileIsDefault,
237 ) { dataConnected, dataEnabled, alwaysShow, mobileIsDefault, carrierNetworkChange -> in dataConnected() method
239 (!carrierNetworkChange && (dataEnabled && dataConnected && mobileIsDefault)) in dataConnected()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DFakeMobileIconInteractor.kt42 override val mobileIsDefault = MutableStateFlow(true) constant in com.android.systemui.statusbar.pipeline.mobile.domain.interactor.FakeMobileIconInteractor
DFakeMobileIconsInteractor.kt67 override val mobileIsDefault = MutableStateFlow(false) constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionsRepository.kt72 override val mobileIsDefault = MutableStateFlow(false) constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt864 assertThat(underTest.mobileIsDefault.value).isFalse() in <lambda>()
875 val latest by collectLastValue(underTest.mobileIsDefault) in <lambda>()
890 val latest by collectLastValue(underTest.mobileIsDefault) in <lambda>()
908 val latest by collectLastValue(underTest.mobileIsDefault) in <lambda>()
923 val latest by collectLastValue(underTest.mobileIsDefault) in <lambda>()
938 val latest by collectLastValue(underTest.mobileIsDefault) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt459 mobileConnectionsRepository.mobileIsDefault.value = true in <lambda>()
485 mobileConnectionsRepository.mobileIsDefault.value = true in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionsRepository.kt172 override val mobileIsDefault: StateFlow<Boolean> = MutableStateFlow(true) in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryImpl.kt340 override val mobileIsDefault: StateFlow<Boolean> = in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModelTest.kt334 mobileConnectionsRepository.mobileIsDefault.value = true in mobileDefault_usesNetworkNameAndIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionsRepositoryTest.kt103 val isDefault = underTest.mobileIsDefault.value in <lambda>()