Lines Matching refs:GrallocHalWrapper
81 ANDROID_SINGLETON_STATIC_INSTANCE(GrallocHalWrapper);
83 GrallocHalWrapper::GrallocHalWrapper() in GrallocHalWrapper() function in android::GrallocHalWrapper
172 GrallocHalWrapper::~GrallocHalWrapper() { in ~GrallocHalWrapper()
178 int GrallocHalWrapper::registerBuffer(const native_handle_t *handle) { in registerBuffer()
189 int GrallocHalWrapper::unregisterBuffer(const native_handle_t *handle) { in unregisterBuffer()
200 int GrallocHalWrapper::lock(const native_handle_t *handle, in lock()
222 int GrallocHalWrapper::unlock(const native_handle_t *handle) { in unlock()
235 bool GrallocHalWrapper::isSameMemory(const native_handle_t *h1, const native_handle_t *h2) { in isSameMemory()
250 int GrallocHalWrapper::mapGralloc1Error(int grallocError) { in mapGralloc1Error()
284 mError = GrallocHalWrapper::getInstance().registerBuffer(mNativeHandle); in GrallocDirectChannel()
290 mError = GrallocHalWrapper::getInstance().lock(mNativeHandle, in GrallocDirectChannel()
317 GrallocHalWrapper::getInstance().unlock(mNativeHandle); in ~GrallocDirectChannel()
320 GrallocHalWrapper::getInstance().unregisterBuffer(mNativeHandle); in ~GrallocDirectChannel()
321 if (!GrallocHalWrapper::getInstance().unregisterImplyDelete()) { in ~GrallocDirectChannel()
331 GrallocHalWrapper::getInstance().isSameMemory(mem->handle, mNativeHandle); in memoryMatches()