Home
last modified time | relevance | path

Searched refs:pb_bus (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/can/1.0/tools/configurator/
Dcanprototools.cpp81 std::optional<ICanController::BusConfig> fromPbBus(const Bus& pb_bus) { in fromPbBus() argument
83 bus_cfg.name = pb_bus.name(); in fromPbBus()
85 switch (pb_bus.iface_type_case()) { in fromPbBus()
87 const auto ifname = pb_bus.native().ifname(); in fromPbBus()
88 const auto serialno = pb_bus.native().serialno(); in fromPbBus()
94 bus_cfg.bitrate = pb_bus.bitrate(); in fromPbBus()
102 const auto ttyname = pb_bus.slcan().ttyname(); in fromPbBus()
103 const auto serialno = pb_bus.slcan().serialno(); in fromPbBus()
108 bus_cfg.bitrate = pb_bus.bitrate(); in fromPbBus()
117 const auto ifname = pb_bus.virtual_().ifname(); in fromPbBus()
[all …]
Dcanprototools.h39 std::optional<V1_0::ICanController::BusConfig> fromPbBus(const Bus& pb_bus);
47 std::optional<V1_0::ICanController::InterfaceType> getHalIftype(const Bus& pb_bus);
/hardware/interfaces/automotive/can/aidl/default/tools/configurator/
Dcanprototools.cpp90 std::optional<BusConfig> fromPbBus(const Bus& pb_bus) { in fromPbBus() argument
92 bus_cfg.name = pb_bus.name(); in fromPbBus()
94 switch (pb_bus.iface_type_case()) { in fromPbBus()
96 const std::string ifname = pb_bus.native().ifname(); in fromPbBus()
97 const std::vector<std::string> serials = {pb_bus.native().serialno().begin(), in fromPbBus()
98 pb_bus.native().serialno().end()}; in fromPbBus()
104 bus_cfg.bitrate = pb_bus.bitrate(); in fromPbBus()
114 const std::string ttyname = pb_bus.slcan().ttyname(); in fromPbBus()
115 const std::vector<std::string> serials = {pb_bus.slcan().serialno().begin(), in fromPbBus()
116 pb_bus.slcan().serialno().end()}; in fromPbBus()
[all …]
Dcanprototools.h41 std::optional<::aidl::android::hardware::automotive::can::BusConfig> fromPbBus(const Bus& pb_bus);
50 const Bus& pb_bus);