Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java19 import static android.telephony.SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
79 if (subId == DEFAULT_SUBSCRIPTION_ID) { in setDefaultDataSubId()
235 if (subId == DEFAULT_SUBSCRIPTION_ID) { in setDefaultVoiceSubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSwitcher.java20 import static android.telephony.SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
182 private int mOpptDataSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
952 if (subId == DEFAULT_SUBSCRIPTION_ID) return mPreferredDataPhoneId; in phoneIdForRequest()
985 return DEFAULT_SUBSCRIPTION_ID; in getSubIdFromNetworkRequest()
1132 && subId != SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setOpportunisticDataSubscription()
1138 int subIdToValidate = (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) in setOpportunisticDataSubscription()
1205 setOpportunisticSubscriptionInternal(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID); in onValidationDone()
1268 subId = subId == DEFAULT_SUBSCRIPTION_ID ? mPrimaryDataSubId : subId; in logDataSwitchEvent()
DSubscriptionController.java1900 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in getSlotIndex()
1988 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in getPhoneId()
2112 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setDefaultSmsSubId()
2147 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setDefaultVoiceSubId()
2221 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setDefaultDataSubId()
2301 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in setDefaultFallbackSubId()
2410 } else if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in validateSubId()
DSubscriptionInfoUpdater.java946 || currentSubId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { in updateSubscriptionByCarrierConfig()
DPhone.java3443 return SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in getSubId()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java300 if(r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) {
612 listenForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, pkgForDebug, callback, in listen()
660 r.subId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in listen()
966 (r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID)) { in notifyCallState()
1003 (r.subId != SubscriptionManager.DEFAULT_SUBSCRIPTION_ID)) { in notifyCallStateForPhoneId()
1224 notifyCellInfoForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, cellInfo); in notifyCellInfo()
1259 notifyPhysicalChannelConfigurationForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, in notifyPhysicalChannelConfiguration()
1353 notifyCallForwardingChangedForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, cfi); in notifyCallForwardingChanged()
1385 notifyDataActivityForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, state); in notifyDataActivity()
1417 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, state, in notifyDataConnection()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java418 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, false, null); in testSetPreferredData()
482 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, false, null); in testSetPreferredDataModemCommand()
538 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, true, null); in testSetPreferredDataWithValidation()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCellularLinkLayerStatsCollectorTest.java75 private static final int SUBID = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java207 int subId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in showNotification()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java109 public static final int DEFAULT_SUBSCRIPTION_ID = Integer.MAX_VALUE; field in SubscriptionManager
128 public static final int MAX_SUBSCRIPTION_ID_VALUE = DEFAULT_SUBSCRIPTION_ID - 1;
2681 int preferredSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in getPreferredDataSubscriptionId()
DSmsManager.java85 SubscriptionManager.DEFAULT_SUBSCRIPTION_ID);
1305 return (mSubId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) in getSubscriptionId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java166 mSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in setupNetworkController()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java2795 subId != SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in isSubIdValid()