/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Utils.cpp | 85 case Memory::Tag::hardwareBuffer: { in clone() 86 const auto& hardwareBuffer = memory.get<Memory::Tag::hardwareBuffer>(); in clone() local 87 auto handle = NN_TRY(clone(hardwareBuffer.handle)); in clone() 89 .description = hardwareBuffer.description, in clone() 92 return Memory::make<Memory::Tag::hardwareBuffer>(std::move(ahwbHandle)); in clone()
|
D | Conversions.cpp | 399 case Tag::hardwareBuffer: { in unvalidatedConvert() 401 const auto& hardwareBuffer = memory.get<Tag::hardwareBuffer>(); in unvalidatedConvert() local 404 NN_TRY(nativeHandleFromAidlHandle(hardwareBuffer.handle)); in unvalidatedConvert() 408 .width = static_cast<uint32_t>(hardwareBuffer.description.width), in unvalidatedConvert() 409 .height = static_cast<uint32_t>(hardwareBuffer.description.height), in unvalidatedConvert() 410 .layers = static_cast<uint32_t>(hardwareBuffer.description.layers), in unvalidatedConvert() 411 .format = static_cast<uint32_t>(hardwareBuffer.description.format), in unvalidatedConvert() 412 .usage = static_cast<uint64_t>(hardwareBuffer.description.usage), in unvalidatedConvert() 413 .stride = static_cast<uint32_t>(hardwareBuffer.description.stride), in unvalidatedConvert() 729 auto hardwareBuffer = graphics::common::HardwareBuffer{ in unvalidatedConvert() [all …]
|
/hardware/interfaces/automotive/sv/1.0/default/tests/fuzzer/ |
D | SurroundViewStream.cpp | 53 if (svFramesDesc.svBuffers[i].hardwareBuffer.nativeHandle == nullptr) { in receiveFrames() 68 mLastReceivedFrames.svBuffers[i].hardwareBuffer.description = in receiveFrames() 69 svFramesDesc.svBuffers[i].hardwareBuffer.description; in receiveFrames()
|
D | AutomotiveSvV1_0Fuzzer.cpp | 130 frames.svBuffers[i].hardwareBuffer.nativeHandle = new native_handle_t(); in invoke2dSessionAPI() 131 frames.svBuffers[i].hardwareBuffer.description[0] = in invoke2dSessionAPI() 133 frames.svBuffers[i].hardwareBuffer.description[1] = in invoke2dSessionAPI() 138 delete frames.svBuffers[i].hardwareBuffer.nativeHandle; in invoke2dSessionAPI() 299 frames.svBuffers[i].hardwareBuffer.nativeHandle = new native_handle_t(); in invoke3dSessionAPI() 300 frames.svBuffers[i].hardwareBuffer.description[0] = in invoke3dSessionAPI() 302 frames.svBuffers[i].hardwareBuffer.description[1] = in invoke3dSessionAPI() 307 delete frames.svBuffers[i].hardwareBuffer.nativeHandle; in invoke3dSessionAPI()
|
/hardware/interfaces/automotive/sv/1.0/default/ |
D | SurroundView3dSession.cpp | 48 framesRecord.frames.svBuffers[0].hardwareBuffer.nativeHandle = new native_handle_t(); in SurroundView3dSession() 49 framesRecord.frames.svBuffers[0].hardwareBuffer.description[0] = mConfig.width; in SurroundView3dSession() 50 framesRecord.frames.svBuffers[0].hardwareBuffer.description[1] = mConfig.height; in SurroundView3dSession() 281 framesRecord.frames.svBuffers[i].hardwareBuffer.nativeHandle = new native_handle_t(); in generateFrames() 282 framesRecord.frames.svBuffers[i].hardwareBuffer.description[0] = mConfig.width; // width in generateFrames() 283 … framesRecord.frames.svBuffers[i].hardwareBuffer.description[1] = mConfig.height; // height in generateFrames()
|
D | SurroundView2dSession.cpp | 38 framesRecord.frames.svBuffers[0].hardwareBuffer.nativeHandle = in SurroundView2dSession() 40 framesRecord.frames.svBuffers[0].hardwareBuffer.description[0] = in SurroundView2dSession() 42 framesRecord.frames.svBuffers[0].hardwareBuffer.description[1] = in SurroundView2dSession() 204 framesRecord.frames.svBuffers[0].hardwareBuffer.description[0] = in generateFrames() 206 framesRecord.frames.svBuffers[0].hardwareBuffer.description[1] = in generateFrames()
|
/hardware/interfaces/automotive/sv/1.0/vts/functional/ |
D | SurroundViewStreamHandler.cpp | 65 if (svFramesDesc.svBuffers[i].hardwareBuffer.nativeHandle == nullptr) { in receiveFrames() 80 mLastReceivedFrames.svBuffers[i].hardwareBuffer.description = in receiveFrames() 81 svFramesDesc.svBuffers[i].hardwareBuffer.description; in receiveFrames()
|
D | VtsHalSurroundViewV1_0TargetTest.cpp | 215 reinterpret_cast<const AHardwareBuffer_Desc *>(&svBuffer2d.hardwareBuffer.description); in TEST_P() 280 reinterpret_cast<const AHardwareBuffer_Desc *>(&svBuffer2d.hardwareBuffer.description); in TEST_P() 319 reinterpret_cast<const AHardwareBuffer_Desc *>(&svBuffer2d.hardwareBuffer.description); in TEST_P() 377 reinterpret_cast<const AHardwareBuffer_Desc *>(&svBuffer2d.hardwareBuffer.description); in TEST_P() 646 EXPECT_EQ(frames.svBuffers[0].hardwareBuffer.description[0], in TEST_P() 647 frames.svBuffers[1].hardwareBuffer.description[0]); in TEST_P() 648 EXPECT_EQ(frames.svBuffers[0].hardwareBuffer.description[1], in TEST_P() 649 frames.svBuffers[1].hardwareBuffer.description[1]); in TEST_P() 650 EXPECT_EQ(frames.svBuffers[1].hardwareBuffer.description[0], in TEST_P() 651 frames.svBuffers[2].hardwareBuffer.description[0]); in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/ |
D | Memory.aidl | 39 android.hardware.graphics.common.HardwareBuffer hardwareBuffer;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | Memory.aidl | 39 android.hardware.graphics.common.HardwareBuffer hardwareBuffer;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | Memory.aidl | 39 android.hardware.graphics.common.HardwareBuffer hardwareBuffer;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/ |
D | Memory.aidl | 39 android.hardware.graphics.common.HardwareBuffer hardwareBuffer;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/ |
D | Memory.aidl | 39 android.hardware.graphics.common.HardwareBuffer hardwareBuffer;
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | Memory.aidl | 39 HardwareBuffer hardwareBuffer;
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | MemoryDomainTests.cpp | 699 case Memory::Tag::hardwareBuffer: { in getSize() 700 const auto& hardwareBuffer = memory.get<Memory::Tag::hardwareBuffer>(); in getSize() local 702 hardwareBuffer.description.format == graphics::common::PixelFormat::BLOB; in getSize() 703 return isBlob ? hardwareBuffer.description.width : 0; in getSize()
|
D | ValidateModel.cpp | 296 if (memory.getTag() == Memory::Tag::hardwareBuffer) { in sizeForBinder() 297 const NativeHandle& handle = memory.get<Memory::Tag::hardwareBuffer>().handle; in sizeForBinder()
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Conversions.cpp | 166 AHardwareBuffer* hardwareBuffer = nullptr; in createSharedMemoryFromHidlMemory() local 180 &hardwareBuffer); in createSharedMemoryFromHidlMemory() 190 return nn::createSharedMemoryFromAHWB(hardwareBuffer, /*takeOwnership=*/true); in createSharedMemoryFromHidlMemory()
|
/hardware/interfaces/automotive/sv/1.0/ |
D | types.hal | 136 HardwareBuffer hardwareBuffer;
|