/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/ |
D | MobileMappings.java | 44 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/ |
D | MobileMappings.kt | 36 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()
|
D | FakeMobileMappingsProxy.kt | 61 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/ |
D | FakeMobileIconsInteractor.kt | 34 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/ |
D | FakeMobileConnectionsRepository.kt | 40 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/ |
D | ResolvedNetworkType.kt | 43 override val lookupKey: String = MobileMappings.toIconKey(NETWORK_TYPE_UNKNOWN)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconInteractorTest.kt | 244 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/ |
D | MobileConnectionTelephonySmokeTests.kt | 270 val expected = ResolvedNetworkType.DefaultNetworkType(mobileMappings.toIconKey(type)) in <lambda>()
|
D | MobileConnectionRepositoryTest.kt | 479 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/ |
D | MobileConnectionRepositoryImpl.kt | 304 mobileMappingsProxy.toIconKey(it.telephonyDisplayInfo.networkType) in <lambda>()
|