Home
last modified time | relevance | path

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

/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp122 EXPECT_EQ(target.rxBytes, result.rxBytes); in expectStatsEqual()
134 EXPECT_EQ(target.rxBytes, (uint64_t)result.rxBytes); in expectStatsLineEqual()
200 .rxBytes = 0, in TEST_F()
217 .rxBytes = TEST_BYTES0, in TEST_F()
223 .rxBytes = TEST_BYTES0 * 2, in TEST_F()
259 .rxBytes = TEST_BYTES0, in TEST_F()
265 .rxBytes = TEST_BYTES1, in TEST_F()
289 .rxBytes = TEST_BYTES0 * 2 + TEST_BYTES1, in TEST_F()
303 .rxBytes = TEST_BYTES0, in TEST_F()
340 .rxBytes = TEST_BYTES0, in TEST_F()
[all …]
DBpfNetworkStats.cpp53 stats->rxBytes = statsEntry.value().rxBytes; in bpfGetUidStatsInternal()
93 stats->rxBytes += statsEntry.value().rxBytes; in bpfGetIfaceStatsInternal()
128 newLine.rxBytes = statsEntry.rxBytes; in populateStatsEntry()
336 rxBytes = rhs.rxBytes; in operator =()
344 rxBytes += rhs.rxBytes; in operator +=()
/system/netd/server/
DTetherControllerTest.cpp59 return lhs.ifIndex == rhs.ifIndex && lhs.rxBytes == rhs.rxBytes && lhs.txBytes == rhs.txBytes && 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()
403 EXPECT_EQ(expected.rxBytes, actual.rxBytes); in expectTetherStatsEqual()
522 const uint64_t rxBytes = 1000; in TEST_F() local
524 updateMaps(ifindex, rxBytes, 0 /*unused*/, txBytes, 0 /*unused*/); in TEST_F()
532 (quota == infinityQuota) ? infinityQuota : quota + rxBytes + txBytes; in TEST_F()
DTetherController.h120 rxBytes(rxB), rxPackets(rxP), in TetherStats()
124 int64_t rxBytes = -1; variable
131 rxBytes += other.rxBytes; in addStatsIfMatch()
143 int64_t rxBytes; member
DTetherController.cpp994 stats.rxBytes = bytes; in addForwardChainStats()
996 if (stats.rxBytes != -1 && stats.txBytes != -1) { in addForwardChainStats()
997 ALOGV("rx_bytes=%" PRId64" tx_bytes=%" PRId64, stats.rxBytes, stats.txBytes); in addForwardChainStats()
1004 if (((stats.rxBytes == -1) != (stats.txBytes == -1))) { in addForwardChainStats()
1037 .rxBytes = static_cast<int64_t>(value.rxBytes), in getTetherOffloadStats()
1058 uint64_t rxBytes, txBytes; in setBpfLimit() local
1063 rxBytes = statsEntry.value().rxBytes; in setBpfLimit()
1074 rxBytes = 0; in setBpfLimit()
1082 uint64_t newLimit = rxBytes + txBytes + limit; in setBpfLimit()
1085 if (newLimit < rxBytes + txBytes) newLimit = ~0uLL; in setBpfLimit()
[all …]
DTrafficControllerTest.cpp155 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in populateFakeStats()
289 EXPECT_EQ((uint64_t)100, statsMapResult.value().rxBytes); in expectFakeStatsUnchanged()
294 EXPECT_EQ((uint64_t)100, statsMapResult.value().rxBytes); in expectFakeStatsUnchanged()
298 EXPECT_EQ((uint64_t)100, appStatsResult.value().rxBytes); in expectFakeStatsUnchanged()
505 ASSERT_EQ((uint64_t)100, statsMapResult.value().rxBytes); in TEST_F()
509 ASSERT_EQ((uint64_t)100, appStatsResult.value().rxBytes); in TEST_F()
558 ASSERT_EQ((uint64_t)100, statsMapResult.value().rxBytes); in TEST_F()
592 ASSERT_EQ((uint64_t)100, statsMapResult.value().rxBytes); in TEST_F()
596 ASSERT_EQ((uint64_t)100, appStatsResult.value().rxBytes); in TEST_F()
DNetdNativeService.cpp446 tetherStatsParcel->rxBytes += tetherStats.rxBytes; in tetherAddStatsByInterface()
456 result.rxBytes = stats.rxBytes; in toTetherStatsParcel()
485 t.iface.c_str(), t.rxBytes, t.rxPackets, t.txBytes, in tetherStatsParcelVecToStringVec()
1275 result.rxBytes = stats.rxBytes; in toTetherStatsParcel()
DTrafficController.cpp972 dw.println("%u %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64, key, value.rxBytes, in dump()
993 ifname.value().name, key.tag, key.uid, key.counterSet, value.rxBytes, in dump()
1033 value.rxBytes, value.rxPackets, value.txBytes, value.txPackets); in dump()
/system/netd/libnetdbpf/include/netdbpf/
Dbpf_shared.h41 uint64_t rxBytes; member
51 uint64_t rxBytes; member
215 uint64_t rxBytes; member
DBpfNetworkStats.h46 int64_t rxBytes; member
101 *unknownIfaceBytesTotal += (statsEntry.value().rxBytes + statsEntry.value().txBytes); in maybeLogUnknownIface()
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DTetherStatsParcel.aidl22 long rxBytes;
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DTetherStatsParcel.aidl21 long rxBytes;
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DTetherStatsParcel.aidl4 long rxBytes;
/system/netd/server/binder/android/net/
DTetherStatsParcel.aidl42 long rxBytes;
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DTetherStatsParcel.aidl22 long rxBytes;
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DTetherStatsParcel.aidl22 long rxBytes;
/system/netd/bpf_progs/
Doffload.c115 if (stat_v->rxBytes + stat_v->txBytes + bytes > *limit_v) return TC_ACT_OK; in do_forward()
151 __sync_fetch_and_add(&stat_v->rxBytes, bytes); in do_forward()
Dnetd.c126 __sync_fetch_and_add(&value->rxBytes, bytes); \
/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()
3742 EXPECT_EQ(static_cast<int64_t>(sizeof(pkt)), tetherStats.rxBytes); in TEST_F()