Lines Matching refs:iface

42     /** {@link #iface} value when interface details unavailable. */
63 private String[] iface;
74 public String iface;
93 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets,
95 this.iface = iface;
126 builder.append("iface=").append(iface);
142 this.iface = new String[initialSize];
156 iface = parcel.createStringArray();
171 dest.writeStringArray(iface);
195 String iface, long rxBytes, long rxPackets, long txBytes, long txPackets) {
197 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L);
201 public NetworkStats addValues(String iface, int uid, int set, int tag, long rxBytes,
204 iface, uid, set, tag, rxBytes, rxPackets, txBytes, txPackets, operations));
212 if (size >= this.iface.length) {
213 final int newLength = Math.max(iface.length, 10) * 3 / 2;
214 iface = Arrays.copyOf(iface, newLength);
225 iface[size] = entry.iface;
244 entry.iface = iface[i];
274 return iface.length;
278 public NetworkStats combineValues(String iface, int uid, int tag, long rxBytes, long rxPackets,
281 iface, uid, SET_DEFAULT, tag, rxBytes, rxPackets, txBytes, txPackets, operations);
284 public NetworkStats combineValues(String iface, int uid, int set, int tag, long rxBytes,
287 iface, uid, set, tag, rxBytes, rxPackets, txBytes, txPackets, operations));
296 final int i = findIndex(entry.iface, entry.uid, entry.set, entry.tag);
324 public int findIndex(String iface, int uid, int set, int tag) {
327 && Objects.equal(iface, this.iface[i])) {
339 public int findIndexHinted(String iface, int uid, int set, int tag, int hintIndex) {
352 && Objects.equal(iface, this.iface[i])) {
361 * on matching {@link #uid} and {@link #tag} rows. Ignores {@link #iface},
366 final int j = stats.findIndex(iface[i], uid[i], set[i], tag[i]);
380 for (String iface : this.iface) {
381 if (iface != IFACE_ALL) {
382 ifaces.add(iface);
431 * the requested {@link #iface}.
443 * the requested {@link #iface} and {@link #uid}.
445 * @param limitIface Set of {@link #iface} to include in total; or {@code
452 entry.iface = IFACE_ALL;
464 final boolean matchesIface = (limitIface == null) || (limitIface.contains(iface[i]));
511 entry.iface = left.iface[i];
517 final int j = right.findIndexHinted(entry.iface, entry.uid, entry.set, entry.tag, i);
553 * Return total statistics grouped by {@link #iface}; doesn't mutate the
569 entry.iface = iface[i];
588 entry.iface = IFACE_ALL;
632 pw.print(" iface="); pw.print(iface[i]);