Lines Matching refs:ident
283 && templateMatches(template, key.ident)) {
357 if (templateMatches(template, key.ident)
367 entry.metered = key.ident.isAnyMemberMetered() ? METERED_YES : METERED_NO;
368 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO;
387 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start,
389 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag);
422 NetworkIdentitySet ident, int uid, int set, int tag) {
423 final Key key = new Key(ident, uid, set, tag);
460 final NetworkIdentitySet ident = new NetworkIdentitySet(in);
468 final Key key = new Key(ident, uid, set, tag);
482 // cluster key lists grouped by ident
485 ArrayList<Key> keys = keysByIdent.get(key.ident);
488 keysByIdent.put(key.ident, keys);
497 for (NetworkIdentitySet ident : keysByIdent.keySet()) {
498 final ArrayList<Key> keys = keysByIdent.get(ident);
499 ident.writeToStream(out);
534 final NetworkIdentitySet ident = new NetworkIdentitySet(in);
537 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE);
588 final NetworkIdentitySet ident = new NetworkIdentitySet(in);
597 final Key key = new Key(ident, uid, set, tag);
634 key.ident, UID_REMOVED, SET_DEFAULT, TAG_NONE);
664 pw.print("ident="); pw.print(key.ident.toString());
684 key.ident.writeToProto(proto, NetworkStatsCollectionKeyProto.IDENTITY);
719 if (!templateMatches(groupTemplate, key.ident)) continue;
753 for (NetworkIdentity ident : identSet) {
754 if (template.matches(ident)) {
762 public final NetworkIdentitySet ident;
769 public Key(NetworkIdentitySet ident, int uid, int set, int tag) {
770 this.ident = ident;
774 hashCode = Objects.hash(ident, uid, set, tag);
787 && Objects.equals(ident, key.ident);
795 if (ident != null && another.ident != null) {
796 res = ident.compareTo(another.ident);