Home
last modified time | relevance | path

Searched refs:nativeHandle (Results 1 – 25 of 39) sorted by relevance

12

/hardware/interfaces/tv/tuner/1.1/default/
DFilter.cpp267 native_handle_t* nativeHandle = createNativeHandle(av_fd); in getAvSharedHandle() local
268 if (nativeHandle == NULL) { in getAvSharedHandle()
273 mSharedAvMemHandle.setTo(nativeHandle, /*shouldOwn=*/true); in getAvSharedHandle()
859 native_handle_t* nativeHandle; in createNativeHandle() local
861 nativeHandle = native_handle_create(/*numFd*/ 0, 0); in createNativeHandle()
864 nativeHandle = native_handle_create(/*numFd*/ 1, 0); in createNativeHandle()
866 if (nativeHandle == NULL) { in createNativeHandle()
870 if (nativeHandle->numFds > 0) { in createNativeHandle()
871 nativeHandle->data[0] = dup(fd); in createNativeHandle()
873 return nativeHandle; in createNativeHandle()
[all …]
/hardware/interfaces/tv/tuner/aidl/default/
DFilter.cpp1117 native_handle_t* nativeHandle; in createNativeHandle() local
1119 nativeHandle = native_handle_create(/*numFd*/ 0, 0); in createNativeHandle()
1122 nativeHandle = native_handle_create(/*numFd*/ 1, 0); in createNativeHandle()
1124 if (nativeHandle == NULL) { in createNativeHandle()
1128 if (nativeHandle->numFds > 0) { in createNativeHandle()
1129 nativeHandle->data[0] = dup(fd); in createNativeHandle()
1131 return nativeHandle; in createNativeHandle()
1148 native_handle_t* nativeHandle = createNativeHandle(av_fd); in createIndependentMediaEvents() local
1149 if (nativeHandle == NULL) { in createIndependentMediaEvents()
1161 mediaEvent.avMemory = ::android::dupToAidl(nativeHandle); in createIndependentMediaEvents()
[all …]
/hardware/nxp/secure_element/snxxx/libese-spi/src/adaptation/
DCondVar.cpp78 int const res = pthread_cond_wait(&mCondition, mutex.nativeHandle()); in wait()
112 pthread_cond_timedwait(&mCondition, mutex.nativeHandle(), &absoluteTime); in wait()
DMutex.cpp122 pthread_mutex_t* Mutex::nativeHandle() { return &mMutex; } in nativeHandle() function in Mutex
/hardware/interfaces/tv/tuner/1.0/default/
DFilter.cpp528 native_handle_t* nativeHandle = createNativeHandle(av_fd); in createMediaFilterEventWithIon() local
529 if (nativeHandle == NULL) { in createMediaFilterEventWithIon()
533 handle.setTo(nativeHandle, /*shouldOwn=*/true); in createMediaFilterEventWithIon()
654 native_handle_t* nativeHandle = native_handle_create(/*numFd*/ 1, 0); in createNativeHandle() local
655 if (nativeHandle == NULL) { in createNativeHandle()
659 nativeHandle->data[0] = dup(fd); in createNativeHandle()
660 return nativeHandle; in createNativeHandle()
/hardware/interfaces/sensors/aidl/default/multihal/
DHalProxyAidl.cpp233 native_handle_t *nativeHandle = in dump() local
235 nativeHandle->data[0] = fd; in dump()
242 HalProxy::debug(nativeHandle, hidl_args); in dump()
244 native_handle_delete(nativeHandle); in dump()
/hardware/interfaces/automotive/evs/1.1/default/
DEvsCamera.cpp258 returnBufferLocked(buffer.bufferId, buffer.buffer.nativeHandle); in doneWithFrame_1_1()
393 mapper.importBuffer(b.buffer.nativeHandle, pDesc->width, pDesc->height, 1, in importExternalBuffers()
589 newBuffer.buffer.nativeHandle = mBuffers[idx].handle; in generateFrames()
601 ALOGD("Delivered %p as id %d", newBuffer.buffer.nativeHandle.getNativeHandle(), in generateFrames()
648 mapper.lock(buff.buffer.nativeHandle, in fillTestFrame()
670 mapper.unlock(buff.buffer.nativeHandle); in fillTestFrame()
675 .buffer.nativeHandle = buff.memHandle, in fillTestFrame()
DGlWrapper.cpp343 .nativeHandle = buffer.memHandle, in updateImageTexture()
369 const_cast<native_handle_t*>(aFrame.buffer.nativeHandle.getNativeHandle()), in updateImageTexture()
/hardware/nxp/secure_element/snxxx/libese-spi/src/include/
DMutex.h90 pthread_mutex_t* nativeHandle();
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp413 native_handle_t* nativeHandle = in createNativeHandleFrom() local
415 if (nativeHandle == nullptr) { in createNativeHandleFrom()
420 nativeHandle->data[i] = fds[i].release(); in createNativeHandleFrom()
422 std::copy(ints.begin(), ints.end(), nativeHandle->data + nativeHandle->numFds); in createNativeHandleFrom()
425 handle.setTo(nativeHandle, /*shouldOwn=*/true); in createNativeHandleFrom()
467 const native_handle_t* nativeHandle = AHardwareBuffer_getNativeHandle(ahwb); in createHidlMemoryFrom() local
468 const hidl_handle hidlHandle(nativeHandle); in createHidlMemoryFrom()
/hardware/libhardware/modules/gralloc/
Dgralloc_priv.h62 struct native_handle nativeHandle;
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp123 auto nativeHandle = UniqueNativeHandle(dupFromAidl(handle)); in nativeHandleFromAidlHandle() local
124 if (nativeHandle.get() == nullptr) { in nativeHandleFromAidlHandle()
128 if (!std::all_of(nativeHandle->data + 0, nativeHandle->data + nativeHandle->numFds, in nativeHandleFromAidlHandle()
132 return nativeHandle; in nativeHandleFromAidlHandle()
405 const native_handle_t* nativeHandle = handle.get(); in unvalidatedConvert() local
417 &desc, nativeHandle, AHARDWAREBUFFER_CREATE_FROM_HANDLE_METHOD_CLONE, &ahwb); in unvalidatedConvert()
650 const native_handle_t& nativeHandle) { in aidlHandleFromNativeHandle() argument
651 auto handle = ::android::dupToAidl(&nativeHandle); in aidlHandleFromNativeHandle()
707 const native_handle_t* nativeHandle = AHardwareBuffer_getNativeHandle(memory.handle.get()); in unvalidatedConvert() local
708 if (nativeHandle == nullptr) { in unvalidatedConvert()
[all …]
/hardware/interfaces/automotive/sv/1.0/default/tests/fuzzer/
DSurroundViewStream.cpp53 if (svFramesDesc.svBuffers[i].hardwareBuffer.nativeHandle == nullptr) { in receiveFrames()
DAutomotiveSvV1_0Fuzzer.cpp130 frames.svBuffers[i].hardwareBuffer.nativeHandle = new native_handle_t(); in invoke2dSessionAPI()
138 delete frames.svBuffers[i].hardwareBuffer.nativeHandle; in invoke2dSessionAPI()
299 frames.svBuffers[i].hardwareBuffer.nativeHandle = new native_handle_t(); in invoke3dSessionAPI()
307 delete frames.svBuffers[i].hardwareBuffer.nativeHandle; in invoke3dSessionAPI()
/hardware/interfaces/automotive/sv/1.0/vts/functional/
DSurroundViewStreamHandler.cpp65 if (svFramesDesc.svBuffers[i].hardwareBuffer.nativeHandle == nullptr) { in receiveFrames()
/hardware/interfaces/automotive/sv/1.0/default/
DSurroundView3dSession.cpp48 framesRecord.frames.svBuffers[0].hardwareBuffer.nativeHandle = new native_handle_t(); in SurroundView3dSession()
281 framesRecord.frames.svBuffers[i].hardwareBuffer.nativeHandle = new native_handle_t(); in generateFrames()
/hardware/interfaces/automotive/evs/1.1/vts/functional/
DFrameHandler.cpp151 buffer.buffer.nativeHandle.getNativeHandle()); in deliverFrame_1_1()
261 sp<android::GraphicBuffer> src = new android::GraphicBuffer(srcBuffer.buffer.nativeHandle, in copyBufferContents()
/hardware/qcom/display/msm8960/libgralloc/
Dgralloc_priv.h134 native_handle_t nativeHandle;
/hardware/interfaces/media/1.0/
Dtypes.hal52 handle nativeHandle;
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp219 buffer->omxBuffer.nativeHandle = handle; in allocateGraphicBuffers()
243 ::android::hardware::hidl_handle const& nativeHandle) { in allocateBuffer() argument
246 buffer->omxBuffer.nativeHandle = nativeHandle; in allocateBuffer()
558 t.nativeHandle = android::hardware::hidl_handle(); in dispatchOutputBuffer()
587 t.nativeHandle = android::hardware::hidl_handle(); in dispatchInputBuffer()
/hardware/qcom/display/msm8226/libgralloc/
Dgralloc_priv.h174 native_handle_t nativeHandle;
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc_priv.h174 native_handle_t nativeHandle;
/hardware/qcom/display/msm8996/libgralloc/
Dgralloc_priv.h186 native_handle_t nativeHandle;
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_priv_handle.h44 native_handle_t nativeHandle;
/hardware/qcom/display/msm8994/libgralloc/
Dgralloc_priv.h180 native_handle_t nativeHandle;

12