/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/testcases/codelab/fmq_test/ |
D | VtsCodelabFmqTest.py | 191 read_data = [] 196 read_success = self._queue1_reader.read(read_data, 2048) 198 asserts.assertEqual(read_data, write_data) 202 read_data = [] 203 read_success = self._queue1_reader.read(read_data, 5) 238 read_data = [] 239 read_success = self._queue1_reader.read(read_data, 2048) 242 asserts.assertEqual(write_data, read_data) 256 read_data = [] 266 read_data, 2048, 1000 * 1000000) [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/testcases/host/fmq_hidl_test/ |
D | VtsHalTestsMsgqV1_0HostTest.py | 165 read_data = [] 167 self._sync_client.read(read_data, data_len), 169 asserts.assertEqual(read_data, generateSequentialData(data_len)) 230 read_data = [] 234 self._sync_client.read(read_data, self.MAX_NUM_MSG) 235 asserts.assertEqual(write_data, read_data) 295 read_data = [] 297 self._sync_client.read(read_data, chunk_size), 299 total_read_data.extend(read_data) 366 read_data = [] [all …]
|
/test/vts/testcases/codelab/hidl_memory_test/ |
D | VtsCodelabHidlMemoryTest.py | 124 read_data = self._mem_obj.readBytes(len(write_data)) 125 asserts.assertEqual(write_data, read_data) 146 read_data = list(bytearray(read_data_str)) 148 asserts.assertEqual(write_data, read_data) 204 read_data = self._mem_obj.readBytes(self.MEM_SIZE) 208 read_data = list(read_data) 209 read_data = map(lambda i: ord(i), read_data) 212 asserts.assertEqual(read_data, [42] * self.MEM_SIZE)
|
/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/testcases/codelab/hidl_handle_test/ |
D | VtsCodelabHidlHandleTest.py | 176 read_data = self._reader.writeFile("abc", 3) 178 read_data is None, 206 read_data = self._reader.readFile(len(write_data)) 207 asserts.assertEqual(write_data, read_data)
|
/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/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_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);
|