Home
last modified time | relevance | path

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

/system/netd/tests/
Dbpf_base_test.cpp149 BpfMap<uint32_t, StatsValue> appUidStatsMap(APP_UID_STATS_MAP_PATH); in TEST_F() local
150 ASSERT_LE(0, appUidStatsMap.getMap()); in TEST_F()
158 EXPECT_RESULT_OK(appUidStatsMap.writeValue(TEST_UID, statsMapValue, BPF_ANY)); in TEST_F()
163 statsResult = appUidStatsMap.readValue(TEST_UID); in TEST_F()
/system/netd/libnetdbpf/
DBpfNetworkStats.cpp48 const BpfMap<uint32_t, StatsValue>& appUidStatsMap) { in bpfGetUidStatsInternal() argument
49 auto statsEntry = appUidStatsMap.readValue(uid); in bpfGetUidStatsInternal()
61 BpfMapRO<uint32_t, StatsValue> appUidStatsMap(APP_UID_STATS_MAP_PATH); in bpfGetUidStats() local
63 if (!appUidStatsMap.isValid()) { in bpfGetUidStats()
68 return bpfGetUidStatsInternal(uid, stats, appUidStatsMap); in bpfGetUidStats()
/system/netd/libnetdbpf/include/netdbpf/
DBpfNetworkStats.h60 const BpfMap<uint32_t, StatsValue>& appUidStatsMap);