Home | History | Annotate | Download | only in net

Lines Matching refs:rxBytes

92     private long[] rxBytes;
109 public long rxBytes;
119 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) {
120 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets,
124 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets,
126 this(iface, uid, set, tag, ROAMING_NO, rxBytes, rxPackets, txBytes, txPackets,
130 public Entry(String iface, int uid, int set, int tag, int roaming, long rxBytes,
137 this.rxBytes = rxBytes;
145 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0;
149 return rxBytes == 0 && rxPackets == 0 && txBytes == 0 && txPackets == 0
154 this.rxBytes += another.rxBytes;
169 builder.append(" rxBytes=").append(rxBytes);
182 && rxBytes == e.rxBytes && rxPackets == e.rxPackets && txBytes == e.txBytes
200 this.rxBytes = new long[initialSize];
213 this.rxBytes = EmptyArray.LONG;
230 rxBytes = parcel.createLongArray();
247 dest.writeLongArray(rxBytes);
267 String iface, long rxBytes, long rxPackets, long txBytes, long txPackets) {
269 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L);
273 public NetworkStats addValues(String iface, int uid, int set, int tag, long rxBytes,
276 iface, uid, set, tag, rxBytes, rxPackets, txBytes, txPackets, operations));
281 long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) {
283 iface, uid, set, tag, roaming, rxBytes, rxPackets, txBytes, txPackets, operations));
298 rxBytes = Arrays.copyOf(rxBytes, newLength);
311 rxBytes[size] = entry.rxBytes;
331 entry.rxBytes = rxBytes[i];
365 public NetworkStats combineValues(String iface, int uid, int tag, long rxBytes, long rxPackets,
368 iface, uid, SET_DEFAULT, tag, rxBytes, rxPackets, txBytes,
373 long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) {
375 iface, uid, set, tag, rxBytes, rxPackets, txBytes, txPackets, operations));
389 rxBytes[i] += entry.rxBytes;
500 return entry.rxBytes + entry.txBytes;
546 entry.rxBytes = 0;
560 entry.rxBytes += rxBytes[i];
647 entry.rxBytes = left.rxBytes[i];
654 entry.rxBytes = left.rxBytes[i] - right.rxBytes[j];
660 if (entry.rxBytes < 0 || entry.rxPackets < 0 || entry.txBytes < 0
665 entry.rxBytes = Math.max(entry.rxBytes, 0);
698 entry.rxBytes = rxBytes[i];
726 entry.rxBytes = rxBytes[i];
766 pw.print(" rxBytes="); pw.print(rxBytes[i]);
955 pool.rxBytes = Math.min(tunIfaceTotal.rxBytes, underlyingIfaceTotal.rxBytes);
972 if (tunIfaceTotal.rxBytes > 0) {
973 tmpEntry.rxBytes = pool.rxBytes * rxBytes[i] / tunIfaceTotal.rxBytes;
975 tmpEntry.rxBytes = 0;
1044 long rxBytes = Math.min(left.rxBytes[i], right.rxBytes);
1045 left.rxBytes[i] -= rxBytes;
1046 right.rxBytes -= rxBytes;