Home
last modified time | relevance | path

Searched refs:getSubId (Results 1 – 25 of 143) sorted by relevance

123456

/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DDomainSelectorBase.java112 protected int getSubId() { in getSubId() method in DomainSelectorBase
124 ipw.println("SubId: " + getSubId()); in dump()
130 Log.d(mLogTag, "[" + getSlotId() + "|" + getSubId() + "] " + s); in logd()
134 Log.i(mLogTag, "[" + getSlotId() + "|" + getSubId() + "] " + s); in logi()
135 mEventLog.log("[" + getSlotId() + "|" + getSubId() + "] " + s); in logi()
139 Log.e(mLogTag, "[" + getSlotId() + "|" + getSubId() + "] " + s); in loge()
140 mEventLog.log("[" + getSlotId() + "|" + getSubId() + "] " + s); in loge()
DImsStateTracker.java168 public int getSubId() { in getSubId() method in ImsStateTracker
617 if (!SubscriptionManager.isValidSubscriptionId(getSubId())) { in startListeningForImsState()
623 mMmTelManager = imsMngr.getImsMmTelManager(getSubId()); in startListeningForImsState()
645 loge("ImsStateCallback is already registered for sub-" + getSubId()); in registerImsStateCallback()
691 logd("RegistrationCallback is already registered for sub-" + getSubId()); in registerImsRegistrationCallback()
731 logd("CapabilityCallback is already registered for sub-" + getSubId()); in registerMmTelCapabilityCallback()
849 ipw.println("SubId: " + getSubId()); in dump()
861 Log.d(TAG, "[" + getSlotId() + "|" + getSubId() + "] " + s); in logd()
865 Log.i(TAG, "[" + getSlotId() + "|" + getSubId() + "] " + s); in logi()
866 mEventLog.log("[" + getSlotId() + "|" + getSubId() + "] " + s); in logi()
[all …]
DEmergencyCallDomainSelector.java625 if (SubscriptionManager.isValidSubscriptionId(getSubId())) { in startDomainSelection()
674 if (!SubscriptionManager.isValidSubscriptionId(getSubId())) return false; in isSimReady()
684 PersistableBundle b = configMgr.getConfigForSubId(getSubId(), in updateCarrierConfiguration()
1376 if (SubscriptionManager.isValidSubscriptionId(getSubId())) { in isDeactivatedSim()
1378 tm = tm.createForSubscriptionId(getSubId()); in isDeactivatedSim()
1409 if (SubscriptionManager.isValidSubscriptionId(getSubId())) { in isWifiPreferred()
1427 if (SubscriptionManager.isValidSubscriptionId(getSubId())) { in isAdvancedCallingSettingEnabled()
1429 ImsMmTelManager mmTelManager = imsMngr.getImsMmTelManager(getSubId()); in isAdvancedCallingSettingEnabled()
1443 ProvisioningManager pm = imsMngr.getProvisioningManager(getSubId()); in isWifiCallingActivated()
1458 if (SubscriptionManager.isValidSubscriptionId(getSubId())) { in isWifiCallingSettingEnabled()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java168 mSCT.getSubIdsSupportingSimultaneousCalling(mPhone.getSubId()); in AccountEntry()
186 mMmTelManager = ImsMmTelManager.createForSubscriptionId(getSubId()); in AccountEntry()
190 + getSubId() + "' is invalid: " + e.getMessage()); in AccountEntry()
235 + "phoneId = " + mPhone.getPhoneId() + "; subId = " + mPhone.getSubId()); in AccountEntry()
303 Log.i(this, "reRegisterPstnPhoneAccount: subId: " + getSubId() in reRegisterPstnPhoneAccount()
308 Log.i(this, "reRegisterPstnPhoneAccount: subId: " + getSubId() + " - no change"); in reRegisterPstnPhoneAccount()
315 + "Telecom. subId=%d", account, getSubId()); in registerPstnPhoneAccount()
329 int subId = mPhone.getSubId(); in buildPstnPhoneAccount()
582 public int getSubId() { in getSubId() method in TelecomAccountRegistry.AccountEntry
583 return mPhone.getSubId(); in getSubId()
[all …]
DTelephonyConnectionService.java1116 disableActivation = cfgManager.getConfigForSubId(phone.getSubId()) in onCreateOutgoingConnection()
1274 .getInstance().getSubscriptionInfoInternal(phone.getSubId()); in onCreateOutgoingConnection()
1609 allowNonEmergencyCalls = cfgManager.getConfigForSubId(phone.getSubId()) in getTelephonyConnection()
2098 allowPrefixIms = cfgManager.getConfigForSubId(phone.getSubId()).getBoolean( in blockCallForwardingNumberWhileRoaming()
2104 blockPrefixes = cfgManager.getConfigForSubId(phone.getSubId()).getStringArray( in blockCallForwardingNumberWhileRoaming()
2265 CallComposerPictureManager.getInstance(phone.getContext(), phone.getSubId()) in placeOutgoingConnection()
2432 int subId = phone.getSubId(); in handleMmiCode()
2567 int activeCallDomain = getActiveCallDomain(phone.getSubId()); in handleOutgoingCallConnection()
2584 new SelectionAttributes.Builder(phone.getPhoneId(), phone.getSubId(), in handleOutgoingCallConnection()
2731 phone.getPhoneId(), phone.getSubId(), needToTurnOnRadio, in createEmergencyConnection()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileDataTogglePreferenceController.java91 return getSubId() != SubscriptionManager.INVALID_SUBSCRIPTION_ID ? AVAILABLE in getDefaultAvailabilityStatus()
114 if (getSubId() != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in onStartInternal()
115 getContext().getContentResolver().registerContentObserver(getObservableUri(getSubId()), in onStartInternal()
122 if (getSubId() != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in onStopInternal()
140 && getSubId() != defaultSubId; in handlePreferenceChanged()
160 NetworkUtils.setMobileDataEnabled(getContext(), getSubId(), enabled, in setMobileDataEnabled()
166 SubscriptionInfo info = mSubscriptionManager.getActiveSubscriptionInfo(getSubId()); in isOpportunistic()
190 mSubscriptionManager.getActiveSubscriptionInfo(getSubId()); in getConfirmMultisimEnableDialog()
DRoamingPreferenceController.java64 mRoamingStateChangeObserver.register(getContext(), getSubId()); in onStartInternal()
81 preference.setEnabled(getSubId() != SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateState()
112 PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(getSubId()); in isDialogNeeded()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java141 mSubscriptionInfoHelper.getSubId()); in handleAirplaneModeChange()
189 mSubscriptionInfoHelper.getSubId()); in doSsOverUtPrecautions()
303 .createForSubscriptionId(mPhone.getSubId()); in listenPhoneState()
370 .createForSubscriptionId(mPhone.getSubId()); in onResume()
398 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in onResume()
469 .createForSubscriptionId(mPhone.getSubId()); in updateVtWfc()
471 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in updateVtWfc()
492 mPhone.getSubId()); in updateVtWfc()
538 intent.putExtra(Settings.EXTRA_SUB_ID, mPhone.getSubId()); in updateVtWfc()
631 return SubscriptionManager.getResourcesForSubId(mPhone.getContext(), mPhone.getSubId()); in getResourcesForSubId()
DImsUtil.java128 if (cfgManager == null || !cfgManager.getConfigForSubId(getSubId(phoneId)) in shouldPromoteWfc()
156 private static int getSubId(int phoneId) { in getSubId() method in ImsUtil
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java146 handleNetworkScanResult(mAvailableNetworkInfos.get(0).getSubId());
238 return a.getSubId() - b.getSubId(); in compare()
305 return availableNetworkInfo.getSubId(); in getSubIdUsingAvailableNetworks()
347 if (!isOpprotunisticSub(availableNetworkInfo.getSubId())) { in hasOpprotunisticSub()
483 if (subscriptionInfo.getSubscriptionId() == availableNetwork.getSubId()) { in getFilteredAvailableNetworks()
487 } else if (subscriptionInfo.getSubscriptionId() < availableNetwork.getSubId()) { in getFilteredAvailableNetworks()
571 … if (!mSubscriptionManager.isActiveSubId(filteredAvailableNetworks.get(0).getSubId())) { in checkProfileUpdate()
573 switchToSubscription(filteredAvailableNetworks.get(0).getSubId(), in checkProfileUpdate()
576 if (enableModem(filteredAvailableNetworks.get(0).getSubId(), true)) { in checkProfileUpdate()
660 if (subscriptionInfo.getSubscriptionId() == availableNetworkInfo.getSubId() in isOpportunisticSubEmbedded()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsImsManager.java134 int newSubId = QnsUtils.getSubId(mContext, mSlotId); in onSubscriptionsChanged()
172 int subId = getSubId(); in initQnsImsManager()
406 b = mConfigManager.getConfigForSubId(getSubId()); in getBooleanCarrierConfig()
426 b = mConfigManager.getConfigForSubId(getSubId()); in getIntCarrierConfig()
455 tm = tm.createForSubscriptionId(getSubId()); in isGbaValid()
493 if (!SubscriptionManager.isValidSubscriptionId(getSubId())) { in isMmTelProvisioningRequired()
499 ProvisioningManager p = ProvisioningManager.createForSubscriptionId(getSubId()); in isMmTelProvisioningRequired()
510 if (!SubscriptionManager.isValidSubscriptionId(getSubId())) { in getImsProvisionedBoolNoException()
516 ProvisioningManager p = ProvisioningManager.createForSubscriptionId(getSubId()); in getImsProvisionedBoolNoException()
526 private int getSubId() { in getSubId() method in QnsImsManager
[all …]
DIwlanNetworkStatusTracker.java195 activeDataSub = ((VcnTransportInfo) transportInfo).getSubId(); in onCrossSimEnabledEvent()
347 + QnsUtils.getSubId(mContext, slotId) in makeIwlanAvailabilityInfo()
379 && QnsUtils.getSubId(mContext, slotId) != mConnectedDataSub in isCrossSimCallingCondition()
479 mConnectedDataSub = ((VcnTransportInfo) transportInfo).getSubId(); in onAvailable()
566 activeDataSub = ((VcnTransportInfo) transportInfo).getSubId(); in onCapabilitiesChanged()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcActivationController.java86 this.mTelephonyUtils = new TelephonyUtils(context, getSubId()); in WfcActivationController()
87 this.mImsUtils = ImsUtils.getInstance(context, getSubId()); in WfcActivationController()
102 this.mTelephonyUtils = new TelephonyUtils(context, getSubId()); in WfcActivationController()
172 private int getSubId() { in getSubId() method in WfcActivationController
173 return ActivityConstants.getSubId(mStartIntent); in getSubId()
DWfcActivationActivity.java48 int subId = ActivityConstants.getSubId(getIntent()); in onCreate()
147 int subId = ActivityConstants.getSubId(startIntent); in createDependeny()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DImsStateTrackerTest.java132 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, mImsStateTracker.getSubId()); in testInit()
140 assertEquals(SubscriptionManager.INVALID_SUBSCRIPTION_ID, mImsStateTracker.getSubId()); in testStartWithInvalidSubId()
149 assertEquals(SUB_1, mImsStateTracker.getSubId()); in testStart()
160 assertEquals(SUB_1, mImsStateTracker.getSubId()); in testStartWithDifferentSubId()
165 assertEquals(SUB_2, mImsStateTracker.getSubId()); in testStartWithDifferentSubId()
180 assertEquals(SUB_1, mImsStateTracker.getSubId()); in testStartWithSameSubId()
185 assertEquals(SUB_1, mImsStateTracker.getSubId()); in testStartWithSameSubId()
203 assertEquals(SUB_1, mImsStateTracker.getSubId()); in testStartWhenRegisteringCallbacksThrowException()
207 assertEquals(SUB_2, mImsStateTracker.getSubId()); in testStartWhenRegisteringCallbacksThrowException()
694 assertEquals(SUB_1, mImsStateTracker.getSubId()); in setUpImsStateCallback()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java60 tm = tm.createForSubscriptionId(getSubId(context, slotId)); in getNai()
82 public static int getSubId(Context context, int slotId) { in getSubId() method in IwlanHelper
95 tm = tm.createForSubscriptionId(IwlanHelper.getSubId(context, slotId)); in getCarrierId()
205 int subid = getSubId(context, slotId); in isCrossSimCallingEnabled()
/packages/services/Telephony/src/com/android/phone/settings/
DSuppServicesUiUtil.java94 boolean isRoaming = telephonyManager.isNetworkRoaming(phone.getSubId()); in makeMessage()
151 return !telephonyManager.getDataEnabled(phone.getSubId()); in isMobileDataOff()
157 return telephonyManager.isNetworkRoaming(phone.getSubId()) in isDataRoamingOffUnderRoaming()
176 TelephonyManager telephonyManager = new TelephonyManager(context, phone.getSubId()); in handleCallerIdUssdResponse()
DRadioInfo.java478 mTelephonyManager.setCellInfoListRate(sCellInfoListRateDisabled, mPhone.getSubId()); in updatePhoneIndex()
567 .createForSubscriptionId(mPhone.getSubId()); in onCreate()
572 mProvisioningManager = ProvisioningManager.createForSubscriptionId(mPhone.getSubId()); in onCreate()
822 mPhone.getSubId()); in updateAllFields()
879 mTelephonyManager.setCellInfoListRate(sCellInfoListRateDisabled, mPhone.getSubId()); in onPause()
1259 mSubscriptionId.setText(Integer.toString(mPhone.getSubId())); in updateSubscriptionIds()
1443 int subId = mPhone.getSubId(); in updateProperties()
1888 PersistableBundle originalBundle = cm.getConfigForSubId(mPhone.getSubId(),
1910 cm.overrideConfig(mPhone.getSubId(), overrideBundle, false);
1914 cm.overrideConfig(mPhone.getSubId(),
[all …]
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DDisableSmartForwardingTask.java41 int subId = getSubId(i); in run()
59 private int getSubId(int slotIndex) { in getSubId() method in DisableSmartForwardingTask
/packages/services/Telephony/src/com/android/phone/slice/
DPremiumNetworkEntitlementApi.java78 mPhone.getSubId(), in PremiumNetworkEntitlementApi()
86 mPhone.getSubId()); in PremiumNetworkEntitlementApi()
97 Log.d(TAG, "checkEntitlementStatus subId=" + mPhone.getSubId()); in checkEntitlementStatus()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java205 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(getSubId()); in refreshDataplanInfo()
208 List<SubscriptionPlan> plans = mSubscriptionManager.getSubscriptionPlans(getSubId()); in refreshDataplanInfo()
210 getSubId()); in refreshDataplanInfo()
227 mManageSubscriptionIntent = createManageSubscriptionIntent(getSubId()); in refreshDataplanInfo()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DSettingsData.java80 public int getSubId() { in getSubId() method in SettingsData.SettingsItem
98 TYPE_PER_SUBSCRIPTION_SETTINGS, self.getSubId()); in fromSelfParticipant()
211 self.getSubId())); in getSettingsItems()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileDataPreferenceController.java243 if (entity.getSubId() == mSubId) { in onActiveSubInfoChanged()
245 if (entity.getSubId() == SubscriptionManager.getDefaultDataSubscriptionId()) { in onActiveSubInfoChanged()
246 mDefaultSubId = entity.getSubId(); in onActiveSubInfoChanged()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessageBatch.java158 final ParticipantData self = ParticipantData.getSelfParticipant(sms.getSubId()); in storeSms()
163 ParticipantData.getFromRawPhoneBySimLocale(otherPhoneNumber, sms.getSubId()); in storeSms()
252 final ParticipantData self = ParticipantData.getSelfParticipant(mms.getSubId()); in storeMms()
256 self : ParticipantData.getFromRawPhoneBySimLocale(senderId, mms.getSubId()); in storeMms()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java628 (mRunningRequestCount > 0 && request.getSubId() != mCurrentSubId)) { in addSimRequest()
630 + " Request subId=" + request.getSubId() + "," in addSimRequest()
641 + " Request subId=" + request.getSubId() + "," in addSimRequest()
670 LogUtil.d("Add request to running queue for subId " + request.getSubId()); in addToRunningRequestQueueSynchronized()
678 mCurrentSubId = request.getSubId(); in addToRunningRequestQueueSynchronized()
684 request.execute(MmsService.this, getNetworkManager(request.getSubId())); in addToRunningRequestQueueSynchronized()
707 || mCurrentSubId == request.getSubId()) { in movePendingSimRequestsToRunningSynchronized()
711 + " Request subId=" + request.getSubId() + "," in movePendingSimRequestsToRunningSynchronized()
717 + " Request subId=" + request.getSubId() + "," in movePendingSimRequestsToRunningSynchronized()

123456