Searched refs:InterfaceType (Results 1 – 10 of 10) sorted by relevance
/hardware/interfaces/automotive/can/1.0/vts/functional/ |
D | VtsHalCanControllerV1_0TargetTest.cpp | 33 using InterfaceType = ICanController::InterfaceType; typedef 42 hidl_vec<InterfaceType> getSupportedInterfaceTypes(); 43 bool isSupported(InterfaceType iftype); 45 bool up(InterfaceType iftype, const std::string srvname, std::string ifname, 77 hidl_vec<InterfaceType> CanControllerHalTest::getSupportedInterfaceTypes() { in getSupportedInterfaceTypes() 78 hidl_vec<InterfaceType> iftypesResult; in getSupportedInterfaceTypes() 83 bool CanControllerHalTest::isSupported(InterfaceType iftype) { in isSupported() 88 bool CanControllerHalTest::up(InterfaceType iftype, std::string srvname, std::string ifname, in up() 94 if (iftype == InterfaceType::SOCKETCAN) { in up() 98 } else if (iftype == InterfaceType::SLCAN) { in up() [all …]
|
D | VtsHalCanBusVirtualV1_0TargetTest.cpp | 41 using InterfaceType = ICanController::InterfaceType; typedef 173 hidl_vec<InterfaceType> supported; in SetUp() 175 if (!supported.contains(InterfaceType::VIRTUAL)) GTEST_SKIP(); in SetUp()
|
/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/ |
D | libcanhaltools.cpp | 42 bool isSupported(sp<ICanController> ctrl, ICanController::InterfaceType iftype) { in isSupported() 43 hidl_vec<ICanController::InterfaceType> supported; in isSupported() 48 ICanController::InterfaceType getIftype(ICanController::BusConfig can_config) { in getIftype() 51 return ICanController::InterfaceType::SOCKETCAN; in getIftype() 53 return ICanController::InterfaceType::SLCAN; in getIftype() 55 return ICanController::InterfaceType::VIRTUAL; in getIftype() 57 return ICanController::InterfaceType::INDEXED; in getIftype()
|
/hardware/interfaces/automotive/can/1.0/tools/ |
D | canhalctrl.cpp | 46 static int up(const std::string& busName, ICanController::InterfaceType type, in up() 65 if (type == ICanController::InterfaceType::VIRTUAL) { in up() 67 } else if (type == ICanController::InterfaceType::SOCKETCAN) { in up() 71 } else if (type == ICanController::InterfaceType::SLCAN) { in up() 75 } else if (type == ICanController::InterfaceType::INDEXED) { in up() 111 static std::optional<ICanController::InterfaceType> parseInterfaceType(const std::string& str) { in parseInterfaceType() 112 if (str == "virtual") return ICanController::InterfaceType::VIRTUAL; in parseInterfaceType() 113 if (str == "socketcan") return ICanController::InterfaceType::SOCKETCAN; in parseInterfaceType() 114 if (str == "slcan") return ICanController::InterfaceType::SLCAN; in parseInterfaceType() 115 if (str == "indexed") return ICanController::InterfaceType::INDEXED; in parseInterfaceType()
|
/hardware/interfaces/automotive/can/1.0/tools/configurator/ |
D | canprototools.cpp | 141 std::optional<ICanController::InterfaceType> getHalIftype(const Bus& pb_bus) { in getHalIftype() 144 return ICanController::InterfaceType::SOCKETCAN; in getHalIftype() 146 return ICanController::InterfaceType::SLCAN; in getHalIftype() 148 return ICanController::InterfaceType::VIRTUAL; in getHalIftype() 150 return ICanController::InterfaceType::INDEXED; in getHalIftype()
|
D | canprototools.h | 47 std::optional<V1_0::ICanController::InterfaceType> getHalIftype(const Bus& pb_bus);
|
/hardware/interfaces/automotive/can/1.0/default/ |
D | CanController.cpp | 55 ICanController::InterfaceType iftype; 60 _hidl_cb({ICanController::InterfaceType::VIRTUAL, ICanController::InterfaceType::SOCKETCAN, in getSupportedInterfaceTypes() 61 ICanController::InterfaceType::SLCAN}); in getSupportedInterfaceTypes() 120 return {{ICanController::InterfaceType::SOCKETCAN, netName}}; in getIfaceName() 123 return {{ICanController::InterfaceType::SLCAN, "/dev/" + currentDir}}; in getIfaceName() 242 selectedDevice->iftype != ICanController::InterfaceType::SOCKETCAN) { in upInterface() 264 selectedDevice->iftype != ICanController::InterfaceType::SLCAN) { in upInterface()
|
/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/include/libcanhaltools/ |
D | libcanhaltools.h | 38 bool isSupported(sp<V1_0::ICanController> ctrl, V1_0::ICanController::InterfaceType iftype);
|
/hardware/interfaces/automotive/can/1.0/vts/utils/include/can-vts-utils/ |
D | can-hal-printers.h | 39 DEFINE_CAN_HAL_PRINTER(ICanController::InterfaceType, toString)
|
/hardware/interfaces/automotive/can/1.0/ |
D | ICanController.hal | 34 enum InterfaceType : uint8_t { 104 * {@see InterfaceType} to express compatibility via 174 getSupportedInterfaceTypes() generates (vec<InterfaceType> iftypes);
|