Searched refs:write_data2 (Results 1 – 2 of 2) sorted by relevance
/test/vts/drivers/resource/hidl_memory_driver/ |
D | VtsHidlMemoryDriverTest.cpp | 117 string write_data2 = "ghijklmno"; in TEST_F() local 119 char read_data2[write_data2.length()]; in TEST_F() 124 ASSERT_TRUE(mem_driver_.UpdateRange(mem_id_, 50, write_data2.length())); in TEST_F() 126 ASSERT_TRUE(mem_driver_.UpdateBytes(mem_id_, write_data2.c_str(), in TEST_F() 127 write_data2.length(), 50)); in TEST_F() 133 mem_driver_.ReadBytes(mem_id_, read_data2, write_data2.length(), 50)); in TEST_F() 135 ASSERT_EQ(0, strncmp(read_data2, write_data2.c_str(), write_data2.length())); in TEST_F()
|
/test/vts/testcases/codelab/hidl_memory_test/ |
D | VtsCodelabHidlMemoryTest.py | 159 write_data2 = "ghijklmno" 163 self._mem_obj.updateRange(self.MEM_SIZE / 2, len(write_data2)) 165 self._mem_obj.updateBytes(write_data2, len(write_data2), 172 len(write_data2), self.MEM_SIZE / 2) 175 asserts.assertEqual(read_data2, write_data2)
|