Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java21 import static android.telephony.SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
202 private int mOpptDataSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
1011 if (subId == DEFAULT_SUBSCRIPTION_ID) return mPreferredDataPhoneId; in phoneIdForRequest()
1044 return DEFAULT_SUBSCRIPTION_ID; in getSubIdFromNetworkSpecifier()
1181 && subId != SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setOpportunisticDataSubscription()
1192 int subIdToValidate = (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) in setOpportunisticDataSubscription()
1208 logDataSwitchEvent(subId == DEFAULT_SUBSCRIPTION_ID ? mPrimaryDataSubId : subId, in setOpportunisticDataSubscription()
1212 subId == DEFAULT_SUBSCRIPTION_ID ? mPrimaryDataSubId : subId, in setOpportunisticDataSubscription()
1282 setOpportunisticSubscriptionInternal(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID); in confirmSwitch()
DSubscriptionController.java2251 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in getSlotIndex()
2339 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in getPhoneId()
2458 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setDefaultSmsSubId()
2490 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setDefaultVoiceSubId()
2561 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setDefaultDataSubId()
2624 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setDefaultFallbackSubId()
2733 } else if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in validateSubId()
3226 return SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in getPreferredDataSubscriptionId()
DSubscriptionInfoUpdater.java1036 || currentSubId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in updateSubscriptionByCarrierConfig()
DPhone.java3741 return SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in getSubId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java403 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, false, null); in testSetPreferredData()
466 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, false, null); in testSetPreferredDataModemCommand()
523 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, true, null); in testSetPreferredDataWithValidation()
841 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, true, mSetOpptDataCallback2); in testSetPreferredDataCallback()
850 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, true, mSetOpptDataCallback2); in testSetPreferredDataCallback()
876 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, false, null); in testSetPreferredDataCallback()
890 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, true, mSetOpptDataCallback2); in testSetPreferredDataCallback()
DSubscriptionControllerTest.java1626 assertEquals(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, in testGetPreferredDataSubscriptionId_phoneSwitcherNotInitialized()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java379 if(r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) {
795 listenForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, callingPackage, in listenWithFeature()
849 r.subId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in listen()
1233 (r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID)) { in notifyCallStateForAllSubs()
1269 (r.subId != SubscriptionManager.DEFAULT_SUBSCRIPTION_ID)) { in notifyCallState()
1498 notifyCellInfoForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, cellInfo); in notifyCellInfo()
1626 notifyCallForwardingChangedForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, cfi); in notifyCallForwardingChanged()
1658 notifyDataActivityForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, state); in notifyDataActivity()
1827 notifyCellLocationForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, cellLocation); in notifyCellLocation()
2743 if (subIdInRecord == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in idMatchWithoutDefaultPhoneCheck()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java19 import static android.telephony.SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
386 if (subId == DEFAULT_SUBSCRIPTION_ID) return mPreferredDataPhoneId; in phoneIdForRequest()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java220 int subId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in showNotification()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java110 public static final int DEFAULT_SUBSCRIPTION_ID = Integer.MAX_VALUE; field in SubscriptionManager
129 public static final int MAX_SUBSCRIPTION_ID_VALUE = DEFAULT_SUBSCRIPTION_ID - 1;
2745 int preferredSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in getPreferredDataSubscriptionId()
DSmsManager.java79 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID);
1502 return (mSubId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) in getSubscriptionId()
DTelephonyManager.java343 this(context, SubscriptionManager.DEFAULT_SUBSCRIPTION_ID); in TelephonyManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java217 mSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in setupNetworkController()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java2761 subId != SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in isSubIdValid()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java5486 .thenReturn(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID); in testCarrierConfigChangeUpdateSoftApCapability()
5507 .thenReturn(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID); in testPhoneActiveDataSubscriptionIdChangedUpdateSoftApCapability()
/frameworks/base/api/
Dcurrent.txt48043 field public static final int DEFAULT_SUBSCRIPTION_ID = 2147483647; // 0x7fffffff