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.java584 int voiceIdx = config.getInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT); in WfcCarrierNameFormatter() local
589 if (voiceIdx < 0 || voiceIdx >= wfcFormats.length) { in WfcCarrierNameFormatter()
591 + voiceIdx); in WfcCarrierNameFormatter()
592 voiceIdx = 0; in WfcCarrierNameFormatter()
604 flightModeIdx = voiceIdx; in WfcCarrierNameFormatter()
609 voiceIdx = flightModeIdx; in WfcCarrierNameFormatter()
612 mVoiceFormat = voiceIdx != -1 ? wfcFormats[voiceIdx] : ""; in WfcCarrierNameFormatter()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java2863 int voiceIdx; in updateSpnDisplayLegacy() local
2868 voiceIdx = mCarrierConfig.getInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT); in updateSpnDisplayLegacy()
2879 if (voiceIdx < 0 || voiceIdx >= wfcSpnFormats.length) { in updateSpnDisplayLegacy()
2880 loge("updateSpnDisplay: KEY_WFC_SPN_FORMAT_IDX_INT out of bounds: " + voiceIdx); in updateSpnDisplayLegacy()
2881 voiceIdx = 0; in updateSpnDisplayLegacy()
2891 flightModeIdx = voiceIdx; in updateSpnDisplayLegacy()
2894 wfcVoiceSpnFormat = wfcSpnFormats[voiceIdx]; in updateSpnDisplayLegacy()