Searched refs:voiceIdx (Results 1 – 2 of 2) sorted by relevance
490 int voiceIdx = config.getInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT); in WfcCarrierNameFormatter() local495 if (voiceIdx < 0 || voiceIdx >= wfcFormats.length) { in WfcCarrierNameFormatter()497 + voiceIdx); in WfcCarrierNameFormatter()498 voiceIdx = 0; in WfcCarrierNameFormatter()510 flightModeIdx = voiceIdx; in WfcCarrierNameFormatter()515 voiceIdx = flightModeIdx; in WfcCarrierNameFormatter()518 mVoiceFormat = voiceIdx != -1 ? wfcFormats[voiceIdx] : ""; in WfcCarrierNameFormatter()
2562 int voiceIdx = 0; in updateSpnDisplayLegacy() local2569 voiceIdx = bundle.getInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT); in updateSpnDisplayLegacy()2581 if (voiceIdx < 0 || voiceIdx >= wfcSpnFormats.length) { in updateSpnDisplayLegacy()2582 loge("updateSpnDisplay: KEY_WFC_SPN_FORMAT_IDX_INT out of bounds: " + voiceIdx); in updateSpnDisplayLegacy()2583 voiceIdx = 0; in updateSpnDisplayLegacy()2593 flightModeIdx = voiceIdx; in updateSpnDisplayLegacy()2596 wfcVoiceSpnFormat = wfcSpnFormats[voiceIdx]; in updateSpnDisplayLegacy()