Home
last modified time | relevance | path

Searched refs:isMeteredApnType (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java354 assertTrue(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_DEFAULT, mPhone)); in testIsMetered()
355 assertTrue(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_MMS, mPhone)); in testIsMetered()
356 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_SUPL, mPhone)); in testIsMetered()
357 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_CBS, mPhone)); in testIsMetered()
358 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_DUN, mPhone)); in testIsMetered()
359 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_FOTA, mPhone)); in testIsMetered()
360 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_IA, mPhone)); in testIsMetered()
361 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_HIPRI, mPhone)); in testIsMetered()
367 assertTrue(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_DEFAULT, mPhone)); in testIsMetered()
368 assertFalse(ApnSettingUtils.isMeteredApnType(ApnSetting.TYPE_MMS, mPhone)); in testIsMetered()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSettingUtils.java119 public static boolean isMeteredApnType(@ApnType int apnType, Phone phone) { in isMeteredApnType() method in ApnSettingUtils
195 if (isMeteredApnType(apnType, phone)) { in isMetered()
DDcTracker.java1270 boolean isMeteredApnType = apnContext == null in isDataAllowed()
1271 || ApnSettingUtils.isMeteredApnType(ApnSetting.getApnTypesBitmaskFromString( in isDataAllowed()
1376 && !isMeteredApnType) { in isDataAllowed()