/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Utils.cpp | 65 case Memory::Tag::ashmem: { in clone() 66 const auto& ashmem = memory.get<Memory::Tag::ashmem>(); in clone() local 67 auto fd = NN_TRY(clone(ashmem.fd)); in clone() 70 .size = ashmem.size, in clone() 72 return Memory::make<Memory::Tag::ashmem>(std::move(handle)); in clone()
|
D | Conversions.cpp | 367 case Tag::ashmem: { in unvalidatedConvert() 368 const auto& ashmem = memory.get<Tag::ashmem>(); in unvalidatedConvert() local 369 VERIFY_NON_NEGATIVE(ashmem.size) << "Memory size must not be negative"; in unvalidatedConvert() 370 if (ashmem.size > std::numeric_limits<size_t>::max()) { in unvalidatedConvert() 374 auto fd = NN_TRY(dupFd(ashmem.fd.get())); in unvalidatedConvert() 377 .size = static_cast<size_t>(ashmem.size), in unvalidatedConvert() 676 return Memory::make<Memory::Tag::ashmem>(std::move(handle)); in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/ |
D | Memory.aidl | 37 android.hardware.common.Ashmem ashmem;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | Memory.aidl | 37 android.hardware.common.Ashmem ashmem;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | Memory.aidl | 37 android.hardware.common.Ashmem ashmem;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/ |
D | Memory.aidl | 37 android.hardware.common.Ashmem ashmem;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/ |
D | Memory.aidl | 37 android.hardware.common.Ashmem ashmem;
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | Memory.aidl | 31 Ashmem ashmem;
|
/hardware/interfaces/soundtrigger/2.1/default/ |
D | SoundTriggerHw.cpp | 71 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/ |
D | Utils.cpp | 48 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/ |
D | VtsHalSoundtriggerV2_1TargetTest.cpp | 263 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in TEST_P() local 264 ASSERT_NE(nullptr, ashmem.get()); in TEST_P() 267 Return<void> allocReturn = ashmem->allocate(size, [&](bool success, const hidl_memory& m) { in TEST_P()
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | Utils.cpp | 105 auto ashmem = std::make_unique<TestAshmem>(size, aidlReadonly); in create() local 106 return ashmem->mIsValid ? std::move(ashmem) : nullptr; in create()
|
D | MemoryDomainTests.cpp | 695 case Memory::Tag::ashmem: in getSize() 696 return memory.get<Memory::Tag::ashmem>().size; in getSize()
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.cpp | 574 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/soundtrigger/2.3/default/ |
D | SoundTriggerHw.cpp | 630 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in moveVectorToMemory() local 631 if (ashmem == 0) { in moveVectorToMemory() 636 Return<void> r = ashmem->allocate(v->size(), [&](bool s, const hidl_memory& m) { in moveVectorToMemory()
|
/hardware/interfaces/audio/effect/all-versions/vts/functional/ |
D | VtsHalAudioEffectTargetTest.cpp | 655 sp<IAllocator> ashmem = IAllocator::getService("ashmem"); in TEST_P() local 656 ASSERT_NE(nullptr, ashmem.get()); in TEST_P() 659 Return<void> ret = ashmem->allocate(1024, [&](bool s, const hidl_memory& memory) { in TEST_P()
|
/hardware/interfaces/sensors/1.0/ |
D | types.hal | 773 * Set this flag if sensor suppor direct channel backed by ashmem. 1281 // handle contains 1 fd (ashmem handle) and 0 int.
|