Home
last modified time | relevance | path

Searched refs:WifiIcon (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModel.kt33 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon in <lambda>()
69 override val wifiIcon: StateFlow<WifiIcon> = in <lambda>()
77 return@combine WifiIcon.Hidden in <lambda>()
81 val icon = WifiIcon.fromModel(wifiNetwork, context, showHotspotInfo = false) in <lambda>()
89 else -> WifiIcon.Hidden in <lambda>()
95 initialValue = WifiIcon.Hidden, in <lambda>()
100 initialValue = WifiIcon.Hidden in <lambda>()
DWifiViewModelCommon.kt19 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon
29 val wifiIcon: StateFlow<WifiIcon>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/model/
DWifiIcon.kt35 sealed interface WifiIcon : Diffable<WifiIcon> { interface
37 object Hidden : WifiIcon {
48 ) : WifiIcon { in toString()
54 override fun logDiffs(prevVal: WifiIcon, row: TableRowLogger) { in logDiffs()
80 ): WifiIcon = in fromModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/
DWifiViewBinder.kt36 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon in <lambda>()
105 view.isVisible = wifiIcon is WifiIcon.Visible in <lambda>()
106 if (wifiIcon is WifiIcon.Visible) { in <lambda>()
185 return viewModel.wifiIcon.value is WifiIcon.Visible in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/
DWifiUiAdapter.kt26 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon in <lambda>()
67 if (wifiIcon is WifiIcon.Visible) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelIconParameterizedTest.kt43 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon in <lambda>()
44 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon.Companion.NO_INTERNET in <lambda>()
145 assertThat(actualIcon).isInstanceOf(WifiIcon.Hidden::class.java) in <lambda>()
148 assertThat(actualIcon).isInstanceOf(WifiIcon.Visible::class.java) in <lambda>()
149 val actualIconVisible = actualIcon as WifiIcon.Visible in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/
DWifiViewModelTest.kt45 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon
120 assertThat(latestHome).isInstanceOf(WifiIcon.Visible::class.java) in wifiIcon_allLocationViewModelsReceiveSameData()
142 assertThat(latest).isInstanceOf(WifiIcon.Visible::class.java) in wifiIcon_validHotspot_hotspotIconNotShown()
143 assertThat((latest as WifiIcon.Visible).res).isEqualTo(WifiIcons.WIFI_FULL_ICONS[1]) in wifiIcon_validHotspot_hotspotIconNotShown()
145 (latest as WifiIcon.Visible).contentDescription.loadContentDescription(context) in wifiIcon_validHotspot_hotspotIconNotShown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModel.kt38 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon in <lambda>()
74 val wifiIcon = WifiIcon.fromModel(it, context, showHotspotInfo = true) in <lambda>()
75 if (it is WifiNetworkModel.Active && wifiIcon is WifiIcon.Visible) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractor.kt41 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon in <lambda>()
76 val wifiIcon = WifiIcon.fromModel(it, context, showHotspotInfo = true) in <lambda>()
77 if (it is WifiNetworkModel.Active && wifiIcon is WifiIcon.Visible) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModelTest.kt49 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon
157 WifiIcon.fromModel(model = networkModel, context = context, showHotspotInfo = false) in wifiDefaultAndActive()
158 as WifiIcon.Visible in wifiDefaultAndActive()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt56 import com.android.systemui.statusbar.pipeline.wifi.ui.model.WifiIcon in <lambda>()
193 WifiIcon.fromModel(model = networkModel, context = context, showHotspotInfo = true) in <lambda>()
194 as WifiIcon.Visible in <lambda>()