/hardware/interfaces/tv/tuner/1.1/default/ |
D | Filter.cpp | 267 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/ |
D | Filter.cpp | 1117 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/ |
D | CondVar.cpp | 78 int const res = pthread_cond_wait(&mCondition, mutex.nativeHandle()); in wait() 112 pthread_cond_timedwait(&mCondition, mutex.nativeHandle(), &absoluteTime); in wait()
|
D | Mutex.cpp | 122 pthread_mutex_t* Mutex::nativeHandle() { return &mMutex; } in nativeHandle() function in Mutex
|
/hardware/interfaces/tv/tuner/1.0/default/ |
D | Filter.cpp | 528 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/ |
D | HalProxyAidl.cpp | 233 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/ |
D | EvsCamera.cpp | 258 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()
|
D | GlWrapper.cpp | 343 .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/ |
D | Mutex.h | 90 pthread_mutex_t* nativeHandle();
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Conversions.cpp | 413 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/ |
D | gralloc_priv.h | 62 struct native_handle nativeHandle;
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Conversions.cpp | 123 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/ |
D | SurroundViewStream.cpp | 53 if (svFramesDesc.svBuffers[i].hardwareBuffer.nativeHandle == nullptr) { in receiveFrames()
|
D | AutomotiveSvV1_0Fuzzer.cpp | 130 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/ |
D | SurroundViewStreamHandler.cpp | 65 if (svFramesDesc.svBuffers[i].hardwareBuffer.nativeHandle == nullptr) { in receiveFrames()
|
/hardware/interfaces/automotive/sv/1.0/default/ |
D | SurroundView3dSession.cpp | 48 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/ |
D | FrameHandler.cpp | 151 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/ |
D | gralloc_priv.h | 134 native_handle_t nativeHandle;
|
/hardware/interfaces/media/1.0/ |
D | types.hal | 52 handle nativeHandle;
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 219 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/ |
D | gralloc_priv.h | 174 native_handle_t nativeHandle;
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | gralloc_priv.h | 174 native_handle_t nativeHandle;
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | gralloc_priv.h | 186 native_handle_t nativeHandle;
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_priv_handle.h | 44 native_handle_t nativeHandle;
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gralloc_priv.h | 180 native_handle_t nativeHandle;
|