Home
last modified time | relevance | path

Searched refs:voiceSubId (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerImpl.java677 int voiceSubId = mSubDefaults.getDefaultVoiceSubId(); in isEmergencyOnly() local
678 if (!SubscriptionManager.isValidSubscriptionId(voiceSubId)) { in isEmergencyOnly()
689 if (mMobileSignalControllers.indexOfKey(voiceSubId) >= 0) { in isEmergencyOnly()
690 mEmergencySource = EMERGENCY_VOICE_CONTROLLER + voiceSubId; in isEmergencyOnly()
691 if (DEBUG) Log.d(TAG, "Getting emergency from " + voiceSubId); in isEmergencyOnly()
692 return mMobileSignalControllers.get(voiceSubId).getState().isEmergency; in isEmergencyOnly()
705 if (DEBUG) Log.e(TAG, "Cannot find controller for voice sub: " + voiceSubId); in isEmergencyOnly()
706 mEmergencySource = EMERGENCY_NO_SUB + voiceSubId; in isEmergencyOnly()