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/policy/
DNetworkControllerImpl.java443 int voiceSubId = mSubDefaults.getDefaultVoiceSubId(); in isEmergencyOnly() local
444 if (!SubscriptionManager.isValidSubscriptionId(voiceSubId)) { in isEmergencyOnly()
455 if (mMobileSignalControllers.indexOfKey(voiceSubId) >= 0) { in isEmergencyOnly()
456 mEmergencySource = EMERGENCY_VOICE_CONTROLLER + voiceSubId; in isEmergencyOnly()
457 if (DEBUG) Log.d(TAG, "Getting emergency from " + voiceSubId); in isEmergencyOnly()
458 return mMobileSignalControllers.get(voiceSubId).getState().isEmergency; in isEmergencyOnly()
469 if (DEBUG) Log.e(TAG, "Cannot find controller for voice sub: " + voiceSubId); in isEmergencyOnly()
470 mEmergencySource = EMERGENCY_NO_SUB + voiceSubId; in isEmergencyOnly()