Searched refs:voiceIdx (Results 1 – 2 of 2) sorted by relevance
584 int voiceIdx = config.getInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT); in WfcCarrierNameFormatter() local589 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()
2863 int voiceIdx; in updateSpnDisplayLegacy() local2868 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()