Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageControllerTest.java77 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()
DDataUsageUtilsTest.java69 when(mTelephonyManager.createForSubscriptionId(SUB_ID)).thenReturn(mTelephonyManager); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java97 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getSimIdentity()
151 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getAnonymousIdentityWith3GppRealm()
481 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getGsmAuthResponseWithLength()
554 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getGsmSimpleSimNoLengthAuthResponse()
653 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in get3GAuthResponse()
713 TelephonyManager defaultDataTm = tm.createForSubscriptionId( in getCarrierType()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageUtils.java37 TelephonyManager.class).createForSubscriptionId(subId); in getMobileTemplate()
DDataUsageController.java225 return TelephonyManager.from(mContext).createForSubscriptionId(subscriptionId); in getTelephonyManager()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DSystemInfo.java103 TelephonyManager defaultDataTm = mTelephonyManager.createForSubscriptionId( in getDeviceId()
DPasspointNetworkEvaluator.java196 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in createEphemeralProfileForMatchingAp()
DPasspointManager.java463 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in findEapMethodFromNAIRealmMatchedWithCarrier()
526 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in createEphemeralPasspointConfigForCarrier()
547 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in createEphemeralPasspointConfigForCarrier()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DSystemInfoTest.java54 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in setUp()
DPasspointManagerTest.java1629 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in verifyCreateEphemeralPasspointConfigurationWithNonCarrierEapMethod()
1646 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod()
1727 when(mTelephonyManager.createForSubscriptionId(anyInt())) in verifyFindEapMethodFromNAIRealmMatchedWithCarrierWithMatch()
1771 when(mTelephonyManager.createForSubscriptionId(anyInt())) in verifyFindEapMethodFromNAIRealmMatchedWithCarrierWithNoMatch()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java109 telephonyMgr.createForSubscriptionId(subId).setCarrierDataEnabled(!ENABLE); in onDisableAllMeteredApns()
117 telephonyMgr.createForSubscriptionId(subId).setCarrierDataEnabled(ENABLE); in onEnableAllMeteredApns()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevDetailMoTest.java69 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DPostDevDataMessageTest.java82 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in setUp()
/frameworks/base/telephony/java/android/telephony/ims/
DProvisioningManager.java195 public static @NonNull ProvisioningManager createForSubscriptionId(int subId) { in createForSubscriptionId() method in ProvisioningManager
DImsMmTelManager.java325 public static @NonNull ImsMmTelManager createForSubscriptionId(int subId) { in createForSubscriptionId() method in ImsMmTelManager
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java144 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in verifyCarrierImsiEncryptionInfoIsAvailable()
DCellularLinkLayerStatsCollector.java133 .createForSubscriptionId(defaultDataSubId); in retrieveDefaultDataTelephonyManager()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkConfigTest.java107 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in setUp()
DCellularLinkLayerStatsCollectorTest.java88 when(mTelephonyManager.createForSubscriptionId(anyInt())) in setUp()
DCarrierNetworkEvaluatorTest.java162 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mDataTelephonyManager); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DDevDetailMo.java212 .createForSubscriptionId(SubscriptionManager.getDefaultDataSubscriptionId()) in serializeToXml()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java153 mTelephonyManager = mTelephonyManager.createForSubscriptionId(mSubId); in updatePhoneStateListener()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java135 when(mTelephonyManager.createForSubscriptionId(anyInt())).thenReturn(mTelephonyManager); in setUp()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java218 details = mTelephonyManager.createForSubscriptionId(subId) in showNotification()
DMultipathPolicyTracker.java214 tele = tele.createForSubscriptionId(subId); in MultipathTracker()

12