Searched refs:mGrallocWrapper (Results 1 – 1 of 1) sorted by relevance
239 std::unique_ptr<GrallocWrapper> mGrallocWrapper; member in SensorsTestSharedMemory335 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()