Lines Matching refs:err
97 status_t err = item.mGraphicBuffer->lockAsyncYCbCr(GraphicBuffer::USAGE_SW_READ_OFTEN,
99 if (err == OK) {
105 CC_LOGE("Unable to lock YCbCr buffer for CPU reading: %s (%d)", strerror(-err), err);
106 return err;
121 status_t err = item.mGraphicBuffer->lockAsync(GraphicBuffer::USAGE_SW_READ_OFTEN,
123 if (err != OK) {
124 CC_LOGE("Unable to lock buffer for CPU reading: %s (%d)", strerror(-err), err);
125 return err;
152 status_t err;
165 err = acquireBufferLocked(&b, 0);
166 if (err != OK) {
167 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
170 CC_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err);
171 return err;
179 err = lockBufferItem(b, nativeBuffer);
180 if (err != OK) {
181 return err;
212 status_t err = ab.mGraphicBuffer->unlockAsync(&fenceFd);
213 if (err != OK) {
216 return err;