Searched refs:TEST_UID (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | TrafficControllerTest.cpp | 51 constexpr uid_t TEST_UID = 10086; variable 167 uint32_t uid = TEST_UID; in checkUidOwnerRuleForChain() 184 uid = TEST_UID; in checkUidOwnerRuleForChain() 321 int v4socket = setUpSocketAndTag(AF_INET, &sockCookie, TEST_TAG, TEST_UID, TEST_UID); in TEST_F() 322 expectUidTag(sockCookie, TEST_UID, TEST_TAG); in TEST_F() 332 int v4socket = setUpSocketAndTag(AF_INET, &sockCookie, TEST_TAG, TEST_UID, TEST_UID); in TEST_F() 333 expectUidTag(sockCookie, TEST_UID, TEST_TAG); in TEST_F() 334 ASSERT_EQ(0, mTc.tagSocket(v4socket, TEST_TAG + 1, TEST_UID + 1, TEST_UID + 1)); in TEST_F() 335 expectUidTag(sockCookie, TEST_UID + 1, TEST_TAG + 1); in TEST_F() 343 int v4socket1 = setUpSocketAndTag(AF_INET, &sockCookie1, TEST_TAG, TEST_UID, TEST_UID); in TEST_F() [all …]
|
/system/netd/tests/ |
D | bpf_base_test.cpp | 48 constexpr uid_t TEST_UID = UID_MAX - 1; variable 108 ASSERT_EQ(0, qtaguid_tagSocket(sock, TEST_TAG, TEST_UID)); in TEST_F() 111 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F() 128 ASSERT_EQ(0, qtaguid_tagSocket(sock, TEST_TAG, TEST_UID)); in TEST_F() 131 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F() 151 ASSERT_EQ(0, qtaguid_setCounterSet(TEST_COUNTERSET, TEST_UID)); in TEST_F() 152 uid_t uid = TEST_UID; in TEST_F() 156 ASSERT_EQ(0, qtaguid_setCounterSet(DEFAULT_COUNTERSET, TEST_UID)); in TEST_F() 172 StatsKey key = {.uid = TEST_UID, .tag = TEST_TAG, .counterSet = TEST_COUNTERSET, in TEST_F() 178 EXPECT_RESULT_OK(appUidStatsMap.writeValue(TEST_UID, statsMapValue, BPF_ANY)); in TEST_F() [all …]
|
D | netlink_listener_test.cpp | 44 constexpr uid_t TEST_UID = UID_MAX - 2; variable 81 if ((value.uid == TEST_UID) && (value.tag == TEST_TAG)) { in TearDown() 98 if ((TEST_UID == value.uid) && (TEST_TAG == value.tag)) { in checkNoGarbageTagsExist() 130 qtaguid_tagSocket(fds[i], TEST_TAG, TEST_UID); in checkMassiveSocketDestroy()
|