Home
last modified time | relevance | path

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

/system/netd/tests/
Dbpf_base_test.cpp175 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in TEST_F() local
176 EXPECT_TRUE(isOk(statsMapB.writeValue(key, statsMapValue, BPF_ANY))); in TEST_F()
178 EXPECT_TRUE(isOk(statsMapA.writeValue(key, statsMapValue, BPF_ANY))); in TEST_F()
179 EXPECT_TRUE(isOk(appUidStatsMap.writeValue(TEST_UID, statsMapValue, BPF_ANY))); in TEST_F()
/system/netd/server/
DTrafficControllerTest.cpp156 StatsValue statsMapValue = {.rxPackets = 1, .rxBytes = 100}; in populateFakeStats() local
159 EXPECT_TRUE(isOk(mFakeStatsMapA.writeValue(*key, statsMapValue, BPF_ANY))); in populateFakeStats()
161 EXPECT_TRUE(isOk(mFakeStatsMapA.writeValue(*key, statsMapValue, BPF_ANY))); in populateFakeStats()
162 EXPECT_TRUE(isOk(mFakeAppUidStatsMap.writeValue(uid, statsMapValue, BPF_ANY))); in populateFakeStats()