Home
last modified time | relevance | path

Searched refs:networkMode (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java415 final int networkMode = android.provider.Settings.Global.getInt( in isGsmOptions() local
420 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_CDMA_EVDO in isGsmOptions()
421 || networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_GSM_WCDMA) { in isGsmOptions()
480 final int networkMode = android.provider.Settings.Global.getInt( in shouldDisplayNetworkSelectOptions() local
484 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_CDMA_EVDO in shouldDisplayNetworkSelectOptions()
497 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_GSM_WCDMA) { in shouldDisplayNetworkSelectOptions()
594 final int networkMode = android.provider.Settings.Global.getInt( in shouldSpeciallyUpdateGsmCdma() local
598 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA_GSM in shouldSpeciallyUpdateGsmCdma()
599 || networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA in shouldSpeciallyUpdateGsmCdma()
600 || networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA in shouldSpeciallyUpdateGsmCdma()
[all …]
DEnabledNetworkModePreferenceController.java128 final int networkMode = getPreferredNetworkMode(); in updateState() local
130 updatePreferenceValueAndSummary(listPreference, networkMode); in updateState()
387 private CharSequence transformLteEntryValueTo5gEntryValue(CharSequence networkMode) { in transformLteEntryValueTo5gEntryValue() argument
388 int networkModeInt = Integer.valueOf(networkMode.toString()); in transformLteEntryValueTo5gEntryValue()
425 private void updatePreferenceValueAndSummary(ListPreference preference, int networkMode) { in updatePreferenceValueAndSummary() argument
426 preference.setValue(Integer.toString(networkMode)); in updatePreferenceValueAndSummary()
427 switch (networkMode) { in updatePreferenceValueAndSummary()
545 preference.setValue(Integer.toString(networkMode)); in updatePreferenceValueAndSummary()
563 mContext.getString(R.string.mobile_network_mode_error, networkMode)); in updatePreferenceValueAndSummary()
DPreferredNetworkModePreferenceController.java78 final int networkMode = getPreferredNetworkMode(); in updateState() local
79 listPreference.setValue(Integer.toString(networkMode)); in updateState()
80 listPreference.setSummary(getPreferredNetworkModeSummaryResId(networkMode)); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DEnabledNetworkModePreferenceController.java85 final int networkMode = getPreferredNetworkMode(); in updateState() local
87 updatePreferenceValueAndSummary(listPreference, networkMode); in updateState()
215 private void updatePreferenceValueAndSummary(ListPreference preference, int networkMode) { in updatePreferenceValueAndSummary() argument
216 preference.setValue(Integer.toString(networkMode)); in updatePreferenceValueAndSummary()
217 switch (networkMode) { in updatePreferenceValueAndSummary()
328 mContext.getString(R.string.mobile_network_mode_error, networkMode)); in updatePreferenceValueAndSummary()
DPreferredNetworkModePreferenceController.java82 final int networkMode = getPreferredNetworkMode(); in updateState() local
83 listPreference.setValue(Integer.toString(networkMode)); in updateState()
84 listPreference.setSummary(getPreferredNetworkModeSummaryResId(networkMode)); in updateState()