Searched refs:voiceIdx (Results 1 – 2 of 2) sorted by relevance
507 int voiceIdx = config.getInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT); in WfcCarrierNameFormatter() local512 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()
2672 int voiceIdx = 0; in updateSpnDisplayLegacy() local2679 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()