Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp239 std::unique_ptr<GrallocWrapper> mGrallocWrapper; member in SensorsTestSharedMemory
335 mGrallocWrapper = std::make_unique<GrallocWrapper>(); in SensorsTestSharedMemory()
336 if (mGrallocWrapper->getAllocator() == nullptr || mGrallocWrapper->getMapper() == nullptr) { in SensorsTestSharedMemory()
350 handle = const_cast<native_handle_t *>(mGrallocWrapper->allocate(buf_desc_info)); in SensorsTestSharedMemory()
356 (mGrallocWrapper->lock(handle, buf_desc_info.usage, region, /*fence=*/-1)); in SensorsTestSharedMemory()
360 mGrallocWrapper->freeBuffer(handle); in SensorsTestSharedMemory()
393 mGrallocWrapper->unlock(mNativeHandle); in ~SensorsTestSharedMemory()
394 mGrallocWrapper->freeBuffer(mNativeHandle); in ~SensorsTestSharedMemory()