Home
last modified time | relevance | path

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

/system/netd/tests/
Dbpf_base_test.cpp50 constexpr int TEST_COUNTERSET = 1; variable
151 ASSERT_EQ(0, qtaguid_setCounterSet(TEST_COUNTERSET, TEST_UID)); in TEST_F()
155 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
172 StatsKey key = {.uid = TEST_UID, .tag = TEST_TAG, .counterSet = TEST_COUNTERSET, in TEST_F()
/system/netd/server/
DTrafficControllerTest.cpp55 constexpr uint32_t TEST_COUNTERSET = 1; variable
154 *key = {.uid = uid, .tag = tag, .counterSet = TEST_COUNTERSET, .ifaceIndex = 1}; in populateFakeStats()
156 uint8_t counterSet = TEST_COUNTERSET; in populateFakeStats()
285 EXPECT_EQ(TEST_COUNTERSET, counterSetResult.value()); in expectFakeStatsUnchanged()
442 ASSERT_EQ(0, mTc.setCounterSet(TEST_COUNTERSET, TEST_UID, callingUid)); in TEST_F()
446 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
455 ASSERT_EQ(-EPERM, mTc.setCounterSet(TEST_COUNTERSET, TEST_UID, TEST_UID2)); in TEST_F()
499 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
553 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
582 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()