Searched refs:defaultSubscriptionId (Results 1 – 3 of 3) sorted by relevance
77 int defaultSubscriptionId = getDefaultSubscriptionId(); in updateState() local85 if (subscriptionId == defaultSubscriptionId) { in updateState()112 int defaultSubscriptionId = SubscriptionManager.getDefaultDataSubscriptionId(); in getDefaultSubscriptionId() local113 if (!SubscriptionManager.isUsableSubIdValue(defaultSubscriptionId)) { in getDefaultSubscriptionId()114 defaultSubscriptionId = SubscriptionManager.getDefaultVoiceSubscriptionId(); in getDefaultSubscriptionId()116 if (!SubscriptionManager.isUsableSubIdValue(defaultSubscriptionId)) { in getDefaultSubscriptionId()117 defaultSubscriptionId = SubscriptionManager.getDefaultSmsSubscriptionId(); in getDefaultSubscriptionId()119 if (!SubscriptionManager.isUsableSubIdValue(defaultSubscriptionId)) { in getDefaultSubscriptionId()120 defaultSubscriptionId = SubscriptionManager.getDefaultSubscriptionId(); in getDefaultSubscriptionId()122 return defaultSubscriptionId; in getDefaultSubscriptionId()
215 int defaultSubscriptionId = SubscriptionManager.getDefaultDataSubscriptionId(); in createTelephonyManagerForDefaultDataSubIfNeeded() local216 if (defaultSubscriptionId != SubscriptionManager.INVALID_SUBSCRIPTION_ID in createTelephonyManagerForDefaultDataSubIfNeeded()217 && defaultSubscriptionId != mTelephonyManager.getSubscriptionId()) { in createTelephonyManagerForDefaultDataSubIfNeeded()
1478 public void setDefaultSubscriptionId(int defaultSubscriptionId) { in setDefaultSubscriptionId() argument1479 mDefaultSubscriptionId = defaultSubscriptionId; in setDefaultSubscriptionId()