Home
last modified time | relevance | path

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

1234567891011

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DSubscriptionUtilTest.java219 when(mTelMgr.createForSubscriptionId(SUBID_1)).thenReturn(sub1Telmgr); in getUniqueDisplayNames_uniqueCarriers_originalUsed()
220 when(mTelMgr.createForSubscriptionId(SUBID_2)).thenReturn(sub2Telmgr); in getUniqueDisplayNames_uniqueCarriers_originalUsed()
249 when(mTelMgr.createForSubscriptionId(SUBID_1)).thenReturn(sub1Telmgr); in getUniqueDisplayNames_identicalCarriers_fourDigitsUsed()
250 when(mTelMgr.createForSubscriptionId(SUBID_2)).thenReturn(sub2Telmgr); in getUniqueDisplayNames_identicalCarriers_fourDigitsUsed()
279 when(mTelMgr.createForSubscriptionId(SUBID_1)).thenReturn(sub1Telmgr); in getUniqueDisplayNames_identicalCarriersAfterTrim_fourDigitsUsed()
280 when(mTelMgr.createForSubscriptionId(SUBID_2)).thenReturn(sub2Telmgr); in getUniqueDisplayNames_identicalCarriersAfterTrim_fourDigitsUsed()
308 when(mTelMgr.createForSubscriptionId(SUBID_1)).thenReturn(sub1Telmgr); in getUniqueDisplayNames_phoneNumberBlocked_subscriptionIdFallback()
309 when(mTelMgr.createForSubscriptionId(SUBID_2)).thenReturn(sub2Telmgr); in getUniqueDisplayNames_phoneNumberBlocked_subscriptionIdFallback()
345 when(mTelMgr.createForSubscriptionId(SUBID_1)).thenReturn(sub1Telmgr); in getUniqueDisplayNames_phoneNumberIdentical_subscriptionIdFallback()
346 when(mTelMgr.createForSubscriptionId(SUBID_2)).thenReturn(sub2Telmgr); in getUniqueDisplayNames_phoneNumberIdentical_subscriptionIdFallback()
[all …]
DResetNetworkOperationBuilderTest.java127 .createForSubscriptionId(anyInt()); in resetTelephonyAndNetworkPolicyManager_performReset_whenBuildAndRun()
145 .createForSubscriptionId(anyInt()); in resetIms_performReset_whenBuildAndRun_withSingleValidSubId()
158 .createForSubscriptionId(anyInt()); in resetIms_performReset_whenBuildAndRun_withInvalidSubId()
171 .createForSubscriptionId(anyInt()); in resetIms_performReset_whenBuildAndRun_withAllValidSubId()
/packages/modules/ConfigInfrastructure/service/javatests/src/com/android/server/deviceconfig/
DSimPinReplayManagerTest.java68 when(mTelephonyManager.createForSubscriptionId(1)).thenReturn(subIdManager); in prepareSimPinReplay_success()
96 when(mTelephonyManager.createForSubscriptionId(1)).thenReturn(subIdManager); in prepareSimPinReplay_noSimPin()
109 when(mTelephonyManager.createForSubscriptionId(1)).thenReturn(subIdManager); in prepareSimPinReplay_carrierDisableSimPin()
126 when(mTelephonyManager.createForSubscriptionId(1)).thenReturn(subIdManager); in prepareSimPinReplay_carrierEnabled()
145 when(mTelephonyManager.createForSubscriptionId(1)).thenReturn(subIdManager); in prepareSimPinReplay_prepareError()
164 when(mTelephonyManager.createForSubscriptionId(1)).thenReturn(subIdManager); in prepareSimPinReplay_preparePinRequired()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DDataConnectionStateHelperTest.java129 doReturn(mTm1).when(mTelephonyManager).createForSubscriptionId(eq(SUB_1)); in setUp()
130 doReturn(mTm2).when(mTelephonyManager).createForSubscriptionId(eq(SUB_2)); in setUp()
175 verify(mTelephonyManager).createForSubscriptionId(eq(SUB_1)); in testCarrierConfigChanged()
187 verify(mTelephonyManager).createForSubscriptionId(eq(SUB_2)); in testCarrierConfigChanged()
215 verify(mTelephonyManager).createForSubscriptionId(eq(SUB_1)); in testSubscriptionChangedOnTheSameSlot()
233 verify(mTelephonyManager).createForSubscriptionId(eq(SUB_2)); in testSubscriptionChangedOnTheSameSlot()
260 verify(mTelephonyManager).createForSubscriptionId(eq(SUB_1)); in testDataConnectionStateChanged()
275 verify(mTelephonyManager).createForSubscriptionId(eq(SUB_2)); in testDataConnectionStateChanged()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DMmsMessagePreferenceControllerTest.kt43 on { createForSubscriptionId(SUB_1_ID) } doReturn mockTelephonyManager1 in <lambda>()
48 on { createForSubscriptionId(SUB_1_ID) } doReturn mockTelephonyManager1 in <lambda>()
49 on { createForSubscriptionId(SUB_2_ID) } doReturn mockTelephonyManager2 in <lambda>()
50 on { createForSubscriptionId(INVALID_SUBSCRIPTION_ID) } doReturn mock in <lambda>()
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DEnableSmartForwardingTask.java283 tm.createForSubscriptionId(subId) in process()
316 tm.createForSubscriptionId(subId) in process()
353 tm.createForSubscriptionId(subId) in process()
372 tm.createForSubscriptionId(subId) in onRestore()
395 tm.createForSubscriptionId(subId) in process()
413 tm.createForSubscriptionId(subId) in onRestore()
DDisableSmartForwardingTask.java45 tm.createForSubscriptionId(subId) in run()
53 tm.createForSubscriptionId(subId) in run()
/packages/apps/Settings/src/com/android/settings/network/
DAllowedNetworkTypesListener.java59 TelephonyManager.class).createForSubscriptionId(subId); in register()
70 TelephonyManager.class).createForSubscriptionId(subId); in unregister()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DNetworkUtils.java66 .createForSubscriptionId(subId); in setMobileDataEnabled()
81 context.getSystemService(TelephonyManager.class).createForSubscriptionId( in setMobileDataEnabled()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeTest.java69 .createForSubscriptionId(SUB_ID); in setUp()
79 verify(mockTelephonyManagerFromContext).createForSubscriptionId(SUB_ID); in setUp()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DVideoCallingPreferenceController.java118 final ImsMmTelManager imsMmTelManager = ImsMmTelManager.createForSubscriptionId(mSubId); in setChecked()
169 .createForSubscriptionId(subId).isDataEnabled())) { in isVideoCallEnabled()
195 mTelephonyManager = mTelephonyManager.createForSubscriptionId(subId); in register()
DMmsMessagePreferenceController.kt47 .createForSubscriptionId(subId) in init()
61 telephonyManager.createForSubscriptionId(defaultDataSubId).isDataEnabled && in getAvailabilityStatus()
DSignalStrengthListener.java96 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in startListening()
102 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in stopListening()
DMobileNetworkUtils.java164 ProvisioningManager.createForSubscriptionId(subId); in isWfcProvisionedOnDevice()
350 final TelephonyManager tmDefaultData = telephonyManager.createForSubscriptionId( in isMobileDataEnabled()
366 .createForSubscriptionId(subId); in setMobileDataEnabled()
381 .createForSubscriptionId(subInfo.getSubscriptionId()) in setMobileDataEnabled()
407 .createForSubscriptionId(subId); in isCdmaOptions()
443 .createForSubscriptionId(subId); in isGsmOptions()
472 .createForSubscriptionId(subId); in isGsmBasicOptions()
497 .createForSubscriptionId(subId); in shouldDisplayNetworkSelectOptions()
535 context.getSystemService(TelephonyManager.class).createForSubscriptionId(subId)); in isTdscdmaSupported()
626 .createForSubscriptionId(subId); in shouldSpeciallyUpdateGsmCdma()
DTelephonyDisplayInfoListener.java107 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in startListening()
112 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in stopListening()
/packages/apps/Settings/src/com/android/settings/network/ims/
DImsQueryController.java73 final ImsMmTelManager imsMmTelManager = ImsMmTelManager.createForSubscriptionId(subId); in isEnabledByPlatform()
99 final ImsMmTelManager imsMmTelManager = ImsMmTelManager.createForSubscriptionId(subId); in isServiceStateReady()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsSubscriptionsMonitor.java107 mTeleManager.createForSubscriptionId(subId).getSubscriberId(); in onSubscriptionsChanged()
125 mTeleManager.createForSubscriptionId(sub.first) in onSubscriptionsChanged()
179 mTeleManager.createForSubscriptionId(listener.mSubId) in handleRemoveRatTypeListener()
/packages/services/Mms/src/com/android/mms/service/
DMmsRequest.java293 TelephonyManager.class).createForSubscriptionId(mSubId); in listenToDataConnectionState()
300 TelephonyManager.class).createForSubscriptionId(mSubId); in stopListeningToDataConnectionState()
392 .createForSubscriptionId(mSubId); in reportAnomaly()
429 TelephonyManager.class).createForSubscriptionId(mSubId); in isPoorSignal()
442 imsManager = ImsMmTelManager.createForSubscriptionId(mSubId); in isImsOnWifi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DSignalStrengthListenerTest.java70 when(mBaseManager.createForSubscriptionId(SUB_ID_1)).thenReturn(mManager1); in setUp()
71 when(mBaseManager.createForSubscriptionId(SUB_ID_2)).thenReturn(mManager2); in setUp()
72 when(mBaseManager.createForSubscriptionId(SUB_ID_3)).thenReturn(mManager3); in setUp()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/
DImsUtils.java189 return ImsMmTelManager.createForSubscriptionId(subId); in getImsMmTelManager()
204 return ProvisioningManager.createForSubscriptionId(subId); in getProvisioningManager()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/provisioning/
DStaticConfigProvisioningController.java53 this.provisioningManager = ProvisioningManager.createForSubscriptionId(subId); in StaticConfigProvisioningController()
65 public static StaticConfigProvisioningController createForSubscriptionId(int subscriptionId, in createForSubscriptionId() method in StaticConfigProvisioningController
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DDataServiceSetupPreferenceControllerTest.java78 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
79 doReturn(mInvalidTelephonyManager).when(mTelephonyManager).createForSubscriptionId( in setUp()
DEnhanced4gBasePreferenceControllerTest.java76 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
77 doReturn(mInvalidTelephonyManager).when(mTelephonyManager).createForSubscriptionId( in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCarrierInfoManager.java318 mTelephonyManager.createForSubscriptionId(mSubscriptionId) in unregisterListener()
723 TelephonyManager specifiedTm = mTelephonyManager.createForSubscriptionId(subId); in getCarrierConfigForSubId()
851 && mTelephonyManager.createForSubscriptionId(subId) in onCarrierConfigChanged()
1032 TelephonyManager specifiedTm = mTelephonyManager.createForSubscriptionId(subId); in getSimIdentity()
1386 TelephonyManager specifiedTm = mTelephonyManager.createForSubscriptionId(subId); in getGsmAuthResponseWithLength()
1459 TelephonyManager specifiedTm = mTelephonyManager.createForSubscriptionId(subId); in getGsmSimpleSimNoLengthAuthResponse()
1550 .createForSubscriptionId(subId) in get3GAuthResponse()
1642 TelephonyManager specifiedTm = mTelephonyManager.createForSubscriptionId(subId); in resetCarrierKeysForImsiEncryption()
1852 mTelephonyManager.createForSubscriptionId(info.getSubscriptionId()); in getCarrierIdForPackageWithCarrierPrivileges()
1868 mTelephonyManager.createForSubscriptionId(subId); in getCarrierNameForSubId()
[all …]
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java267 TelephonyManager.class).createForSubscriptionId(subId); in autoDataSwitchEnabledOnNonDataSub()
334 TelephonyManager.class).createForSubscriptionId(subId); in onEnableAutoDataSwitch()
359 TelephonyManager.class).createForSubscriptionId(subId); in setDefaultDataSubId()

1234567891011