Searched refs:networkMode (Results 1 – 4 of 4) sorted by relevance
395 final int networkMode = getNetworkTypeFromRaf( in isGsmOptions() local399 if (networkMode == NETWORK_MODE_LTE_CDMA_EVDO in isGsmOptions()400 || networkMode == NETWORK_MODE_LTE_GSM_WCDMA in isGsmOptions()401 || networkMode == NETWORK_MODE_NR_LTE_CDMA_EVDO in isGsmOptions()402 || networkMode == NETWORK_MODE_NR_LTE_GSM_WCDMA) { in isGsmOptions()461 final int networkMode = getNetworkTypeFromRaf( in shouldDisplayNetworkSelectOptions() local464 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_CDMA_EVDO in shouldDisplayNetworkSelectOptions()477 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_GSM_WCDMA) { in shouldDisplayNetworkSelectOptions()577 final int networkMode = getNetworkTypeFromRaf( in shouldSpeciallyUpdateGsmCdma() local580 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_TDSCDMA_GSM in shouldSpeciallyUpdateGsmCdma()[all …]
386 int networkMode = MobileNetworkUtils.getNetworkTypeFromRaf( in getPreferredNetworkMode() local390 Log.d(LOG_TAG, "Network mode :" + networkMode + " reduce NR"); in getPreferredNetworkMode()391 networkMode = reduceNrToLteNetworkType(networkMode); in getPreferredNetworkMode()393 Log.d(LOG_TAG, "getPreferredNetworkMode: " + networkMode); in getPreferredNetworkMode()394 return networkMode; in getPreferredNetworkMode()470 void setPreferenceValueAndSummary(int networkMode) { in setPreferenceValueAndSummary() argument471 setSelectedEntry(networkMode); in setPreferenceValueAndSummary()472 switch (networkMode) { in setPreferenceValueAndSummary()622 R.string.mobile_network_mode_error, networkMode)); in setPreferenceValueAndSummary()
73 final int networkMode = getPreferredNetworkMode(); in updateState() local74 listPreference.setValue(Integer.toString(networkMode)); in updateState()75 listPreference.setSummary(getPreferredNetworkModeSummaryResId(networkMode)); in updateState()
445 private void mockEnabledNetworkMode(int networkMode) { in mockEnabledNetworkMode() argument446 if (networkMode == TelephonyManagerConstants.NETWORK_MODE_TDSCDMA_GSM_WCDMA) { in mockEnabledNetworkMode()449 } else if (networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_GSM_WCDMA in mockEnabledNetworkMode()450 || networkMode == TelephonyManagerConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA) { in mockEnabledNetworkMode()454 } else if (networkMode == TelephonyManagerConstants.NETWORK_MODE_NR_LTE_TDSCDMA_GSM_WCDMA) { in mockEnabledNetworkMode()457 } else if (networkMode == TelephonyManagerConstants.NETWORK_MODE_NR_LTE_GSM_WCDMA in mockEnabledNetworkMode()458 || networkMode in mockEnabledNetworkMode()471 private void mockAccessFamily(int networkMode) { in mockAccessFamily() argument472 doReturn(MobileNetworkUtils.getRafFromNetworkType(networkMode)) in mockAccessFamily()