Home
last modified time | relevance | path

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

/test/vts/drivers/resource/fmq_driver/
DVtsFmqDriverTest.cpp178 uint16_t read_data[DATA_SIZE]; in TEST_F() local
189 "uint16_t", reader_id_, read_data, DATA_SIZE))); in TEST_F()
192 ASSERT_EQ(0, memcmp(write_data, read_data, DATA_SIZE * sizeof(uint16_t))); in TEST_F()
198 uint16_t read_data[DATA_SIZE]; in TEST_F() local
202 "uint16_t", reader_id_, read_data, DATA_SIZE))); in TEST_F()
209 uint16_t read_data[DATA_SIZE]; in TEST_F() local
230 "uint16_t", reader_id_, read_data, DATA_SIZE))); in TEST_F()
232 ASSERT_EQ(0, memcmp(write_data, read_data, DATA_SIZE * sizeof(uint16_t))); in TEST_F()
266 uint16_t read_data[DATA_SIZE]; in TEST_F() local
276 "uint16_t", reader_id_, read_data, DATA_SIZE))); in TEST_F()
[all …]
/test/vts/drivers/resource/resource_manager/
DVtsResourceManager.cpp128 char read_data[read_data_size]; in ProcessHidlHandleCommand() local
131 handle_id, static_cast<void*>(read_data), read_data_size); in ProcessHidlHandleCommand()
134 string(read_data, read_success_bytes)); in ProcessHidlHandleCommand()
216 char read_data[length]; in ProcessHidlMemoryCommand() local
217 success = hidl_memory_driver_.ReadBytes(mem_id, read_data, length, start); in ProcessHidlMemoryCommand()
218 hidl_memory_response->set_read_data(string(read_data, length)); in ProcessHidlMemoryCommand()
334 T read_data[read_data_size]; in ProcessFmqCommandInternal() local
366 success = fmq_driver_.ReadFmq<T, flavor>(data_type, queue_id, read_data, in ProcessFmqCommandInternal()
368 if (!FmqCpp2Proto<T>(fmq_response, data_type, read_data, in ProcessFmqCommandInternal()
378 data_type, queue_id, read_data, read_data_size, time_out_nanos); in ProcessFmqCommandInternal()
[all …]
/test/vts/drivers/resource/hidl_handle_driver/
DVtsHidlHandleDriverTest.cpp95 char read_data[write_data.length()]; in TEST_F() local
96 ASSERT_EQ(handle_driver_.ReadFile(client2_id_, static_cast<void*>(read_data), in TEST_F()
100 ASSERT_TRUE(write_data == string(read_data, write_data.length())); in TEST_F()
110 char read_data[write_data.length() * NUM_ITERS]; in TEST_F() local
111 char* curr_read_data_ptr = read_data; in TEST_F()
126 string curr_read_data = string(read_data, write_data.length() * (i + 1)); in TEST_F()
DVtsHidlHandleDriver.cpp92 ssize_t VtsHidlHandleDriver::ReadFile(HandleId handle_id, void* read_data, in ReadFile() argument
105 ssize_t read_result = read(fd, read_data, num_bytes); in ReadFile()
/test/vts/drivers/resource/hidl_memory_driver/
DVtsHidlMemoryDriverTest.cpp74 char read_data[write_data.length()]; in TEST_F() local
76 ASSERT_TRUE(mem_driver_.ReadBytes(mem_id_, read_data, write_data.length())); in TEST_F()
80 ASSERT_EQ(0, strncmp(write_data.c_str(), read_data, write_data.length())); in TEST_F()
88 int read_data[5]; in TEST_F() local
103 mem_id_, reinterpret_cast<char*>(read_data), 5 * sizeof(int), i)); in TEST_F()
106 ASSERT_EQ(0, memcmp(write_data, read_data, 5 * sizeof(int))); in TEST_F()
DVtsHidlMemoryDriver.cpp119 bool VtsHidlMemoryDriver::ReadBytes(MemoryId mem_id, char* read_data, in ReadBytes() argument
125 memcpy(read_data, memory_char_ptr + start, length); in ReadBytes()
/test/vts/utils/python/mirror/
Dresource_mirror.py369 for item in response_msg.read_data:
546 return response_msg.read_data
731 return response_msg.read_data
/test/vts/proto/
DVtsResourceControllerMessage.proto138 repeated VariableSpecificationMessage read_data = 1; field
174 optional bytes read_data = 4; field
201 optional bytes read_data = 3; field
/test/vts/drivers/resource/include/hidl_handle_driver/
DVtsHidlHandleDriver.h93 ssize_t ReadFile(HandleId handle_id, void* read_data, size_t num_bytes);
/test/vts/drivers/resource/include/hidl_memory_driver/
DVtsHidlMemoryDriver.h149 bool ReadBytes(MemoryId mem_id, char* read_data, uint64_t length,
/test/vts/drivers/resource/include/resource_manager/
DVtsResourceManager.h235 T* read_data, size_t read_data_size);