Lines Matching refs:mHeap
25 auto mHeap = sp<MemoryHeapBase>::make(10, MemoryHeapBase::FORCE_MEMFD, "Test mapping"); in TEST() local
26 ASSERT_NE(mHeap.get(), nullptr); in TEST()
27 int fd = mHeap->getHeapID(); in TEST()
34 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() local
37 ASSERT_NE(mHeap.get(), nullptr); in TEST()
38 int fd = mHeap->getHeapID(); in TEST()
45 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() local
49 ASSERT_NE(mHeap.get(), nullptr); in TEST()
50 int fd = mHeap->getHeapID(); in TEST()
57 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() local
61 ASSERT_NE(mHeap.get(), nullptr); in TEST()
62 int fd = mHeap->getHeapID(); in TEST()
70 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() local
75 ASSERT_NE(mHeap.get(), nullptr); in TEST()
76 int fd = mHeap->getHeapID(); in TEST()
84 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() local
87 ASSERT_NE(mHeap.get(), nullptr); in TEST()
88 int fd = mHeap->getHeapID(); in TEST()
89 void* ptr = mHeap->getBase(); in TEST()
92 EXPECT_EQ(mHeap->getFlags(), MemoryHeapBase::READ_ONLY); in TEST()
96 auto mHeap = sp<MemoryHeapBase>::make(8192, in TEST() local
101 ASSERT_NE(mHeap.get(), nullptr); in TEST()
102 int fd = mHeap->getHeapID(); in TEST()
103 void* ptr = mHeap->getBase(); in TEST()
104 EXPECT_EQ(mHeap->getFlags(), MemoryHeapBase::READ_ONLY); in TEST()