Home
last modified time | relevance | path

Searched refs:toIconKey (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
DMobileMappings.java44 return toIconKey(telephonyDisplayInfo.getNetworkType()); in getIconKey()
53 public static String toIconKey(@Annotation.NetworkType int networkType) { in toIconKey() method in MobileMappings
63 return toIconKey(TelephonyManager.NETWORK_TYPE_LTE) + "_CA"; in toDisplayIconKey()
65 return toIconKey(TelephonyManager.NETWORK_TYPE_LTE) + "_CA_Plus"; in toDisplayIconKey()
67 return toIconKey(TelephonyManager.NETWORK_TYPE_NR); in toDisplayIconKey()
69 return toIconKey(TelephonyManager.NETWORK_TYPE_NR) + "_Plus"; in toDisplayIconKey()
93 networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EVDO_0), in mapIconSets()
95 networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EVDO_A), in mapIconSets()
97 networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EVDO_B), in mapIconSets()
99 networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EHRPD), in mapIconSets()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/util/
DMobileMappings.kt36 fun toIconKey(@NetworkType networkType: Int): String in mapIconSets() method
51 override fun toIconKey(@NetworkType networkType: Int): String = in mapIconSets() method in com.android.systemui.statusbar.pipeline.mobile.util.MobileMappingsProxyImpl
52 MobileMappings.toIconKey(networkType) in mapIconSets()
DFakeMobileMappingsProxy.kt61 override fun toIconKey(networkType: Int): String { in getDefaultIcons() method in com.android.systemui.statusbar.pipeline.mobile.util.FakeMobileMappingsProxy
72 return toIconKey(networkType) + "_override" in toIconKeyOverride()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DFakeMobileIconsInteractor.kt34 val THREE_G_KEY = mobileMappings.toIconKey(THREE_G)
35 val LTE_KEY = mobileMappings.toIconKey(LTE)
36 val FOUR_G_KEY = mobileMappings.toIconKey(FOUR_G)
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionsRepository.kt40 val GSM_KEY = mobileMappings.toIconKey(GSM)
41 val LTE_KEY = mobileMappings.toIconKey(LTE)
42 val UMTS_KEY = mobileMappings.toIconKey(UMTS)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
DResolvedNetworkType.kt43 override val lookupKey: String = MobileMappings.toIconKey(NETWORK_TYPE_UNKNOWN)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt244 DefaultNetworkType(mobileMappingsProxy.toIconKey(THREE_G)) in iconGroup_three_g()
258 DefaultNetworkType(mobileMappingsProxy.toIconKey(THREE_G)) in iconGroup_updates_on_change()
264 DefaultNetworkType(mobileMappingsProxy.toIconKey(FOUR_G)) in iconGroup_updates_on_change()
289 DefaultNetworkType(mobileMappingsProxy.toIconKey(NETWORK_TYPE_UNKNOWN)) in iconGroup_default_if_no_lookup()
328 DefaultNetworkType(mobileMappingsProxy.toIconKey(THREE_G)) in overrideIcon_usesCarrierIdOverride()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionTelephonySmokeTests.kt270 val expected = ResolvedNetworkType.DefaultNetworkType(mobileMappings.toIconKey(type)) in <lambda>()
DMobileConnectionRepositoryTest.kt479 assertThat(latest!!.lookupKey).isEqualTo(MobileMappings.toIconKey(NETWORK_TYPE_UNKNOWN)) in networkType_unknown_hasCorrectKey()
496 val expected = DefaultNetworkType(mobileMappings.toIconKey(type)) in networkType_updatesUsingDefault()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionRepositoryImpl.kt304 mobileMappingsProxy.toIconKey(it.telephonyDisplayInfo.networkType) in <lambda>()