Home
last modified time | relevance | path

Searched refs:isMetered (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java216 isMetered(mContext, 1, isRoaming)); in testIsMetered()
220 isMetered(mContext, 1, isRoaming)); in testIsMetered()
224 isMetered(mContext, 1, isRoaming)); in testIsMetered()
228 isMetered(mContext, 1, isRoaming)); in testIsMetered()
232 isMetered(mContext, 1, isRoaming)); in testIsMetered()
236 isMetered(mContext, 1, isRoaming)); in testIsMetered()
240 isMetered(mContext, 1, isRoaming)); in testIsMetered()
244 isMetered(mContext, 1, isRoaming)); in testIsMetered()
274 isMetered(mContext, 1, isRoaming)); in testIsRoamingMetered()
278 isMetered(mContext, 1, isRoaming)); in testIsRoamingMetered()
[all …]
/frameworks/base/core/java/android/net/
DNetworkInfo.java339 public boolean isMetered() { in isMetered() method in NetworkInfo
347 public void setMetered(boolean isMetered) { in setMetered() argument
349 mIsMetered = isMetered; in setMetered()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java105 final boolean unmetered = connected && !info.isMetered(); in updateConstraintsSatisfied()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSetting.java478 public boolean isMetered(Context context, int subId, boolean isRoaming ) { in isMetered() method in ApnSetting
DDataConnection.java890 if (!mApnSetting.isMetered(mPhone.getContext(), mPhone.getSubId(), in makeNetworkCapabilities()
DDcTracker.java1721 if (apnSetting != null && apnSetting.isMetered(mPhone.getContext(), in cleanUpAllConnections()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1294 return (info != null) ? info.isMetered() : false; in isActiveNetworkMetered()