Home
last modified time | relevance | path

Searched refs:counterSetResult (Results 1 – 2 of 2) sorted by relevance

/system/netd/tests/
Dbpf_base_test.cpp153 Result<uint8_t> counterSetResult = uidCounterSetMap.readValue(uid); in TEST_F() local
154 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
155 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
157 counterSetResult = uidCounterSetMap.readValue(uid); in TEST_F()
158 ASSERT_FALSE(counterSetResult.ok()); in TEST_F()
159 ASSERT_EQ(ENOENT, counterSetResult.error().code()); in TEST_F()
/system/netd/server/
DTrafficControllerTest.cpp283 Result<uint8_t> counterSetResult = mFakeUidCounterSetMap.readValue(uid); in expectFakeStatsUnchanged() local
284 EXPECT_RESULT_OK(counterSetResult); in expectFakeStatsUnchanged()
285 EXPECT_EQ(TEST_COUNTERSET, counterSetResult.value()); in expectFakeStatsUnchanged()
444 Result<uint8_t> counterSetResult = mFakeUidCounterSetMap.readValue(uid); in TEST_F() local
445 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
446 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
497 Result<uint8_t> counterSetResult = mFakeUidCounterSetMap.readValue(uid); in TEST_F() local
498 ASSERT_RESULT_OK(counterSetResult); in TEST_F()
499 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
551 Result<uint8_t> counterSetResult = mFakeUidCounterSetMap.readValue(uid); in TEST_F() local
[all …]