Searched refs:TEST_UID2 (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | TrafficControllerTest.cpp | 52 constexpr uid_t TEST_UID2 = 54321; variable 173 uid = TEST_UID2; in checkUidOwnerRuleForChain() 377 ASSERT_EQ(-EPERM, mTc.tagSocket(sock, TEST_TAG, TEST_UID, TEST_UID2)); in TEST_F() 385 std::vector<uid_t> callingUid = {TEST_UID2}; in TEST_F() 390 int v6socket = setUpSocketAndTag(AF_INET6, &sockCookie, TEST_TAG, TEST_UID, TEST_UID2); in TEST_F() 440 uid_t callingUid = TEST_UID2; in TEST_F() 455 ASSERT_EQ(-EPERM, mTc.setCounterSet(TEST_COUNTERSET, TEST_UID, TEST_UID2)); in TEST_F() 464 uid_t callingUid = TEST_UID2; in TEST_F() 480 ASSERT_EQ(-EPERM, mTc.deleteTagData(0, TEST_UID, TEST_UID2)); in TEST_F() 488 uid_t callingUid = TEST_UID2; in TEST_F() [all …]
|
/system/netd/libnetdbpf/ |
D | BpfNetworkStatsTest.cpp | 51 constexpr uid_t TEST_UID2 = 12345; variable 228 ASSERT_RESULT_OK(mFakeAppUidStatsMap.writeValue(TEST_UID2, value2, BPF_ANY)); in TEST_F() 234 ASSERT_EQ(0, bpfGetUidStatsInternal(TEST_UID2, &result2, mFakeAppUidStatsMap)); in TEST_F() 240 populateFakeStats(TEST_UID2, 0, IFACE_INDEX3, TEST_COUNTERSET1, value1, mFakeStatsMap); in TEST_F() 245 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, TEST_UID2, in TEST_F() 248 expectStatsLineEqual(value1, IFACE_NAME3, TEST_UID2, TEST_COUNTERSET1, 0, lines.front()); in TEST_F() 311 populateFakeStats(TEST_UID2, TEST_TAG, IFACE_INDEX1, TEST_COUNTERSET0, value1, mFakeStatsMap); in TEST_F() 348 populateFakeStats(TEST_UID2, 0, IFACE_INDEX1, TEST_COUNTERSET0, value1, mFakeStatsMap); in TEST_F() 359 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, TEST_UID2, in TEST_F() 362 expectStatsLineEqual(value1, IFACE_NAME1, TEST_UID2, TEST_COUNTERSET0, 0, lines.front()); in TEST_F() [all …]
|
/system/netd/tests/ |
D | binder_test.cpp | 121 static const int TEST_UID2 = 99998; variable 3064 std::vector<int32_t> appUids = {TEST_UID1, TEST_UID2}; in TEST_F()
|