Home
last modified time | relevance | path

Searched refs:wifiNetwork (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt115 collectLastValue(underTest.wifiNetwork) in wifiPickerTrackerCreation_scansDisabled()
266 val latest by collectLastValue(underTest.wifiNetwork) in wifiNetwork_initiallyGetsDefault()
274 val latest by collectLastValue(underTest.wifiNetwork) in wifiNetwork_primaryWifiNetworkAdded_flowHasNetwork()
294 val latest by collectLastValue(underTest.wifiNetwork) in accessPointInfo_alwaysFalse()
315 val latest by collectLastValue(underTest.wifiNetwork) in wifiNetwork_unreachableLevel_inactiveNetwork()
331 val latest by collectLastValue(underTest.wifiNetwork) in wifiNetwork_levelTooHigh_inactiveNetwork()
347 val latest by collectLastValue(underTest.wifiNetwork) in wifiNetwork_levelTooLow_inactiveNetwork()
363 val latest by collectLastValue(underTest.wifiNetwork) in wifiNetwork_levelIsMax_activeNetworkWithMaxLevel()
380 val latest by collectLastValue(underTest.wifiNetwork) in wifiNetwork_levelIsMin_activeNetworkWithMinLevel()
398 val latest by collectLastValue(underTest.wifiNetwork) in wifiNetwork_notHotspot_none()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
DWifiInteractor.kt56 val wifiNetwork: Flow<WifiNetworkModel> in <lambda>() constant
78 wifiRepository.wifiNetwork.map { info -> in info()
98 override val wifiNetwork: Flow<WifiNetworkModel> = wifiRepository.wifiNetwork constant
107 wifiNetwork,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModel.kt74 interactor.wifiNetwork, in <lambda>()
75 ) { isEnabled, isDefault, isForceHidden, wifiNetwork -> in <lambda>() method
76 if (!isEnabled || isForceHidden || wifiNetwork is WifiNetworkModel.CarrierMerged) { in <lambda>()
81 val icon = WifiIcon.fromModel(wifiNetwork, context, showHotspotInfo = false) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/
DWifiRepository.kt33 val wifiNetwork: StateFlow<WifiNetworkModel> constant
58 val currentNetwork = wifiNetwork.value in isWifiConnectedWithValidSsid()
DWifiRepositorySwitcher.kt113 override val wifiNetwork: StateFlow<WifiNetworkModel> = in <lambda>() constant
115 .flatMapLatest { it.wifiNetwork } in <lambda>()
116 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.wifiNetwork.value) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/
DWifiInteractorImplTest.kt235 val wifiNetwork = in wifiNetwork_matchesRepoWifiNetwork() constant
243 wifiRepository.setWifiNetwork(wifiNetwork) in wifiNetwork_matchesRepoWifiNetwork()
246 val job = underTest.wifiNetwork.onEach { latest = it }.launchIn(this) in wifiNetwork_matchesRepoWifiNetwork()
249 assertThat(latest).isEqualTo(wifiNetwork) in wifiNetwork_matchesRepoWifiNetwork()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DCarrierMergedConnectionRepository.kt82 wifiRepository.wifiNetwork, in <lambda>()
118 wifiRepository.wifiNetwork in <lambda>()
DMobileConnectionsRepositoryImpl.kt133 wifiRepository.wifiNetwork, in <lambda>()
136 ) { wifiNetwork, defaultConnections, isAirplaneMode -> in <lambda>() method
144 if (wifiNetwork is WifiNetworkModel.CarrierMerged && defaultConnectionIsNonMobile) { in <lambda>()
145 wifiNetwork.subscriptionId in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DDisabledWifiRepositoryTest.kt53 assertThat(underTest.wifiNetwork.value).isEqualTo(WifiNetworkModel.Unavailable) in network_alwaysUnavailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DDisabledWifiRepository.kt41 override val wifiNetwork: StateFlow<WifiNetworkModel> = MutableStateFlow(NETWORK).asStateFlow() constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.prod.DisabledWifiRepository
DWifiRepositoryImpl.kt198 override val wifiNetwork: StateFlow<WifiNetworkModel> = in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/
DFakeWifiRepository.kt36 override val wifiNetwork: StateFlow<WifiNetworkModel> = _wifiNetwork constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.FakeWifiRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/
DDemoWifiRepository.kt50 override val wifiNetwork: StateFlow<WifiNetworkModel> = _wifiNetwork in <lambda>() constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.demo.DemoWifiRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/
DDeviceBasedSatelliteInteractor.kt82 wifiInteractor.wifiNetwork.map { it is WifiNetworkModel.Active } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModel.kt73 wifiInteractor.wifiNetwork.flatMapLatest { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractor.kt75 wifiInteractor.wifiNetwork.flatMapLatest { in <lambda>()