Searched refs:tagResult (Results 1 – 3 of 3) sorted by relevance
/aosp12/system/netd/tests/ |
H A D | bpf_base_test.cpp | 96 ASSERT_RESULT_OK(tagResult); in TEST_F() 97 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F() 98 ASSERT_EQ(TEST_TAG, tagResult.value().tag); in TEST_F() 100 tagResult = cookieTagMap.readValue(cookie); in TEST_F() 101 ASSERT_FALSE(tagResult.ok()); in TEST_F() 102 ASSERT_EQ(ENOENT, tagResult.error().code()); in TEST_F() 114 ASSERT_RESULT_OK(tagResult); in TEST_F() 115 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F() 116 ASSERT_EQ(TEST_TAG, tagResult.value().tag); in TEST_F() 121 tagResult = cookieTagMap.readValue(cookie); in TEST_F() [all …]
|
/aosp12/system/netd/libnetdbpf/ |
H A D | BpfNetworkStatsTest.cpp | 100 auto tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag() local 101 EXPECT_RESULT_OK(tagResult); in expectUidTag() 102 EXPECT_EQ(uid, tagResult.value().uid); in expectUidTag() 103 EXPECT_EQ(tag, tagResult.value().tag); in expectUidTag() 162 auto tagResult = mFakeCookieTagMap.readValue(curCookie); in TEST_F() local 163 EXPECT_EQ(ENOENT, tagResult.error().code()); in TEST_F()
|
/aosp12/system/netd/server/ |
H A D | TrafficControllerTest.cpp | 143 Result<UidTagValue> tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag() local 144 ASSERT_RESULT_OK(tagResult); in expectUidTag() 145 EXPECT_EQ(uid, tagResult.value().uid); in expectUidTag() 146 EXPECT_EQ(tag, tagResult.value().tag); in expectUidTag()
|