Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceController.java77 int defaultSubscriptionId = getDefaultSubscriptionId(); in updateState() local
85 if (subscriptionId == defaultSubscriptionId) { in updateState()
112 int defaultSubscriptionId = SubscriptionManager.getDefaultDataSubscriptionId(); in getDefaultSubscriptionId() local
113 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()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDataStall.java215 int defaultSubscriptionId = SubscriptionManager.getDefaultDataSubscriptionId(); in createTelephonyManagerForDefaultDataSubIfNeeded() local
216 if (defaultSubscriptionId != SubscriptionManager.INVALID_SUBSCRIPTION_ID in createTelephonyManagerForDefaultDataSubIfNeeded()
217 && defaultSubscriptionId != mTelephonyManager.getSubscriptionId()) { in createTelephonyManagerForDefaultDataSubIfNeeded()
/packages/services/Telephony/tests/src/com/android/phone/
DSimPhonebookProviderTest.java1478 public void setDefaultSubscriptionId(int defaultSubscriptionId) { in setDefaultSubscriptionId() argument
1479 mDefaultSubscriptionId = defaultSubscriptionId; in setDefaultSubscriptionId()