Home
last modified time | relevance | path

Searched refs:mSubId (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/net/
DTelephonyNetworkSpecifier.java29 private final int mSubId; field in TelephonyNetworkSpecifier
37 return mSubId; in getSubscriptionId()
44 this.mSubId = subId; in TelephonyNetworkSpecifier()
68 dest.writeInt(mSubId); in writeToParcel()
73 return mSubId; in hashCode()
86 return mSubId == lhs.mSubId; in equals()
93 .append("mSubId = ").append(mSubId) in toString()
115 private int mSubId; field in TelephonyNetworkSpecifier.Builder
118 mSubId = SENTINEL_SUB_ID; in Builder()
128 mSubId = subId; in setSubscriptionId()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java76 private int mSubId; field in CellularNetworkValidator
254 if (subId == mSubId) return;
273 mSubId = subId;
279 logd("Start validating subId " + mSubId + " mTimeoutInMs " + mTimeoutInMs
308 mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
315 return mSubId;
330 .setSubscriptionId(mSubId).build())
336 if (mSubId != subId) return;
343 mValidationCallback.onValidationDone(passed, mSubId);
360 if (mSubId != subId) return;
[all …]
DInboundSmsTracker.java45 private final int mSubId; field in InboundSmsTracker
123 mSubId = subId; in InboundSmsTracker()
163 mSubId = subId; in InboundSmsTracker()
197 mSubId = cursor.getInt(SmsBroadcastUndelivered.PDU_PENDING_MESSAGE_PROJECTION_INDEX_MAPPING in InboundSmsTracker()
258 values.put("sub_id", mSubId); in getContentValues()
329 return mSubId; in getSubId()
DServiceStateTracker.java343 public int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in ServiceStateTracker
383 if (mSubId == curSubId) return; in onSubscriptionsChanged()
387 mPrevSubId = mSubId; in onSubscriptionsChanged()
388 mSubId = curSubId; in onSubscriptionsChanged()
399 if (!SubscriptionManager.isValidSubscriptionId(mSubId)) return; in onSubscriptionsChanged()
440 editor.putString(Phone.NETWORK_SELECTION_KEY + mSubId, in onSubscriptionsChanged()
442 editor.putString(Phone.NETWORK_SELECTION_NAME_KEY + mSubId, in onSubscriptionsChanged()
444 editor.putString(Phone.NETWORK_SELECTION_SHORT_KEY + mSubId, in onSubscriptionsChanged()
2589 if (mSubId != subId in notifySpnDisplayUpdate()
2624 mSubId = subId; in notifySpnDisplayUpdate()
[all …]
DInboundSmsHandler.java1534 private final int mSubId; field in InboundSmsHandler.CarrierServicesSmsFilterCallback
1545 mSubId = subId; in CarrierServicesSmsFilterCallback()
1553 mSmsFormat, mDestPort, mSubId)) { in onFilterComplete()
1561 mPdus, mSmsFormat, mDestPort, mSmsBroadcastReceiver, mIsClass0, mSubId); in onFilterComplete()
/frameworks/base/telephony/java/android/telephony/
DAvailableNetworkInfo.java54 private int mSubId; field in AvailableNetworkInfo
92 return mSubId; in getSubId()
139 dest.writeInt(mSubId); in writeToParcel()
146 mSubId = in.readInt(); in AvailableNetworkInfo()
156 mSubId = subId; in AvailableNetworkInfo()
176 return (mSubId == ani.mSubId in equals()
185 return Objects.hash(mSubId, mPriority, mMccMncs, mBands); in hashCode()
204 + " mSubId: " + mSubId in toString()
DNetworkScan.java101 private final int mSubId; field in NetworkScan
115 telephony.stopNetworkScan(mSubId, mScanId); in stopScan()
147 mSubId = subId; in NetworkScan()
DSmsCbMessage.java214 private final int mSubId; field in SmsCbMessage
256 mSubId = subId; in SmsCbMessage()
296 mSubId = in.readInt(); in SmsCbMessage()
333 dest.writeInt(mSubId); in writeToParcel()
469 return mSubId; in getSubscriptionId()
575 cv.put(CellBroadcasts.SUBSCRIPTION_ID, mSubId); in getContentValues()
DSmsMessage.java137 private int mSubId = 0; field in SmsMessage
145 mSubId = subId; in setSubId()
154 return mSubId; in getSubId()
DTelephonyManager.java290 private final int mSubId; field in TelephonyManager
323 mSubId = subId; in TelephonyManager()
337 mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in TelephonyManager()
3444 int subId = mSubId; in getSimOperatorNumeric()
3691 return telephony.getCardIdForDefaultEuicc(mSubId, mContext.getOpPackageName()); in getCardIdForDefaultEuicc()
3765 telephony.refreshUiccProfile(mSubId); in refreshUiccProfile()
4035 info.setCarrierInfoForImsiEncryption(mSubId, mContext.getOpPackageName(), in setCarrierInfoForImsiEncryption()
4494 .getVisualVoicemailSettings(mContext.getOpPackageName(), mSubId); in getVisualVoicemailSettings()
4545 disableVisualVoicemailSmsFilter(mSubId); in setVisualVoicemailSmsFilterSettings()
4547 enableVisualVoicemailSmsFilter(mSubId, settings); in setVisualVoicemailSmsFilterSettings()
[all …]
DSmsManager.java98 private int mSubId; field in SmsManager
1427 mSubId = subId; in SmsManager()
1449 return (mSubId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) in getSubscriptionId()
1450 ? getISmsServiceOrThrow().getPreferredSmsSubscription() : mSubId; in getSubscriptionId()
/frameworks/base/telephony/java/android/telephony/ims/
DImsMmTelManager.java216 private final int mSubId; field in ImsMmTelManager
256 mSubId = subId; in ImsMmTelManager()
302 iTelephony.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback()
346 iTelephony.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback()
382 iTelephony.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback()
414 iTelephony.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback()
442 iTelephony.getImsMmTelRegistrationState(mSubId, new IIntegerConsumer.Stub() { in getRegistrationState()
482 iTelephony.getImsMmTelRegistrationTransportType(mSubId, in getRegistrationTransportType()
548 iTelephony.registerMmTelCapabilityCallback(mSubId, c.getBinder()); in registerMmTelCapabilityCallback()
596 iTelephony.unregisterMmTelCapabilityCallback(mSubId, c.getBinder()); in unregisterMmTelCapabilityCallback()
[all …]
DProvisioningManager.java926 private int mSubId; field in ProvisioningManager
944 mSubId = subId; in ProvisioningManager()
968 getITelephony().registerImsProvisioningChangedCallback(mSubId, callback.getBinder()); in registerProvisioningChangedCallback()
989 getITelephony().unregisterImsProvisioningChangedCallback(mSubId, callback.getBinder()); in unregisterProvisioningChangedCallback()
1009 return getITelephony().getImsProvisioningInt(mSubId, key); in getProvisioningIntValue()
1029 return getITelephony().getImsProvisioningString(mSubId, key); in getProvisioningStringValue()
1050 return getITelephony().setImsProvisioningInt(mSubId, key, value); in setProvisioningIntValue()
1071 return getITelephony().setImsProvisioningString(mSubId, key, value); in setProvisioningStringValue()
1095 getITelephony().setImsProvisioningStatusForCapability(mSubId, capability, tech, in setProvisioningStatusForCapability()
1122 return getITelephony().getImsProvisioningStatusForCapability(mSubId, capability, tech); in getProvisioningStatusForCapability()
[all …]
DImsRcsManager.java153 private final int mSubId; field in ImsRcsManager
161 mSubId = subId; in ImsRcsManager()
171 return new RcsUceAdapter(mContext, mSubId); in getUceAdapter()
199 imsRcsController.registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback()
223 imsRcsController.unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback()
250 imsRcsController.getImsRcsRegistrationState(mSubId, new IIntegerConsumer.Stub() { in getRegistrationState()
282 imsRcsController.getImsRcsRegistrationTransportType(mSubId, in getRegistrationTransportType()
334 imsRcsController.registerRcsAvailabilityCallback(mSubId, c.getBinder()); in registerRcsAvailabilityCallback()
369 imsRcsController.unregisterRcsAvailabilityCallback(mSubId, c.getBinder()); in unregisterRcsAvailabilityCallback()
407 return imsRcsController.isCapable(mSubId, capability, radioTech); in isCapable()
[all …]
DRcsUceAdapter.java269 private final int mSubId; field in RcsUceAdapter
278 mSubId = subId; in RcsUceAdapter()
345 imsRcsController.requestCapabilities(mSubId, mContext.getOpPackageName(), in requestCapabilities()
375 return imsRcsController.getUcePublishState(mSubId); in getUcePublishState()
422 imsRcsController.registerUcePublishStateCallback(mSubId, c.getBinder()); in registerPublishStateCallback()
460 imsRcsController.unregisterUcePublishStateCallback(mSubId, c.getBinder()); in unregisterPublishStateCallback()
493 return imsRcsController.isUceSettingEnabled(mSubId, mContext.getOpPackageName(), in isUceSettingEnabled()
533 imsRcsController.setUceSettingEnabled(mSubId, isEnabled); in setUceSettingEnabled()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSimPinView.java61 private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in KeyguardSimPinView
96 boolean isEsimLocked = KeyguardEsimArea.isEsimLocked(mContext, mSubId); in resetState()
103 boolean isEsimLocked = KeyguardEsimArea.isEsimLocked(mContext, mSubId); in setLockedSimMessage()
114 getSubscriptionInfoForSubId(mSubId); in setLockedSimMessage()
138 new CheckSimPin("", mSubId) { in showDefaultMessage()
153 if (subId != mSubId && SubscriptionManager.isValidSubscriptionId(subId)) { in handleSubInfoChangeIfNeeded()
154 mSubId = subId; in handleSubInfoChangeIfNeeded()
186 if (KeyguardEsimArea.isEsimLocked(mContext, mSubId)) { in getPinPasswordErrorMessage()
244 private int mSubId; field in KeyguardSimPinView.CheckSimPin
248 mSubId = subId; in CheckSimPin()
[all …]
DKeyguardSimPukView.java64 private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in KeyguardSimPukView
146 boolean isEsimLocked = KeyguardEsimArea.isEsimLocked(mContext, mSubId); in reset()
163 boolean isEsimLocked = KeyguardEsimArea.isEsimLocked(mContext, mSubId); in showDefaultMessage()
174 getSubscriptionInfoForSubId(mSubId); in showDefaultMessage()
190 new CheckSimPuk("", "", mSubId) { in showDefaultMessage()
209 if (subId != mSubId && SubscriptionManager.isValidSubscriptionId(subId)) { in handleSubInfoChangeIfNeeded()
210 mSubId = subId; in handleSubInfoChangeIfNeeded()
237 if (KeyguardEsimArea.isEsimLocked(mContext, mSubId)) { in getPukPasswordErrorMessage()
306 private final int mSubId; field in KeyguardSimPukView.CheckSimPuk
311 mSubId = subId; in CheckSimPuk()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java83 private final int[] mSubId = {0}; field in ImsManagerTest
94 doReturn(mSubId).when(mSubscriptionController).getSubId(mPhoneId); in setUp()
195 eq(mSubId[0]), in testSetValues()
201 eq(mSubId[0]), in testSetValues()
207 eq(mSubId[0]), in testSetValues()
216 eq(mSubId[0]), in testSetValues()
222 eq(mSubId[0]), in testSetValues()
335 doReturn(true).when(mTelephonyManager).isNetworkRoaming(eq(mSubId[0])); in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState()
348 doReturn(false).when(mTelephonyManager).isNetworkRoaming(eq(mSubId[0])); in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState()
362 doReturn(false).when(mTelephonyManager).isNetworkRoaming(eq(mSubId[0])); in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitor.java99 it -> it.mSubId == subId); in onSubscriptionsChanged()
120 final Integer match = CollectionUtils.find(newSubs, it -> it == listener.mSubId); in onSubscriptionsChanged()
166 mTeleManager.createForSubscriptionId(listener.mSubId) in handleRemoveRatTypeListener()
179 private final int mSubId; field in NetworkStatsSubscriptionsMonitor.RatTypeListener
194 mSubId = subId; in RatTypeListener()
217 Log.d(NetworkStatsService.TAG, "subtype changed for sub(" + mSubId + "): " in onServiceStateChanged()
226 return mSubId; in getSubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java115 private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in DataEnabledSettings
139 if (mSubId != mPhone.getSubId()) {
140 log("onSubscriptionsChanged subId: " + mSubId + " to: "
142 mSubId = mPhone.getSubId();
154 if (SubscriptionManager.isUsableSubscriptionId(mSubId)) { in updatePhoneStateListener()
155 mTelephonyManager = mTelephonyManager.createForSubscriptionId(mSubId); in updatePhoneStateListener()
DDataConnection.java167 private int mSubId; field in DataConnection
201 final int mSubId; field in DataConnection.ConnectionParams
214 mSubId = subId; in ConnectionParams()
225 + " mSubId=" + mSubId in toString()
971 mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in clearSettings()
1435 .setSubscriptionId(mSubId).build()); in getNetworkCapabilities()
1956 if (mSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in processMessage()
1957 mSubId = cp.mSubId; in processMessage()
3056 PersistableBundle bundle = configManager.getConfigForSubId(mSubId); in getDisallowedApnTypes()
3154 pw.println("mSubId=" + mSubId); in dump()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java109 protected int mSubId; field in NetworkControllerBaseTest
178 mSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in setupNetworkController()
180 setDefaultSubId(mSubId); in setupNetworkController()
181 setSubscriptions(mSubId); in setupNetworkController()
182 mMobileSignalController = mNetworkController.mMobileSignalControllers.get(mSubId); in setupNetworkController()
DNetworkControllerDataTest.java152 setDefaultSubId(mSubId + 1); in testNonDefaultSIM_showsFullSignal_connected()
167 setDefaultSubId(mSubId + 1); in testNonDefaultSIM_showsFullSignal_disconnected()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java1577 sst.mSubId = subId; in testSetPsNotifications()
1603 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.PS_NOTIFICATION); in testSetPsNotifications()
1610 sst.mSubId = subId; in testSetCsNotifications()
1636 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsNotifications()
1643 sst.mSubId = subId; in testSetCsNormalNotifications()
1668 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsNormalNotifications()
1675 sst.mSubId = subId; in testSetCsEmergencyNotifications()
1701 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsEmergencyNotifications()
1711 sst.mSubId = otherSubId; in testSetNotificationsForGroupedSubs()
1731 verify(nm, never()).cancel(Integer.toString(sst.mSubId), in testSetNotificationsForGroupedSubs()
/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java482 protected Integer mSubId; field in PhoneStateListener
555 mSubId = subId; in PhoneStateListener()

12