Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkTemplate.java191 private final int mMetered; field in NetworkTemplate
212 mMetered = metered; in NetworkTemplate()
227 mMetered = in.readInt(); in NetworkTemplate()
238 dest.writeInt(mMetered); in writeToParcel()
263 if (mMetered != METERED_ALL) { in toString()
264 builder.append(", metered=").append(NetworkStats.meteredToString(mMetered)); in toString()
278 return Objects.hash(mMatchRule, mSubscriberId, mNetworkId, mMetered, mRoaming, in hashCode()
289 && mMetered == other.mMetered in equals()
361 return (mMetered == METERED_ALL) in matchesMetered()
362 || (mMetered == METERED_YES && ident.mMetered) in matchesMetered()
[all …]
DNetworkIdentity.java60 final boolean mMetered; field in NetworkIdentity
71 mMetered = metered; in NetworkIdentity()
77 return Objects.hash(mType, mSubType, mSubscriberId, mNetworkId, mRoaming, mMetered, in hashCode()
88 && mMetered == ident.mMetered in equals()
115 builder.append(", metered=").append(mMetered); in toString()
132 proto.write(NetworkIdentityProto.METERED, mMetered); in writeToProto()
159 return mMetered; in getMetered()
250 res = Boolean.compare(mMetered, another.mMetered); in compareTo()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java272 private int mMetered; field in NetworkStats.Bucket
391 return mMetered; in getMetered()
614 bucketOut.mMetered = Bucket.convertMetered(mRecycledSummaryEntry.metered); in fillBucketFromSummaryEntry()
665 bucketOut.mMetered = Bucket.METERED_ALL; in getNextHistoryBucket()