Searched refs:TEST_COUNTERSET (Results 1 – 2 of 2) sorted by relevance
/system/netd/tests/ |
D | bpf_base_test.cpp | 50 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/ |
D | TrafficControllerTest.cpp | 55 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()
|