Lines Matching defs:txPackets
76 private long[] txPackets;
87 public long txPackets;
94 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) {
95 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets,
100 long txBytes, long txPackets, long operations) {
108 this.txPackets = txPackets;
113 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0;
117 return rxBytes == 0 && rxPackets == 0 && txBytes == 0 && txPackets == 0
125 this.txPackets += another.txPackets;
139 builder.append(" txPackets=").append(txPackets);
150 && txPackets == e.txPackets && operations == e.operations
169 this.txPackets = new long[initialSize];
181 this.txPackets = EmptyArray.LONG;
197 txPackets = parcel.createLongArray();
213 dest.writeLongArray(txPackets);
230 String iface, long rxBytes, long rxPackets, long txBytes, long txPackets) {
232 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L);
237 long rxPackets, long txBytes, long txPackets, long operations) {
239 iface, uid, set, tag, rxBytes, rxPackets, txBytes, txPackets, operations));
256 txPackets = Arrays.copyOf(txPackets, newLength);
268 txPackets[size] = entry.txPackets;
287 entry.txPackets = txPackets[i];
319 long txBytes, long txPackets, long operations) {
321 iface, uid, SET_DEFAULT, tag, rxBytes, rxPackets, txBytes, txPackets, operations);
325 long rxPackets, long txBytes, long txPackets, long operations) {
327 iface, uid, set, tag, rxBytes, rxPackets, txBytes, txPackets, operations));
344 txPackets[i] += entry.txPackets;
499 entry.txPackets = 0;
513 entry.txPackets += txPackets[i];
526 total += rxPackets[i] + txPackets[i];
598 entry.txPackets = left.txPackets[i];
605 entry.txPackets = left.txPackets[i] - right.txPackets[j];
609 || entry.txPackets < 0 || entry.operations < 0) {
616 entry.txPackets = Math.max(entry.txPackets, 0);
648 entry.txPackets = txPackets[i];
675 entry.txPackets = txPackets[i];
714 pw.print(" txPackets="); pw.print(txPackets[i]);