Home
last modified time | relevance | path

Searched refs:newSubId (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telephony/src/com/android/services/telephony/rcs/
DUceControllerManager.java125 public void onAssociatedSubscriptionUpdated(int newSubId) { in onAssociatedSubscriptionUpdated() argument
128 + ", newSubId=" + newSubId); in onAssociatedSubscriptionUpdated()
131 initUceController(newSubId); in onAssociatedSubscriptionUpdated()
441 private void initUceController(int newSubId) { in initUceController() argument
442 Log.d(LOG_TAG, "initUceController: newSubId=" + newSubId + ", current UceController subId=" in initUceController()
446 if (SubscriptionManager.isValidSubscriptionId(newSubId)) { in initUceController()
447 mUceController = new UceController(mContext, newSubId, mFeatureFlags); in initUceController()
449 } else if (mUceController.getSubId() != newSubId) { in initUceController()
454 if (SubscriptionManager.isValidSubscriptionId(newSubId)) { in initUceController()
455 mUceController = new UceController(mContext, newSubId, mFeatureFlags); in initUceController()
DRcsFeatureController.java271 public void updateAssociatedSubscription(int newSubId) { in updateAssociatedSubscription() argument
272 mAssociatedSubId = newSubId; in updateAssociatedSubscription()
276 c.onAssociatedSubscriptionUpdated(newSubId); in updateAssociatedSubscription()
DSipTransportController.java1087 private void onSubIdChanged(int newSubId) {
1088 logi("subId changed, " + mSubId + "->" + newSubId);
1089 if (mSubId != newSubId) {
1091 mSubId = newSubId;
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsTelephonyListener.java96 int newSubId = QnsUtils.getSubId(mContext, mSlotIndex);
97 if ((mSubId != newSubId)
98 && (newSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID)) {
100 mSubId = newSubId;
101 onSubscriptionIdChanged(newSubId);
102 startTelephonyListener(newSubId); // new
DQnsImsManager.java134 int newSubId = QnsUtils.getSubId(mContext, mSlotId); in onSubscriptionsChanged() local
135 if (newSubId != mSubId) { in onSubscriptionsChanged()
136 mSubId = newSubId; in onSubscriptionsChanged()
DCellularQualityMonitor.java538 int newSubId = (int) ar.mResult; in handleMessage() local
540 mSubId = newSubId; in handleMessage()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java417 int newSubId = accountHandle == null ? SubscriptionManager.INVALID_SUBSCRIPTION_ID : in setUserSelectedOutgoingPhoneAccount() local
420 if (shouldUpdateTelephonyDefaultVoiceSubId(accountHandle, isSimAccount, newSubId)) { in setUserSelectedOutgoingPhoneAccount()
421 updateDefaultVoiceSubId(newSubId, accountHandle); in setUserSelectedOutgoingPhoneAccount()
427 updateDefaultVoiceSubId(newSubId, accountHandle); in setUserSelectedOutgoingPhoneAccount()
437 private void updateDefaultVoiceSubId(int newSubId, PhoneAccountHandle accountHandle){ in updateDefaultVoiceSubId() argument
440 if (newSubId != currentVoiceSubId) { in updateDefaultVoiceSubId()
442 + "account=%s, subId=%d", accountHandle, newSubId); in updateDefaultVoiceSubId()
443 mSubscriptionManager.setDefaultVoiceSubscriptionId(newSubId); in updateDefaultVoiceSubId()
460 boolean isSimAccount, int newSubId) { in shouldUpdateTelephonyDefaultVoiceSubId() argument
466 if (newSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in shouldUpdateTelephonyDefaultVoiceSubId()
[all …]
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_test.cpp2253 int newSubId = 4; in TEST_F() local
2255 newSub.mutable_broadcast_subscriber_details()->set_subscriber_id(newSubId); in TEST_F()
2275 SubscriberReporter::getInstance().setBroadcastSubscriber(key, newSubId, newBroadcast); in TEST_F()
2312 SubscriberReporter::getInstance().unsetBroadcastSubscriber(key, newSubId); in TEST_F()
2587 int newSubId = 4; in TEST_F() local
2589 newSub.mutable_broadcast_subscriber_details()->set_subscriber_id(newSubId); in TEST_F()
2609 SubscriberReporter::getInstance().setBroadcastSubscriber(key, newSubId, newBroadcast); in TEST_F()
2669 SubscriberReporter::getInstance().unsetBroadcastSubscriber(key, newSubId); in TEST_F()
2778 int newSubId = 4; in TEST_F() local
2780 newSub.mutable_broadcast_subscriber_details()->set_subscriber_id(newSubId); in TEST_F()
[all …]