Searched refs:WifiIcon (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/ |
D | WifiViewModel.kt | 33 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>()
|
D | WifiViewModelCommon.kt | 19 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/ |
D | WifiIcon.kt | 35 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/ |
D | WifiViewBinder.kt | 36 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/ |
D | WifiUiAdapter.kt | 26 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/ |
D | WifiViewModelIconParameterizedTest.kt | 43 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/ |
D | WifiViewModelTest.kt | 45 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/ |
D | InternetTileViewModel.kt | 38 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/ |
D | InternetTileDataInteractor.kt | 41 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/ |
D | InternetTileViewModelTest.kt | 49 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/ |
D | InternetTileDataInteractorTest.kt | 56 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>()
|