Searched refs:ashmemAllocator (Results 1 – 1 of 1) sorted by relevance
358 sp<IAllocator> ashmemAllocator; member in HidlEnvironment387 ashmemAllocator = IAllocator::getService("ashmem"); in getServices()388 ASSERT_NE(ashmemAllocator, nullptr); in getServices()389 ASSERT_TRUE(ashmemAllocator->isRemote()); // allocator is always remote in getServices()448 sp<IAllocator> ashmemAllocator; member in HidlTest464 ashmemAllocator = gHidlEnvironment->ashmemAllocator; in SetUp()910 EXPECT_OK(ashmemAllocator->allocate(1024, [&](bool success, const hidl_memory& mem) { in TEST_F()975 EXPECT_OK(ashmemAllocator->batchAllocate(1024, kBatchSize, in TEST_F()1022 EXPECT_OK(ashmemAllocator->allocate(1024, [&](bool success, const hidl_memory& _mem) { in TEST_F()