Home
last modified time | relevance | path

Searched refs:createForSubscriptionId (Results 1 – 25 of 51) sorted by relevance

123

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
H A DDataUsageControllerTest.java71 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mTelephonyManager); in setUp()
156 when(mTelephonyManager.createForSubscriptionId(eq(explicitSubId))).thenReturn(tmForSub1); in getTelephonyManager_shouldCreateWithExplicitSubId()
162 verify(mTelephonyManager).createForSubscriptionId(eq(explicitSubId)); in getTelephonyManager_shouldCreateWithExplicitSubId()
169 when(mTelephonyManager.createForSubscriptionId(mDefaultSubscriptionId)) in getTelephonyManager_noExplicitSubId_shouldCreateWithDefaultDataSubId()
174 verify(mTelephonyManager).createForSubscriptionId(mDefaultSubscriptionId); in getTelephonyManager_noExplicitSubId_shouldCreateWithDefaultDataSubId()
186 when(mTelephonyManager.createForSubscriptionId(activeSubId)) in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub()
191 verify(mTelephonyManager).createForSubscriptionId(activeSubId); in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub()
H A DDataUsageUtilsTest.java74 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mTelephonyManager); in setUp()
/aosp14/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCarrierActionUtils.java108 telephonyMgr.createForSubscriptionId(subId).setCarrierDataEnabled(!ENABLE); in onDisableAllMeteredApns()
116 telephonyMgr.createForSubscriptionId(subId).setCarrierDataEnabled(ENABLE); in onEnableAllMeteredApns()
140 telephonyMgr.createForSubscriptionId(subId).reportDefaultNetworkStatus(true); in onRegisterDefaultNetworkAvail()
148 telephonyMgr.createForSubscriptionId(subId).reportDefaultNetworkStatus(false); in onDeregisterDefaultNetworkAvail()
156 telephonyMgr.createForSubscriptionId(subId).setRadioEnabled(!ENABLE); in onDisableRadio()
164 telephonyMgr.createForSubscriptionId(subId).setRadioEnabled(ENABLE); in onEnableRadio()
207 telephonyMgr.createForSubscriptionId(subId).resetAllCarrierActions(); in onResetAllCarrierActions()
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DPhoneCallStateHandler.java124 .createForSubscriptionId(s.getSubscriptionId()) in checkCallStatus()
139 .map(s -> mTelephonyManager.createForSubscriptionId(s.getSubscriptionId())) in updateTelephonyListeners()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DDeviceInfoUtils.java184 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumber()
201 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumbers()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DDataUsageUtils.java67 .createForSubscriptionId(subId).getMergedImsisFromGroup()); in getNormalizedMobileTemplate()
H A DDataUsageController.java212 TelephonyManager.class).createForSubscriptionId(subscriptionId); in getTelephonyManager()
/aosp14/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
H A DCarrierDefaultReceiverTest.java72 doReturn(mTelephonyMgr).when(mTelephonyMgr).createForSubscriptionId(anyInt()); in setUp()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
H A DAbstractImsStatusPreferenceController.java114 final ImsMmTelManager imsMmTelManager = ImsMmTelManager.createForSubscriptionId(subId); in updateConnectivity()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardSimPinViewControllerTest.kt70 `when`(telephonyManager.createForSubscriptionId(anyInt())).thenReturn(telephonyManager)
H A DKeyguardSimPukViewControllerTest.kt68 Mockito.`when`(telephonyManager.createForSubscriptionId(Mockito.anyInt()))
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
H A DCarrierMergedConnectionRepository.kt199 telephonyManager.createForSubscriptionId(subId),
H A DMobileConnectionRepositoryImpl.kt409 telephonyManager.createForSubscriptionId(subId),
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssNetworkConnectivityHandler.java253 telManager.createForSubscriptionId(subInfo.getSubscriptionId());
273 telManager.createForSubscriptionId(element.getKey());
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
H A DInternetDialogController.java308 mTelephonyManager = mTelephonyManager.createForSubscriptionId(mDefaultDataSubId); in onStart()
671 TelephonyManager secondaryTm = mTelephonyManager.createForSubscriptionId(subId);
956 context.getSystemService(TelephonyManager.class).createForSubscriptionId(
1324 mTelephonyManager = mTelephonyManager.createForSubscriptionId(defaultDataSubId);
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
H A DNetworkPriorityClassifier.java284 .createForSubscriptionId(subId); in checkMatchesCellPriorityRule()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSimPinViewController.java301 TelephonyManager telephonyManager = mTelephonyManager.createForSubscriptionId(mSubId); in run()
H A DKeyguardSimPukViewController.java402 TelephonyManager telephonyManager = mTelephonyManager.createForSubscriptionId(mSubId); in run()
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
H A DNetworkPriorityClassifierTest.java146 when(mTelephonyManager.createForSubscriptionId(SUB_ID)).thenReturn(mTelephonyManager); in setUp()
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/
H A DTelephonySubscriptionTracker.java251 mTelephonyManager.createForSubscriptionId(subInfo.getSubscriptionId()); in handleSubscriptionsChanged()
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DCallerInfo.java552 .createForSubscriptionId(subId) in markAsVoiceMail()
/aosp14/frameworks/base/services/core/java/com/android/server/connectivity/
H A DMultipathPolicyTracker.java221 tele = tele.createForSubscriptionId(mSubId); in MultipathTracker()
/aosp14/frameworks/base/telephony/common/com/android/internal/telephony/
H A DSmsNumberUtils.java577 .getSystemService(Context.TELEPHONY_SERVICE)).createForSubscriptionId(subId); in filterDestAddr()
/aosp14/frameworks/base/telephony/java/android/telephony/ims/
H A DProvisioningManager.java1207 public static @NonNull ProvisioningManager createForSubscriptionId(int subId) { in createForSubscriptionId() method in ProvisioningManager
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A DVcnTest.java157 doReturn(telephonyManager).when(telephonyManager).createForSubscriptionId(anyInt()); in setupAndGetTelephonyManager()

123