Home
last modified time | relevance | path

Searched refs:rxPackets (Results 1 – 20 of 20) sorted by relevance

/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp121 EXPECT_EQ(target.rxPackets, result.rxPackets); in expectStatsEqual()
133 EXPECT_EQ(target.rxPackets, (uint64_t)result.rxPackets); in expectStatsLineEqual()
199 .rxPackets = 0, in TEST_F()
216 .rxPackets = TEST_PACKET0, in TEST_F()
222 .rxPackets = TEST_PACKET0 * 2, in TEST_F()
258 .rxPackets = TEST_PACKET0, in TEST_F()
264 .rxPackets = TEST_PACKET1, in TEST_F()
288 .rxPackets = TEST_PACKET0 * 2 + TEST_PACKET1, in TEST_F()
302 .rxPackets = TEST_PACKET0, in TEST_F()
339 .rxPackets = TEST_PACKET0, in TEST_F()
[all …]
DBpfNetworkStats.cpp51 stats->rxPackets = statsEntry.value().rxPackets; in bpfGetUidStatsInternal()
91 stats->rxPackets += statsEntry.value().rxPackets; in bpfGetIfaceStatsInternal()
126 newLine.rxPackets = statsEntry.rxPackets; in populateStatsEntry()
334 rxPackets = rhs.rxPackets; in operator =()
342 rxPackets += rhs.rxPackets; in operator +=()
/system/netd/server/
DTetherController.h120 rxBytes(rxB), rxPackets(rxP), in TetherStats()
125 int64_t rxPackets = -1; variable
132 rxPackets += other.rxPackets; in addStatsIfMatch()
144 int64_t rxPackets; member
DTetherControllerTest.cpp60 lhs.rxPackets == rhs.rxPackets && lhs.txPackets == rhs.txPackets; in operator ==()
90 stats.ifIndex, stats.rxBytes, stats.rxPackets, stats.txBytes, in toString()
96 void updateMaps(uint32_t ifaceIndex, uint64_t rxBytes, uint64_t rxPackets, uint64_t txBytes, in updateMaps() argument
99 const TetherStatsValue tetherStats = {rxPackets, rxBytes, 0 /*unused*/, in updateMaps()
405 EXPECT_EQ(expected.rxPackets, actual.rxPackets); in expectTetherStatsEqual()
DTrafficControllerTest.cpp155 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in populateFakeStats()
288 EXPECT_EQ((uint64_t)1, statsMapResult.value().rxPackets); in expectFakeStatsUnchanged()
293 EXPECT_EQ((uint64_t)1, statsMapResult.value().rxPackets); in expectFakeStatsUnchanged()
297 EXPECT_EQ((uint64_t)1, appStatsResult.value().rxPackets); in expectFakeStatsUnchanged()
504 ASSERT_EQ((uint64_t)1, statsMapResult.value().rxPackets); in TEST_F()
508 ASSERT_EQ((uint64_t)1, appStatsResult.value().rxPackets); in TEST_F()
557 ASSERT_EQ((uint64_t)1, statsMapResult.value().rxPackets); in TEST_F()
591 ASSERT_EQ((uint64_t)1, statsMapResult.value().rxPackets); in TEST_F()
595 ASSERT_EQ((uint64_t)1, appStatsResult.value().rxPackets); in TEST_F()
DTetherController.cpp993 stats.rxPackets = packets; in addForwardChainStats()
1038 .rxPackets = static_cast<int64_t>(value.rxPackets), in getTetherOffloadStats()
1200 .rxPackets = static_cast<int64_t>(stats.value().rxPackets), in getAndClearTetherOffloadStats()
1268 dw.println("%u(%s) -> %" PRIu64 " %" PRIu64 " %" PRIu64, key, iifStr, value.rxPackets, in dumpBpf()
DNetdNativeService.cpp445 tetherStatsParcel->rxPackets += tetherStats.rxPackets; in tetherAddStatsByInterface()
455 result.rxPackets = stats.rxPackets; in toTetherStatsParcel()
483 t.iface.c_str(), t.rxBytes, t.rxPackets, t.txBytes, in tetherStatsParcelVecToStringVec()
1274 result.rxPackets = stats.rxPackets; in toTetherStatsParcel()
DTrafficController.cpp975 value.rxPackets, value.txBytes, value.txPackets); in dump()
996 value.rxPackets, value.txBytes, value.txPackets); in dump()
1035 value.rxBytes, value.rxPackets, value.txBytes, value.txPackets); in dump()
/system/netd/libnetdbpf/include/netdbpf/
Dbpf_shared.h40 uint64_t rxPackets; member
52 uint64_t rxPackets; member
214 uint64_t rxPackets; member
DBpfNetworkStats.h47 int64_t rxPackets; member
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DTetherStatsParcel.aidl5 long rxPackets;
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DTetherStatsParcel.aidl23 long rxPackets;
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DTetherStatsParcel.aidl22 long rxPackets;
/system/netd/server/binder/android/net/
DTetherStatsParcel.aidl45 long rxPackets;
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DTetherStatsParcel.aidl23 long rxPackets;
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DTetherStatsParcel.aidl23 long rxPackets;
/system/netd/bpf_progs/
Doffload.c147 __sync_fetch_and_add(&stat_v->rxPackets, packets); in do_forward()
Dnetd.c125 __sync_fetch_and_add(&value->rxPackets, packets); \
/system/netd/tests/
Dbpf_base_test.cpp174 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in TEST_F()
Dbinder_test.cpp1001 return {stats.rxBytes, stats.rxPackets, stats.txBytes, stats.txPackets}; in getStatsVectorByIf()
3743 EXPECT_EQ(1, tetherStats.rxPackets); in TEST_F()