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.java490 int voiceIdx = config.getInt(CarrierConfigManager.KEY_WFC_SPN_FORMAT_IDX_INT); in WfcCarrierNameFormatter() local
495 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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java2562 int voiceIdx = 0; in updateSpnDisplayLegacy() local
2569 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()