Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/
DSensorsTestSharedMemory.cpp30 .memoryHandle = mNativeHandle}; in getSharedMemInfo()
136 mNativeHandle = handle; in SensorsTestSharedMemory()
149 ::native_handle_close(mNativeHandle); in ~SensorsTestSharedMemory()
150 ::native_handle_delete(mNativeHandle); in ~SensorsTestSharedMemory()
152 mNativeHandle = nullptr; in ~SensorsTestSharedMemory()
159 mGrallocWrapper->freeBuffer(mNativeHandle); in ~SensorsTestSharedMemory()
160 mNativeHandle = nullptr; in ~SensorsTestSharedMemory()
166 if (mNativeHandle != nullptr || mSize != 0 || mBuffer != nullptr) { in ~SensorsTestSharedMemory()
170 this, static_cast<int>(mType), mNativeHandle, mSize, mBuffer); in ~SensorsTestSharedMemory()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraMem.cpp1298 memset(mNativeHandle, 0, sizeof(mNativeHandle)); in QCameraVideoMemory()
1350 native_handle_t *nh = mNativeHandle[i]; in allocate()
1404 mNativeHandle[i] = native_handle_create(1, VIDEO_METADATA_NUM_INTS); in allocateMore()
1410 packet->meta_handle = mNativeHandle[i]; in allocateMore()
1412 native_handle_t *nh = mNativeHandle[i]; in allocateMore()
1463 if (NULL != mNativeHandle[j]) { in allocateMeta()
1464 native_handle_delete(mNativeHandle[j]); in allocateMeta()
1473 mNativeHandle[i] = native_handle_create(numFDs, mTotalInts); in allocateMeta()
1474 if (mNativeHandle[i] == NULL) { in allocateMeta()
1478 if (NULL != mNativeHandle[j]) { in allocateMeta()
[all …]
DQCameraMem.h270 native_handle_t *mNativeHandle[MM_CAMERA_MAX_NUM_FRAMES]; variable
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsTestSharedMemory.h44 native_handle_t* mNativeHandle; variable