Home | History | Annotate | Download | only in test

Lines Matching defs:ashmemAllocator

366     sp<IAllocator> ashmemAllocator;
394 ashmemAllocator = IAllocator::getService("ashmem");
395 ASSERT_NE(ashmemAllocator, nullptr);
396 ASSERT_TRUE(ashmemAllocator->isRemote()); // allocator is always remote
450 sp<IAllocator> ashmemAllocator;
465 ashmemAllocator = gHidlEnvironment->ashmemAllocator;
787 EXPECT_OK(ashmemAllocator->allocate(1024, [&](bool success, const hidl_memory& mem) {
852 EXPECT_OK(ashmemAllocator->batchAllocate(1024, kBatchSize,
897 EXPECT_OK(ashmemAllocator->batchAllocate(1024, UINT64_MAX, [&](bool success, const auto& v) {
901 EXPECT_OK(ashmemAllocator->batchAllocate(1_GB, 1024, [&](bool success, const auto& v) {