Home
last modified time | relevance | path

Searched refs:activeSubId (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/
DTelephonyUtilsTest.java73 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/
DDataUsageControllerTest.java180 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/
DGnssConfiguration.java272 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/
DTelephonySubscriptionTrackerTest.java275 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/
DMobileConnectionsRepositoryImpl.kt252 .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/
DTelephonyRegistryTest.java220 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/
DTelephonyPermissions.java709 for (int activeSubId : activeSubIds) { in checkCarrierPrivilegeForAnySubId()
710 if (getCarrierPrivilegeStatus(context, activeSubId, uid) in checkCarrierPrivilegeForAnySubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java473 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()
DSmsController.java603 for (int activeSubId : activeSubIds) { in isSmsSimPickActivityNeeded()
605 if (activeSubId == subId) { in isSmsSimPickActivityNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogController.java733 int activeSubId = getActiveAutoSwitchNonDdsSubId();
734 boolean isOnNonDds = activeSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID;