Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java167 public final int activeDataSubId; field in TetheringConfiguration
225 activeDataSubId = id; in TetheringConfiguration()
226 Resources res = getResources(ctx, activeDataSubId); in TetheringConfiguration()
280 PersistableBundle carrierConfigs = getCarrierConfig(ctx, activeDataSubId); in TetheringConfiguration()
404 pw.println(activeDataSubId); in dump()
462 sj.add(String.format("activeDataSubId:%d", activeDataSubId)); in toString()
722 public static PersistableBundle getCarrierConfig(Context context, int activeDataSubId) { in getCarrierConfig() argument
729 final PersistableBundle carrierConfig = configManager.getConfigForSubId(activeDataSubId); in getCarrierConfig()
DEntitlementManager.java401 intent.putExtra(EXTRA_TETHER_SUBID, config.activeDataSubId); in runSilentTetherProvisioning()
424 intent.putExtra(EXTRA_TETHER_SUBID, config.activeDataSubId); in runUiTetherProvisioning()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java596 private boolean isEmergencyPreferredAccount(int subId, int activeDataSubId) { in isEmergencyPreferredAccount() argument
598 + activeDataSubId); in isEmergencyPreferredAccount()
630 boolean isActiveDataValid = SubscriptionManager.isValidSubscriptionId(activeDataSubId); in isEmergencyPreferredAccount()
633 .getSubscriptionInfo(activeDataSubId); in isEmergencyPreferredAccount()
642 return subId == ((isActiveDataValid && !isActiveDataOpportunistic) ? activeDataSubId : in isEmergencyPreferredAccount()
1001 public void updateDefaultDataSubId(int activeDataSubId) { in updateDefaultDataSubId() argument
1013 activeDataSubId); in updateDefaultDataSubId()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java188 assertEquals(config.activeDataSubId, in assertUiTetherProvisioningIntent()
211 assertEquals(config.activeDataSubId, in assertSilentTetherProvisioning()
DTetheringTest.java2419 assertEquals(INVALID_SUBSCRIPTION_ID, initailConfig.activeDataSubId); in testMultiSimAware()
2424 assertEquals(fakeSubId, newConfig.activeDataSubId); in testMultiSimAware()