Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.cpp141 auto ahwb = std::make_unique<TestBlobAHWB>(size); in create() local
142 return ahwb->mIsValid ? std::move(ahwb) : nullptr; in create()
159 AHardwareBuffer* ahwb = nullptr; in initialize() local
160 ASSERT_EQ(AHardwareBuffer_allocate(&desc, &ahwb), 0); in initialize()
161 ASSERT_NE(ahwb, nullptr); in initialize()
163 mMemory = nn::createSharedMemoryFromAHWB(ahwb, /*takeOwnership=*/true).value(); in initialize()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DUtils.cpp65 auto ahwb = std::make_unique<TestBlobAHWB>(size); in create() local
66 return ahwb->mIsValid ? std::move(ahwb) : nullptr; in create()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp459 const auto* ahwb = memory.handle.get(); in createHidlMemoryFrom() local
461 AHardwareBuffer_describe(ahwb, &bufferDesc); in createHidlMemoryFrom()
467 const native_handle_t* nativeHandle = AHardwareBuffer_getNativeHandle(ahwb); in createHidlMemoryFrom()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp415 AHardwareBuffer* ahwb = nullptr; in unvalidatedConvert() local
417 &desc, nativeHandle, AHARDWAREBUFFER_CREATE_FROM_HANDLE_METHOD_CLONE, &ahwb); in unvalidatedConvert()
422 return createSharedMemoryFromAHWB(ahwb, /*takeOwnership=*/true); in unvalidatedConvert()