Searched refs:NetworkIdentitySet (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 36 public class NetworkIdentitySet extends HashSet<NetworkIdentity> implements class 37 Comparable<NetworkIdentitySet> { 44 public NetworkIdentitySet() { in NetworkIdentitySet() method in NetworkIdentitySet 47 public NetworkIdentitySet(DataInputStream in) throws IOException { in NetworkIdentitySet() method in NetworkIdentitySet 164 public int compareTo(NetworkIdentitySet another) { in compareTo()
|
D | NetworkStatsCollection.java | 377 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, in recordData() 412 NetworkIdentitySet ident, int uid, int set, int tag) { in findOrCreateHistory() 450 final NetworkIdentitySet ident = new NetworkIdentitySet(in); in read() 473 final HashMap<NetworkIdentitySet, ArrayList<Key>> keysByIdent = Maps.newHashMap(); in write() 487 for (NetworkIdentitySet ident : keysByIdent.keySet()) { in write() 524 final NetworkIdentitySet ident = new NetworkIdentitySet(in); in readLegacyNetwork() 578 final NetworkIdentitySet ident = new NetworkIdentitySet(in); in readLegacyUid() 742 private static boolean templateMatches(NetworkTemplate template, NetworkIdentitySet identSet) { in templateMatches() 752 public final NetworkIdentitySet ident; 759 public Key(NetworkIdentitySet ident, int uid, int set, int tag) { in Key()
|
D | NetworkStatsObservers.java | 104 ArrayMap<String, NetworkIdentitySet> activeIfaces, in updateStats() 105 ArrayMap<String, NetworkIdentitySet> activeUidIfaces, in updateStats() 427 ArrayMap<String, NetworkIdentitySet> mActiveIfaces; 428 ArrayMap<String, NetworkIdentitySet> mActiveUidIfaces; 432 ArrayMap<String, NetworkIdentitySet> activeIfaces, in StatsContext() 433 ArrayMap<String, NetworkIdentitySet> activeUidIfaces, in StatsContext()
|
D | NetworkStatsRecorder.java | 207 Map<String, NetworkIdentitySet> ifaceIdent, long currentTimeMillis) { in recordSnapshotLocked() 243 final NetworkIdentitySet ident = ifaceIdent.get(entry.iface); in recordSnapshotLocked()
|
D | NetworkStatsService.java | 279 private final ArrayMap<String, NetworkIdentitySet> mActiveIfaces = new ArrayMap<>(); 283 private final ArrayMap<String, NetworkIdentitySet> mActiveUidIfaces = new ArrayMap<>(); 1402 private static <K> NetworkIdentitySet findOrCreateNetworkIdentitySet( 1403 ArrayMap<K, NetworkIdentitySet> map, K key) { 1404 NetworkIdentitySet ident = map.get(key); 1406 ident = new NetworkIdentitySet(); 1863 ArrayMap<String, NetworkIdentitySet> ifaces) {
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 104 private ArrayMap<String, NetworkIdentitySet> mActiveIfaces; 105 private ArrayMap<String, NetworkIdentitySet> mActiveUidIfaces; 218 private NetworkIdentitySet makeTestIdentSet() { in makeTestIdentSet() 219 NetworkIdentitySet identSet = new NetworkIdentitySet(); in makeTestIdentSet() 238 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_initialSample_doesNotNotify() 262 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_belowThreshold_doesNotNotify() 292 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_deviceAccess_notifies() 323 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_defaultAccess_notifiesSameUid() 356 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify() 388 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_userAccess_usageSameUser_notifies() [all …]
|
D | NetworkStatsCollectionTest.java | 215 final NetworkIdentitySet identSet = new NetworkIdentitySet(); in testAccessLevels() 470 final NetworkIdentitySet ident = new NetworkIdentitySet(); in testAugmentPlanGigantic()
|
/frameworks/base/core/proto/android/service/ |
D | netstats.proto | 56 // Corresponds to NetworkIdentitySet.
|
/frameworks/base/services/ |
D | art-profile | 8813 HSPLcom/android/server/net/NetworkIdentitySet;-><init>(Ljava/io/DataInputStream;)V 8814 HSPLcom/android/server/net/NetworkIdentitySet;->areAllMembersOnDefaultNetwork()Z 8815 PLcom/android/server/net/NetworkIdentitySet;->compareTo(Lcom/android/server/net/NetworkIdentitySet;… 8816 HSPLcom/android/server/net/NetworkIdentitySet;->isAnyMemberMetered()Z 8817 HSPLcom/android/server/net/NetworkIdentitySet;->isAnyMemberRoaming()Z 8818 PLcom/android/server/net/NetworkIdentitySet;->writeToProto(Landroid/util/proto/ProtoOutputStream;J)V 8819 HSPLcom/android/server/net/NetworkIdentitySet;->writeToStream(Ljava/io/DataOutputStream;)V 8968 …oid/server/net/NetworkStatsCollection$Key;-><init>(Lcom/android/server/net/NetworkIdentitySet;III)V 8977 …tworkStatsCollection;->findOrCreateHistory(Lcom/android/server/net/NetworkIdentitySet;III)Landroid… 8986 …er/net/NetworkStatsCollection;->recordData(Lcom/android/server/net/NetworkIdentitySet;IIIJJLandroi… [all …]
|