Searched refs:UidTag (Results 1 – 8 of 8) sorted by relevance
/system/netd/tests/ |
D | netlink_listener_test.cpp | 67 BpfMap<uint64_t, UidTag> mCookieTagMap; 79 const auto deleteTestCookieEntries = [](const uint64_t& key, const UidTag& value, in TearDown() 80 BpfMap<uint64_t, UidTag>& map) { in TearDown() 96 const auto checkGarbageTags = [](const uint64_t&, const UidTag& value, in checkNoGarbageTagsExist() 97 const BpfMap<uint64_t, UidTag>&) { in checkNoGarbageTagsExist() argument
|
D | bpf_base_test.cpp | 103 BpfMap<uint64_t, UidTag> cookieTagMap(mapRetrieve(COOKIE_TAG_MAP_PATH, 0)); in TEST_F() 110 StatusOr<UidTag> tagResult = cookieTagMap.readValue(cookie); in TEST_F() 123 BpfMap<uint64_t, UidTag> cookieTagMap(mapRetrieve(COOKIE_TAG_MAP_PATH, 0)); in TEST_F() 130 StatusOr<UidTag> tagResult = cookieTagMap.readValue(cookie); in TEST_F()
|
/system/bpf/libbpf_android/include/bpf/ |
D | BpfUtils.h | 69 struct UidTag { struct 181 bool operator==(const UidTag& lhs, const UidTag& rhs);
|
/system/netd/server/ |
D | TrafficController.h | 38 using android::bpf::UidTag; 141 BpfMap<uint64_t, UidTag> mCookieTagMap GUARDED_BY(mMutex);
|
D | TrafficControllerTest.cpp | 68 BpfMap<uint64_t, UidTag> mFakeCookieTagMap; 82 sizeof(struct UidTag), TEST_MAP_SIZE, 0)); in SetUp() 144 StatusOr<UidTag> tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag() 153 UidTag cookieMapkey = {.uid = (uint32_t)uid, .tag = tag}; in populateFakeStats() 280 StatusOr<UidTag> cookieMapResult = mFakeCookieTagMap.readValue(cookie); in expectFakeStatsUnchanged() 548 StatusOr<UidTag> cookieMapResult = mFakeCookieTagMap.readValue(cookie2); in TEST_F()
|
D | TrafficController.cpp | 361 UidTag newKey = {.uid = (uint32_t)uid, .tag = tag}; in tagSocket() 480 const auto deleteMatchedCookieEntries = [uid, tag](const uint64_t& key, const UidTag& value, in deleteTagData() 481 BpfMap<uint64_t, UidTag>& map) { in deleteTagData() 977 const auto printCookieTagInfo = [&dw](const uint64_t& key, const UidTag& value, in dump() 978 const BpfMap<uint64_t, UidTag>&) { in dump() argument
|
/system/netd/libnetdbpf/ |
D | BpfNetworkStatsTest.cpp | 73 BpfMap<uint64_t, UidTag> mFakeCookieTagMap; 83 mFakeCookieTagMap = BpfMap<uint64_t, UidTag>(createMap( in SetUp() 84 BPF_MAP_TYPE_HASH, sizeof(uint64_t), sizeof(struct UidTag), TEST_MAP_SIZE, 0)); in SetUp() 152 struct UidTag tag = {.uid = TEST_UID1, .tag = TEST_TAG}; in TEST_F() 183 struct UidTag tag = {.uid = TEST_UID1, .tag = TEST_TAG}; in TEST_F() 189 const BpfMap<uint64_t, UidTag>&) { in TEST_F() argument
|
/system/bpf/libbpf_android/ |
D | BpfUtils.cpp | 65 bool operator==(const UidTag& lhs, const UidTag& rhs) { in operator ==()
|