Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp2017 bool interfaceListContains(const std::vector<std::string>& ifList, const std::string& ifName) { in interfaceListContains() argument
2018 for (const auto& iface : ifList) { in interfaceListContains()
2040 void expectTetherInterfaceExists(const std::vector<std::string>& ifList, in expectTetherInterfaceExists() argument
2042 EXPECT_TRUE(interfaceListContains(ifList, ifName)); in expectTetherInterfaceExists()
2045 void expectTetherInterfaceNotExists(const std::vector<std::string>& ifList, in expectTetherInterfaceNotExists() argument
2047 EXPECT_FALSE(interfaceListContains(ifList, ifName)); in expectTetherInterfaceNotExists()
2086 std::vector<std::string> ifList; in TEST_F() local
2087 status = mNetd->tetherInterfaceList(&ifList); in TEST_F()
2089 expectTetherInterfaceExists(ifList, sTun.name()); in TEST_F()
2095 status = mNetd->tetherInterfaceList(&ifList); in TEST_F()
[all …]
/system/netd/server/
DNdcDispatcher.cpp433 std::vector<std::string> ifList; in runCommand() local
434 mNetd->tetherInterfaceList(&ifList); in runCommand()
435 for (const auto& ifname : ifList) { in runCommand()
DNetdNativeService.h128 binder::Status tetherInterfaceList(std::vector<std::string>* ifList) override;
DNetdNativeService.cpp943 binder::Status NetdNativeService::tetherInterfaceList(std::vector<std::string>* ifList) { in tetherInterfaceList() argument
946 ifList->push_back(ifname); in tetherInterfaceList()