• Home
  • Raw
  • Download

Lines Matching refs:StatsValue

74     BpfMap<uint32_t, StatsValue> mFakeAppUidStatsMap;
75 BpfMap<StatsKey, StatsValue> mFakeStatsMap;
77 BpfMap<uint32_t, StatsValue> mFakeIfaceStatsMap;
87 mFakeAppUidStatsMap = BpfMap<uint32_t, StatsValue>(createMap( in SetUp()
88 BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(struct StatsValue), TEST_MAP_SIZE, 0)); in SetUp()
91 mFakeStatsMap = BpfMap<StatsKey, StatsValue>( in SetUp()
92 createMap(BPF_MAP_TYPE_HASH, sizeof(struct StatsKey), sizeof(struct StatsValue), in SetUp()
100 mFakeIfaceStatsMap = BpfMap<uint32_t, StatsValue>(createMap( in SetUp()
101 BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(struct StatsValue), TEST_MAP_SIZE, 0)); in SetUp()
113 StatsValue value, BpfMap<StatsKey, StatsValue>& map) { in populateFakeStats()
125 void expectStatsEqual(const StatsValue& target, const Stats& result) { in expectStatsEqual()
132 void expectStatsLineEqual(const StatsValue target, const char* iface, uint32_t uid, in expectStatsLineEqual()
203 StatsValue value1 = { in TEST_F()
220 StatsValue value1 = {.rxBytes = TEST_BYTES0, in TEST_F()
224 StatsValue value2 = { in TEST_F()
260 StatsValue value1 = { in TEST_F()
266 StatsValue value2 = { in TEST_F()
290 StatsValue totalValue = { in TEST_F()
304 StatsValue value1 = {.rxBytes = TEST_BYTES0, in TEST_F()
339 StatsValue value1 = {.rxBytes = TEST_BYTES0, in TEST_F()
373 StatsValue value1 = {.rxBytes = TEST_BYTES0 * 20, in TEST_F()
380 StatsValue value2 = {.rxBytes = TEST_BYTES0 * 40, in TEST_F()
414 StatsValue value1 = { in TEST_F()
420 StatsValue value2 = { in TEST_F()
454 StatsValue value1 = { in TEST_F()
460 StatsValue value2 = { in TEST_F()
466 StatsValue value3 = { in TEST_F()
543 StatsValue value1 = { in TEST_F()