Home
last modified time | relevance | path

Searched refs:mem1 (Results 1 – 3 of 3) sorted by relevance

/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp140 if (in.mem1.size() != in.mem2.size()) { in getSumDiff()
144 const size_t size = in.mem1.size(); in getSumDiff()
147 sp<IMemory> memory_in1 = mapMemory(in.mem1); in getSumDiff()
174 out.mem1 = m; in getSumDiff()
176 sp<IMemory> memory_out1 = mapMemory(out.mem1); in getSumDiff()
/system/libhidl/
Dtest_main.cpp181 hidl_memory mem1 = hidl_memory(); // default constructor in TEST_F() local
182 hidl_memory mem2 = mem1; // copy constructor (nullptr), NOLINT in TEST_F()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java274 in.mem1 = HidlMemoryUtil.byteArrayToHidlMemory(new byte[]{10, 11, 12, 13}); in runClientMemoryTests()
277 ExpectTrue(Arrays.equals(HidlMemoryUtil.hidlMemoryToByteArray(out.mem1), in runClientMemoryTests()
281 in.mem1.close(); in runClientMemoryTests()
283 out.mem1.close(); in runClientMemoryTests()