Home
last modified time | relevance | path

Searched refs:getSubscriptionId (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/telephony/java/android/telephony/
DSmsManager.java651 iSms.sendTextForSubscriber(getSubscriptionId(), packageName, attributionTag, in sendTextMessageInternal()
765 iSms.sendTextForSubscriberWithOptions(getSubscriptionId(), in sendTextMessageInternal()
820 getSubscriptionId(), pdu, format, receivedIntent); in injectSmsPdu()
844 return SmsMessage.fragmentText(text, getSubscriptionId()); in divideMessage()
1049 iSms.sendMultipartTextForSubscriber(getSubscriptionId(), packageName, in sendMultipartTextMessageInternal()
1284 iSms.sendMultipartTextForSubscriberWithOptions(getSubscriptionId(), in sendMultipartTextMessageInternal()
1552 public int getSubscriptionId() { in getSubscriptionId() method in SmsManager
1580 int subId = getSubscriptionId(); in resolveSubscriptionForOperation()
1740 success = iSms.copyMessageToIccEfForSubscriber(getSubscriptionId(), in copyMessageToIcc()
1780 success = iSms.updateMessageOnIccEfForSubscriber(getSubscriptionId(), in deleteMessageFromIcc()
[all …]
/frameworks/base/drm/java/android/drm/
DDrmRights.java128 mSubscriptionId = data.getSubscriptionId(); in DrmRights()
170 public String getSubscriptionId() { in getSubscriptionId() method in DrmRights
DProcessedData.java81 public String getSubscriptionId() { in getSubscriptionId() method in ProcessedData
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DMobileSignalController.java131 super("MobileSignalController(" + info.getSubscriptionId() + ")", context, in MobileSignalController()
203 Global.MOBILE_DATA + mSubscriptionInfo.getSubscriptionId()), in registerListener()
217 mSubscriptionInfo.getSubscriptionId()); in updateInflateSignalStrength()
259 if (mNetworkController.isCarrierMergedWifi(mSubscriptionInfo.getSubscriptionId())) { in notifyListeners()
290 mSubscriptionInfo.getSubscriptionId(), in notifyListeners()
389 mCurrentState.dataSim = activeDataSubId == mSubscriptionInfo.getSubscriptionId(); in updateDataSim()
500 if (mSubscriptionInfo.getSubscriptionId() != mDefaults.getDefaultDataSubId()) { in updateTelephony()
DNetworkControllerImpl.java694 + mobileSignalController.mSubscriptionInfo.getSubscriptionId(); in isEmergencyOnly()
901 subscriptions.remove(info1.getSubscriptionId() == mActiveMobileDataSubscription in filterMobileSubscriptionInSameGroup()
963 ? lhs.getSubscriptionId() - rhs.getSubscriptionId() in setCurrentSubscriptionsLocked()
984 int subId = subscriptions.get(i).getSubscriptionId(); in setCurrentSubscriptionsLocked()
1050 if (mMobileSignalControllers.indexOfKey(info.getSubscriptionId()) < 0) { in hasCorrectMobileControllers()
1475 mPhone.createForSubscriptionId(info.getSubscriptionId()), in addDemoModeSignalController()
1525 SubscriptionInfo::getSubscriptionId).collect(Collectors.toList()) : null; in toSubscriptionIds()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java212 mSubList.get(i).getSubscriptionId())); in testInsertSim()
495 when((mMockSubscriptionInfo).getSubscriptionId()).thenReturn(FAKE_SUBID); in testIsExistingNameSourceStillValid_pnnIsNotNull_returnTrue()
505 when((mMockSubscriptionInfo).getSubscriptionId()).thenReturn(FAKE_SUBID); in testIsExistingNameSourceStillValid_spnIsNotNull_returnTrue()
517 when((mMockSubscriptionInfo).getSubscriptionId()).thenReturn(FAKE_SUBID); in testIsExistingNameSourceStillValid_simIsEmbedded_returnTrue()
527 when((mMockSubscriptionInfo).getSubscriptionId()).thenReturn(FAKE_SUBID); in testIsExistingNameSourceStillValid_carrierConfigIsNull_returnTrue()
538 when((mMockSubscriptionInfo).getSubscriptionId()).thenReturn(FAKE_SUBID); in testIsExistingNameSourceStillValid_carrierNameOverrideIsTrue_returnTrue()
549 when((mMockSubscriptionInfo).getSubscriptionId()).thenReturn(FAKE_SUBID); in testIsExistingNameSourceStillValid_spnIsNullAndCarrierNameIsNotNull_returnTrue()
897 assertTrue(SubscriptionManager.isValidSubscriptionId(info.getSubscriptionId())); in addAndVerifyRemoteSimAddition()
909 Comparator.comparingInt(o -> o.getSubscriptionId());
1197 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
[all …]
DSubscriptionInfoTest.java58 assertEquals(1, mSubscriptionInfoUT.getSubscriptionId()); in testSubProperties()
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsDownloadServiceBase.java293 onAppCallbackDied(uid, downloadRequest.getSubscriptionId()); in addStatusListener()
303 onAppCallbackDied(uid, downloadRequest.getSubscriptionId()); in addStatusListener()
406 onAppCallbackDied(uid, downloadRequest.getSubscriptionId()); in addProgressListener()
416 onAppCallbackDied(uid, downloadRequest.getSubscriptionId()); in addProgressListener()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageUtils.java43 final int mobileDefaultSubId = telephonyManager.getSubscriptionId(); in getMobileTemplate()
55 if ((subInfo != null) && (subInfo.getSubscriptionId() == subId)) { in getMobileTemplate()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNetworkConnectivityHandler.java250 activeSubIds.add(subInfo.getSubscriptionId());
251 if (!mPhoneStateListeners.containsKey(subInfo.getSubscriptionId())) {
253 telManager.createForSubscriptionId(subInfo.getSubscriptionId());
255 if (DEBUG) Log.d(TAG, "Listener sub" + subInfo.getSubscriptionId());
257 new SubIdPhoneStateListener(subInfo.getSubscriptionId());
258 mPhoneStateListeners.put(subInfo.getSubscriptionId(),
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DMergedCarrierEntry.java158 return wifiInfo.isCarrierMerged() && mSubscriptionId == wifiInfo.getSubscriptionId(); in connectionInfoMatches()
175 /* package */ int getSubscriptionId() { in getSubscriptionId() method in MergedCarrierEntry
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java536 int refSubId = infoList.get(0).getSubscriptionId(); in onSubscriptionGroupChanged()
538 int subId = info.getSubscriptionId(); in onSubscriptionGroupChanged()
677 .map(info -> info.getSubscriptionId()) in updatePrimarySubListAndGetChangeType()
888 int currentSubId = info.getSubscriptionId(); in setUserDataEnabledForGroup()
927 mContext, Settings.Global.DATA_ROAMING, info.getSubscriptionId(), enable); in setRoamingDataEnabledForGroup()
982 if (info.isGroupDisabled() && mSubController.isActiveSubId(info.getSubscriptionId())) { in deactivateGroupedOpportunisticSubscriptionIfNeeded()
985 + info.getSubscriptionId()); in deactivateGroupedOpportunisticSubscriptionIfNeeded()
994 log("[deactivateSubscription] eSIM profile " + info.getSubscriptionId()); in deactivateSubscription()
DSubscriptionController.java153 return arg0.getSubscriptionId() - arg1.getSubscriptionId();
397 .isActiveSubId(subInfo.getSubscriptionId())) { in internalInit()
771 if (si.getSubscriptionId() == subId) { in getActiveSubscriptionInfo()
799 if (subInfo.getSubscriptionId() == subId) { in getSubscriptionInfo()
806 if (subInfo.getSubscriptionId() == subId) { in getSubscriptionInfo()
1646 subId = info.getSubscriptionId(); in removeSubInfo()
1697 updateDefaultSubIdsIfNeeded(info.getSubscriptionId(), info.getSubscriptionType()); in removeSubInfo()
1933 int subId = subInfo.getSubscriptionId(); in isExistingNameSourceStillValid()
1934 int phoneId = getPhoneId(subInfo.getSubscriptionId()); in isExistingNameSourceStillValid()
2017 if (subInfo.getSubscriptionId() == subId in setDisplayNameUsingSrc()
[all …]
/frameworks/av/include/drm/
DDrmRights.h93 String8 getSubscriptionId(void) const;
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DMergedCarrierEntryTest.java72 when(mMockWifiInfo.getSubscriptionId()).thenReturn(subId); in testGetConnectedState_wifiInfoMatches_returnsConnected()
127 when(mMockWifiInfo.getSubscriptionId()).thenReturn(subId); in testGetSsid_connected_returnsSanitizedWifiInfoSsid()
/frameworks/av/drm/common/
DDrmRights.cpp60 String8 DrmRights::getSubscriptionId(void) const { in getSubscriptionId() function in DrmRights
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java185 subscriptionInfo.getSubscriptionId()).getLine1Number(); in getFormattedPhoneNumber()
202 subscriptionInfo.getSubscriptionId()).getLine1Number(); in getFormattedPhoneNumbers()
/frameworks/base/core/java/android/net/
DTelephonyNetworkSpecifier.java37 public int getSubscriptionId() { in getSubscriptionId() method in TelephonyNetworkSpecifier
/frameworks/base/core/java/android/net/vcn/
DVcnUnderlyingNetworkSpecifier.java118 mSubIds, ((TelephonyNetworkSpecifier) other).getSubscriptionId()); in canBeSatisfiedBy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java316 TelephonyCallback callback = mSubIdTelephonyCallbackMap.get(tm.getSubscriptionId()); in onStop()
320 Log.e(TAG, "Unexpected null telephony call back for Sub " + tm.getSubscriptionId()); in onStop()
619 + info.subscriptionInfo.getSubscriptionId(); in getUniqueSubscriptionDisplayNames()
623 info -> info.subscriptionInfo.getSubscriptionId(), in getUniqueSubscriptionDisplayNames()
638 if (subInfo != null && subInfo.getSubscriptionId() != mDefaultDataSubId
640 int subId = subInfo.getSubscriptionId();
898 if (subInfo.getSubscriptionId() != subId && !subInfo.isOpportunistic()) {
900 subInfo.getSubscriptionId()).setDataEnabled(false);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarSignalPolicy.java341 mMobileStates.add(new MobileIconState(subs.get(i).getSubscriptionId())); in setSubs()
344 if (state.subId == subs.get(i).getSubscriptionId()) { in setSubs()
352 new CallIndicatorIconState(subs.get(i).getSubscriptionId())); in setSubs()
363 if (mMobileStates.get(i).subId != subs.get(i).getSubscriptionId()) { in hasCorrectSubs()
/frameworks/base/services/core/java/com/android/server/vcn/
DTelephonySubscriptionTracker.java235 newSubIdToInfoMap.put(subInfo.getSubscriptionId(), subInfo); in handleSubscriptionsChanged()
245 && mReadySubIdsBySlotId.values().contains(subInfo.getSubscriptionId())) { in handleSubscriptionsChanged()
247 mTelephonyManager.createForSubscriptionId(subInfo.getSubscriptionId()); in handleSubscriptionsChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerSignalTest.java428 when(mockSubInfo.getSubscriptionId()).thenReturn(testSubscriptions[i]); in testHasCorrectMobileControllers()
435 when(mockSubInfo.getSubscriptionId()).thenReturn(notTestSubscription); in testHasCorrectMobileControllers()
465 when(mockSubInfo.getSubscriptionId()).thenReturn(testSubscriptions[i]); in testSetCurrentSubscriptions()
DNetworkControllerWifiTest.java323 when(mWifiInfo.getSubscriptionId()).thenReturn(1); in setWifiLevelForVcn()
333 when(mWifiInfo.getSubscriptionId()).thenReturn(1); in setWifiStateForVcn()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java248 subId = mWifiInfo.getSubscriptionId(); in fetchInitialState()
278 subId = mWifiInfo.getSubscriptionId(); in updateWifiInfo()

123