Searched refs:toStdString (Results 1 – 3 of 3) sorted by relevance
473 std::string toStdString(const String16& s) { in toStdString() function496 if (flag == toStdString(INetd::IF_STATE_UP())) { in setCfg()498 } else if (flag == toStdString(INetd::IF_STATE_DOWN())) { in setCfg()552 cfgResult.flags.push_back(flags & IFF_UP ? toStdString(INetd::IF_STATE_UP()) in getCfg()553 : toStdString(INetd::IF_STATE_DOWN())); in getCfg()555 if (flags & IFF_BROADCAST) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_BROADCAST())); in getCfg()556 if (flags & IFF_LOOPBACK) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_LOOPBACK())); in getCfg()558 cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_POINTOPOINT())); in getCfg()559 if (flags & IFF_RUNNING) cfgResult.flags.push_back(toStdString(INetd::IF_FLAG_RUNNING())); in getCfg()560 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()
2454 std::string toStdString(const String16& s) { in toStdString() function2512 ifFlags.push_back(flags & IFF_UP ? toStdString(INetd::IF_STATE_UP()) in getInterfaceFlags()2513 : toStdString(INetd::IF_STATE_DOWN())); in getInterfaceFlags()2515 if (flags & IFF_BROADCAST) ifFlags.push_back(toStdString(INetd::IF_FLAG_BROADCAST())); in getInterfaceFlags()2516 if (flags & IFF_LOOPBACK) ifFlags.push_back(toStdString(INetd::IF_FLAG_LOOPBACK())); in getInterfaceFlags()2517 if (flags & IFF_POINTOPOINT) ifFlags.push_back(toStdString(INetd::IF_FLAG_POINTOPOINT())); in getInterfaceFlags()2518 if (flags & IFF_RUNNING) ifFlags.push_back(toStdString(INetd::IF_FLAG_RUNNING())); in getInterfaceFlags()2519 if (flags & IFF_MULTICAST) ifFlags.push_back(toStdString(INetd::IF_FLAG_MULTICAST())); in getInterfaceFlags()