Searched refs:createApnSetting (Results 1 – 2 of 2) sorted by relevance
62 static ApnSetting createApnSetting(int apnTypesBitmask) { in createApnSetting() method in ApnSettingTest333 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_DEFAULT), mPhone)); in testIsMetered()336 createApnSetting(ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_MMS), mPhone)); in testIsMetered()338 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_MMS), mPhone)); in testIsMetered()341 createApnSetting(ApnSetting.TYPE_SUPL | ApnSetting.TYPE_MMS), mPhone)); in testIsMetered()344 createApnSetting(ApnSetting.TYPE_DEFAULT | ApnSetting.TYPE_DUN), mPhone)); in testIsMetered()346 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_ALL), mPhone)); in testIsMetered()349 createApnSetting(ApnSetting.TYPE_SUPL | ApnSetting.TYPE_FOTA), mPhone)); in testIsMetered()352 createApnSetting(ApnSetting.TYPE_IA | ApnSetting.TYPE_CBS), mPhone)); in testIsMetered()379 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_DEFAULT), mPhone)); in testIsRoamingMetered()[all …]
20 import static com.android.internal.telephony.dataconnection.ApnSettingTest.createApnSetting;1036 ApnSetting apnSetting = createApnSetting(ApnSetting.getApnTypesBitmaskFromString( in initApns()