Home
last modified time | relevance | path

Searched refs:iftype (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanControllerV1_0TargetTest.cpp69 bool isSupported(InterfaceType iftype);
71 bool up(InterfaceType iftype, const std::string srvname, std::string ifname,
110 bool CanControllerHalTest::isSupported(InterfaceType iftype) { in isSupported() argument
112 return std::find(supported.begin(), supported.end(), iftype) != supported.end(); in isSupported()
115 bool CanControllerHalTest::up(InterfaceType iftype, std::string srvname, std::string ifname, in up() argument
121 if (iftype == InterfaceType::SOCKETCAN) { in up()
125 } else if (iftype == InterfaceType::SLCAN) { in up()
129 } else if (iftype == InterfaceType::VIRTUAL) { in up()
132 EXPECT_TRUE(false) << "Unexpected iftype: " << toString(iftype); in up()
137 if (!isSupported(iftype)) { in up()
[all …]
DVtsHalCanBusV1_0TargetTest.cpp47 bool up(InterfaceType iftype, const std::string& srvname, const std::string& ifname);
74 bool CanBusHalTest::up(InterfaceType iftype, const std::string& srvname, in up() argument
80 if (iftype == InterfaceType::SOCKETCAN) { in up()
84 } else if (iftype == InterfaceType::SLCAN) { in up()
88 } else if (iftype == InterfaceType::VIRTUAL) { in up()
91 ADD_FAILURE() << "Unexpected iftype: " << toString(iftype); in up()
/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/
Dlibcanhaltools.cpp42 bool isSupported(sp<ICanController> ctrl, ICanController::InterfaceType iftype) { in isSupported() argument
45 return supported.contains(iftype); in isSupported()
64 auto iftype = getIftype(can_config); in configureIface() local
73 if (!libcanhaltools::isSupported(ctrl, iftype)) continue; in configureIface()
/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/include/libcanhaltools/
Dlibcanhaltools.h38 bool isSupported(sp<V1_0::ICanController> ctrl, V1_0::ICanController::InterfaceType iftype);
/hardware/interfaces/automotive/can/1.0/default/
DCanController.cpp55 ICanController::InterfaceType iftype; member
242 selectedDevice->iftype != ICanController::InterfaceType::SOCKETCAN) { in upInterface()
264 selectedDevice->iftype != ICanController::InterfaceType::SLCAN) { in upInterface()
/hardware/interfaces/automotive/can/aidl/default/
DCanController.cpp55 InterfaceType iftype; member
268 if (!selectedDevice.has_value() || selectedDevice->iftype != InterfaceType::NATIVE) { in upBus()
288 if (!selectedDevice.has_value() || selectedDevice->iftype != InterfaceType::SLCAN) { in upBus()
/hardware/interfaces/wifi/aidl/default/tests/
Dmock_wifi_legacy_hal.h55 wifi_error(const std::string& ifname, wifi_interface_type iftype));
/hardware/interfaces/wifi/aidl/default/
Dwifi_legacy_hal.cpp1801 wifi_interface_type iftype) { in createVirtualInterface() argument
1805 ifname.c_str(), iftype); in createVirtualInterface()
Dwifi_legacy_hal.h767 wifi_interface_type iftype);