Home
last modified time | relevance | path

Searched refs:serialno (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/automotive/can/1.0/tools/configurator/
Dcanprototools.cpp88 const auto serialno = pb_bus.native().serialno(); in fromPbBus() local
89 if (ifname.empty() == serialno.empty()) { in fromPbBus()
97 if (!serialno.empty()) socketcan.serialno({serialno.begin(), serialno.end()}); in fromPbBus()
103 const auto serialno = pb_bus.slcan().serialno(); in fromPbBus() local
104 if (ttyname.empty() == serialno.empty()) { in fromPbBus()
111 if (!serialno.empty()) slcan.serialno({serialno.begin(), serialno.end()}); in fromPbBus()
/hardware/interfaces/automotive/can/1.0/default/
DCanController.cpp142 std::string serialno; in readSerialNo() local
147 std::getline(serialnoStream, serialno); in readSerialNo()
148 return serialno; in readSerialNo()
197 auto serialno = readSerialNo(serialnoPath); in findUsbDevice() local
198 if (!serialno.has_value()) continue; in findUsbDevice()
202 if (serialno->ends_with(std::string(cfgSn))) { in findUsbDevice()
237 if (socketcan.getDiscriminator() == IfId::Socketcan::hidl_discriminator::serialno) { in upInterface()
239 auto selectedDevice = findUsbDevice(socketcan.serialno()); in upInterface()
260 if (slcan.getDiscriminator() == IfId::Slcan::hidl_discriminator::serialno) { in upInterface()
262 auto selectedDevice = findUsbDevice(slcan.serialno()); in upInterface()
/hardware/interfaces/automotive/can/aidl/default/
DCanController.cpp154 std::string serialno; in readSerialNo() local
159 std::getline(serialnoStream, serialno); in readSerialNo()
160 return serialno; in readSerialNo()
209 auto serialno = readSerialNo(serialnoPath); in findUsbDevice() local
210 if (!serialno.has_value()) continue; in findUsbDevice()
214 if (serialno->ends_with(std::string(cfgSn))) { in findUsbDevice()
263 if (nativeif.interfaceId.getTag() == NativeInterface::InterfaceId::Tag::serialno) { in upBus()
266 nativeif.interfaceId.get<NativeInterface::InterfaceId::Tag::serialno>()); in upBus()
284 if (slcanif.interfaceId.getTag() == SlcanInterface::InterfaceId::Tag::serialno) { in upBus()
287 slcanif.interfaceId.get<SlcanInterface::InterfaceId::Tag::serialno>()); in upBus()
/hardware/interfaces/automotive/can/aidl/default/tools/configurator/
Dcanprototools.cpp97 const std::vector<std::string> serials = {pb_bus.native().serialno().begin(), in fromPbBus()
98 pb_bus.native().serialno().end()}; in fromPbBus()
109 nativeif.interfaceId.set<NativeInterface::InterfaceId::Tag::serialno>(serials); in fromPbBus()
115 const std::vector<std::string> serials = {pb_bus.slcan().serialno().begin(), in fromPbBus()
116 pb_bus.slcan().serialno().end()}; in fromPbBus()
127 slcan.interfaceId.set<SlcanInterface::InterfaceId::Tag::serialno>(serials); in fromPbBus()
/hardware/interfaces/automotive/can/1.0/tools/configurator/proto/
Dcanbus_config.proto23 repeated string serialno = 2; field
28 repeated string serialno = 2; field
/hardware/interfaces/automotive/can/aidl/default/tools/configurator/proto/
Dcanbus_config.proto23 repeated string serialno = 2; field
28 repeated string serialno = 2; field
/hardware/interfaces/automotive/can/aidl/android/hardware/automotive/can/
DNativeInterface.aidl37 String[] serialno;
DSlcanInterface.aidl28 String[] serialno;
/hardware/interfaces/automotive/can/aidl/aidl_api/android.hardware.automotive.can/current/android/hardware/automotive/can/
DNativeInterface.aidl40 String[] serialno;
DSlcanInterface.aidl40 String[] serialno;
/hardware/interfaces/automotive/can/aidl/aidl_api/android.hardware.automotive.can/1/android/hardware/automotive/can/
DNativeInterface.aidl40 String[] serialno;
DSlcanInterface.aidl40 String[] serialno;
/hardware/interfaces/automotive/can/1.0/
DICanController.hal133 vec<string> serialno;
142 * {@see Socketcan::serialno}
144 vec<string> serialno;
/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/
DAutomotiveCanV1_0Fuzzer.cpp84 socketcan.serialno( in invokeUpInterface()
94 slcan.serialno( in invokeUpInterface()
/hardware/interfaces/security/keymint/support/
Dremote_prov_utils_test.cpp203 R"(","csr":"gQE=","name":"test","serialno":")" + in TEST()
204 ::android::base::GetProperty("ro.serialno", /*default=*/"") + R"("})"; in TEST()
/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanControllerV1_0TargetTest.cpp228 socketcanSerial.serialno({"1234", "2345"}); in TEST_P()
238 slcanSerial.serialno({"dead", "beef"}); in TEST_P()