Home
last modified time | relevance | path

Searched refs:mem2 (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()
157 sp<IMemory> memory_in2 = mapMemory(in.mem2); in getSumDiff()
185 out.mem2 = m; in getSumDiff()
187 sp<IMemory> memory_out2 = mapMemory(out.mem2); in getSumDiff()
/system/libhidl/
Dtest_main.cpp182 hidl_memory mem2 = mem1; // copy constructor (nullptr), NOLINT in TEST_F() local
184 EXPECT_EQ(nullptr, mem2.handle()); in TEST_F()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java275 in.mem2 = HidlMemoryUtil.byteArrayToHidlMemory(new byte[]{2, 4, 6, 8}); in runClientMemoryTests()
279 ExpectTrue(Arrays.equals(HidlMemoryUtil.hidlMemoryToByteArray(out.mem2), in runClientMemoryTests()
282 in.mem2.close(); in runClientMemoryTests()
284 out.mem2.close(); in runClientMemoryTests()