Home
last modified time | relevance | path

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

123

/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java155 mMmTelManager = ImsMmTelManager.createForSubscriptionId(getSubId()); in AccountEntry()
159 + getSubId() + "' is invalid: " + e.getMessage()); in AccountEntry()
252 Log.i(this, "reRegisterPstnPhoneAccount: subId: " + getSubId() in reRegisterPstnPhoneAccount()
257 Log.i(this, "reRegisterPstnPhoneAccount: subId: " + getSubId() + " - no change"); in reRegisterPstnPhoneAccount()
280 int subId = mPhone.getSubId(); in buildPstnPhoneAccount()
497 public int getSubId() { in getSubId() method in TelecomAccountRegistry.AccountEntry
498 return mPhone.getSubId(); in getSubId()
562 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierVideoPauseSupported()
575 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierVideoPresenceSupported()
587 ImsRcsManager manager = mImsManager.getImsRcsManager(mPhone.getSubId()); in isUserContactDiscoverySettingEnabled()
[all …]
DTelephonyConnectionService.java744 disableActivation = cfgManager.getConfigForSubId(phone.getSubId()) in onCreateOutgoingConnection()
832 phone.getSubId()) in onCreateOutgoingConnection()
1075 allowNonEmergencyCalls = cfgManager.getConfigForSubId(phone.getSubId()) in getTelephonyConnection()
1547 blockPrefixes = cfgManager.getConfigForSubId(phone.getSubId()).getStringArray( in blockCallForwardingNumberWhileRoaming()
1730 int subId = phone.getSubId(); in placeOutgoingConnection()
1759 return cfgManager.getConfigForSubId(phone.getSubId()).getBoolean( in isVideoCallHoldAllowed()
1771 return cfgManager.getConfigForSubId(phone.getSubId()).getBoolean( in shouldHoldForEmergencyCall()
1897 (chosenPhone == null ? "null" : chosenPhone.getSubId())); in getPhoneForAccount()
1971 String[] dataPlaneRoamPlmns = cfgManager.getConfigForSubId(phone.getSubId()).getStringArray( in possiblyOverrideDefaultDataForEmergencyCall()
1985 final boolean supportsCpFallback = cfgManager.getConfigForSubId(phone.getSubId()) in possiblyOverrideDefaultDataForEmergencyCall()
[all …]
DConferenceParticipantConnection.java181 int subId = phone.getSubId(); in getCountryIso()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java142 handleNetworkScanResult(mAvailableNetworkInfos.get(0).getSubId());
232 return a.getSubId() - b.getSubId(); in compare()
291 return availableNetworkInfo.getSubId(); in getSubIdUsingAvailableNetworks()
334 if (!isOpprotunisticSub(availableNetworkInfo.getSubId())) { in hasOpprotunisticSub()
420 if (subscriptionInfo.getSubscriptionId() == availableNetwork.getSubId()) { in getFilteredAvailableNetworks()
424 } else if (subscriptionInfo.getSubscriptionId() < availableNetwork.getSubId()) { in getFilteredAvailableNetworks()
532 … if (!mSubscriptionManager.isActiveSubId(filteredAvailableNetworks.get(0).getSubId())) { in checkProfileUpdate()
534 switchToSubscription(filteredAvailableNetworks.get(0).getSubId()); in checkProfileUpdate()
536 if (enableModem(filteredAvailableNetworks.get(0).getSubId(), true)) { in checkProfileUpdate()
621 if (subscriptionInfo.getSubscriptionId() == availableNetworkInfo.getSubId() in isOpportunisticSubEmbedded()
DOpportunisticNetworkService.java420 availableNetworkInfo.getSubId()))) { in handleCarrierAppAvailableNetworks()
422 availableNetworkInfo.getSubId(), "updateAvailableNetworks"); in handleCarrierAppAvailableNetworks()
426 availableNetworkInfo.getSubId())) { in handleCarrierAppAvailableNetworks()
441 onsConfigInput.setPreferredDataSub(availableNetworks.get(0).getSubId()); in handleCarrierAppAvailableNetworks()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java134 mSubscriptionInfoHelper.getSubId()); in handleAirplaneModeChange()
182 mSubscriptionInfoHelper.getSubId()); in doSsOverUtPrecautions()
281 .createForSubscriptionId(mPhone.getSubId()); in listenPhoneState()
343 .createForSubscriptionId(mPhone.getSubId()); in onResume()
371 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in onResume()
437 .createForSubscriptionId(mPhone.getSubId()); in updateVtWfc()
439 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in updateVtWfc()
458 mPhone.getSubId()); in updateVtWfc()
504 intent.putExtra(Settings.EXTRA_SUB_ID, mPhone.getSubId()); in updateVtWfc()
597 return SubscriptionManager.getResourcesForSubId(mPhone.getContext(), mPhone.getSubId()); in getResourcesForSubId()
DImsUtil.java126 if (cfgManager == null || !cfgManager.getConfigForSubId(getSubId(phoneId)) in shouldPromoteWfc()
147 private static int getSubId(int phoneId) { in getSubId() method in ImsUtil
148 final int[] subIds = SubscriptionManager.getSubId(phoneId); in getSubId()
DCallForwardEditPreference.java94 phone.getSubId()); in init()
152 .getCarrierConfigForSubId(mPhone.getSubId()); in onDialogClosed()
222 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in handleCallForwardResult()
601 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isSkipCFFailToDisableDialog()
DPhoneUtils.java325 if (SubscriptionManager.isValidSubscriptionId(phone.getSubId())) { in displayMMIComplete()
327 phone.getSubId()); in displayMMIComplete()
739 return phone.getSubId(); in getSubIdForPhoneAccountHandle()
DGsmUmtsCallBarringOptions.java364 carrierConfig = configManager.getConfigForSubId(mSubscriptionInfoHelper.getSubId()); in onCreate()
417 SubscriptionManager.getSlotIndex(mPhone.getSubId())) in onCreate()
DPhoneInterfaceManager.java1695 mApp, phone.getSubId(), "eraseModemConfig"); in sendEraseModemConfig()
2548 int subId = phone.getSubId(); in getImeiForSlot()
2580 int subId = phone.getSubId(); in getMeidForSlot()
2612 int subId = phone.getSubId(); in getDeviceSoftwareVersionForSlot()
4866 mApp, phone.getSubId(), "resetModemConfig"); in resetModemConfig()
4892 mApp, phone.getSubId(), "rebootModem"); in rebootModem()
4909 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(mApp, defaultPhone.getSubId(), in getPcscfAddress()
5090 int[] subIds = SubscriptionManager.getSubId(slotIndex); in setBoundImsServiceOverride()
5124 int[] subIds = SubscriptionManager.getSubId(slotId); in getBoundImsServicePackage()
5450 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(mApp, defaultPhone.getSubId(), in getCalculatedPreferredNetworkType()
[all …]
DCdmaCallOptions.java52 subInfoHelper.getSubId()); in onCreate()
DSubscriptionInfoHelper.java130 public int getSubId() { in getSubId() method in SubscriptionInfoHelper
DGsmUmtsCallOptions.java68 b = PhoneGlobals.getInstance().getCarrierConfigForSubId(subInfoHelper.getSubId()); in init()
DCarrierConfigLoader.java627 int[] subIds = SubscriptionManager.getSubId(phoneId); in broadcastConfigChangedIntent()
648 int[] subIds = SubscriptionManager.getSubId(phoneId); in broadcastConfigChangedIntent()
1298 int[] subIds = SubscriptionManager.getSubId(phoneId); in hasCarrierPrivileges()
/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.java481 .createForSubscriptionId(mPhone.getSubId()); in onCreate()
1070 mSubscriptionId.setText(Integer.toString(mPhone.getSubId())); in updateSubscriptionIds()
1602 PersistableBundle b = configManager.getConfigForSubId(mPhone.getSubId()); in isEabEnabledByPlatform()
1722 final int subId = mPhone.getSubId();
1750 int[] subIds = SubscriptionManager.getSubId(phoneIndex);
/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()
DInsertNewMessageAction.java152 final int subId = self.getSubId(); in executeAction()
228 if (unboundSelf.getSubId() == ParticipantData.DEFAULT_SELF_SUB_ID in getSelf()
/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()
DSelfParticipantsData.java93 return self == null ? false : self.getSubId() == ParticipantData.DEFAULT_SELF_SUB_ID; in isDefaultSelf()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java451 (mRunningRequestCount > 0 && request.getSubId() != mCurrentSubId)) { in addSimRequest()
453 + " Request subId=" + request.getSubId() + "," in addSimRequest()
485 LogUtil.d("Add request to running queue for subId " + request.getSubId()); in addToRunningRequestQueueSynchronized()
493 mCurrentSubId = request.getSubId(); in addToRunningRequestQueueSynchronized()
499 request.execute(MmsService.this, getNetworkManager(request.getSubId())); in addToRunningRequestQueueSynchronized()
519 || mCurrentSubId == request.getSubId()) { in movePendingSimRequestsToRunningSynchronized()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DOpportunisticNetworkServiceTest.java137 onsConfigInput.setPreferredDataSub(availableNetworkInfos.get(0).getSubId()); in testHandleSimStateChange()
178 onsConfigInput.setPreferredDataSub(availableNetworkInfos.get(0).getSubId()); in testSystemPreferredDataWhileCarrierAppIsActive()
310 onsConfigInput.setPreferredDataSub(availableNetworkInfos.get(0).getSubId()); in testPriorityRuleOfActivatingAvailableNetworks()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java267 ? Uri.parse(FDN_CONTENT_PATH_WITH_SUB_ID + subscriptionInfoHelper.getSubId()) in getContentUri()
279 ? mSubscriptionInfoHelper.getSubId() in getFdnDialDirectlySupported()
/packages/apps/Settings/src/com/android/settings/network/
DMobileDataEnabledListener.java56 public int getSubId() { in getSubId() method in MobileDataEnabledListener

123