/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | DataUsageControllerTest.java | 77 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mTelephonyManager); in setUp() 162 when(mTelephonyManager.createForSubscriptionId(eq(explicitSubId))).thenReturn(tmForSub1); in getTelephonyManager_shouldCreateWithExplicitSubId() 168 verify(mTelephonyManager).createForSubscriptionId(eq(explicitSubId)); in getTelephonyManager_shouldCreateWithExplicitSubId() 175 when(mTelephonyManager.createForSubscriptionId(mDefaultSubscriptionId)) in getTelephonyManager_noExplicitSubId_shouldCreateWithDefaultDataSubId() 180 verify(mTelephonyManager).createForSubscriptionId(mDefaultSubscriptionId); in getTelephonyManager_noExplicitSubId_shouldCreateWithDefaultDataSubId() 192 when(mTelephonyManager.createForSubscriptionId(activeSubId)) in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub() 197 verify(mTelephonyManager).createForSubscriptionId(activeSubId); in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub()
|
D | DataUsageUtilsTest.java | 73 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mTelephonyManager); in setUp()
|
/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/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageUtils.java | 41 telephonyManager.createForSubscriptionId(subId).getSubscriberId()); in getMobileTemplate() 48 final String[] mergedSubscriberIds = telephonyManager.createForSubscriptionId(subId) in getMobileTemplate()
|
D | DataUsageController.java | 226 TelephonyManager.class).createForSubscriptionId(subscriptionId); in getTelephonyManager()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyPermissionsTest.java | 100 when(mTelephonyManagerMock.createForSubscriptionId(anyInt())).thenReturn( in setUp() 169 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckReadPhoneState_hasCarrierPrivileges() 211 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckReadPhoneStateOnAnyActiveSub_hasCarrierPrivileges() 295 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckReadDeviceIdentifiers_hasCarrierPrivileges() 358 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID_2))).thenReturn( in testCheckReadDeviceIdentifiers_hasCarrierPrivilegesOnOtherSubscription() 372 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID_2))).thenReturn( in testCheckReadDeviceIdentifiers_hasCarrierPrivilegesOnInvisibleSubscription() 438 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckCallingOrSelfReadSubscriberIdentifiers_carrierPrivileges() 457 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID_2))).thenReturn( in testCheckCallingOrSelfReadSubscriberIdentifiers_carrierPrivilegesOnOtherSub() 552 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testEnforeceCallingOrSelfReadPrecisePhoneStatePermissionOrCarrierPrivilege_withPrivileges()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 98 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getSimIdentity() 152 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getAnonymousIdentityWith3GppRealm() 482 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getGsmAuthResponseWithLength() 555 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getGsmSimpleSimNoLengthAuthResponse() 654 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in get3GAuthResponse() 714 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getCarrierType() 752 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in decoratePseudonymWith3GppRealm()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsSubscriptionsMonitor.java | 114 mTeleManager.createForSubscriptionId(subId) in onSubscriptionsChanged() 166 mTeleManager.createForSubscriptionId(listener.mSubId) in handleRemoveRatTypeListener()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 184 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumber() 201 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumbers()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | SystemInfoTest.java | 54 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in setUp()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | SystemInfo.java | 103 TelephonyManager defaultDataTm = mTelephonyManager.createForSubscriptionId( in getDeviceId()
|
D | PasspointNetworkEvaluator.java | 196 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in createEphemeralProfileForMatchingAp()
|
D | PasspointManager.java | 468 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in findEapMethodFromNAIRealmMatchedWithCarrier() 531 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in createEphemeralPasspointConfigForCarrier() 552 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in createEphemeralPasspointConfigForCarrier()
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
D | CarrierDefaultReceiverTest.java | 72 doReturn(mTelephonyMgr).when(mTelephonyMgr).createForSubscriptionId(anyInt()); in setUp()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/ |
D | DevDetailMoTest.java | 69 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in setUp()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | PostDevDataMessageTest.java | 82 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/ |
D | VendorDataResetEventTracker.java | 163 createForSubscriptionId(ddsSubId). in startResetEventTracker()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | CarrierNetworkConfig.java | 144 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in verifyCarrierImsiEncryptionInfoIsAvailable()
|
D | CellularLinkLayerStatsCollector.java | 133 .createForSubscriptionId(defaultDataSubId); in retrieveDefaultDataTelephonyManager()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CarrierNetworkConfigTest.java | 107 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in setUp()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ProvisioningManager.java | 935 public static @NonNull ProvisioningManager createForSubscriptionId(int subId) { in createForSubscriptionId() method in ProvisioningManager
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | DevDetailMo.java | 212 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in serializeToXml()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSimPinView.java | 260 .createForSubscriptionId(mSubId); in run()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsSubscriptionsMonitorTest.java | 80 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mTelephonyManager); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettings.java | 155 mTelephonyManager = mTelephonyManager.createForSubscriptionId(mSubId); in updatePhoneStateListener()
|