Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp2613 std::vector<std::string> ifFlags; in getInterfaceFlags() local
2614 ifFlags.push_back(flags & IFF_UP ? toStdString(INetd::IF_STATE_UP()) in getInterfaceFlags()
2617 if (flags & IFF_BROADCAST) ifFlags.push_back(toStdString(INetd::IF_FLAG_BROADCAST())); in getInterfaceFlags()
2618 if (flags & IFF_LOOPBACK) ifFlags.push_back(toStdString(INetd::IF_FLAG_LOOPBACK())); in getInterfaceFlags()
2619 if (flags & IFF_POINTOPOINT) ifFlags.push_back(toStdString(INetd::IF_FLAG_POINTOPOINT())); in getInterfaceFlags()
2620 if (flags & IFF_RUNNING) ifFlags.push_back(toStdString(INetd::IF_FLAG_RUNNING())); in getInterfaceFlags()
2621 if (flags & IFF_MULTICAST) ifFlags.push_back(toStdString(INetd::IF_FLAG_MULTICAST())); in getInterfaceFlags()
2623 return ifFlags; in getInterfaceFlags()
2670 const auto& ifFlags = getInterfaceFlags(setCfg.ifName); in expectCurrentInterfaceConfigurationAlmostEqual() local
2672 EXPECT_TRUE(std::find(ifFlags.begin(), ifFlags.end(), flag) != ifFlags.end()); in expectCurrentInterfaceConfigurationAlmostEqual()