HomeSort by relevance Sort by last modified time
    Searched refs:thresholdInBytes (Results 1 - 4 of 4) sorted by null

  /frameworks/base/core/java/android/net/
DataUsageRequest.java 52 public final long thresholdInBytes;
54 public DataUsageRequest(int requestId, NetworkTemplate template, long thresholdInBytes) {
57 this.thresholdInBytes = thresholdInBytes;
69 dest.writeLong(thresholdInBytes);
78 long thresholdInBytes = in.readLong();
80 thresholdInBytes);
94 + ", thresholdInBytes=" + thresholdInBytes + " ]";
103 && that.thresholdInBytes == this.thresholdInBytes
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsObserversTest.java 143 assertEquals(THRESHOLD_BYTES, request.thresholdInBytes);
155 assertEquals(highThresholdBytes, request.thresholdInBytes);
166 assertEquals(THRESHOLD_BYTES, request1.thresholdInBytes);
172 assertEquals(THRESHOLD_BYTES, request2.thresholdInBytes);
190 assertEquals(THRESHOLD_BYTES, request.thresholdInBytes);
207 assertEquals(THRESHOLD_BYTES, request.thresholdInBytes);
224 assertEquals(THRESHOLD_BYTES, request.thresholdInBytes);
254 assertEquals(THRESHOLD_BYTES, request.thresholdInBytes);
291 assertEquals(THRESHOLD_BYTES, request.thresholdInBytes);
328 assertEquals(THRESHOLD_BYTES, request.thresholdInBytes);
    [all...]
NetworkStatsServiceTest.java     [all...]
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsObservers.java 204 long thresholdInBytes = Math.max(MIN_THRESHOLD_BYTES, request.thresholdInBytes);
205 if (thresholdInBytes < request.thresholdInBytes) {
207 + ". Overriding to a safer default of " + thresholdInBytes + " bytes");
210 request.template, thresholdInBytes);
349 if (bytesSoFar > mRequest.thresholdInBytes) {
390 if (bytesSoFar > mRequest.thresholdInBytes) {

Completed in 157 milliseconds