Home
last modified time | relevance | path

Searched refs:appUidStatsMap (Results 1 – 3 of 3) sorted by relevance

/system/netd/tests/
Dbpf_base_test.cpp170 BpfMap<uint32_t, StatsValue> appUidStatsMap(mapRetrieve(APP_UID_STATS_MAP_PATH, 0)); in TEST_F() local
171 ASSERT_LE(0, appUidStatsMap.getMap()); in TEST_F()
179 EXPECT_TRUE(isOk(appUidStatsMap.writeValue(TEST_UID, statsMapValue, BPF_ANY))); in TEST_F()
184 statsResult = appUidStatsMap.readValue(TEST_UID); in TEST_F()
/system/netd/libnetdbpf/
DBpfNetworkStats.cpp50 const BpfMap<uint32_t, StatsValue>& appUidStatsMap) { in bpfGetUidStatsInternal() argument
51 auto statsEntry = appUidStatsMap.readValue(uid); in bpfGetUidStatsInternal()
62 BpfMap<uint32_t, StatsValue> appUidStatsMap( in bpfGetUidStats() local
65 if (!appUidStatsMap.isValid()) { in bpfGetUidStats()
70 return bpfGetUidStatsInternal(uid, stats, appUidStatsMap); in bpfGetUidStats()
/system/netd/libnetdbpf/include/netdbpf/
DBpfNetworkStats.h59 const BpfMap<uint32_t, StatsValue>& appUidStatsMap);