Home
last modified time | relevance | path

Searched refs:TelephonyIcons (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
DMobileMappings.java80 return TelephonyIcons.G; in getDefaultIcons()
82 return TelephonyIcons.THREE_G; in getDefaultIcons()
94 TelephonyIcons.THREE_G); in mapIconSets()
96 TelephonyIcons.THREE_G); in mapIconSets()
98 TelephonyIcons.THREE_G); in mapIconSets()
100 TelephonyIcons.THREE_G); in mapIconSets()
103 TelephonyIcons.FOUR_G); in mapIconSets()
106 TelephonyIcons.THREE_G); in mapIconSets()
109 TelephonyIcons.THREE_G); in mapIconSets()
113 TelephonyIcons.UNKNOWN); in mapIconSets()
[all …]
DTelephonyIcons.java28 public class TelephonyIcons { class
58 TelephonyIcons.ICON_3G
74 TelephonyIcons.ICON_E
80 TelephonyIcons.ICON_1X
86 TelephonyIcons.ICON_G
92 TelephonyIcons.ICON_H
98 TelephonyIcons.ICON_H_PLUS
104 TelephonyIcons.ICON_4G
110 TelephonyIcons.ICON_4G_PLUS
116 TelephonyIcons.ICON_LTE
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoModeMobileConnectionDataSource.kt26 import com.android.settingslib.mobile.TelephonyIcons in <lambda>()
100 "1x" -> TelephonyIcons.ONE_X in String()
101 "3g" -> TelephonyIcons.THREE_G in String()
102 "4g" -> TelephonyIcons.FOUR_G in String()
103 "4g+" -> TelephonyIcons.FOUR_G_PLUS in String()
104 "5g" -> TelephonyIcons.NR_5G in String()
105 "5ge" -> TelephonyIcons.LTE_CA_5G_E in String()
106 "5g+" -> TelephonyIcons.NR_5G_PLUS in String()
107 "e" -> TelephonyIcons.E in String()
108 "g" -> TelephonyIcons.G in String()
[all …]
DDemoMobileConnectionsRepository.kt25 import com.android.settingslib.mobile.TelephonyIcons in <lambda>()
138 override val defaultMobileIconGroup = flowOf(TelephonyIcons.THREE_G) in <lambda>()
146 override val defaultMobileIconMapping = MutableStateFlow(TelephonyIcons.ICON_NAME_TO_ICON) in <lambda>()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DMobileNetworkTypeIconsTest.java21 import com.android.settingslib.mobile.TelephonyIcons;
33 MobileNetworkTypeIcons.getNetworkTypeIcon(TelephonyIcons.H_PLUS); in getNetworkTypeIcon_hPlus_returnsHPlus()
35 assertThat(icon.getName()).isEqualTo(TelephonyIcons.H_PLUS.name); in getNetworkTypeIcon_hPlus_returnsHPlus()
36 assertThat(icon.getIconResId()).isEqualTo(TelephonyIcons.ICON_H_PLUS); in getNetworkTypeIcon_hPlus_returnsHPlus()
42 MobileNetworkTypeIcons.getNetworkTypeIcon(TelephonyIcons.FOUR_G); in getNetworkTypeIcon_fourG_returnsFourG()
44 assertThat(icon.getName()).isEqualTo(TelephonyIcons.FOUR_G.name); in getNetworkTypeIcon_fourG_returnsFourG()
45 assertThat(icon.getIconResId()).isEqualTo(TelephonyIcons.ICON_4G); in getNetworkTypeIcon_fourG_returnsFourG()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerDataTest.java25 import static com.android.settingslib.mobile.TelephonyIcons.NR_5G_PLUS;
49 import com.android.settingslib.mobile.TelephonyIcons;
71 verifyDataIndicators(TelephonyIcons.ICON_3G); in test3gDataIcon()
80 verifyDataIndicators(TelephonyIcons.ICON_G); in test2gDataIcon()
89 verifyDataIndicators(TelephonyIcons.ICON_1X); in testCdmaDataIcon()
98 verifyDataIndicators(TelephonyIcons.ICON_E); in testEdgeDataIcon()
107 verifyDataIndicators(TelephonyIcons.ICON_LTE); in testLteDataIcon()
116 verifyDataIndicators(TelephonyIcons.ICON_H); in testHspaDataIcon()
126 verifyDataIndicators(TelephonyIcons.ICON_H_PLUS); in testHspaPlusDataIcon()
174 verifyDataIndicators(TelephonyIcons.ICON_4G); in test4gDataIcon()
[all …]
DMobileStateTest.kt20 import com.android.settingslib.mobile.TelephonyIcons
37 state.iconGroup = TelephonyIcons.DATA_DISABLED in testIsDataDisabledOrNotDefault_dataDisabled()
44 state.iconGroup = TelephonyIcons.NOT_DEFAULT_DATA in testIsDataDisabledOrNotDefault_notDefaultData()
51 state.iconGroup = TelephonyIcons.G in testIsDataDisabledOrNotDefault_notDisabled()
DNetworkControllerWifiTest.java42 import com.android.settingslib.mobile.TelephonyIcons;
262 verifyLastMobileDataIndicatorsForVcn(true, 0, TelephonyIcons.ICON_CWF, false); in testVcnWithUnderlyingWifi()
270 verifyLastMobileDataIndicatorsForVcn(true, testLevel, TelephonyIcons.ICON_CWF, true); in testVcnWithUnderlyingWifi()
274 verifyLastMobileDataIndicatorsForVcn(true, testLevel, TelephonyIcons.ICON_CWF, false); in testVcnWithUnderlyingWifi()
318 TelephonyIcons.ICON_CWF, in vcnOnlyOnUnderlyingNetwork()
338 TelephonyIcons.ICON_CWF, in vcnOnlyOnUnderlyingNetwork()
350 TelephonyIcons.ICON_CWF, in vcnOnlyOnUnderlyingNetwork()
364 verifyLastMobileDataIndicatorsForVcn(true, 1, TelephonyIcons.ICON_CWF, false); in testDisableWiFiWithVcnWithUnderlyingWifi()
DCallbackHandlerTest.java29 import com.android.settingslib.mobile.TelephonyIcons;
116 int type = TelephonyIcons.ICON_1X; in testSignalCallback_setMobileDataIndicators()
117 int qsType = TelephonyIcons.ICON_1X; in testSignalCallback_setMobileDataIndicators()
DNetworkControllerSignalTest.java43 import com.android.settingslib.mobile.TelephonyIcons;
333 TelephonyIcons.ICON_1X); in testCdmaSignalStrength()
362 TelephonyIcons.ICON_1X, true); in testCdmaSignalRoaming()
397 TelephonyIcons.ICON_1X, false, false); in testCdmaQsSignalStrength()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DFakeMobileIconsInteractor.kt24 import com.android.settingslib.mobile.TelephonyIcons
46 THREE_G_KEY to TelephonyIcons.THREE_G,
47 LTE_KEY to TelephonyIcons.LTE,
48 FOUR_G_KEY to TelephonyIcons.FOUR_G,
49 FIVE_G_OVERRIDE_KEY to TelephonyIcons.NR_5G,
104 val DEFAULT_ICON = TelephonyIcons.G
DFakeMobileIconInteractor.kt19 import com.android.settingslib.mobile.TelephonyIcons
48 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconsViewModelTest.kt22 import com.android.settingslib.mobile.TelephonyIcons
217 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.UNKNOWN) in firstMobileSubShowingNetworkTypeIcon_oneSub_notShowingRat_false()
234 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G) in firstMobileSubShowingNetworkTypeIcon_oneSub_showingRat_true()
252 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G) in firstMobileSubShowingNetworkTypeIcon_updatesAsSubUpdates()
256 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.UNKNOWN) in firstMobileSubShowingNetworkTypeIcon_updatesAsSubUpdates()
260 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.LTE) in firstMobileSubShowingNetworkTypeIcon_updatesAsSubUpdates()
275 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubNotShowingRat_false()
277 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.UNKNOWN) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubNotShowingRat_false()
293 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.UNKNOWN) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubShowingRat_true()
295 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubShowingRat_true()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionsRepository.kt24 import com.android.settingslib.mobile.TelephonyIcons in <lambda>()
52 GSM_KEY to TelephonyIcons.THREE_G,
53 LTE_KEY to TelephonyIcons.LTE,
54 UMTS_KEY to TelephonyIcons.FOUR_G,
55 LTE_ADVANCED_KEY to TelephonyIcons.NR_5G,
130 val DEFAULT_ICON = TelephonyIcons.G in isInEcmMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/
DResolvedNetworkType.kt23 import com.android.settingslib.mobile.TelephonyIcons
61 val iconGroupOverride: SignalIcon.MobileIconGroup = TelephonyIcons.CARRIER_MERGED_WIFI in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/util/
DFakeMobileMappingsProxy.kt22 import com.android.settingslib.mobile.TelephonyIcons
31 private var defaultIcons = TelephonyIcons.THREE_G
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerImpl.java61 import com.android.settingslib.mobile.TelephonyIcons;
726 TelephonyIcons.FLIGHT_MODE_ICON, in addCallback()
1096 TelephonyIcons.FLIGHT_MODE_ICON, in notifyListeners()
1270 TelephonyIcons.FLIGHT_MODE_ICON, in dispatchDemoCommand()
1344 datatype.equals("1x") ? TelephonyIcons.ONE_X : in dispatchDemoCommand()
1345 datatype.equals("3g") ? TelephonyIcons.THREE_G : in dispatchDemoCommand()
1346 datatype.equals("4g") ? TelephonyIcons.FOUR_G : in dispatchDemoCommand()
1347 datatype.equals("4g+") ? TelephonyIcons.FOUR_G_PLUS : in dispatchDemoCommand()
1348 datatype.equals("5g") ? TelephonyIcons.NR_5G : in dispatchDemoCommand()
1349 datatype.equals("5ge") ? TelephonyIcons.LTE_CA_5G_E : in dispatchDemoCommand()
[all …]
DMobileSignalController.java44 import com.android.settingslib.mobile.TelephonyIcons;
229 if (mCurrentState.iconGroup == TelephonyIcons.CARRIER_NETWORK_CHANGE) { in getCurrentIconId()
237 && (mCurrentState.iconGroup == TelephonyIcons.DATA_DISABLED in getCurrentIconId()
238 || (mCurrentState.iconGroup == TelephonyIcons.NOT_DEFAULT_DATA in getCurrentIconId()
498 mCurrentState.iconGroup = TelephonyIcons.CARRIER_NETWORK_CHANGE; in updateTelephony()
501 mCurrentState.iconGroup = TelephonyIcons.NOT_DEFAULT_DATA; in updateTelephony()
503 mCurrentState.iconGroup = TelephonyIcons.DATA_DISABLED; in updateTelephony()
529 if (mCurrentState.iconGroup != TelephonyIcons.NOT_DEFAULT_DATA) { in checkDefaultData()
DMobileState.kt29 import com.android.settingslib.mobile.TelephonyIcons
63 get() = (iconGroup === TelephonyIcons.DATA_DISABLED ||
64 iconGroup === TelephonyIcons.NOT_DEFAULT_DATA) && userSetup
DWifiSignalController.java35 import com.android.settingslib.mobile.TelephonyIcons;
48 private final MobileIconGroup mCarrierMergedWifiIconGroup = TelephonyIcons.CARRIER_MERGED_WIFI;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionParameterizedTest.kt24 import com.android.settingslib.mobile.TelephonyIcons
250 TelephonyIcons.THREE_G, in modifiedBy()
251 TelephonyIcons.LTE, in modifiedBy()
252 TelephonyIcons.FOUR_G, in modifiedBy()
253 TelephonyIcons.NR_5G, in modifiedBy()
254 TelephonyIcons.NR_5G_PLUS, in modifiedBy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DMobileNetworkTypeIcons.kt19 import com.android.settingslib.mobile.TelephonyIcons.ICON_NAME_TO_ICON in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/carrier/
DShadeCarrierTest.java33 import com.android.settingslib.mobile.TelephonyIcons;
61 mSignalIconId = TelephonyIcons.MOBILE_CALL_STRENGTH_ICONS[0]; in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt26 import com.android.settingslib.mobile.TelephonyIcons
249 assertThat(latest).isEqualTo(NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G)) in iconGroup_three_g()
266 assertThat(latest).isEqualTo(NetworkTypeIconModel.DefaultIcon(TelephonyIcons.FOUR_G)) in iconGroup_updates_on_change()
280 assertThat(latest).isEqualTo(NetworkTypeIconModel.DefaultIcon(TelephonyIcons.NR_5G)) in iconGroup_5g_override_type()
334 .isEqualTo(NetworkTypeIconModel.OverriddenIcon(TelephonyIcons.THREE_G, 1234)) in overrideIcon_usesCarrierIdOverride()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarSignalPolicy.java25 import com.android.settingslib.mobile.TelephonyIcons;
255 this.callStrengthResId = TelephonyIcons.MOBILE_CALL_STRENGTH_ICONS[0]; in CallIndicatorIconState()

12