/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | TelephonyUtilsTest.java | 73 int activeSubId = 1; in getSubscriptionUserHandle_subId_valid() local 74 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(eq(activeSubId)); in getSubscriptionUserHandle_subId_valid() 76 TelephonyUtils.getSubscriptionUserHandle(mContext, activeSubId); in getSubscriptionUserHandle_subId_valid() 79 verify(mSubscriptionManager, times(1)).getSubscriptionUserHandle(eq(activeSubId)); in getSubscriptionUserHandle_subId_valid()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | DataUsageControllerTest.java | 180 int activeSubId = 2; in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub() local 184 .thenReturn(new int[] {activeSubId}); in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub() 185 TelephonyManager tmForActiveSub = new TelephonyManager(mContext, activeSubId); in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub() 186 when(mTelephonyManager.createForSubscriptionId(activeSubId)) in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub() 191 verify(mTelephonyManager).createForSubscriptionId(activeSubId); in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssConfiguration.java | 272 void reloadGpsProperties(boolean inEmergency, int activeSubId) { in reloadGpsProperties() argument 276 + inEmergency + ", activeSubId=" + activeSubId); in reloadGpsProperties() 278 loadPropertiesFromCarrierConfig(inEmergency, activeSubId); in reloadGpsProperties() 371 void loadPropertiesFromCarrierConfig(boolean inEmergency, int activeSubId) { in loadPropertiesFromCarrierConfig() argument 379 if (inEmergency && activeSubId >= 0) { in loadPropertiesFromCarrierConfig() 380 subId = activeSubId; in loadPropertiesFromCarrierConfig()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | TelephonySubscriptionTrackerTest.java | 275 int activeSubId, in buildExpectedSnapshot() argument 279 activeSubId, subIdToInfoMap, TEST_SUBID_TO_CARRIER_CONFIG_MAP, privilegedPackages); in buildExpectedSnapshot() 283 int activeSubId, in buildExpectedSnapshot() argument 288 activeSubId, subIdToInfoMap, subIdToCarrierConfigMap, privilegedPackages); in buildExpectedSnapshot()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionsRepositoryImpl.kt | 252 .map { activeSubId -> in <lambda>() method 253 if (activeSubId == null) { in <lambda>() 256 getOrCreateRepoForSubId(activeSubId) in <lambda>()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyRegistryTest.java | 220 public void onActiveDataSubscriptionIdChanged(int activeSubId) { in onActiveDataSubscriptionIdChanged() argument 222 mActiveSubId = activeSubId; in onActiveDataSubscriptionIdChanged() 383 int activeSubId = 0; in testActiveDataSubChanged() local 384 mTelephonyRegistry.notifyActiveDataSubIdChanged(activeSubId); in testActiveDataSubChanged() 385 mTelephonyRegistry.listenWithEventList(false, false, activeSubId, in testActiveDataSubChanged() 389 assertEquals(activeSubId, mActiveSubId); in testActiveDataSubChanged() 393 mTelephonyRegistry.notifyActiveDataSubIdChanged(activeSubId); in testActiveDataSubChanged() 395 assertEquals(activeSubId, mActiveSubId); in testActiveDataSubChanged()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 709 for (int activeSubId : activeSubIds) { in checkCarrierPrivilegeForAnySubId() 710 if (getCarrierPrivilegeStatus(context, activeSubId, uid) in checkCarrierPrivilegeForAnySubId()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MultiSimSettingController.java | 473 for (int activeSubId : activeSubIds) { in isCarrierConfigLoadedForAllSub() 476 if (configLoadedSub == activeSubId) { in isCarrierConfigLoadedForAllSub() 482 if (DBG) log("Carrier config subId " + activeSubId + " is not loaded."); in isCarrierConfigLoadedForAllSub()
|
D | SmsController.java | 603 for (int activeSubId : activeSubIds) { in isSmsSimPickActivityNeeded() 605 if (activeSubId == subId) { in isSmsSimPickActivityNeeded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/ |
D | InternetDialogController.java | 733 int activeSubId = getActiveAutoSwitchNonDdsSubId(); 734 boolean isOnNonDds = activeSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID;
|