Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java310 final int networkMode = android.provider.Settings.Global.getInt( in isGsmOptions() local
315 if (networkMode == TelephonyManager.NETWORK_MODE_LTE_CDMA_EVDO in isGsmOptions()
316 || networkMode == TelephonyManager.NETWORK_MODE_LTE_GSM_WCDMA) { in isGsmOptions()
375 final int networkMode = android.provider.Settings.Global.getInt( in shouldDisplayNetworkSelectOptions() local
379 if (networkMode == TelephonyManager.NETWORK_MODE_LTE_CDMA_EVDO in shouldDisplayNetworkSelectOptions()
392 if (networkMode == TelephonyManager.NETWORK_MODE_LTE_GSM_WCDMA) { in shouldDisplayNetworkSelectOptions()
493 final int networkMode = android.provider.Settings.Global.getInt( in shouldSpeciallyUpdateGsmCdma() local
497 if (networkMode == TelephonyManager.NETWORK_MODE_LTE_TDSCDMA_GSM in shouldSpeciallyUpdateGsmCdma()
498 || networkMode == TelephonyManager.NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA in shouldSpeciallyUpdateGsmCdma()
499 || networkMode == TelephonyManager.NETWORK_MODE_LTE_TDSCDMA in shouldSpeciallyUpdateGsmCdma()
[all …]
DEnabledNetworkModePreferenceController.java85 final int networkMode = getPreferredNetworkMode(); in updateState() local
87 updatePreferenceValueAndSummary(listPreference, networkMode); in updateState()
219 private void updatePreferenceValueAndSummary(ListPreference preference, int networkMode) { in updatePreferenceValueAndSummary() argument
220 preference.setValue(Integer.toString(networkMode)); in updatePreferenceValueAndSummary()
221 switch (networkMode) { in updatePreferenceValueAndSummary()
332 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()
/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()
219 private void updatePreferenceValueAndSummary(ListPreference preference, int networkMode) { in updatePreferenceValueAndSummary() argument
220 preference.setValue(Integer.toString(networkMode)); in updatePreferenceValueAndSummary()
221 switch (networkMode) { in updatePreferenceValueAndSummary()
332 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()
/packages/services/Telephony/src/com/android/phone/
DMobileNetworkSettings.java1591 int networkMode; in handleSetPreferredNetworkTypeResponse() local
1594 networkMode = Integer.parseInt(mButtonPreferredNetworkMode.getValue()); in handleSetPreferredNetworkTypeResponse()
1599 networkMode ); in handleSetPreferredNetworkTypeResponse() local
1602 networkMode = Integer.parseInt(mButtonEnabledNetworks.getValue()); in handleSetPreferredNetworkTypeResponse()
1607 networkMode ); in handleSetPreferredNetworkTypeResponse() local