/hardware/interfaces/automotive/can/aidl/default/ |
D | CanBusVirtual.cpp | 29 if (netdevice::exists(mIfname)) return Result::OK; in preUp() 31 LOG(DEBUG) << "Virtual interface " << mIfname << " doesn't exist, creating..."; in preUp() 33 if (!netdevice::add(mIfname, "vcan")) { in preUp() 34 LOG(ERROR) << "Can't create vcan interface " << mIfname; in preUp() 44 if (!netdevice::del(mIfname)) { in postDown() 45 LOG(ERROR) << "Couldn't remove vcan interface " << mIfname; in postDown()
|
D | CanBus.cpp | 24 CanBus::CanBus(std::string_view ifname) : mIfname(ifname) {} in CanBus() 40 return mIfname; in getIfaceName() 54 const auto isUp = ::android::netdevice::isUp(mIfname); in up() 57 LOG(ERROR) << "Interface " << mIfname << " didn't get prepared"; in up() 61 if (!*isUp && !::android::netdevice::up(mIfname)) { in up() 62 LOG(ERROR) << "Can't bring " << mIfname << " up"; in up() 82 if (mDownAfterUse && !::android::netdevice::down(mIfname)) { in down() 83 LOG(ERROR) << "Can't bring " << mIfname << " down"; in down()
|
D | CanBusNative.cpp | 31 if (!netdevice::exists(mIfname)) { in preUp() 32 LOG(ERROR) << "Interface " << mIfname << " doesn't exist"; in preUp() 41 if (!netdevice::down(mIfname)) { in preUp() 42 LOG(ERROR) << "Can't bring " << mIfname << " down (to configure it)"; in preUp() 46 if (!netdevice::can::setBitrate(mIfname, mBitrate)) { in preUp() 47 LOG(ERROR) << "Can't set bitrate " << mBitrate << " for " << mIfname; in preUp()
|
D | CanBus.h | 64 std::string mIfname; variable
|
D | CanBusSlcan.cpp | 69 mIfname = ifrequest.ifr_name; in updateIfaceName()
|
/hardware/interfaces/automotive/can/1.0/default/ |
D | CanBusVirtual.cpp | 27 if (netdevice::exists(mIfname)) return ICanController::Result::OK; in preUp() 29 LOG(DEBUG) << "Virtual interface " << mIfname << " doesn't exist, creating..."; in preUp() 31 if (!netdevice::add(mIfname, "vcan")) { in preUp() 32 LOG(ERROR) << "Can't create vcan interface " << mIfname; in preUp() 42 if (!netdevice::del(mIfname)) { in postDown() 43 LOG(ERROR) << "Couldn't remove vcan interface " << mIfname; in postDown()
|
D | CanBusNative.cpp | 29 if (!netdevice::exists(mIfname)) { in preUp() 30 LOG(ERROR) << "Interface " << mIfname << " doesn't exist"; in preUp() 39 if (!netdevice::down(mIfname)) { in preUp() 40 LOG(ERROR) << "Can't bring " << mIfname << " down (to configure it)"; in preUp() 44 if (!netdevice::can::setBitrate(mIfname, mBitrate)) { in preUp() 45 LOG(ERROR) << "Can't set bitrate " << mBitrate << " for " << mIfname; in preUp()
|
D | CanBus.cpp | 87 CanBus::CanBus(const std::string& ifname) : mIfname(ifname) {} in CanBus() 123 const auto isUp = netdevice::isUp(mIfname); in up() 126 LOG(ERROR) << "Interface " << mIfname << " didn't get prepared"; in up() 130 if (!*isUp && !netdevice::up(mIfname)) { in up() 131 LOG(ERROR) << "Can't bring " << mIfname << " up"; in up() 139 mSocket = CanSocket::open(mIfname, rdcb, errcb); in up() 141 if (mDownAfterUse) netdevice::down(mIfname); in up() 210 if (mDownAfterUse && !netdevice::down(mIfname)) { in down() 211 LOG(ERROR) << "Can't bring " << mIfname << " down"; in down()
|
D | CanBus.h | 76 std::string mIfname; member
|
D | CanBusSlcan.cpp | 64 mIfname = ifrequest.ifr_name; in updateIfaceName()
|
/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/ |
D | AutomotiveCanV1_0Fuzzer.h | 60 : mIfname(config.name), mController(controller) { in Bus() 72 mController->downInterface(mIfname); in reset() 102 const std::string mIfname;
|
/hardware/interfaces/automotive/can/1.0/vts/functional/ |
D | VtsHalCanControllerV1_0TargetTest.cpp | 40 : mIfname(config.name), mController(controller) { in Bus() 55 const std::string mIfname; member
|
D | VtsHalCanBusVirtualV1_0TargetTest.cpp | 84 : mIfname(config.name), mController(controller) { in Bus() 101 const auto res = mController->downInterface(mIfname); in reset() 130 const std::string mIfname; member
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | wifi_hal.cpp | 2515 const char *mIfname; member in VirtualIfaceConfig 2522 : WifiCommand("VirtualIfaceConfig", handle, 0), mIfname(ifname), mType(iface_type), in VirtualIfaceConfig() 2525 mIfname = ifname; in VirtualIfaceConfig() 2584 int result = createRequest(request, mIfname, mType, mwlan0_id); in createIface() 2602 int result = deleteRequest(request, mIfname); in deleteIface()
|
/hardware/synaptics/wlan/synadhd/wifi_hal/ |
D | wifi_hal.cpp | 2491 const char *mIfname; member in VirtualIfaceConfig 2498 : WifiCommand("VirtualIfaceConfig", handle, 0), mIfname(ifname), mType(iface_type), in VirtualIfaceConfig() 2501 mIfname = ifname; in VirtualIfaceConfig() 2560 int result = createRequest(request, mIfname, mType, mwlan0_id); in createIface() 2578 int result = deleteRequest(request, mIfname); in deleteIface()
|