Home
last modified time | relevance | path

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

/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp237 std::vector<std::string> ifaces; in TEST_F() local
241 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, TEST_UID1, in TEST_F()
245 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, TEST_UID2, in TEST_F()
313 std::vector<std::string> ifaces; in TEST_F() local
314 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, UID_ALL, mFakeStatsMap, in TEST_F()
318 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TAG_ALL, TEST_UID1, in TEST_F()
322 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TEST_TAG, TEST_UID1, in TEST_F()
326 ifaces.push_back(std::string(IFACE_NAME1)); in TEST_F()
327 ASSERT_EQ(0, parseBpfNetworkStatsDetailInternal(&lines, ifaces, TEST_TAG, TEST_UID1, in TEST_F()
350 std::vector<std::string> ifaces; in TEST_F() local
[all …]
/system/netd/server/
DBandwidthControllerTest.cpp446 const std::vector<std::string> ifaces{ in TEST_F() local
451 for (const auto& iface : ifaces) { in TEST_F()
454 bool first = (iface == ifaces[0]); in TEST_F()
460 for (const auto& iface : ifaces) { in TEST_F()
463 bool last = (iface == ifaces[1]); in TEST_F()
DNetworkController.cpp151 const auto& ifaces = InterfaceController::getIfaceNames(); local
152 if (isOk(ifaces)) {
153 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()