Searched refs:isUp (Results 1 – 5 of 5) sorted by relevance
54 const auto isUp = ::android::netdevice::isUp(mIfname); in up() local55 if (!isUp.has_value()) { in up()61 if (!*isUp && !::android::netdevice::up(mIfname)) { in up()65 mDownAfterUse = !*isUp; in up()
123 const auto isUp = netdevice::isUp(mIfname); in up() local124 if (!isUp.has_value()) { in up()130 if (!*isUp && !netdevice::up(mIfname)) { in up()134 mDownAfterUse = !*isUp; in up()
54 std::optional<bool> isUp(std::string ifname);
99 std::optional<bool> isUp(std::string ifname) { in isUp() function176 const auto up = present && isUp(ifname).value_or(false); in waitFor()
390 bool isUp = (request.ifr_flags & IFF_UP); in setInterfaceState() local391 if ((state == kInterfaceUp && isUp) || (state == kInterfaceDown && !isUp)) { in setInterfaceState()