/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | SubscriptionUtilTest.java | 219 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 …]
|
D | ResetNetworkOperationBuilderTest.java | 127 .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/ |
D | SimPinReplayManagerTest.java | 68 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/ |
D | DataConnectionStateHelperTest.java | 129 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/ |
D | MmsMessagePreferenceControllerTest.kt | 43 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/ |
D | EnableSmartForwardingTask.java | 283 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()
|
D | DisableSmartForwardingTask.java | 45 tm.createForSubscriptionId(subId) in run() 53 tm.createForSubscriptionId(subId) in run()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | AllowedNetworkTypesListener.java | 59 TelephonyManager.class).createForSubscriptionId(subId); in register() 70 TelephonyManager.class).createForSubscriptionId(subId); in unregister()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | NetworkUtils.java | 66 .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/ |
D | EapAkaPrimeTest.java | 69 .createForSubscriptionId(SUB_ID); in setUp() 79 verify(mockTelephonyManagerFromContext).createForSubscriptionId(SUB_ID); in setUp()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | VideoCallingPreferenceController.java | 118 final ImsMmTelManager imsMmTelManager = ImsMmTelManager.createForSubscriptionId(mSubId); in setChecked() 169 .createForSubscriptionId(subId).isDataEnabled())) { in isVideoCallEnabled() 195 mTelephonyManager = mTelephonyManager.createForSubscriptionId(subId); in register()
|
D | MmsMessagePreferenceController.kt | 47 .createForSubscriptionId(subId) in init() 61 telephonyManager.createForSubscriptionId(defaultDataSubId).isDataEnabled && in getAvailabilityStatus()
|
D | SignalStrengthListener.java | 96 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in startListening() 102 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in stopListening()
|
D | MobileNetworkUtils.java | 164 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()
|
D | TelephonyDisplayInfoListener.java | 107 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in startListening() 112 TelephonyManager mgr = mBaseTelephonyManager.createForSubscriptionId(subId); in stopListening()
|
/packages/apps/Settings/src/com/android/settings/network/ims/ |
D | ImsQueryController.java | 73 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/ |
D | NetworkStatsSubscriptionsMonitor.java | 107 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/ |
D | MmsRequest.java | 293 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/ |
D | SignalStrengthListenerTest.java | 70 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/ |
D | ImsUtils.java | 189 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/ |
D | StaticConfigProvisioningController.java | 53 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/ |
D | DataServiceSetupPreferenceControllerTest.java | 78 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp() 79 doReturn(mInvalidTelephonyManager).when(mTelephonyManager).createForSubscriptionId( in setUp()
|
D | Enhanced4gBasePreferenceControllerTest.java | 76 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/ |
D | WifiCarrierInfoManager.java | 318 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/ |
D | SimDialogActivity.java | 267 TelephonyManager.class).createForSubscriptionId(subId); in autoDataSwitchEnabledOnNonDataSub() 334 TelephonyManager.class).createForSubscriptionId(subId); in onEnableAutoDataSwitch() 359 TelephonyManager.class).createForSubscriptionId(subId); in setDefaultDataSubId()
|