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.java281 int voiceSubId = mSubDefaults.getDefaultVoiceSubId(); in isEmergencyOnly() local
282 if (!SubscriptionManager.isValidSubscriptionId(voiceSubId)) { in isEmergencyOnly()
293 if (mMobileSignalControllers.containsKey(voiceSubId)) { in isEmergencyOnly()
294 mEmergencySource = EMERGENCY_VOICE_CONTROLLER + voiceSubId; in isEmergencyOnly()
295 if (DEBUG) Log.d(TAG, "Getting emergency from " + voiceSubId); in isEmergencyOnly()
296 return mMobileSignalControllers.get(voiceSubId).getState().isEmergency; in isEmergencyOnly()
298 if (DEBUG) Log.e(TAG, "Cannot find controller for voice sub: " + voiceSubId); in isEmergencyOnly()
299 mEmergencySource = EMERGENCY_NO_SUB + voiceSubId; in isEmergencyOnly()