Searched refs:identSet (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 230 NetworkIdentitySet identSet = new NetworkIdentitySet(); in makeTestIdentSet() local 231 identSet.add(new NetworkIdentity( in makeTestIdentSet() 235 return identSet; in makeTestIdentSet() 249 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_initialSample_doesNotNotify() local 250 mActiveIfaces.put(TEST_IFACE, identSet); in testUpdateStats_initialSample_doesNotNotify() 274 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_belowThreshold_doesNotNotify() local 275 mActiveIfaces.put(TEST_IFACE, identSet); in testUpdateStats_belowThreshold_doesNotNotify() 306 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_deviceAccess_notifies() local 307 mActiveIfaces.put(TEST_IFACE, identSet); in testUpdateStats_deviceAccess_notifies() 339 NetworkIdentitySet identSet = makeTestIdentSet(); in testUpdateStats_defaultAccess_notifiesSameUid() local [all …]
|
D | NetworkStatsCollectionTest.java | 211 final NetworkIdentitySet identSet = new NetworkIdentitySet(); in testAccessLevels() local 212 identSet.add(new NetworkIdentity(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_UNKNOWN, in testAccessLevels() 221 collection.recordData(identSet, myUid, SET_DEFAULT, TAG_NONE, 0, 60 * MINUTE_IN_MILLIS, in testAccessLevels() 226 collection.recordData(identSet, otherUidInSameUser, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels() 231 collection.recordData(identSet, Process.SYSTEM_UID, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels() 236 collection.recordData(identSet, uidInDifferentUser, SET_DEFAULT, TAG_NONE, 0, in testAccessLevels()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 766 private static boolean templateMatches(NetworkTemplate template, NetworkIdentitySet identSet) { in templateMatches() argument 767 for (NetworkIdentity ident : identSet) { in templateMatches()
|