Searched refs:ahwb (Results 1 – 4 of 4) sorted by relevance
141 auto ahwb = std::make_unique<TestBlobAHWB>(size); in create() local142 return ahwb->mIsValid ? std::move(ahwb) : nullptr; in create()159 AHardwareBuffer* ahwb = nullptr; in initialize() local160 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()
65 auto ahwb = std::make_unique<TestBlobAHWB>(size); in create() local66 return ahwb->mIsValid ? std::move(ahwb) : nullptr; in create()
459 const auto* ahwb = memory.handle.get(); in createHidlMemoryFrom() local461 AHardwareBuffer_describe(ahwb, &bufferDesc); in createHidlMemoryFrom()467 const native_handle_t* nativeHandle = AHardwareBuffer_getNativeHandle(ahwb); in createHidlMemoryFrom()
415 AHardwareBuffer* ahwb = nullptr; in unvalidatedConvert() local417 &desc, nativeHandle, AHARDWAREBUFFER_CREATE_FROM_HANDLE_METHOD_CLONE, &ahwb); in unvalidatedConvert()422 return createSharedMemoryFromAHWB(ahwb, /*takeOwnership=*/true); in unvalidatedConvert()