Searched refs:mGrallocWrapper (Results 1 – 2 of 2) sorted by relevance
121 mGrallocWrapper = std::make_unique<::android::GrallocWrapper>(); in SensorsTestSharedMemory()122 if (mGrallocWrapper->getAllocator() == nullptr || in SensorsTestSharedMemory()123 mGrallocWrapper->getMapper() == nullptr) { in SensorsTestSharedMemory()136 handle = const_cast<native_handle_t*>(mGrallocWrapper->allocate(buf_desc_info)); in SensorsTestSharedMemory()141 mGrallocWrapper->lock(handle, buf_desc_info.usage, region, /*fence=*/-1)); in SensorsTestSharedMemory()145 mGrallocWrapper->freeBuffer(handle); in SensorsTestSharedMemory()178 mGrallocWrapper->unlock(mNativeHandle); in ~SensorsTestSharedMemory()179 mGrallocWrapper->freeBuffer(mNativeHandle); in ~SensorsTestSharedMemory()
47 std::unique_ptr<::android::GrallocWrapper> mGrallocWrapper; variable