Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp2043 bool interfaceListContains(const std::vector<std::string>& ifList, const std::string& ifName) { in interfaceListContains() argument
2044 for (const auto& iface : ifList) { in interfaceListContains()
2066 void expectTetherInterfaceExists(const std::vector<std::string>& ifList, in expectTetherInterfaceExists() argument
2068 EXPECT_TRUE(interfaceListContains(ifList, ifName)); in expectTetherInterfaceExists()
2071 void expectTetherInterfaceNotExists(const std::vector<std::string>& ifList, in expectTetherInterfaceNotExists() argument
2073 EXPECT_FALSE(interfaceListContains(ifList, ifName)); in expectTetherInterfaceNotExists()
2120 std::vector<std::string> ifList; in TEST_F() local
2121 status = mNetd->tetherInterfaceList(&ifList); in TEST_F()
2123 expectTetherInterfaceExists(ifList, sTun.name()); in TEST_F()
2129 status = mNetd->tetherInterfaceList(&ifList); in TEST_F()
[all …]
/system/netd/server/
DNdcDispatcher.cpp427 std::vector<std::string> ifList; in runCommand() local
428 mNetd->tetherInterfaceList(&ifList); in runCommand()
429 for (const auto& ifname : ifList) { in runCommand()
DNetdNativeService.h133 binder::Status tetherInterfaceList(std::vector<std::string>* ifList) override;
DNetdNativeService.cpp967 binder::Status NetdNativeService::tetherInterfaceList(std::vector<std::string>* ifList) { in tetherInterfaceList() argument
970 ifList->push_back(ifname); in tetherInterfaceList()