Home
last modified time | relevance | path

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

/system/nvram/hal/
Dfake_nvram.cpp116 uint8_t command_buffer[kNvramMessageBufferSize]; in ProcessCommand() local
118 TEMP_FAILURE_RETRY(read(socket, command_buffer, sizeof(command_buffer))); in ProcessCommand()
129 if (!nvram::Decode(command_buffer, bytes_read, &request)) { in ProcessCommand()
136 size_t response_size = sizeof(command_buffer); in ProcessCommand()
137 if (!nvram::Encode(response, command_buffer, &response_size)) { in ProcessCommand()
142 if (TEMP_FAILURE_RETRY(write(socket, command_buffer, response_size)) < 0) { in ProcessCommand()
/system/connectivity/wifilogd/tests/
Dcommand_processor_unittest.cpp130 const CommandBuffer& command_buffer(BuildAsciiMessageCommandWithAdjustments( in SendAsciiMessageWithAdjustments() local
137 command_buffer.data(), command_buffer.size() + transport_len_adjustment, in SendAsciiMessageWithAdjustments()
172 const CommandBuffer& command_buffer( in TEST_F() local
175 command_buffer.data(), sizeof(protocol::Command) - 1, Os::kInvalidFd)); in TEST_F()
450 const CommandBuffer& command_buffer( in TEST_F() local
454 command_buffer.data(), command_buffer.size(), their_fd)); in TEST_F()
467 const CommandBuffer command_buffer; in TEST_F() local
469 command_buffer.data(), command_buffer.size(), their_fd)); in TEST_F()
/system/tpm/trunks/
Dtpm_simulator_handle.h53 std::vector<unsigned char> command_buffer;
/system/connectivity/wifilogd/
Dcommand_processor.h63 bool CopyCommandToLog(NONNULL const void* command_buffer, size_t command_len);
Dcommand_processor.cpp167 bool CommandProcessor::CopyCommandToLog(const void* command_buffer, in CopyCommandToLog() argument
197 .AppendOrDie(command_buffer, command_len); in CopyCommandToLog()