Home
last modified time | relevance | path

Searched refs:rxBytes (Results 1 – 13 of 13) sorted by relevance

/system/netd/libbpf/
DBpfNetworkStatsTest.cpp137 EXPECT_EQ(target.rxBytes, result.rxBytes); in expectStatsEqual()
149 EXPECT_EQ(target.rxBytes, (uint64_t)result.rxBytes); in expectStatsLineEqual()
216 StatsValue value1 = {.rxBytes = TEST_BYTES0, in TEST_F()
221 .rxBytes = TEST_BYTES0 * 2, in TEST_F()
257 .rxBytes = TEST_BYTES0, in TEST_F()
263 .rxBytes = TEST_BYTES1, in TEST_F()
287 .rxBytes = TEST_BYTES0 * 2 + TEST_BYTES1, in TEST_F()
300 StatsValue value1 = {.rxBytes = TEST_BYTES0, in TEST_F()
335 StatsValue value1 = {.rxBytes = TEST_BYTES0, in TEST_F()
369 StatsValue value1 = {.rxBytes = TEST_BYTES0 * 20, in TEST_F()
[all …]
DBpfNetworkStats.cpp50 stats->rxBytes = statsEntry.value().rxBytes; in bpfGetUidStatsInternal()
87 stats->rxBytes += statsEntry.rxBytes; in bpfGetIfaceStatsInternal()
122 newLine.rxBytes = statsEntry.rxBytes; in populateStatsEntry()
DBpfUtils.cpp64 return ((lhs.rxBytes == rhs.rxBytes) && (lhs.txBytes == rhs.txBytes) && in operator ==()
/system/netd/server/
DTetherController.h88 rxBytes(rxB), rxPackets(rxP), in TetherStats()
92 int64_t rxBytes = -1; variable
99 rxBytes += other.rxBytes; in addStatsIfMatch()
DTrafficControllerTest.cpp154 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in populateFakeStats()
341 ASSERT_EQ((uint64_t)100, statsMapResult.value().rxBytes); in TEST_F()
345 ASSERT_EQ((uint64_t)100, appStatsResult.value().rxBytes); in TEST_F()
390 ASSERT_EQ((uint64_t)100, statsMapResult.value().rxBytes); in TEST_F()
422 ASSERT_EQ((uint64_t)100, statsMapResult.value().rxBytes); in TEST_F()
426 ASSERT_EQ((uint64_t)100, appStatsResult.value().rxBytes); in TEST_F()
DTetherController.cpp786 stats.rxBytes = bytes; in addForwardChainStats()
788 if (stats.rxBytes != -1 && stats.txBytes != -1) { in addForwardChainStats()
789 ALOGV("rx_bytes=%" PRId64" tx_bytes=%" PRId64, stats.rxBytes, stats.txBytes); in addForwardChainStats()
796 if (((stats.rxBytes == -1) != (stats.txBytes == -1))) { in addForwardChainStats()
DTetherControllerTest.cpp320 EXPECT_EQ(expected.rxBytes, actual.rxBytes); in expectTetherStatsEqual()
DTrafficController.cpp671 dw.println("%u %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64, key, value.rxBytes, in dump()
692 ifname.value().name, key.tag, key.uid, key.counterSet, value.rxBytes, in dump()
732 value.rxBytes, value.rxPackets, value.txBytes, value.txPackets); in dump()
DNetdNativeService.cpp358 statsVector[INetd::TETHER_STATS_RX_BYTES] += stats.rxBytes; in tetherAddStats()
/system/netd/libbpf/include/bpf/
DBpfNetworkStats.h42 int64_t rxBytes; member
90 *unknownIfaceBytesTotal += (statsEntry.value().rxBytes + statsEntry.value().txBytes); in maybeLogUnknownIface()
DBpfUtils.h53 uint64_t rxBytes; member
59 uint64_t rxBytes; member
/system/netd/bpfloader/
Dbpf_kern.h56 uint64_t rxBytes; member
96 __sync_fetch_and_add(&value->rxBytes, skb->len); in bpf_update_stats()
/system/netd/tests/
Dbpf_base_test.cpp160 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in TEST_F()