Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/can/1.0/tools/
Dcanhalsend.cpp78 const std::string payloadStr = msg.substr(hashpos + 1); in parseCanMessage() local
90 if (android::base::StartsWith(payloadStr, "R")) { in parseCanMessage()
96 if (payloadStr.size() <= 1) return canmsg; in parseCanMessage()
102 if (!android::base::ParseUint(payloadStr.substr(1), &dlc, 10000u)) { in parseCanMessage()
111 if (payloadStr.size() % 2 != 0) return std::nullopt; in parseCanMessage()
112 for (size_t i = 0; i < payloadStr.size(); i += 2) { in parseCanMessage()
113 std::string byteStr(payloadStr, i, 2); in parseCanMessage()