/system/netd/libnetdbpf/ |
D | BpfNetworkStatsTest.cpp | 122 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 …]
|
D | BpfNetworkStats.cpp | 53 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/ |
D | TetherControllerTest.cpp | 59 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()
|
D | TetherController.h | 120 rxBytes(rxB), rxPackets(rxP), in TetherStats() 124 int64_t rxBytes = -1; variable 131 rxBytes += other.rxBytes; in addStatsIfMatch() 143 int64_t rxBytes; member
|
D | TetherController.cpp | 994 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 …]
|
D | TrafficControllerTest.cpp | 155 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()
|
D | NetdNativeService.cpp | 446 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()
|
D | TrafficController.cpp | 972 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/ |
D | bpf_shared.h | 41 uint64_t rxBytes; member 51 uint64_t rxBytes; member 215 uint64_t rxBytes; member
|
D | BpfNetworkStats.h | 46 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/ |
D | TetherStatsParcel.aidl | 22 long rxBytes;
|
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/ |
D | TetherStatsParcel.aidl | 21 long rxBytes;
|
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/ |
D | TetherStatsParcel.aidl | 4 long rxBytes;
|
/system/netd/server/binder/android/net/ |
D | TetherStatsParcel.aidl | 42 long rxBytes;
|
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/ |
D | TetherStatsParcel.aidl | 22 long rxBytes;
|
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/ |
D | TetherStatsParcel.aidl | 22 long rxBytes;
|
/system/netd/bpf_progs/ |
D | offload.c | 115 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()
|
D | netd.c | 126 __sync_fetch_and_add(&value->rxBytes, bytes); \
|
/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() 3742 EXPECT_EQ(static_cast<int64_t>(sizeof(pkt)), tetherStats.rxBytes); in TEST_F()
|