Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkIdentity.java60 final boolean mMetered; field in NetworkIdentity
70 mMetered = metered; in NetworkIdentity()
75 return Objects.hash(mType, mSubType, mSubscriberId, mNetworkId, mRoaming, mMetered); in hashCode()
85 && mMetered == ident.mMetered; in equals()
111 builder.append(", metered=").append(mMetered); in toString()
127 proto.write(NetworkIdentityProto.METERED, mMetered); in writeToProto()
153 return mMetered; in getMetered()
238 res = Boolean.compare(mMetered, another.mMetered); in compareTo()
DNetworkTemplate.java309 return (sForceAllNetworkTypes || (ident.mType == TYPE_MOBILE && ident.mMetered)) in matchesMobile()
379 return sForceAllNetworkTypes || (ident.mType == TYPE_MOBILE && ident.mMetered); in matchesMobileWildcard()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java226 private int mMetered; field in NetworkStats.Bucket
326 return mMetered; in getMetered()
542 bucketOut.mMetered = Bucket.convertMetered(mRecycledSummaryEntry.metered); in fillBucketFromSummaryEntry()
591 bucketOut.mMetered = Bucket.METERED_ALL; in getNextHistoryBucket()