Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/can/aidl/default/
DCanBus.cpp54 const auto isUp = ::android::netdevice::isUp(mIfname); in up() local
55 if (!isUp.has_value()) { in up()
61 if (!*isUp && !::android::netdevice::up(mIfname)) { in up()
65 mDownAfterUse = !*isUp; in up()
/hardware/interfaces/automotive/can/1.0/default/
DCanBus.cpp123 const auto isUp = netdevice::isUp(mIfname); in up() local
124 if (!isUp.has_value()) { in up()
130 if (!*isUp && !netdevice::up(mIfname)) { in up()
134 mDownAfterUse = !*isUp; in up()
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/include/libnetdevice/
Dlibnetdevice.h54 std::optional<bool> isUp(std::string ifname);
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/
Dlibnetdevice.cpp99 std::optional<bool> isUp(std::string ifname) { in isUp() function
176 const auto up = present && isUp(ifname).value_or(false); in waitFor()
/hardware/ril/reference-ril/
Dreference-ril.c390 bool isUp = (request.ifr_flags & IFF_UP); in setInterfaceState() local
391 if ((state == kInterfaceUp && isUp) || (state == kInterfaceDown && !isUp)) { in setInterfaceState()