Searched refs:kMinadbdCommandPrefix (Results 1 – 4 of 4) sorted by relevance
24 constexpr char const kMinadbdCommandPrefix[] = "COMD"; variable62 static_assert(kMinadbdMessageSize == sizeof(kMinadbdCommandPrefix) - 1 + sizeof(MinadbdCommand));
70 memcpy(expected.data(), kMinadbdCommandPrefix, strlen(kMinadbdCommandPrefix)); in ReadAndCheckCommandMessage()71 memcpy(expected.data() + strlen(kMinadbdCommandPrefix), &expected_command, in ReadAndCheckCommandMessage()
69 memcpy(message, kMinadbdCommandPrefix, strlen(kMinadbdStatusPrefix)); in WriteCommandToFd()
64 if (!android::base::StartsWith(message, kMinadbdCommandPrefix)) { in ParseMinadbdCommand()69 auto cmd_code_string = message.substr(strlen(kMinadbdCommandPrefix)); in ParseMinadbdCommand()172 message.substr(strlen(kMinadbdCommandPrefix)).c_str()); in HandleMessageFromMinadbd()