Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java52 int subId = sender.getSubId(); in notifyPhoneState()
73 int subId = sender.getSubId(); in notifyServiceState()
93 int subId = sender.getSubId(); in notifySignalStrength()
112 int subId = sender.getSubId(); in notifyMessageWaitingChanged()
126 int subId = sender.getSubId(); in notifyCallForwardingChanged()
142 int subId = sender.getSubId(); in notifyDataActivity()
161 int subId = sender.getSubId(); in doNotifyDataConnection()
199 int subId = sender.getSubId(); in notifyDataConnectionFailed()
211 int subId = sender.getSubId(); in notifyCellLocation()
225 int subId = sender.getSubId(); in notifyCellInfo()
[all …]
DCarrierSmsUtils.java84 PersistableBundle config = cm.getConfigForSubId(phone.getSubId()); in getCarrierImsPackage()
86 if (VDBG) Rlog.v(TAG, "No CarrierConfig for subId:" + phone.getSubId()); in getCarrierImsPackage()
DCarrierServiceStateTracker.java75 int subId = mPhone.getSubId(); in CarrierServiceStateTracker()
103 int subId = mPhone.getSubId(); in registerPrefNetworkModeObserver()
200 + mPhone.getSubId(), Phone.PREFERRED_NT_MODE); in isGlobalMode()
270 PersistableBundle b = carrierConfigManager.getConfigForSubId(mPhone.getSubId());
DCallManager.java220 if (phone.getSubId() == subId && in getPhone()
258 if (phone.getSubId() == subId) { in getState()
311 if (phone.getSubId() == subId) { in getServiceState()
879 int subId = heldCall.getPhone().getSubId(); in conference()
918 int subId = phone.getSubId(); in dial()
1011 if (phone.getSubId() == subId) { in clearDisconnected()
1028 int subId = phone.getSubId(); in canDial()
1906 if ((call.getPhone().getSubId() == subId) || in getFirstNonIdleCall()
2148 if ((!call.isIdle()) && ((call.getPhone().getSubId() == subId) || in getFirstActiveCall()
2175 ((call.getPhone().getSubId() == subId) || in getFirstCallOfState()
[all …]
DPhone.java692 mNotifier.notifyOemHookRawEventForSubscriber(getSubId(), data); in handleMessage()
1291 int subId = getSubId(); in updateSavedNetworkOperator()
1338 String numeric = sp.getString(NETWORK_SELECTION_KEY + getSubId(), ""); in getSavedNetworkSelection()
1339 String name = sp.getString(NETWORK_SELECTION_NAME_KEY + getSubId(), ""); in getSavedNetworkSelection()
1340 String shrt = sp.getString(NETWORK_SELECTION_SHORT_KEY + getSubId(), ""); in getSavedNetworkSelection()
1350 remove(NETWORK_SELECTION_KEY + getSubId()). in clearSavedNetworkSelection()
1351 remove(NETWORK_SELECTION_NAME_KEY + getSubId()). in clearSavedNetworkSelection()
1352 remove(NETWORK_SELECTION_SHORT_KEY + getSubId()).commit(); in clearSavedNetworkSelection()
1764 int subId = getSubId(); in getCallForwardingIndicatorFromSharedPref()
1804 int subId = getSubId(); in setCallForwardingIndicatorInSharedPref()
[all …]
DCarrierIdentifier.java116 int subId = mPhone.getSubId(); in onSubscriptionsChanged()
279 + mPhone.getSubId()), /* projection */ new String[]{Telephony.Carriers.APN}, in getPreferApn()
322 intent.putExtra(TelephonyManager.EXTRA_SUBSCRIPTION_ID, mPhone.getSubId()); in updateCarrierIdAndName()
331 Integer.toString(mPhone.getSubId())), cv, null, null); in updateCarrierIdAndName()
519 if (!SubscriptionManager.isValidSubscriptionId(mPhone.getSubId())) { in matchCarrier()
DGsmCdmaPhone.java337 SubscriptionController.getInstance().setMccMnc(operatorNumeric, getSubId()); in initRatSpecific()
503 + " subId " + getSubId()); in updateVoiceMail()
1049 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in dial()
1054 boolean alwaysTryImsForEmergencyCarrierConfig = configManager.getConfigForSubId(getSubId()) in dial()
1156 PersistableBundle config = configManager.getConfigForSubId(getSubId()); in isNotificationOfWfcCallRequired()
1170 boolean isEmergency = PhoneNumberUtils.isEmergencyNumber(getSubId(), dialString); in isNotificationOfWfcCallRequired()
1456 boolean force_imei = configManager.getConfigForSubId(getSubId()) in getDeviceId()
2330 PersistableBundle b = configMgr.getConfigForSubId(getSubId()); in handleMessage()
2678 logd("updateCurrentCarrierInProvider: mSubId = " + getSubId() in updateCurrentCarrierInProvider()
2681 if (!TextUtils.isEmpty(operatorNumeric) && (getSubId() == currentDds)) { in updateCurrentCarrierInProvider()
[all …]
DServiceStateTracker.java286 int subId = mPhone.getSubId(); in onSubscriptionsChanged()
2162 PersistableBundle b = configLoader.getConfigForSubId(mPhone.getSubId()); in updateRoamingState()
2190 PersistableBundle b = configLoader.getConfigForSubId(mPhone.getSubId()); in updateRoamingState()
2257 PersistableBundle b = configLoader.getConfigForSubId(mPhone.getSubId()); in updateSpnDisplay()
2364 int[] subIds = SubscriptionManager.getSubId(mPhone.getPhoneId()); in updateSpnDisplay()
2410 int[] subIds = SubscriptionManager.getSubId(mPhone.getPhoneId()); in updateSpnDisplay()
3000 .insert(getUriForSubscriptionId(mPhone.getSubId()), in pollStateDone()
3325 PersistableBundle config = configManager.getConfigForSubId(mPhone.getSubId()); in isOperatorConsideredNonRoaming()
3349 PersistableBundle config = configManager.getConfigForSubId(mPhone.getSubId()); in isOperatorConsideredRoaming()
3628 if (dataSubId != mPhone.getSubId()) { in setNotification()
[all …]
DNetworkRegistrationManager.java215 PersistableBundle b = mCarrierConfigManager.getConfigForSubId(mPhone.getSubId()); in getPackageName()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java445 getSubId(), SubscriptionManager.ENHANCED_4G_MODE_ENABLED, in isEnhanced4gLteModeSettingEnabledByUser()
489 getSubId(), SubscriptionManager.ENHANCED_4G_MODE_ENABLED, in setEnhanced4gLteModeSetting()
495 SubscriptionManager.setSubscriptionProperty(getSubId(), in setEnhanced4gLteModeSetting()
736 getSubId(), SubscriptionManager.VT_IMS_ENABLED, in isVtEnabledByUser()
762 SubscriptionManager.setSubscriptionProperty(getSubId(), SubscriptionManager.VT_IMS_ENABLED, in setVtSetting()
843 getSubId(), SubscriptionManager.WFC_IMS_ENABLED, in isWfcEnabledByUser()
873 SubscriptionManager.setSubscriptionProperty(getSubId(), in setWfcSetting()
878 setWfcNonPersistent(enabled, getWfcMode(tm.isNetworkRoaming(getSubId()))); in setWfcSetting()
954 SubscriptionManager.setSubscriptionProperty(getSubId(), in setWfcMode()
1016 result = SubscriptionManager.getIntegerSubscriptionProperty(getSubId(), subSetting, in getSettingFromSubscriptionManager()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcFailCauseTest.java150 data.mCause).isPermanentFailure(mContext, mPhone.getSubId())); in testPermanentFailDefault()
152 assertFalse(DcFailCause.fromInt(123456).isPermanentFailure(mContext, mPhone.getSubId())); in testPermanentFailDefault()
159 doReturn(2).when(mPhone).getSubId(); in testPermanentFailConfigured()
172 isPermanentFailure(mContext, mPhone.getSubId())); in testPermanentFailConfigured()
175 isPermanentFailure(mContext, mPhone.getSubId())); in testPermanentFailConfigured()
DApnSettingTest.java319 doReturn(1).when(mPhone).getSubId(); in testIsMetered()
372 doReturn(1).when(mPhone).getSubId(); in testIsRoamingMetered()
420 doReturn(1).when(mPhone).getSubId(); in testIsIwlanMetered()
467 doReturn(1).when(mPhone).getSubId(); in testIsMeteredAnother()
503 doReturn(2).when(mPhone).getSubId(); in testIsRoamingMeteredAnother()
550 doReturn(2).when(mPhone).getSubId(); in testIsIwlanMeteredAnother()
596 doReturn(3).when(mPhone).getSubId(); in testIsMeteredNothingCharged()
619 doReturn(3).when(mPhone).getSubId(); in testIsRoamingMeteredNothingCharged()
645 doReturn(3).when(mPhone).getSubId(); in testIsIwlanMeteredNothingCharged()
669 doReturn(4).when(mPhone).getSubId(); in testIsMeteredNothingFree()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDefaultPhoneNotifierTest.java84 doReturn(1).when(mPhone).getSubId(); in testNotifyCallForwarding()
97 doReturn(1).when(mPhone).getSubId(); in testNotifyDataActivity()
117 doReturn(1).when(mPhone).getSubId(); in testNotifySignalStrength()
149 doReturn(1).when(mPhone).getSubId(); in testNotifyMessageWaiting()
184 doReturn(1).when(mPhone).getSubId(); in testNotifyDataConnectionFailed()
257 doReturn(1).when(mPhone).getSubId(); in testNotifyCellLocation()
DCarrierServiceStateTrackerTest.java98 when(mPhone.getSubId()).thenReturn(1); in setUp()
186 String prefNetworkMode = Settings.Global.PREFERRED_NETWORK_MODE + mPhone.getSubId(); in testSendPrefNetworkNotification()
DCellularNetworkServiceTest.java82 doReturn(dds).when(mPhone).getSubId(); in setUp()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java253 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
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java126 int subId = mPhone.getSubId(); in getMobileDataSettingName()
131 return Settings.Global.MOBILE_DATA + mPhone.getSubId(); in getMobileDataSettingName()
DDcTracker.java294 int subId = mPhone.getSubId();
311 simSuffix = Integer.toString(mPhone.getSubId()); in registerSettingsObserver()
375 int phoneSubId = mPhone.getSubId(); in onDataReconnect()
859 public long getSubId() { in getSubId() method in DcTracker
860 return mPhone.getSubId(); in getSubId()
1786 "preferapnset/subId/" + mPhone.getSubId()), in getPreferredApnSetId()
1850 return (dcFailCause.isPermanentFailure(mPhone.getContext(), mPhone.getSubId()) && in isPermanentFailure()
2146 if (mPhone.getSubId() == SubscriptionManager.getDefaultDataSubscriptionId()) { in onApnChanged()
2272 int subId = mPhone.getSubId(); in startAlarmForReconnect()
2617 final int phoneSubId = mPhone.getSubId(); in setDataRoamingEnabledByUser()
[all …]
DDcController.java188 if (mPhone == null || mPhone.getSubId() != subId) return;
333 mPhone.getSubId())) { in onDataStateChanged()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDcParamObject.java55 public int getSubId() { in getSubId() method in DcParamObject
DISub.aidl161 int[] getSubId(int slotIndex); in getSubId() method
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java97 int[] subIds = getSubId(phoneId); in getSubIdUsingPhoneId()
186 public int[] getSubId(int slotIndex) { in getSubId() method in SubscriptionControllerMock
DDcTrackerMock.java48 public long getSubId() { in getSubId() method in DcTrackerMock
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java109 destPort, mPhone.getSubId()); in dispatchMessageRadioSpecific()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java235 int getSubId(int slotId); in getSubId() method
244 public int getSubId(int slotId) {
245 int[] subIds = SubscriptionManager.getSubId(slotId);
1015 int subId = mSubscriptionManagerProxy.getSubId(slotId); in carrierConfigChanged()

123