Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java53 private int mSubId; field in CellularNetworkValidator
114 if (subId == mSubId) return; in validate()
128 mSubId = subId; in validate()
134 logd("Start validating subId " + mSubId + " mTimeoutInMs " + mTimeoutInMs in validate()
153 mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in stopValidation()
160 return mSubId; in getSubIdInValidation()
174 .setNetworkSpecifier(String.valueOf(mSubId)) in createNetworkRequest()
180 if (mSubId != subId) return; in reportValidationResult()
185 mValidationCallback.onValidationResult(passed, mSubId); in reportValidationResult()
198 mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in reportValidationResult()
[all …]
DServiceStateTracker.java321 public int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in ServiceStateTracker
2479 if (mSubId != subId in notifySpnDisplayUpdate()
2514 mSubId = subId; in notifySpnDisplayUpdate()
4009 if (!SubscriptionManager.isValidSubscriptionId(mSubId)) { in setNotification()
4011 loge("cannot setNotification on invalid subid mSubId=" + mSubId); in setNotification()
4021 log("cannot setNotification on invisible subid mSubId=" + mSubId); in setNotification()
4054 final int simNumber = mSubscriptionController.getSlotIndex(mSubId) + 1; in setNotification()
4121 + ", title: " + title + ", details: " + details + ", subId: " + mSubId); in setNotification()
4143 notificationManager.cancel(Integer.toString(mSubId), notificationId); in setNotification()
4160 notificationManager.notify(Integer.toString(mSubId), notificationId, mNotification); in setNotification()
[all …]
DSMSDispatcher.java1528 private int mSubId; field in SMSDispatcher.SmsTracker
1563 mSubId = subId; in SmsTracker()
1651 values.put(Sms.SUBSCRIPTION_ID, mSubId); in persistSentMessageIfRequired()
/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.java100 private final int mSubId; field in NetworkScan
114 telephony.stopNetworkScan(mSubId, mScanId); in stopScan()
146 mSubId = subId; in NetworkScan()
DSmsMessage.java119 private int mSubId = 0; field in SmsMessage
127 mSubId = subId; in setSubId()
136 return mSubId; in getSubId()
DPhoneStateListener.java371 protected Integer mSubId; field in PhoneStateListener
444 mSubId = subId; in PhoneStateListener()
DSmsManager.java108 private int mSubId; field in SmsManager
1283 mSubId = subId; in SmsManager()
1305 return (mSubId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) in getSubscriptionId()
1306 ? getISmsServiceOrThrow().getPreferredSmsSubscription() : mSubId; in getSubscriptionId()
/frameworks/base/telephony/java/android/telephony/ims/
DImsMmTelManager.java316 private int mSubId; field in ImsMmTelManager
339 mSubId = subId; in ImsMmTelManager()
377 getITelephony().registerImsRegistrationCallback(mSubId, c.getBinder()); in registerImsRegistrationCallback()
402 getITelephony().unregisterImsRegistrationCallback(mSubId, c.getBinder()); in unregisterImsRegistrationCallback()
447 getITelephony().registerMmTelCapabilityCallback(mSubId, c.getBinder()); in registerMmTelCapabilityCallback()
472 getITelephony().unregisterMmTelCapabilityCallback(mSubId, c.getBinder()); in unregisterMmTelCapabilityCallback()
503 return getITelephony().isAdvancedCallingSettingEnabled(mSubId); in isAdvancedCallingSettingEnabled()
533 getITelephony().setAdvancedCallingSettingEnabled(mSubId, isEnabled); in setAdvancedCallingSettingEnabled()
565 return getITelephony().isCapable(mSubId, capability, imsRegTech); in isCapable()
592 return getITelephony().isAvailable(mSubId, capability, imsRegTech); in isAvailable()
[all …]
DRcsMessageCreationParams.java38 private final int mSubId; field in RcsMessageCreationParams
64 return mSubId; in getSubId()
115 private int mSubId; field in RcsMessageCreationParams.Builder
127 mSubId = subscriptionId; in Builder()
209 mSubId = builder.mSubId; in RcsMessageCreationParams()
222 mSubId = in.readInt(); in RcsMessageCreationParams()
235 dest.writeInt(mSubId); in writeToParcel()
DProvisioningManager.java186 private int mSubId; field in ProvisioningManager
204 mSubId = subId; in ProvisioningManager()
232 getITelephony().registerImsProvisioningChangedCallback(mSubId, callback.getBinder()); in registerProvisioningChangedCallback()
251 getITelephony().unregisterImsProvisioningChangedCallback(mSubId, callback.getBinder()); in unregisterProvisioningChangedCallback()
271 return getITelephony().getImsProvisioningInt(mSubId, key); in getProvisioningIntValue()
291 return getITelephony().getImsProvisioningString(mSubId, key); in getProvisioningStringValue()
312 return getITelephony().setImsProvisioningInt(mSubId, key, value); in setProvisioningIntValue()
333 return getITelephony().setImsProvisioningString(mSubId, key, value); in setProvisioningStringValue()
357 getITelephony().setImsProvisioningStatusForCapability(mSubId, capability, tech, in setProvisioningStatusForCapability()
384 return getITelephony().getImsProvisioningStatusForCapability(mSubId, capability, tech); in getProvisioningStatusForCapability()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSimPinView.java62 private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in KeyguardSimPinView
97 boolean isEsimLocked = KeyguardEsimArea.isEsimLocked(mContext, mSubId); in resetState()
104 boolean isEsimLocked = KeyguardEsimArea.isEsimLocked(mContext, mSubId); in setLockedSimMessage()
115 getSubscriptionInfoForSubId(mSubId); in setLockedSimMessage()
139 new CheckSimPin("", mSubId) { in showDefaultMessage()
154 if (subId != mSubId && SubscriptionManager.isValidSubscriptionId(subId)) { in handleSubInfoChangeIfNeeded()
155 mSubId = subId; in handleSubInfoChangeIfNeeded()
187 if (KeyguardEsimArea.isEsimLocked(mContext, mSubId)) { in getPinPasswordErrorMessage()
245 private int mSubId; field in KeyguardSimPinView.CheckSimPin
249 mSubId = subId; in CheckSimPin()
[all …]
DKeyguardSimPukView.java65 private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in KeyguardSimPukView
147 boolean isEsimLocked = KeyguardEsimArea.isEsimLocked(mContext, mSubId); in reset()
164 boolean isEsimLocked = KeyguardEsimArea.isEsimLocked(mContext, mSubId); in showDefaultMessage()
175 getSubscriptionInfoForSubId(mSubId); in showDefaultMessage()
191 new CheckSimPuk("", "", mSubId) { in showDefaultMessage()
207 if (subId != mSubId && SubscriptionManager.isValidSubscriptionId(subId)) { in handleSubInfoChangeIfNeeded()
208 mSubId = subId; in handleSubInfoChangeIfNeeded()
235 if (KeyguardEsimArea.isEsimLocked(mContext, mSubId)) { in getPukPasswordErrorMessage()
304 private final int mSubId; field in KeyguardSimPukView.CheckSimPuk
309 mSubId = subId; in CheckSimPuk()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java82 private final int[] mSubId = {0}; field in ImsManagerTest
93 doReturn(mSubId).when(mSubscriptionController).getSubId(mPhoneId); in setUp()
186 eq(mSubId[0]), in testSetValues()
192 eq(mSubId[0]), in testSetValues()
198 eq(mSubId[0]), in testSetValues()
207 eq(mSubId[0]), in testSetValues()
213 eq(mSubId[0]), in testSetValues()
297 doReturn(true).when(mTelephonyManager).isNetworkRoaming(eq(mSubId[0])); in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState()
310 doReturn(false).when(mTelephonyManager).isNetworkRoaming(eq(mSubId[0])); in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState()
324 doReturn(false).when(mTelephonyManager).isNetworkRoaming(eq(mSubId[0])); in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java113 private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in DataEnabledSettings
137 if (mSubId != mPhone.getSubId()) {
138 log("onSubscriptionsChanged subId: " + mSubId + " to: "
140 mSubId = mPhone.getSubId();
152 if (SubscriptionManager.isUsableSubscriptionId(mSubId)) { in updatePhoneStateListener()
153 mTelephonyManager = mTelephonyManager.createForSubscriptionId(mSubId); in updatePhoneStateListener()
/frameworks/opt/telephony/src/java/android/telephony/
DCellBroadcastMessage.java58 private int mSubId = 0; field in CellBroadcastMessage
66 mSubId = subId; in setSubId()
75 return mSubId; in getSubId()
95 mSubId = in.readInt(); in CellBroadcastMessage()
109 out.writeInt(mSubId); in writeToParcel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java99 protected int mSubId; field in NetworkControllerBaseTest
166 mSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in setupNetworkController()
168 setDefaultSubId(mSubId); in setupNetworkController()
169 setSubscriptions(mSubId); in setupNetworkController()
170 mMobileSignalController = mNetworkController.mMobileSignalControllers.get(mSubId); in setupNetworkController()
DNetworkControllerDataTest.java152 setDefaultSubId(mSubId + 1); in testNoInternetIcon_withoutDefaultSub()
167 setDefaultSubId(mSubId + 1); in testDataDisabledIcon_withoutDefaultSub()
DNetworkControllerSignalTest.java420 intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, mSubId); in createStringsUpdatedIntent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java1389 sst.mSubId = subId; in testSetPsNotifications()
1415 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.PS_NOTIFICATION); in testSetPsNotifications()
1422 sst.mSubId = subId; in testSetCsNotifications()
1448 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsNotifications()
1455 sst.mSubId = subId; in testSetCsNormalNotifications()
1480 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsNormalNotifications()
1487 sst.mSubId = subId; in testSetCsEmergencyNotifications()
1513 verify(nm).cancel(Integer.toString(sst.mSubId), ServiceStateTracker.CS_NOTIFICATION); in testSetCsEmergencyNotifications()
1523 sst.mSubId = otherSubId; in testSetNotificationsForGroupedSubs()
1543 verify(nm, never()).cancel(Integer.toString(sst.mSubId), in testSetNotificationsForGroupedSubs()