Home
last modified time | relevance | path

Searched refs:activeDataSubId (Results 1 – 14 of 14) sorted by relevance

/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTetheringConfiguration.java153 public final int activeDataSubId; field in TetheringConfiguration
167 activeDataSubId = id; in TetheringConfiguration()
168 Resources res = getResources(ctx, activeDataSubId); in TetheringConfiguration()
286 pw.println(activeDataSubId); in dump()
331 sj.add(String.format("activeDataSubId:%d", activeDataSubId)); in toString()
588 parcel.subId = activeDataSubId; in toStableParcelable()
H A DEntitlementManager.java334 config.activeDataSubId); in getCarrierConfig()
377 intent.putExtra(EXTRA_TETHER_SUBID, config.activeDataSubId); in runSilentTetherProvisioning()
405 intent.putExtra(EXTRA_TETHER_SUBID, config.activeDataSubId); in runUiTetherProvisioning()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
H A DMobileStatusTracker.java87 int activeDataSubId = mDefaults.getActiveDataSubId(); in updateDataSim() local
88 if (SubscriptionManager.isValidSubscriptionId(activeDataSubId)) { in updateDataSim()
89 mMobileStatus.dataSim = activeDataSubId == mSubscriptionInfo.getSubscriptionId(); in updateDataSim()
/aosp12/packages/services/Telephony/src/com/android/services/telephony/
H A DTelecomAccountRegistry.java526 private boolean isEmergencyPreferredAccount(int subId, int activeDataSubId) { in isEmergencyPreferredAccount() argument
528 + activeDataSubId); in isEmergencyPreferredAccount()
557 boolean isActiveDataValid = SubscriptionManager.isValidSubscriptionId(activeDataSubId); in isEmergencyPreferredAccount()
559 && controller.isOpportunistic(activeDataSubId); in isEmergencyPreferredAccount()
565 return subId == ((isActiveDataValid && !isActiveDataOpportunistic) ? activeDataSubId : in isEmergencyPreferredAccount()
862 public void updateDefaultDataSubId(int activeDataSubId) { in updateDefaultDataSubId() argument
864 activeDataSubId); in updateDefaultDataSubId()
/aosp12/frameworks/base/services/core/java/com/android/server/vcn/
H A DTelephonySubscriptionTracker.java264 int activeDataSubId, in TelephonySubscriptionSnapshot() argument
267 mActiveDataSubId = activeDataSubId; in TelephonySubscriptionSnapshot()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
H A DMobileSignalController.java497 int activeDataSubId = mDefaults.getActiveDataSubId(); in updateDataSim() local
498 if (SubscriptionManager.isValidSubscriptionId(activeDataSubId)) { in updateDataSim()
499 mCurrentState.dataSim = activeDataSubId == mSubscriptionInfo.getSubscriptionId(); in updateDataSim()
/aosp12/frameworks/base/core/java/com/android/internal/telephony/
H A DITelephonyRegistry.aidl82 void notifyActiveDataSubIdChanged(int activeDataSubId); in notifyActiveDataSubIdChanged() argument
/aosp12/frameworks/base/tests/vcn/java/com/android/server/
H A DVcnManagementServiceTest.java337 int activeDataSubId, in triggerSubscriptionTrackerCbAndGetSnapshot() argument
344 activeDataSubId, in triggerSubscriptionTrackerCbAndGetSnapshot()
357 int activeDataSubId, in buildSubscriptionSnapshot() argument
365 doReturn(activeDataSubId).when(snapshot).getActiveDataSubscriptionId(); in buildSubscriptionSnapshot()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DLinkBandwidthEstimator.java381 private void handleActivePhoneChanged(int activeDataSubId) { in handleActivePhoneChanged() argument
382 boolean isOnActiveData = activeDataSubId == mPhone.getSubId(); in handleActivePhoneChanged()
387 logd("mIsOnActiveData " + mIsOnActiveData + " activeDataSubId " + activeDataSubId); in handleActivePhoneChanged()
/aosp12/frameworks/base/core/java/android/telephony/
H A DTelephonyRegistryManager.java745 public void notifyActiveDataSubIdChanged(int activeDataSubId) { in notifyActiveDataSubIdChanged() argument
747 sRegistry.notifyActiveDataSubIdChanged(activeDataSubId); in notifyActiveDataSubIdChanged()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DEntitlementManagerTest.java161 assertEquals(config.activeDataSubId, in assertUiTetherProvisioningIntent()
184 assertEquals(config.activeDataSubId, in assertSilentTetherProvisioning()
H A DTetheringTest.java1932 assertEquals(INVALID_SUBSCRIPTION_ID, initailConfig.activeDataSubId); in testMultiSimAware()
1937 assertEquals(fakeSubId, newConfig.activeDataSubId); in testMultiSimAware()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java2340 public void notifyActiveDataSubIdChanged(int activeDataSubId) { in notifyActiveDataSubIdChanged() argument
2346 log("notifyActiveDataSubIdChanged: activeDataSubId=" + activeDataSubId); in notifyActiveDataSubIdChanged()
2349 mActiveDataSubId = activeDataSubId; in notifyActiveDataSubIdChanged()
2355 r.callback.onActiveDataSubIdChanged(activeDataSubId); in notifyActiveDataSubIdChanged()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionController.java4519 int activeDataSubId = phoneSwitcher.getActiveDataSubId(); in getActiveDataSubscriptionId() local
4520 if (SubscriptionManager.isUsableSubscriptionId(activeDataSubId)) { in getActiveDataSubscriptionId()
4521 return activeDataSubId; in getActiveDataSubscriptionId()