/test/vts/drivers/resource/fmq_driver/ |
D | VtsFmqDriverTest.cpp | 178 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/ |
D | VtsResourceManager.cpp | 128 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/ |
D | VtsHidlHandleDriverTest.cpp | 95 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()
|
D | VtsHidlHandleDriver.cpp | 92 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/ |
D | VtsHidlMemoryDriverTest.cpp | 74 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()
|
D | VtsHidlMemoryDriver.cpp | 119 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/ |
D | resource_mirror.py | 369 for item in response_msg.read_data: 546 return response_msg.read_data 731 return response_msg.read_data
|
/test/vts/proto/ |
D | VtsResourceControllerMessage.proto | 138 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/ |
D | VtsHidlHandleDriver.h | 93 ssize_t ReadFile(HandleId handle_id, void* read_data, size_t num_bytes);
|
/test/vts/drivers/resource/include/hidl_memory_driver/ |
D | VtsHidlMemoryDriver.h | 149 bool ReadBytes(MemoryId mem_id, char* read_data, uint64_t length,
|
/test/vts/drivers/resource/include/resource_manager/ |
D | VtsResourceManager.h | 235 T* read_data, size_t read_data_size);
|