Searched refs:toStdString (Results 1 – 3 of 3) sorted by relevance
467 std::string toStdString(const String16& s) { in toStdString() function490 if (flag == toStdString(INetd::IF_STATE_UP())) { in setCfg()492 } else if (flag == toStdString(INetd::IF_STATE_DOWN())) { in setCfg()547 cfgResult.flags.push_back(flags & IFF_UP ? toStdString(INetd::IF_STATE_UP()) in getCfg()548 : toStdString(INetd::IF_STATE_DOWN())); in getCfg()550 if (flags & IFF_BROADCAST) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_BROADCAST())); in getCfg()551 if (flags & IFF_LOOPBACK) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_LOOPBACK())); in getCfg()553 cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_POINTOPOINT())); in getCfg()554 if (flags & IFF_RUNNING) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_RUNNING())); in getCfg()555 if (flags & IFF_MULTICAST) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_MULTICAST())); in getCfg()
102 std::string toStdString(const String16& s) { in toStdString() function254 interfaceCfg.flags.push_back(toStdString(INetd::IF_STATE_UP())); in runCommand()265 interfaceCfg.flags.push_back(toStdString(INetd::IF_STATE_DOWN())); in runCommand()
2617 std::string toStdString(const String16& s) { in toStdString() function2675 ifFlags.push_back(flags & IFF_UP ? toStdString(INetd::IF_STATE_UP()) in getInterfaceFlags()2676 : toStdString(INetd::IF_STATE_DOWN())); 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()