Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/android/telephony/
DSmsManager.java409 iSms.sendTextForSubscriber(getSubscriptionId(), packageName, in sendTextMessageInternal()
491 iSms.sendTextForSubscriberWithSelfPermissions(getSubscriptionId(), in sendTextMessageWithSelfPermissions()
624 iSms.sendTextForSubscriberWithOptions(getSubscriptionId(), in sendTextMessageInternal()
710 getSubscriptionId(), pdu, format, receivedIntent); in injectSmsPdu()
734 return SmsMessage.fragmentText(text, getSubscriptionId()); in divideMessage()
872 iSms.sendMultipartTextForSubscriber(getSubscriptionId(), packageName, in sendMultipartTextMessageInternal()
1055 iSms.sendMultipartTextForSubscriberWithOptions(getSubscriptionId(), in sendMultipartTextMessageInternal()
1212 iSms.sendDataForSubscriberWithSelfPermissions(getSubscriptionId(), in sendDataMessageWithSelfPermissions()
1303 public int getSubscriptionId() { in getSubscriptionId() method in SmsManager
1331 int subId = getSubscriptionId(); in resolveSubscriptionForOperation()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java149 mSubList.get(i).getSubscriptionId())); in testInsertSim()
552 assertTrue(SubscriptionManager.isValidSubscriptionId(info.getSubscriptionId())); in addAndVerifyRemoteSimAddition()
564 Comparator.comparingInt(o -> o.getSubscriptionId());
763 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
764 assertEquals(2, infoList.get(1).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
771 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
791 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
792 assertEquals(2, infoList.get(1).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
799 assertEquals(1, infoList.get(0).getSubscriptionId()); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
832 assertEquals(2, opptSubList.get(0).getSubscriptionId()); in testDisabledSubscriptionGroup()
[all …]
DSubscriptionInfoTest.java58 assertEquals(1, mSubscriptionInfoUT.getSubscriptionId()); in testSubProperties()
DSubscriptionInfoUpdaterTest.java279 doReturn(FAKE_SUB_ID_1).when(mSubInfo).getSubscriptionId(); in testSimLoaded()
348 doReturn(FAKE_SUB_ID_1).when(mSubInfo).getSubscriptionId(); in testSimLoadedEmptyOperatorNumeric()
440 doReturn(FAKE_SUB_ID_2).when(mSubInfo).getSubscriptionId(); in testDualSimLoaded()
/frameworks/base/drm/java/android/drm/
DDrmRights.java126 mSubscriptionId = data.getSubscriptionId(); in DrmRights()
168 public String getSubscriptionId() { in getSubscriptionId() method in DrmRights
DProcessedData.java79 public String getSubscriptionId() { in getSubscriptionId() method in ProcessedData
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsDownloadServiceBase.java272 onAppCallbackDied(uid, downloadRequest.getSubscriptionId()); in addStatusListener()
282 onAppCallbackDied(uid, downloadRequest.getSubscriptionId()); in addStatusListener()
385 onAppCallbackDied(uid, downloadRequest.getSubscriptionId()); in addProgressListener()
395 onAppCallbackDied(uid, downloadRequest.getSubscriptionId()); in addProgressListener()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java301 int refSubId = infoList.get(0).getSubscriptionId(); in onSubscriptionGroupChanged()
303 int subId = info.getSubscriptionId(); in onSubscriptionGroupChanged()
419 .map(info -> info.getSubscriptionId()) in updatePrimarySubListAndGetChangeType()
591 int currentSubId = info.getSubscriptionId(); in setUserDataEnabledForGroup()
623 mContext, Settings.Global.DATA_ROAMING, info.getSubscriptionId(), enable); in setRoamingDataEnabledForGroup()
DSubscriptionController.java124 return arg0.getSubscriptionId() - arg1.getSubscriptionId();
500 if (si.getSubscriptionId() == subId) { in getActiveSubscriptionInfo()
547 ? si.getSubscriptionId() : SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getActiveSubscriptionInfoForIccId()
1273 subId = info.getSubscriptionId(); in removeSubInfo()
1332 updateDefaultSubIdsIfNeeded(info.getSubscriptionId(), info.getSubscriptionType()); in removeSubInfo()
1357 oldSubInfo.get(i).getSubscriptionId()), value, null, null); in clearSubInfoRecord()
1566 if (subInfo.getSubscriptionId() == subId in setDisplayNameUsingSrc()
1750 subIdList[i] = infoList.get(i).getSubscriptionId(); in databaseUpdateHelper()
2437 if (info.getSubscriptionId() == subId) { in isSubscriptionVisible()
3006 int[] subIdArray = infoList.stream().mapToInt(info -> info.getSubscriptionId()) in canPackageManageGroup()
[all …]
DSubscriptionInfoUpdater.java455 int subId = sub.getSubscriptionId(); in handleSimLoaded()
632 temp.getSubscriptionId()); in updateSubscriptionInfoByIccId()
637 temp.getSubscriptionId()), value, null, null); in updateSubscriptionInfoByIccId()
/frameworks/av/include/drm/
DDrmRights.h93 String8 getSubscriptionId(void) const;
/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.java179 telephonyManager.getLine1Number(subscriptionInfo.getSubscriptionId()); in getFormattedPhoneNumber()
197 subscriptionInfo.get(i).getSubscriptionId()); in getFormattedPhoneNumbers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java90 super("MobileSignalController(" + info.getSubscriptionId() + ")", context, in MobileSignalController()
170 Global.MOBILE_DATA + mSubscriptionInfo.getSubscriptionId()), in registerListener()
253 mSubscriptionInfo.getSubscriptionId()); in updateInflateSignalStrength()
328 mSubscriptionInfo.getSubscriptionId(), mCurrentState.roaming); in notifyListeners()
381 mCurrentState.dataSim = defaultDataSub == mSubscriptionInfo.getSubscriptionId(); in updateDataSim()
491 if (mSubscriptionInfo.getSubscriptionId() in updateTelephony()
DNetworkControllerImpl.java400 + mobileSignalController.mSubscriptionInfo.getSubscriptionId(); in isEmergencyOnly()
581 subscriptions.remove(info1.getSubscriptionId() == mActiveMobileDataSubscription in filterMobileSubscriptionInSameGroup()
643 ? lhs.getSubscriptionId() - rhs.getSubscriptionId() in setCurrentSubscriptionsLocked()
658 int subId = subscriptions.get(i).getSubscriptionId(); in setCurrentSubscriptionsLocked()
714 if (mMobileSignalControllers.indexOfKey(info.getSubscriptionId()) < 0) { in hasCorrectMobileControllers()
1060 … mPhone.createForSubscriptionId(info.getSubscriptionId()), mCallbackHandler, this, info, in addSignalController()
DEmergencyCryptkeeperText.java103 int subId = subs.get(i).getSubscriptionId(); in update()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java257 when(mockSubInfo.getSubscriptionId()).thenReturn(testSubscriptions[i]); in testHasCorrectMobileControllers()
264 when(mockSubInfo.getSubscriptionId()).thenReturn(notTestSubscription); in testHasCorrectMobileControllers()
294 when(mockSubInfo.getSubscriptionId()).thenReturn(testSubscriptions[i]); in testSetCurrentSubscriptions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java140 int subId = subs.get(i).getSubscriptionId(); in updateText()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsMessage.java123 public int getSubscriptionId() throws RcsMessageStoreException { in getSubscriptionId() method in RcsMessage
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarSignalPolicy.java246 mMobileStates.add(new MobileIconState(subs.get(i).getSubscriptionId())); in setSubs()
256 if (mMobileStates.get(i).subId != subs.get(i).getSubscriptionId()) { in hasCorrectSubs()
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java234 String simOperator = mTelephonyManager.getSimOperator(info.getSubscriptionId()); in handleUpdateSimSubscriptionInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java209 subInfo.getSubscriptionId()); in updateNetworkConfig()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java275 subscriptions.remove(info1.getSubscriptionId() == mActiveMobileDataSubscription in filterMobileSubscriptionInSameGroup()
328 int subId = subs.get(i).getSubscriptionId(); in updateCarrierText()
DKeyguardUpdateMonitor.java443 boolean changed = refreshSimState(info.getSubscriptionId(), info.getSimSlotIndex()); in handleSimSubscriptionInfoChanged()
449 SimData data = mSimDatas.get(changedSubscriptions.get(i).getSubscriptionId()); in handleSimSubscriptionInfoChanged()
2302 if (isSimPinSecure(getSimState(info.getSubscriptionId()))) return true; in isSimPinSecure()
2438 final int id = info.getSubscriptionId(); in getNextSubIdForState()
2452 if (subId == info.getSubscriptionId()) return info; in getSubscriptionInfoForSubId()
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java290 public int getSubscriptionId() { in getSubscriptionId() method in DownloadRequest

12