/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DefaultPhoneNotifier.java | 60 int subId = sender.getSubId(); in notifyPhoneState() 81 int subId = sender.getSubId(); in notifyServiceState() 101 int subId = sender.getSubId(); in notifySignalStrength() 120 int subId = sender.getSubId(); in notifyMessageWaitingChanged() 134 int subId = sender.getSubId(); in notifyCallForwardingChanged() 150 int subId = sender.getSubId(); in notifyDataActivity() 169 int subId = sender.getSubId(); in doNotifyDataConnection() 211 sender.getSubId(), apnType); in notifyDataConnectionFailed() 220 int subId = sender.getSubId(); in notifyCellLocation() 234 int subId = sender.getSubId(); in notifyCellInfo() [all …]
|
D | CarrierSmsUtils.java | 84 PersistableBundle config = cm.getConfigForSubId(phone.getSubId()); in getCarrierImsPackage() 86 if (VDBG) Rlog.v(TAG, "No CarrierConfig for subId:" + phone.getSubId()); in getCarrierImsPackage()
|
D | CallManager.java | 218 if (phone.getSubId() == subId && in getPhone() 258 if (phone.getSubId() == subId) { in getState() 311 if (phone.getSubId() == subId) { in getServiceState() 734 int subId = heldCall.getPhone().getSubId(); in conference() 773 int subId = phone.getSubId(); in dial() 866 if (phone.getSubId() == subId) { in clearDisconnected() 884 int subId = phone.getSubId(); in canDial() 1776 if ((call.getPhone().getSubId() == subId) || in getFirstNonIdleCall() 1989 if ((!call.isIdle()) && ((call.getPhone().getSubId() == subId) || in getFirstActiveCall() 2016 ((call.getPhone().getSubId() == subId) || in getFirstCallOfState() [all …]
|
D | CarrierResolver.java | 345 + mPhone.getSubId()), /* projection */ new String[]{Telephony.Carriers.APN}, in getPreferApn() 372 "preferapn/subId/" + mPhone.getSubId()), in isPreferApnUserEdited() argument 419 intent.putExtra(TelephonyManager.EXTRA_SUBSCRIPTION_ID, mPhone.getSubId()); in updateCarrierIdAndName() 427 Telephony.CarrierId.getSpecificCarrierIdUriForSubscriptionId(mPhone.getSubId()), in updateCarrierIdAndName() 454 intent.putExtra(TelephonyManager.EXTRA_SUBSCRIPTION_ID, mPhone.getSubId()); in updateCarrierIdAndName() 462 Telephony.CarrierId.getUriForSubscriptionId(mPhone.getSubId()), cv, null, null); in updateCarrierIdAndName() 467 if (SubscriptionManager.isValidSubscriptionId(mPhone.getSubId())) { in updateCarrierIdAndName() 469 SubscriptionController.getInstance().setCarrierId(mCarrierId, mPhone.getSubId()); in updateCarrierIdAndName() 723 accessRules = mTelephonyMgr.createForSubscriptionId(mPhone.getSubId()) in getSubscriptionMatchingRule() 749 if (!SubscriptionManager.isValidSubscriptionId(mPhone.getSubId())) { in matchSubscriptionCarrier()
|
D | CarrierServiceStateTracker.java | 77 int subId = mPhone.getSubId(); in CarrierServiceStateTracker() 105 int subId = mPhone.getSubId(); in registerPrefNetworkModeObserver() 205 + mPhone.getSubId(), Phone.PREFERRED_NT_MODE); in isGlobalMode() 283 PersistableBundle b = carrierConfigManager.getConfigForSubId(mPhone.getSubId());
|
D | MultiSimSettingController.java | 558 if (phone.getSubId() != defaultDataSub in disableDataForNonDefaultNonOpportunisticSubscriptions() 559 && SubscriptionManager.isValidSubscriptionId(phone.getSubId()) in disableDataForNonDefaultNonOpportunisticSubscriptions() 560 && !mSubController.isOpportunistic(phone.getSubId()) in disableDataForNonDefaultNonOpportunisticSubscriptions() 562 && !areSubscriptionsInSameGroup(defaultDataSub, phone.getSubId())) { in disableDataForNonDefaultNonOpportunisticSubscriptions() 563 log("setting data to false on " + phone.getSubId()); in disableDataForNonDefaultNonOpportunisticSubscriptions()
|
D | Phone.java | 649 PersistableBundle b = configManager.getConfigForSubId(getSubId()); in supportsConversionOfCdmaCallerIdMmiCodesWhileRoaming() 948 PersistableBundle b = configManager.getConfigForSubId(getSubId()); in isInEmergencySmsMode() 1420 int subId = getSubId(); in updateSavedNetworkOperator() 1467 String numeric = sp.getString(NETWORK_SELECTION_KEY + getSubId(), ""); in getSavedNetworkSelection() 1468 String name = sp.getString(NETWORK_SELECTION_NAME_KEY + getSubId(), ""); in getSavedNetworkSelection() 1469 String shrt = sp.getString(NETWORK_SELECTION_SHORT_KEY + getSubId(), ""); in getSavedNetworkSelection() 1479 remove(NETWORK_SELECTION_KEY + getSubId()). in clearSavedNetworkSelection() 1480 remove(NETWORK_SELECTION_NAME_KEY + getSubId()). in clearSavedNetworkSelection() 1481 remove(NETWORK_SELECTION_SHORT_KEY + getSubId()).commit(); in clearSavedNetworkSelection() 1925 int subId = getSubId(); in getCallForwardingIndicatorFromSharedPref() [all …]
|
D | GsmCdmaPhone.java | 405 SubscriptionController.getInstance().setMccMnc(operatorNumeric, getSubId()); in initRatSpecific() 428 SubscriptionController.getInstance().setCountryIso("", getSubId()); in setIsoCountryProperty() 439 SubscriptionController.getInstance().setCountryIso(iso, getSubId()); in setIsoCountryProperty() 576 + " subId " + getSubId()); in updateVoiceMail() 1174 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in dial() 1179 boolean alwaysTryImsForEmergencyCarrierConfig = configManager.getConfigForSubId(getSubId()) in dial() 1184 boolean allowWpsOverIms = configManager.getConfigForSubId(getSubId()) in dial() 1290 PersistableBundle config = configManager.getConfigForSubId(getSubId()); in isNotificationOfWfcCallRequired() 1304 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in isNotificationOfWfcCallRequired() 1523 PersistableBundle b = configManager.getConfigForSubId(getSubId()); in getVoiceMailNumber() [all …]
|
D | SmsPermissions.java | 101 TelephonyPermissions.enforceCallingOrSelfCarrierPrivilege(mPhone.getSubId(), message); in enforceCallerIsImsAppOrCarrierApp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettings.java | 137 if (mSubId != mPhone.getSubId()) { 139 + mPhone.getSubId()); 140 mSubId = mPhone.getSubId(); 191 .getDataEnabledOverrideRules(mPhone.getSubId())); in getDataEnabledOverride() 207 if (isStandAloneOpportunistic(mPhone.getSubId(), mPhone.getContext()) && !enabled) return; in setUserDataEnabled() 211 Settings.Global.MOBILE_DATA, mPhone.getSubId(), (enabled ? 1 : 0)); in setUserDataEnabled() 215 MultiSimSettingController.getInstance().notifyUserDataEnabled(mPhone.getSubId(), in setUserDataEnabled() 222 if (isStandAloneOpportunistic(mPhone.getSubId(), mPhone.getContext())) return true; in isUserDataEnabled() 228 Settings.Global.MOBILE_DATA, mPhone.getSubId(), defaultVal); in isUserDataEnabled() 242 .setDataEnabledOverrideRules(mPhone.getSubId(), mDataEnabledOverride.getRules()); in setAlwaysAllowMmsData() [all …]
|
D | DcTracker.java | 399 int subId = mPhone.getSubId(); in onSubscriptionsChanged() 416 simSuffix = Integer.toString(mPhone.getSubId()); in registerSettingsObserver() 488 int phoneSubId = mPhone.getSubId(); in onDataReconnect() 537 if (!SubscriptionManager.isValidSubscriptionId(subId) || (subId != mPhone.getSubId())) { in onActionIntentDataStallAlarm() 680 .createForSubscriptionId(phone.getSubId()); in DcTracker() 892 public long getSubId() { in getSubId() method in DcTracker 893 return mPhone.getSubId(); in getSubId() 1775 "preferapnset/subId/" + mPhone.getSubId()), in getPreferredApnSetId() 1843 mPhone.getSubId()) in isPermanentFailure() 1970 mPhone.getSubId()); in setupData() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | DefaultPhoneNotifierTest.java | 82 doReturn(1).when(mPhone).getSubId(); in testNotifyCallForwarding() 95 doReturn(1).when(mPhone).getSubId(); in testNotifyDataActivity() 115 doReturn(1).when(mPhone).getSubId(); in testNotifySignalStrength() 147 doReturn(1).when(mPhone).getSubId(); in testNotifyMessageWaiting() 159 doReturn(0).when(mPhone).getSubId(); in testNotifyDisconnectCause() 179 doReturn(1).when(mPhone).getSubId(); in testNotifyDataConnectionFailed() 210 mPhone.getSubId(), in testNotifyPreciseCallState() 219 mPhone.getSubId(), in testNotifyPreciseCallState() 228 mPhone.getSubId(), in testNotifyPreciseCallState() 237 mPhone.getSubId(), in testNotifyPreciseCallState() [all …]
|
D | MultiSimSettingControllerTest.java | 116 doReturn(1).when(mPhoneMock1).getSubId(); in setUp() 117 doReturn(2).when(mPhoneMock2).getSubId(); in setUp() 175 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mPhoneMock2).getSubId(); in testTestSubInfoChangeBeforeAllSubReady() 210 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mPhoneMock2).getSubId(); in testSingleActiveDsds() 223 doReturn(2).when(mPhoneMock1).getSubId(); in testSingleActiveDsds() 244 doReturn(SubscriptionManager.INVALID_SUBSCRIPTION_ID).when(mPhoneMock2).getSubId(); in testActivatingSecondSub() 262 doReturn(2).when(mPhoneMock2).getSubId(); in testActivatingSecondSub() 282 doReturn(3).when(mPhoneMock2).getSubId(); in testActivatingSecondSub()
|
D | CarrierServiceStateTrackerTest.java | 82 when(mPhone.getSubId()).thenReturn(1); in setUp() 165 String prefNetworkMode = Settings.Global.PREFERRED_NETWORK_MODE + mPhone.getSubId(); in testSendPrefNetworkNotification()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataFailCauseTest.java | 147 mPersistableBundle = configManager.getConfigForSubId(mPhone.getSubId()); in setUp() 167 data.mCause), mPhone.getSubId())); in testPermanentFailDefault() 170 DataFailCause.getFailCause(123456), mPhone.getSubId())); in testPermanentFailDefault() 177 doReturn(2).when(mPhone).getSubId(); in testPermanentFailConfigured() 192 DataFailCause.getFailCause(data.mCause), mPhone.getSubId())); in testPermanentFailConfigured() 196 DataFailCause.getFailCause(data.mCause), mPhone.getSubId())); in testPermanentFailConfigured() 225 DataFailCause.getFailCause(DataFailCause.REGULAR_DEACTIVATION), mPhone.getSubId())); in testIsRadioRestartFailureRegularDeactivation() 229 DataFailCause.getFailCause(DataFailCause.REGULAR_DEACTIVATION), mPhone.getSubId())); in testIsRadioRestartFailureRegularDeactivation() 240 assertFalse(DataFailCause.isRadioRestartFailure(mContext, randomCause, mPhone.getSubId())); in testIsRadioRestartFailureNotRegularDeactivation() 244 assertTrue(DataFailCause.isRadioRestartFailure(mContext, randomCause, mPhone.getSubId())); in testIsRadioRestartFailureNotRegularDeactivation()
|
D | DataEnabledOverrideTest.java | 66 doReturn(1).when(mPhone).getSubId(); in testOverrideEnabled() 96 doReturn(1).when(mPhone).getSubId(); in testUpdateRules() 209 doReturn(1).when(mPhone).getSubId(); in testSetDataAllowedInVoiceCall()
|
D | ApnSettingTest.java | 331 doReturn(1).when(mPhone).getSubId(); in testIsMetered() 377 doReturn(1).when(mPhone).getSubId(); in testIsRoamingMetered() 416 doReturn(1).when(mPhone).getSubId(); in testIsMeteredAnother() 445 doReturn(2).when(mPhone).getSubId(); in testIsRoamingMeteredAnother() 484 doReturn(3).when(mPhone).getSubId(); in testIsMeteredNothingCharged() 504 doReturn(3).when(mPhone).getSubId(); in testIsRoamingMeteredNothingCharged()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 1860 return getNaiBySubscriberId(getSubId()); in getNai() 1871 int[] subId = SubscriptionManager.getSubId(slotIndex); in getNai() 1944 enableLocationUpdates(getSubId()); in enableLocationUpdates() 1974 disableLocationUpdates(getSubId()); in disableLocationUpdates() 2034 return getCurrentPhoneType(getSubId()); in getCurrentPhoneType() 2287 return getNetworkOperatorName(getSubId()); in getNetworkOperatorName() 2362 return String.valueOf(getSubId()); in getNetworkSpecifier() 2386 return carrierConfigManager.getConfigForSubId(getSubId()); in getCarrierConfig() 2396 return isNetworkRoaming(getSubId()); in isNetworkRoaming() 2548 return getNetworkType(getSubId(SubscriptionManager.getDefaultDataSubscriptionId())); in getNetworkType() [all …]
|
D | VisualVoicemailService.java | 253 int subId = getSubId(context, phoneAccountHandle); in setSmsFilterSettings() 285 telephonyManager.sendVisualVoicemailSmsForSubscriber(getSubId(context, phoneAccountHandle), in sendVisualVoicemailSms() 289 private static int getSubId(Context context, PhoneAccountHandle phoneAccountHandle) { in getSubId() method in VisualVoicemailService
|
D | AvailableNetworkInfo.java | 91 public int getSubId() { in getSubId() method in AvailableNetworkInfo
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 490 getSubId(), SubscriptionManager.ENHANCED_4G_MODE_ENABLED, in isEnhanced4gLteModeSettingEnabledByUser() 533 int subId = getSubId(); in setEnhanced4gLteModeSetting() 798 getSubId(), SubscriptionManager.VT_IMS_ENABLED, in isVtEnabledByUser() 829 int subId = getSubId(); in setVtSetting() 916 getSubId(), SubscriptionManager.WFC_IMS_ENABLED, in isWfcEnabledByUser() 951 int subId = getSubId(); in setWfcSetting() 1109 result = SubscriptionManager.getIntegerSubscriptionProperty(getSubId(), subSetting, in getSettingFromSubscriptionManager() 1142 int subId = getSubId(); in setWfcMode() 1163 if (roaming == tm.isNetworkRoaming(getSubId())) { in setWfcMode() 1168 private int getSubId() { in getSubId() method in ImsManager [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTracker.java | 148 PersistableBundle b = configMgr.getConfigForSubId(mPhone.getSubId()); in EmergencyNumberTracker() 235 PersistableBundle b = configMgr.getConfigForSubId(mPhone.getSubId()); in onCarrierConfigChanged() 570 int slotId = SubscriptionController.getInstance().getSlotIndex(mPhone.getSubId()); in getEmergencyNumberListFromEccList() 664 int slotId = SubscriptionController.getInstance().getSlotIndex(mPhone.getSubId()); in isEmergencyNumberFromEccList() 894 int slotId = SubscriptionController.getInstance().getSlotIndex(mPhone.getSubId()); in dump()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | SubscriptionControllerMock.java | 97 int[] subIds = getSubId(phoneId); in getSubIdUsingPhoneId() 191 public int[] getSubId(int slotIndex) { in getSubId() method in SubscriptionControllerMock
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsMessageCreationParams.java | 63 public int getSubId() { in getSubId() method in RcsMessageCreationParams
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISub.aidl | 240 int[] getSubId(int slotIndex); in getSubId() method
|