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
152 ASSERT_EQ(0, qtaguid_setCounterSet(TEST_COUNTERSET, TEST_UID)); in TEST_F()
156 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
173 StatsKey key = {.uid = TEST_UID, .tag = TEST_TAG, .counterSet = TEST_COUNTERSET, in TEST_F()
/system/netd/server/
DTrafficControllerTest.cpp56 constexpr uint32_t TEST_COUNTERSET = 1; variable
155 *key = {.uid = uid, .tag = tag, .counterSet = TEST_COUNTERSET, .ifaceIndex = 1}; in populateFakeStats()
157 uint8_t counterSet = TEST_COUNTERSET; in populateFakeStats()
286 EXPECT_EQ(TEST_COUNTERSET, counterSetResult.value()); in expectFakeStatsUnchanged()
443 ASSERT_EQ(0, mTc.setCounterSet(TEST_COUNTERSET, TEST_UID, callingUid)); in TEST_F()
447 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
456 ASSERT_EQ(-EPERM, mTc.setCounterSet(TEST_COUNTERSET, TEST_UID, TEST_UID2)); in TEST_F()
500 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
554 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()
583 ASSERT_EQ(TEST_COUNTERSET, counterSetResult.value()); in TEST_F()