Searched refs:identSet (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 219 NetworkIdentitySet identSet = new NetworkIdentitySet(); in makeTestIdentSet() local 220 identSet.add(new NetworkIdentity( in makeTestIdentSet() 224 return identSet; in makeTestIdentSet() 238 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_initialSample_doesNotNotify() local 239 mActiveIfaces.put(TEST_IFACE, identSet); in testUpdateStats_initialSample_doesNotNotify() 262 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_belowThreshold_doesNotNotify() local 263 mActiveIfaces.put(TEST_IFACE, identSet); in testUpdateStats_belowThreshold_doesNotNotify() 292 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_deviceAccess_notifies() local 293 mActiveIfaces.put(TEST_IFACE, identSet); in testUpdateStats_deviceAccess_notifies() 323 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_defaultAccess_notifiesSameUid() local [all …]
|
D | NetworkStatsCollectionTest.java | 215 final NetworkIdentitySet identSet = new NetworkIdentitySet(); in testAccessLevels() local 216 identSet.add(new NetworkIdentity(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_UNKNOWN, in testAccessLevels() 225 collection.recordData(identSet, myUid, SET_DEFAULT, TAG_NONE, 0, 60 * MINUTE_IN_MILLIS, in testAccessLevels() 230 collection.recordData(identSet, otherUidInSameUser, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels() 235 collection.recordData(identSet, Process.SYSTEM_UID, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels() 240 collection.recordData(identSet, uidInDifferentUser, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 742 private static boolean templateMatches(NetworkTemplate template, NetworkIdentitySet identSet) { in templateMatches() argument 743 for (NetworkIdentity ident : identSet) { in templateMatches()
|