Home
last modified time | relevance | path

Searched refs:ashmemAllocator (Results 1 – 1 of 1) sorted by relevance

/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp358 sp<IAllocator> ashmemAllocator; member in HidlEnvironment
387 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 HidlTest
464 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()