/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | DataUsageControllerTest.java | 71 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()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 108 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()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyPermissionsTest.java | 108 when(mTelephonyManagerMock.createForSubscriptionId(anyInt())).thenReturn( in setUp() 188 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckReadPhoneState_hasCarrierPrivileges() 232 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckReadPhoneStateOnAnyActiveSub_hasCarrierPrivileges() 281 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckReadPhoneNumber_hasCarrierPrivileges() 318 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckReadDeviceIdentifiers_hasCarrierPrivileges() 363 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID_2))).thenReturn( in testCheckReadDeviceIdentifiers_hasCarrierPrivilegesOnOtherSubscription() 421 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckCallingOrSelfReadSubscriberIdentifiers_carrierPrivileges() 437 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID_2))).thenReturn( in testCheckCallingOrSelfReadSubscriberIdentifiers_carrierPrivilegesOnOtherSub() 532 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testEnforceCallingOrSelfReadPrecisePhoneStatePermissionOrCarrierPrivilege_withPrivileges()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | PhoneCallStateHandler.java | 127 .createForSubscriptionId(s.getSubscriptionId()) in checkCallStatus() 146 .map(s -> mTelephonyManager.createForSubscriptionId(s.getSubscriptionId()))
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/ |
D | SimBouncerInteractorTest.kt | 206 whenever(telephonyManager.createForSubscriptionId(anyInt())) in verifySimPin() 223 whenever(telephonyManager.createForSubscriptionId(anyInt())) in verifySimPin_incorrect_oneRemainingAttempt() 249 whenever(telephonyManager.createForSubscriptionId(anyInt())) in verifySimPin_incorrect_threeRemainingAttempts() 293 whenever(telephonyManager.createForSubscriptionId(anyInt())) in verifySimPuk()
|
/frameworks/base/packages/SystemUI/tests/utils/src/android/telephony/ |
D | TelephonyManagerKosmos.kt | 28 whenever(createForSubscriptionId(anyInt())).thenReturn(this) in <lambda>()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/util/ |
D | UceUtils.java | 104 ProvisioningManager manager = ProvisioningManager.createForSubscriptionId(subId); in isEabProvisioned() 237 ProvisioningManager manager = ProvisioningManager.createForSubscriptionId(subId); in getRcsPublishThrottle() 258 ProvisioningManager manager = ProvisioningManager.createForSubscriptionId(subId); in getRclMaxNumberEntries() 449 ProvisioningManager pm = ProvisioningManager.createForSubscriptionId(subId); in getAvailabilityCacheExpiration()
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | ImsStateCallbackTest.java | 100 ImsMmTelManager mmTelManager = ImsMmTelManager.createForSubscriptionId(SUB_ID_ONE); in testMmTelRegisterAndUnregisterImsStateCallbackValues() 168 ImsMmTelManager mmTelManager = ImsMmTelManager.createForSubscriptionId(SUB_ID_ONE); in testImsStateCallbacks()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 192 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumber() 209 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumbers()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/ |
D | EapAkaHelper.java | 69 .createForSubscriptionId(mSimSubscriptionId); in getEapAkaRootNai()
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
D | CarrierDefaultReceiverTest.java | 72 doReturn(mTelephonyMgr).when(mTelephonyMgr).createForSubscriptionId(anyInt()); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractImsStatusPreferenceController.java | 114 final ImsMmTelManager imsMmTelManager = ImsMmTelManager.createForSubscriptionId(subId); in updateConnectivity()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceStateTracker.java | 118 TelephonyManager.class).createForSubscriptionId(mPhone.getSubId()); in CarrierServiceStateTracker() 158 mTelephonyManager = mTelephonyManager.createForSubscriptionId( in CarrierServiceStateTracker() 302 Context.TELEPHONY_SERVICE)).createForSubscriptionId(mPhone.getSubId()); in isNrSupported()
|
D | CarrierInfoManager.java | 303 .createForSubscriptionId(subId); in resetCarrierKeysForImsiEncryption() 345 .createForSubscriptionId(subId); in deleteCarrierInfoForImsiEncryption()
|
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/ |
D | EapAkaResponseTest.java | 93 when(mMockTelephonyManager.createForSubscriptionId(SUB_ID)) in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/ |
D | SimBouncerInteractor.kt | 193 telephonyManager.createForSubscriptionId(subscriptionId) in verifySimPin() 265 val telephonyManager = telephonyManager.createForSubscriptionId(subscriptionId) in verifySimPuk()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/ |
D | NetworkEvaluationTestBase.java | 137 when(mTelephonyManager.createForSubscriptionId(SUB_ID)).thenReturn(mTelephonyManager); in setUp()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/ |
D | KeyguardSimPukViewControllerTest.kt | 80 Mockito.`when`(telephonyManager.createForSubscriptionId(Mockito.anyInt())) in setup()
|
D | KeyguardSimPinViewControllerTest.kt | 86 `when`(telephonyManager.createForSubscriptionId(anyInt())).thenReturn(telephonyManager) in setup()
|
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/ |
D | EapAkaHelperTest.java | 55 when(mMockTelephonyManager.createForSubscriptionId(SUB_ID)) in setUp()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ContextFixture.java | 76 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(anyInt()); in ContextFixture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | CarrierMergedConnectionRepositoryKairos.kt | 200 telephonyManager.createForSubscriptionId(subId), in <lambda>()
|
D | CarrierMergedConnectionRepository.kt | 214 telephonyManager.createForSubscriptionId(subId), in <lambda>()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/ |
D | PublishUtils.java | 159 return telephonyManager.createForSubscriptionId(subId); in getTelephonyManager()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataConnectionStateTracker.java | 147 mTelephonyListener.register(telephonyManager.createForSubscriptionId(subId)); in registerTelephonyListener()
|