Home
last modified time | relevance | path

Searched refs:TelephonyManagerConstants (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/telephony/
DPreferredNetworkModePreferenceController.java31 import com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants;
106 return TelephonyManagerConstants.NETWORK_MODE_UNKNOWN; in getPreferredNetworkMode()
115 case TelephonyManagerConstants.NETWORK_MODE_TDSCDMA_GSM_WCDMA: in getPreferredNetworkModeSummaryResId()
117 case TelephonyManagerConstants.NETWORK_MODE_TDSCDMA_GSM: in getPreferredNetworkModeSummaryResId()
119 case TelephonyManagerConstants.NETWORK_MODE_WCDMA_PREF: in getPreferredNetworkModeSummaryResId()
121 case TelephonyManagerConstants.NETWORK_MODE_GSM_ONLY: in getPreferredNetworkModeSummaryResId()
123 case TelephonyManagerConstants.NETWORK_MODE_TDSCDMA_WCDMA: in getPreferredNetworkModeSummaryResId()
125 case TelephonyManagerConstants.NETWORK_MODE_WCDMA_ONLY: in getPreferredNetworkModeSummaryResId()
127 case TelephonyManagerConstants.NETWORK_MODE_GSM_UMTS: in getPreferredNetworkModeSummaryResId()
129 case TelephonyManagerConstants.NETWORK_MODE_CDMA_EVDO: in getPreferredNetworkModeSummaryResId()
[all …]
DEnabledNetworkModePreferenceController.java52 import com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants;
490 case TelephonyManagerConstants.NETWORK_MODE_CDMA_EVDO: in getEnabledNetworkType()
491 case TelephonyManagerConstants.NETWORK_MODE_CDMA_NO_EVDO: in getEnabledNetworkType()
492 case TelephonyManagerConstants.NETWORK_MODE_EVDO_NO_CDMA: in getEnabledNetworkType()
496 case TelephonyManagerConstants.NETWORK_MODE_GLOBAL: in getEnabledNetworkType()
497 case TelephonyManagerConstants.NETWORK_MODE_LTE_CDMA_EVDO: in getEnabledNetworkType()
498 case TelephonyManagerConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA: in getEnabledNetworkType()
499 case TelephonyManagerConstants.NETWORK_MODE_LTE_ONLY: in getEnabledNetworkType()
557 case TelephonyManagerConstants.NETWORK_MODE_TDSCDMA_WCDMA: in setPreferenceValueAndSummary()
558 case TelephonyManagerConstants.NETWORK_MODE_TDSCDMA_GSM_WCDMA: in setPreferenceValueAndSummary()
[all …]
DMobileNetworkUtils.java29 import static com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants.N…
30 import static com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants.N…
31 import static com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants.N…
32 import static com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants.N…
89 import com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants;
515 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_CDMA_EVDO) { in shouldDisplayNetworkSelectOptions()
522 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_GSM_WCDMA) { in shouldDisplayNetworkSelectOptions()
630 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA_GSM in shouldSpeciallyUpdateGsmCdma()
631 || networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA in shouldSpeciallyUpdateGsmCdma()
632 || networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA in shouldSpeciallyUpdateGsmCdma()
[all …]
DTelephonyConstants.java29 public static class TelephonyManagerConstants { class in TelephonyConstants
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceControllerTest.java60 import com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants;
178 mockEnabledNetworkMode(TelephonyManagerConstants.NETWORK_MODE_NR_LTE_GSM_WCDMA); in getAvailabilityStatus_callStateIsIdle_returnAvailable()
190 mockEnabledNetworkMode(TelephonyManagerConstants.NETWORK_MODE_NR_LTE_GSM_WCDMA); in getAvailabilityStatus_duringCalling_returnAvailable()
230 mockEnabledNetworkMode(TelephonyManagerConstants.NETWORK_MODE_NR_LTE_TDSCDMA_GSM_WCDMA); in updateState_selectedOn5gItem()
243 TelephonyManagerConstants.NETWORK_MODE_NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA)); in updateState_selectedOn5gItem()
249 mockEnabledNetworkMode(TelephonyManagerConstants.NETWORK_MODE_NR_LTE_TDSCDMA_GSM_WCDMA); in updateState_disAllowed5g_5gOptionHidden()
269 mockEnabledNetworkMode(TelephonyManagerConstants.NETWORK_MODE_NR_LTE_TDSCDMA_GSM_WCDMA); in updateState_disAllowed5g_selectOn4gOption()
282 TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA)); in updateState_disAllowed5g_selectOn4gOption()
288 mockEnabledNetworkMode(TelephonyManagerConstants.NETWORK_MODE_NR_LTE_GSM_WCDMA); in updateState_NrEnableBoolFalse_5gOptionHidden()
303 TelephonyManagerConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA)); in updateState_NrEnableBoolFalse_5gOptionHidden()
[all …]
DPreferredNetworkModePreferenceControllerTest.java45 import com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants;
141 String.valueOf(TelephonyManagerConstants.NETWORK_MODE_TDSCDMA_GSM_WCDMA)); in updateState_updateByNetworkMode()
150 String.valueOf(TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA)); in onPreferenceChange_updateNetworkMode()
155 TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA)); in onPreferenceChange_updateNetworkMode()
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/
DCdmaSystemSelectPreferenceController.java19 import static com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants.N…
20 import static com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants.N…
21 import static com.android.settings.network.telephony.TelephonyConstants.TelephonyManagerConstants.N…