Home
last modified time | relevance | path

Searched refs:txBytes (Results 1 – 18 of 18) sorted by relevance

/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp124 EXPECT_EQ(target.txBytes, result.txBytes); in expectStatsEqual()
136 EXPECT_EQ(target.txBytes, (uint64_t)result.txBytes); in expectStatsLineEqual()
202 .txBytes = 0, in TEST_F()
219 .txBytes = TEST_BYTES1, in TEST_F()
225 .txBytes = TEST_BYTES1 * 2, in TEST_F()
261 .txBytes = TEST_BYTES1, in TEST_F()
267 .txBytes = TEST_BYTES0, in TEST_F()
291 .txBytes = TEST_BYTES1 * 2 + TEST_BYTES0, in TEST_F()
305 .txBytes = TEST_BYTES1, in TEST_F()
342 .txBytes = TEST_BYTES1, in TEST_F()
[all …]
DBpfNetworkStats.cpp54 stats->txBytes = statsEntry.value().txBytes; in bpfGetUidStatsInternal()
94 stats->txBytes += statsEntry.value().txBytes; in bpfGetIfaceStatsInternal()
129 newLine.txBytes = statsEntry.txBytes; in populateStatsEntry()
337 txBytes = rhs.txBytes; in operator =()
345 txBytes += rhs.txBytes; 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
100 txPackets, txBytes, 0 /*unused*/}; in updateMaps()
404 EXPECT_EQ(expected.txBytes, actual.txBytes); in expectTetherStatsEqual()
523 const uint64_t txBytes = 2000; 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.h121 txBytes(txB), txPackets(txP) {}; in TetherStats()
126 int64_t txBytes = -1; variable
133 txBytes += other.txBytes; in addStatsIfMatch()
145 int64_t txBytes; member
DTetherController.cpp989 stats.txBytes = 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()
1039 .txBytes = static_cast<int64_t>(value.txBytes), in getTetherOffloadStats()
1058 uint64_t rxBytes, txBytes; in setBpfLimit() local
1064 txBytes = statsEntry.value().txBytes; in setBpfLimit()
1075 txBytes = 0; in setBpfLimit()
1082 uint64_t newLimit = rxBytes + txBytes + limit; in setBpfLimit()
1085 if (newLimit < rxBytes + txBytes) newLimit = ~0uLL; in setBpfLimit()
[all …]
DNetdNativeService.cpp448 tetherStatsParcel->txBytes += tetherStats.txBytes; in tetherAddStatsByInterface()
458 result.txBytes = stats.txBytes; in toTetherStatsParcel()
485 t.iface.c_str(), t.rxBytes, t.rxPackets, t.txBytes, in tetherStatsParcelVecToStringVec()
1277 result.txBytes = stats.txBytes; in toTetherStatsParcel()
DTrafficController.cpp973 value.rxPackets, value.txBytes, value.txPackets); in dump()
994 value.rxPackets, value.txBytes, value.txPackets); in dump()
1033 value.rxBytes, value.rxPackets, value.txBytes, value.txPackets); in dump()
/system/netd/libnetdbpf/include/netdbpf/
Dbpf_shared.h43 uint64_t txBytes; member
53 uint64_t txBytes; member
218 uint64_t txBytes; member
DBpfNetworkStats.h48 int64_t txBytes; member
101 *unknownIfaceBytesTotal += (statsEntry.value().rxBytes + statsEntry.value().txBytes); in maybeLogUnknownIface()
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DTetherStatsParcel.aidl24 long txBytes;
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DTetherStatsParcel.aidl23 long txBytes;
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DTetherStatsParcel.aidl6 long txBytes;
/system/netd/server/binder/android/net/
DTetherStatsParcel.aidl48 long txBytes;
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DTetherStatsParcel.aidl24 long txBytes;
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DTetherStatsParcel.aidl24 long txBytes;
/system/netd/bpf_progs/
Doffload.c115 if (stat_v->rxBytes + stat_v->txBytes + bytes > *limit_v) return TC_ACT_OK; in do_forward()
Dnetd.c123 __sync_fetch_and_add(&value->txBytes, bytes); \
/system/netd/tests/
Dbinder_test.cpp1001 return {stats.rxBytes, stats.rxPackets, stats.txBytes, stats.txPackets}; in getStatsVectorByIf()
3744 EXPECT_EQ(0, tetherStats.txBytes); in TEST_F()