Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp2674 std::vector<std::string> ifFlags; in getInterfaceFlags() local
2675 ifFlags.push_back(flags & IFF_UP ? toStdString(INetd::IF_STATE_UP()) in getInterfaceFlags()
2678 if (flags & IFF_BROADCAST) ifFlags.push_back(toStdString(INetd::IF_FLAG_BROADCAST())); in getInterfaceFlags()
2679 if (flags & IFF_LOOPBACK) ifFlags.push_back(toStdString(INetd::IF_FLAG_LOOPBACK())); in getInterfaceFlags()
2680 if (flags & IFF_POINTOPOINT) ifFlags.push_back(toStdString(INetd::IF_FLAG_POINTOPOINT())); in getInterfaceFlags()
2681 if (flags & IFF_RUNNING) ifFlags.push_back(toStdString(INetd::IF_FLAG_RUNNING())); in getInterfaceFlags()
2682 if (flags & IFF_MULTICAST) ifFlags.push_back(toStdString(INetd::IF_FLAG_MULTICAST())); in getInterfaceFlags()
2684 return ifFlags; in getInterfaceFlags()
2731 const auto& ifFlags = getInterfaceFlags(setCfg.ifName); in expectCurrentInterfaceConfigurationAlmostEqual() local
2733 EXPECT_TRUE(std::find(ifFlags.begin(), ifFlags.end(), flag) != ifFlags.end()); in expectCurrentInterfaceConfigurationAlmostEqual()