Home
last modified time | relevance | path

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

/system/nvram/hal/
Dtesting_nvram_implementation.cpp57 uint8_t command_buffer_[4096]; member in __anonb2a572810111::TestingNvramImplementation
100 size_t request_size = sizeof(command_buffer_); in SendRequest()
101 if (!nvram::Encode(request, command_buffer_, &request_size)) { in SendRequest()
107 write(nvram_socket_fd_, command_buffer_, request_size)); in SendRequest()
114 read(nvram_socket_fd_, command_buffer_, sizeof(command_buffer_))); in SendRequest()
115 if (rc < 0 || static_cast<size_t>(rc) > sizeof(command_buffer_)) { in SendRequest()
120 if (!nvram::Decode(command_buffer_, static_cast<size_t>(rc), response)) { in SendRequest()