Home
last modified time | relevance | path

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

/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.h138 binder::Status tetherInterfaceList(std::vector<std::string>* ifList) override;
DNetdNativeService.cpp1005 binder::Status NetdNativeService::tetherInterfaceList(std::vector<std::string>* ifList) { in tetherInterfaceList() argument
1008 ifList->push_back(ifname); in tetherInterfaceList()
/system/netd/tests/
Dbinder_test.cpp2172 bool interfaceListContains(const std::vector<std::string>& ifList, const std::string& ifName) { in interfaceListContains() argument
2173 for (const auto& iface : ifList) { in interfaceListContains()
2195 void expectTetherInterfaceExists(const std::vector<std::string>& ifList, in expectTetherInterfaceExists() argument
2197 EXPECT_TRUE(interfaceListContains(ifList, ifName)); in expectTetherInterfaceExists()
2200 void expectTetherInterfaceNotExists(const std::vector<std::string>& ifList, in expectTetherInterfaceNotExists() argument
2202 EXPECT_FALSE(interfaceListContains(ifList, ifName)); in expectTetherInterfaceNotExists()
2249 std::vector<std::string> ifList; in TEST_F() local
2250 status = mNetd->tetherInterfaceList(&ifList); in TEST_F()
2252 expectTetherInterfaceExists(ifList, sTun.name()); in TEST_F()
2258 status = mNetd->tetherInterfaceList(&ifList); in TEST_F()
[all …]