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