Home
last modified time | relevance | path

Searched refs:voiceIdx (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java507 int voiceIdx = config.getInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT); in WfcCarrierNameFormatter() local
512 if (voiceIdx < 0 || voiceIdx >= wfcFormats.length) { in WfcCarrierNameFormatter()
514 + voiceIdx); in WfcCarrierNameFormatter()
515 voiceIdx = 0; in WfcCarrierNameFormatter()
527 flightModeIdx = voiceIdx; in WfcCarrierNameFormatter()
532 voiceIdx = flightModeIdx; in WfcCarrierNameFormatter()
535 mVoiceFormat = voiceIdx != -1 ? wfcFormats[voiceIdx] : ""; in WfcCarrierNameFormatter()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java2672 int voiceIdx = 0; in updateSpnDisplayLegacy() local
2679 voiceIdx = bundle.getInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT); in updateSpnDisplayLegacy()
2691 if (voiceIdx < 0 || voiceIdx >= wfcSpnFormats.length) { in updateSpnDisplayLegacy()
2692 loge("updateSpnDisplay: KEY_WFC_SPN_FORMAT_IDX_INT out of bounds: " + voiceIdx); in updateSpnDisplayLegacy()
2693 voiceIdx = 0; in updateSpnDisplayLegacy()
2703 flightModeIdx = voiceIdx; in updateSpnDisplayLegacy()
2706 wfcVoiceSpnFormat = wfcSpnFormats[voiceIdx]; in updateSpnDisplayLegacy()