Searched refs:write_data1 (Results 1 – 2 of 2) sorted by relevance
/test/vts/drivers/resource/hidl_memory_driver/ |
D | VtsHidlMemoryDriverTest.cpp | 116 string write_data1 = "abcdef"; in TEST_F() local 118 char read_data1[write_data1.length()]; in TEST_F() 123 ASSERT_TRUE(mem_driver_.UpdateRange(mem_id_, 0, write_data1.length())); in TEST_F() 138 ASSERT_TRUE(mem_driver_.UpdateBytes(mem_id_, write_data1.c_str(), in TEST_F() 139 write_data1.length())); in TEST_F() 144 ASSERT_TRUE(mem_driver_.ReadBytes(mem_id_, read_data1, write_data1.length())); in TEST_F() 146 ASSERT_EQ(0, strncmp(read_data1, write_data1.c_str(), write_data1.length())); in TEST_F()
|
/test/vts/testcases/codelab/hidl_memory_test/ |
D | VtsCodelabHidlMemoryTest.py | 158 write_data1 = "abcdef" 162 self._mem_obj.updateRange(0, len(write_data1)) 178 self._mem_obj.updateBytes(write_data1, len(write_data1)) 183 read_data1 = self._mem_obj.readBytes(len(write_data1)) 186 asserts.assertEqual(write_data1, read_data1)
|