Lines Matching refs:reconstructed
66 sp<IMemory> reconstructed; in TEST() local
74 ASSERT_TRUE(convertSharedFileRegionToIMemory(shmem, &reconstructed)); in TEST()
76 ASSERT_EQ(3, reconstructed->size()); in TEST()
77 ASSERT_EQ(reconstructed->getMemory()->getFlags() & IMemoryHeap::READ_ONLY, 0); in TEST()
79 reinterpret_cast<const uint8_t*>(reconstructed->unsecurePointer()); in TEST()
86 sp<IMemory> reconstructed; in TEST() local
94 ASSERT_TRUE(convertSharedFileRegionToIMemory(shmem, &reconstructed)); in TEST()
96 ASSERT_EQ(3, reconstructed->size()); in TEST()
97 ASSERT_NE(reconstructed->getMemory()->getFlags() & IMemoryHeap::READ_ONLY, 0); in TEST()
99 reinterpret_cast<const uint8_t*>(reconstructed->unsecurePointer()); in TEST()
106 sp<IMemory> reconstructed; in TEST() local
112 ASSERT_TRUE(convertNullableSharedFileRegionToIMemory(shmem, &reconstructed)); in TEST()
114 ASSERT_EQ(nullptr, reconstructed); in TEST()