Home
last modified time | relevance | path

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

/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.cpp71 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in moveVectorToMemory() local
72 if (ashmem == 0) { in moveVectorToMemory()
77 Return<void> r = ashmem->allocate(v->size(), [&](bool s, const hidl_memory& m) { in moveVectorToMemory()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp48 auto ashmem = std::make_unique<TestAshmem>(size); in create() local
49 return ashmem->mIsValid ? std::move(ashmem) : nullptr; in create()
/hardware/interfaces/soundtrigger/2.1/vts/functional/
DVtsHalSoundtriggerV2_1TargetTest.cpp346 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in TEST_P() local
347 ASSERT_NE(nullptr, ashmem.get()); in TEST_P()
350 Return<void> allocReturn = ashmem->allocate(size, [&](bool success, const hidl_memory& m) { in TEST_P()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp574 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in moveVectorToMemory() local
575 if (ashmem == 0) { in moveVectorToMemory()
580 Return<void> r = ashmem->allocate(v->size(), [&](bool s, const hidl_memory& m) { in moveVectorToMemory()
/hardware/interfaces/audio/effect/all-versions/vts/functional/
DVtsHalAudioEffectTargetTest.cpp474 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in TEST_P() local
475 ASSERT_NE(nullptr, ashmem.get()); in TEST_P()
478 Return<void> ret = ashmem->allocate(1024, [&](bool s, const hidl_memory& memory) { in TEST_P()
/hardware/interfaces/sensors/1.0/
Dtypes.hal773 * Set this flag if sensor suppor direct channel backed by ashmem.
1281 // handle contains 1 fd (ashmem handle) and 0 int.