Home
last modified time | relevance | path

Searched refs:ifaces (Results 1 – 4 of 4) sorted by relevance

/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp228 std::vector<std::string> ifaces; in TEST_F() local
232 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, TEST_UID1, in TEST_F()
236 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, TEST_UID2, in TEST_F()
300 std::vector<std::string> ifaces; in TEST_F() local
301 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, UID_ALL, mFakeStatsMap, in TEST_F()
305 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, TEST_UID1, in TEST_F()
309 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TEST_TAG, TEST_UID1, in TEST_F()
313 ifaces.push_back(std::string(IFACE_NAME1)); in TEST_F()
314 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TEST_TAG, TEST_UID1, in TEST_F()
335 std::vector<std::string> ifaces; in TEST_F() local
[all …]
/system/netd/server/
DBandwidthControllerTest.cpp396 const std::vector<std::string> ifaces{ in TEST_F() local
401 for (const auto& iface : ifaces) { in TEST_F()
404 bool first = (iface == ifaces[0]); in TEST_F()
410 for (const auto& iface : ifaces) { in TEST_F()
413 bool last = (iface == ifaces[1]); in TEST_F()
DNetworkController.cpp153 const auto& ifaces = InterfaceController::getIfaceNames(); local
154 if (isOk(ifaces)) {
155 for (const std::string& iface : ifaces.value()) {
DXfrmController.cpp413 const auto& ifaces = InterfaceController::getIfaceNames(); in flushInterfaces() local
414 RETURN_IF_NOT_OK(ifaces); in flushInterfaces()
417 for (const std::string& iface : ifaces.value()) { in flushInterfaces()