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()
155 mNativeHandle = handle; in SensorsTestSharedMemory()
168 ::native_handle_close(mNativeHandle); in ~SensorsTestSharedMemory()
169 ::native_handle_delete(mNativeHandle); in ~SensorsTestSharedMemory()
171 mNativeHandle = nullptr; in ~SensorsTestSharedMemory()
178 mGrallocWrapper->unlock(mNativeHandle); in ~SensorsTestSharedMemory()
179 mGrallocWrapper->freeBuffer(mNativeHandle); in ~SensorsTestSharedMemory()
181 mNativeHandle = nullptr; in ~SensorsTestSharedMemory()
187 if (mNativeHandle != nullptr || mSize != 0 || mBuffer != nullptr) { in ~SensorsTestSharedMemory()
191 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