Home
last modified time | relevance | path

Searched refs:insertEntry (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java67 .insertEntry(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
69 .insertEntry(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
71 .insertEntry(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, in testFindIndex()
73 .insertEntry(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
75 .insertEntry(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_YES, in testFindIndex()
97 .insertEntry(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted()
99 .insertEntry(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted()
101 .insertEntry(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted()
103 .insertEntry(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted()
105 .insertEntry(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, in testFindIndexHinted()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java299 .insertEntry(TEST_IFACE, 1024L, 1L, 2048L, 2L));
312 .insertEntry(TEST_IFACE, 4096L, 4L, 8192L, 8L));
342 .insertEntry(TEST_IFACE, 1024L, 8L, 2048L, 16L));
344 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 512L, 4L, 256L, 2L, 0L)
345 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, 0xFAAD, 256L, 2L, 128L, 1L, 0L)
346 .insertEntry(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 512L, 4L, 256L, 2L, 0L)
347 .insertEntry(TEST_IFACE, UID_RED, SET_FOREGROUND, 0xFAAD, 256L, 2L, 128L, 1L, 0L)
348 .insertEntry(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 128L, 1L, 128L, 1L, 0L));
411 .insertEntry(TEST_IFACE, 512L, 4L, 512L, 4L));
451 .insertEntry(TEST_IFACE, 2048L, 16L, 512L, 4L));
[all …]
DNetworkStatsObserversTest.java243 .insertEntry(TEST_IFACE, BASE_BYTES, 8L, BASE_BYTES, 16L); in testUpdateStats_initialSample_doesNotNotify()
267 .insertEntry(TEST_IFACE, BASE_BYTES, 8L, BASE_BYTES, 16L); in testUpdateStats_belowThreshold_doesNotNotify()
274 .insertEntry(TEST_IFACE, BASE_BYTES + 1024L, 10L, BASE_BYTES + 2048L, 20L); in testUpdateStats_belowThreshold_doesNotNotify()
297 .insertEntry(TEST_IFACE, BASE_BYTES, 8L, BASE_BYTES, 16L); in testUpdateStats_deviceAccess_notifies()
304 .insertEntry(TEST_IFACE, BASE_BYTES + THRESHOLD_BYTES, 12L, in testUpdateStats_deviceAccess_notifies()
329 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
336 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
362 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
369 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
394 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies()
[all …]
/frameworks/base/core/tests/benchmarks/src/android/net/
DNetworkStatsBenchmark.java57 mNetworkStats.insertEntry(recycle); in setUp()
73 mNetworkStats.insertEntry(recycle); in setUp()
/frameworks/base/core/java/android/net/
DNetworkStats.java504 clone.insertEntry(entry); in clone()
531 public NetworkStats insertEntry( in insertEntry() method in NetworkStats
533 return insertEntry( in insertEntry()
539 public NetworkStats insertEntry(String iface, int uid, int set, int tag, long rxBytes, in insertEntry() method in NetworkStats
541 return insertEntry(new Entry( in insertEntry()
547 public NetworkStats insertEntry(String iface, int uid, int set, int tag, int metered, in insertEntry() method in NetworkStats
550 return insertEntry(new Entry( in insertEntry()
560 public NetworkStats insertEntry(Entry entry) { in insertEntry() method in NetworkStats
703 insertEntry(entry); in combineValues()
1041 result.insertEntry(entry); in subtract()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java230 stats.insertEntry(entry); in readNetworkStatsSummaryDev()
280 stats.insertEntry(entry); in readNetworkStatsSummaryXt()
439 stats.insertEntry(entry); in javaReadNetworkStatsDetail()
DNetworkStatsService.java849 stats.insertEntry(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE,
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1009 .insertEntry(TEST_IFACE, 256L, 2L, 256L, 2L);
1201 stats.insertEntry(IFACE_ALL, UID_A, SET_ALL, TAG_ALL,
1203 stats.insertEntry(IFACE_ALL, UID_B, SET_ALL, TAG_ALL,
1205 stats.insertEntry(IFACE_ALL, UID_C, SET_ALL, TAG_ALL,
1229 stats.insertEntry(IFACE_ALL, UID_A, SET_ALL, TAG_ALL,
1231 stats.insertEntry(IFACE_ALL, UID_B, SET_ALL, TAG_ALL,
1263 .insertEntry(TEST_IFACE, 0L, 0L, 0L, 0L);
1695 stats.insertEntry(TEST_IFACE, UID_A, SET_ALL, TAG_NONE, in testStatsProviderLimitReached()
1719 stats.insertEntry(TEST_IFACE, UID_A, SET_ALL, TAG_NONE, in testStatsProviderLimitReached()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java271 stats.insertEntry(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, in fetchDataFromProc()