Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DDataUsageRequest.java53 public final long thresholdInBytes; field in DataUsageRequest
55 public DataUsageRequest(int requestId, NetworkTemplate template, long thresholdInBytes) { in DataUsageRequest() argument
58 this.thresholdInBytes = thresholdInBytes; in DataUsageRequest()
70 dest.writeLong(thresholdInBytes); in writeToParcel()
79 long thresholdInBytes = in.readLong();
81 thresholdInBytes);
95 + ", thresholdInBytes=" + thresholdInBytes + " ]"; in toString()
104 && that.thresholdInBytes == this.thresholdInBytes; in equals()
109 return Objects.hash(requestId, template, thresholdInBytes); in hashCode()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java199 long thresholdInBytes = Math.max(MIN_THRESHOLD_BYTES, request.thresholdInBytes); in buildRequest() local
200 if (thresholdInBytes < request.thresholdInBytes) { in buildRequest()
202 + ". Overriding to a safer default of " + thresholdInBytes + " bytes"); in buildRequest()
205 request.template, thresholdInBytes); in buildRequest()
344 if (bytesSoFar > mRequest.thresholdInBytes) { in checkStats()
385 if (bytesSoFar > mRequest.thresholdInBytes) { in checkStats()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt35347 Landroid/net/DataUsageRequest;->thresholdInBytes:J