/system/netd/libnetdbpf/ |
D | BpfNetworkStatsTest.cpp | 121 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 …]
|
D | BpfNetworkStats.cpp | 51 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/ |
D | TetherController.h | 120 rxBytes(rxB), rxPackets(rxP), in TetherStats() 125 int64_t rxPackets = -1; variable 132 rxPackets += other.rxPackets; in addStatsIfMatch() 144 int64_t rxPackets; member
|
D | TetherControllerTest.cpp | 60 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()
|
D | TrafficControllerTest.cpp | 155 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()
|
D | TetherController.cpp | 993 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()
|
D | NetdNativeService.cpp | 445 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()
|
D | TrafficController.cpp | 975 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/ |
D | bpf_shared.h | 40 uint64_t rxPackets; member 52 uint64_t rxPackets; member 214 uint64_t rxPackets; member
|
D | BpfNetworkStats.h | 47 int64_t rxPackets; member
|
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/ |
D | TetherStatsParcel.aidl | 5 long rxPackets;
|
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/ |
D | TetherStatsParcel.aidl | 23 long rxPackets;
|
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/ |
D | TetherStatsParcel.aidl | 22 long rxPackets;
|
/system/netd/server/binder/android/net/ |
D | TetherStatsParcel.aidl | 45 long rxPackets;
|
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/ |
D | TetherStatsParcel.aidl | 23 long rxPackets;
|
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/ |
D | TetherStatsParcel.aidl | 23 long rxPackets;
|
/system/netd/bpf_progs/ |
D | offload.c | 147 __sync_fetch_and_add(&stat_v->rxPackets, packets); in do_forward()
|
D | netd.c | 125 __sync_fetch_and_add(&value->rxPackets, packets); \
|
/system/netd/tests/ |
D | bpf_base_test.cpp | 174 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in TEST_F()
|
D | binder_test.cpp | 1001 return {stats.rxBytes, stats.rxPackets, stats.txBytes, stats.txPackets}; in getStatsVectorByIf() 3743 EXPECT_EQ(1, tetherStats.rxPackets); in TEST_F()
|