Searched refs:ashmemAllocator (Results 1 – 1 of 1) sorted by relevance
346 sp<IAllocator> ashmemAllocator; member in HidlEnvironment375 ashmemAllocator = IAllocator::getService("ashmem"); in getServices()376 ASSERT_NE(ashmemAllocator, nullptr); in getServices()377 ASSERT_TRUE(ashmemAllocator->isRemote()); // allocator is always remote in getServices()436 sp<IAllocator> ashmemAllocator; member in HidlTest452 ashmemAllocator = gHidlEnvironment->ashmemAllocator; in SetUp()898 EXPECT_OK(ashmemAllocator->allocate(1024, [&](bool success, const hidl_memory& mem) { in TEST_F()963 EXPECT_OK(ashmemAllocator->batchAllocate(1024, kBatchSize, in TEST_F()1010 EXPECT_OK(ashmemAllocator->allocate(1024, [&](bool success, const hidl_memory& _mem) { in TEST_F()