Home
last modified time | relevance | path

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

/system/netd/tests/
Dbpf_base_test.cpp110 StatusOr<UidTag> tagResult = cookieTagMap.readValue(cookie); in TEST_F() local
111 ASSERT_TRUE(isOk(tagResult)); in TEST_F()
112 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F()
113 ASSERT_EQ(TEST_TAG, tagResult.value().tag); in TEST_F()
115 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
116 ASSERT_FALSE(isOk(tagResult)); in TEST_F()
117 ASSERT_EQ(ENOENT, tagResult.status().code()); in TEST_F()
130 StatusOr<UidTag> tagResult = cookieTagMap.readValue(cookie); in TEST_F() local
131 ASSERT_TRUE(isOk(tagResult)); in TEST_F()
132 ASSERT_EQ(TEST_UID, tagResult.value().uid); in TEST_F()
[all …]
/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp106 auto tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag() local
107 EXPECT_TRUE(isOk(tagResult)); in expectUidTag()
108 EXPECT_EQ(uid, tagResult.value().uid); in expectUidTag()
109 EXPECT_EQ(tag, tagResult.value().tag); in expectUidTag()
170 auto tagResult = mFakeCookieTagMap.readValue(curCookie); in TEST_F() local
171 EXPECT_EQ(ENOENT, tagResult.status().code()); in TEST_F()
/system/netd/server/
DTrafficControllerTest.cpp144 StatusOr<UidTag> tagResult = mFakeCookieTagMap.readValue(cookie); in expectUidTag() local
145 EXPECT_TRUE(isOk(tagResult)); in expectUidTag()
146 EXPECT_EQ(uid, tagResult.value().uid); in expectUidTag()
147 EXPECT_EQ(tag, tagResult.value().tag); in expectUidTag()