Home
last modified time | relevance | path

Searched refs:isWifiDefault (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/
DWifiRepositorySwitcher.kt108 override val isWifiDefault: StateFlow<Boolean> = in <lambda>() constant
110 .flatMapLatest { it.isWifiDefault } in <lambda>()
111 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.isWifiDefault.value) in <lambda>()
DWifiRepository.kt30 val isWifiDefault: StateFlow<Boolean> constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DDisabledWifiRepositoryTest.kt48 assertThat(underTest.isWifiDefault.value).isEqualTo(false) in default_alwaysFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DDisabledWifiRepository.kt39 override val isWifiDefault: StateFlow<Boolean> = MutableStateFlow(false).asStateFlow() constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.prod.DisabledWifiRepository
DWifiRepositoryImpl.kt303 override val isWifiDefault: StateFlow<Boolean> = in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/
DFakeWifiRepository.kt32 override val isWifiDefault: StateFlow<Boolean> = _isWifiDefault constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.FakeWifiRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/repository/
DConnectivityRepository.kt195 val isWifiDefault = in networkCapabilities() constant
204 Wifi(isWifiDefault), in networkCapabilities()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
DWifiInteractor.kt96 override val isDefault: Flow<Boolean> = wifiRepository.isWifiDefault
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/
DDemoWifiRepository.kt47 override val isWifiDefault: StateFlow<Boolean> = _isWifiDefault in <lambda>() constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.demo.DemoWifiRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCastTile.java347 boolean isWifiDefault = model.getWifi().isDefault();
350 setCastTransportAllowed((isWifiDefault || isEthernetDefault) && !hasCellularTransport);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt184 testScope.runTest { assertThat(underTest.isWifiDefault.value).isFalse() } in isWifiDefault_initiallyGetsDefault()
189 val latest by collectLastValue(underTest.isWifiDefault) in isWifiDefault_wifiNetwork_isTrue()
202 val latest by collectLastValue(underTest.isWifiDefault) in isWifiDefault_carrierMerged_isTrue()
217 val latest by collectLastValue(underTest.isWifiDefault) in isWifiDefault_wifiNetworkNotDefault_isFalse()
230 val latest by collectLastValue(underTest.isWifiDefault) in isWifiDefault_carrierMergedNotDefault_isFalse()
245 val latest by collectLastValue(underTest.isWifiDefault) in isWifiDefault_noWifiNetwork_isFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DCarrierMergedConnectionRepository.kt81 wifiRepository.isWifiDefault, in <lambda>()