Searched refs:ApnSettingUtils (Results 1 – 3 of 3) sorted by relevance
333 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_DEFAULT), mPhone)); in testIsMetered()335 assertTrue(ApnSettingUtils.isMetered( in testIsMetered()338 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_MMS), mPhone)); in testIsMetered()340 assertTrue(ApnSettingUtils.isMetered( in testIsMetered()343 assertTrue(ApnSettingUtils.isMetered( in testIsMetered()346 assertTrue(ApnSettingUtils.isMetered(createApnSetting(ApnSetting.TYPE_ALL), mPhone)); in testIsMetered()348 assertFalse(ApnSettingUtils.isMetered( in testIsMetered()351 assertFalse(ApnSettingUtils.isMetered( in testIsMetered()354 assertTrue(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_DEFAULT, mPhone)); in testIsMetered()355 assertTrue(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_MMS, mPhone)); in testIsMetered()[all …]
36 public class ApnSettingUtils { class
1271 || ApnSettingUtils.isMeteredApnType(ApnSetting.getApnTypesBitmaskFromString( in isDataAllowed()1618 if (apnSetting == null || !ApnSettingUtils.isMetered(apnSetting, mPhone)) return false; in shouldCleanUpConnection()