Searched refs:statsMapValue (Results 1 – 2 of 2) sorted by relevance
/system/netd/tests/ |
D | bpf_base_test.cpp | 174 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in TEST_F() local 175 EXPECT_RESULT_OK(statsMapB.writeValue(key, statsMapValue, BPF_ANY)); in TEST_F() 177 EXPECT_RESULT_OK(statsMapA.writeValue(key, statsMapValue, BPF_ANY)); in TEST_F() 178 EXPECT_RESULT_OK(appUidStatsMap.writeValue(TEST_UID, statsMapValue, BPF_ANY)); in TEST_F()
|
/system/netd/server/ |
D | TrafficControllerTest.cpp | 155 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in populateFakeStats() local 158 EXPECT_RESULT_OK(mFakeStatsMapA.writeValue(*key, statsMapValue, BPF_ANY)); in populateFakeStats() 160 EXPECT_RESULT_OK(mFakeStatsMapA.writeValue(*key, statsMapValue, BPF_ANY)); in populateFakeStats() 161 EXPECT_RESULT_OK(mFakeAppUidStatsMap.writeValue(uid, statsMapValue, BPF_ANY)); in populateFakeStats()
|