Home
last modified time | relevance | path

Searched refs:ResolvedNetworkType (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
DResolvedNetworkType.kt33 sealed interface ResolvedNetworkType : Diffable<ResolvedNetworkType> { interface
36 override fun logDiffs(prevVal: ResolvedNetworkType, row: TableRowLogger) { in logDiffs()
42 object UnknownNetworkType : ResolvedNetworkType {
50 ) : ResolvedNetworkType in toString()
54 ) : ResolvedNetworkType in toString()
57 object CarrierMergedNetworkType : ResolvedNetworkType { in toString()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt23 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType
48 override val resolvedNetworkType: MutableStateFlow<ResolvedNetworkType> =
49 MutableStateFlow(ResolvedNetworkType.UnknownNetworkType)
95 resolvedNetworkType.value = ResolvedNetworkType.DefaultNetworkType(key) in setNetworkTypeKey()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DCarrierMergedConnectionRepositoryTest.kt27 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType
82 var latestNetType: ResolvedNetworkType? = null in inactiveWifi_isDefault()
91 assertThat(latestNetType).isNotEqualTo(ResolvedNetworkType.CarrierMergedNetworkType) in inactiveWifi_isDefault()
101 var latestNetType: ResolvedNetworkType? = null in activeWifi_isDefault()
110 assertThat(latestNetType).isNotEqualTo(ResolvedNetworkType.CarrierMergedNetworkType) in activeWifi_isDefault()
180 var latestType: ResolvedNetworkType? = null in carrierMergedWifi_wrongSubId_isDefault()
193 assertThat(latestType).isNotEqualTo(ResolvedNetworkType.CarrierMergedNetworkType) in carrierMergedWifi_wrongSubId_isDefault()
DMobileConnectionRepositoryTest.kt79 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType
80 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.DefaultNetwork…
81 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.OverrideNetwor…
82 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.UnknownNetwork…
452 var latest: ResolvedNetworkType? = null in networkType_default()
465 var latest: ResolvedNetworkType? = null in networkType_unknown_hasCorrectKey()
487 var latest: ResolvedNetworkType? = null in networkType_updatesUsingDefault()
505 var latest: ResolvedNetworkType? = null in networkType_updatesUsingOverride()
522 var latest: ResolvedNetworkType? = null in networkType_unknownNetworkWithOverride_usesOverrideKey()
DMobileConnectionTelephonySmokeTests.kt41 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType in <lambda>()
261 var latest: ResolvedNetworkType? = null in <lambda>()
270 val expected = ResolvedNetworkType.DefaultNetworkType(mobileMappings.toIconKey(type)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DCarrierMergedConnectionRepository.kt29 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType in <lambda>()
144 ResolvedNetworkType.CarrierMergedNetworkType in <lambda>()
146 ResolvedNetworkType.UnknownNetworkType in <lambda>()
152 ResolvedNetworkType.UnknownNetworkType in <lambda>()
DMobileConnectionRepositoryImpl.kt55 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.DefaultNetwork… in <lambda>()
56 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.OverrideNetwor… in <lambda>()
57 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.UnknownNetwork… in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileConnectionRepository.kt25 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType
123 val resolvedNetworkType: StateFlow<ResolvedNetworkType>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionRepository.kt26 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType in <lambda>()
202 private val _resolvedNetworkType: MutableStateFlow<ResolvedNetworkType> = in <lambda>()
203 MutableStateFlow(ResolvedNetworkType.UnknownNetworkType) in <lambda>()
242 resolvedNetworkType: ResolvedNetworkType, in <lambda>()
288 _resolvedNetworkType.value = ResolvedNetworkType.CarrierMergedNetworkType in <lambda>()
DDemoMobileConnectionsRepository.kt28 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType in <lambda>()
29 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.DefaultNetwork… in <lambda>()
335 private fun SignalIcon.MobileIconGroup?.toResolvedNetworkType(): ResolvedNetworkType { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DLocationBasedMobileIconViewModelTest.kt30 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType
105 resolvedNetworkType.value = ResolvedNetworkType.DefaultNetworkType(lookupKey = "3G") in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractor.kt30 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType in <lambda>()
212 is ResolvedNetworkType.CarrierMergedNetworkType -> in mapping()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt31 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.CarrierMergedN…
32 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.DefaultNetwork…
33 import com.android.systemui.statusbar.pipeline.mobile.data.model.ResolvedNetworkType.OverrideNetwor…