Lines Matching refs:fence
120 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, uint32_t width,
135 *fence = new Fence();
136 reply.read(**fence);
213 virtual status_t cancelBuffer(int buf, const sp<Fence>& fence) {
217 data.write(*fence.get());
412 sp<Fence> fence(new Fence);
413 result = reply.read(*fence);
415 ALOGE("getLastQueuedBuffer failed to read fence: %d", result);
419 *outFence = fence;
488 sp<Fence> fence;
489 int result = dequeueBuffer(&buf, &fence, width, height, format,
492 reply->writeInt32(fence != NULL);
493 if (fence != NULL) {
494 reply->write(*fence);
509 sp<Fence> fence;
510 int32_t result = detachNextBuffer(&buffer, &fence);
517 reply->writeInt32(fence != NULL);
518 if (fence != NULL) {
519 reply->write(*fence);
549 sp<Fence> fence = new Fence();
550 data.read(*fence.get());
551 status_t result = cancelBuffer(buf, fence);
655 sp<Fence> fence(Fence::NO_FENCE);
657 status_t result = getLastQueuedBuffer(&buffer, &fence, transform);
675 result = reply->write(*fence);
677 ALOGE("getLastQueuedBuffer failed to write fence: %d", result);
714 + fence->getFlattenedSize()
719 return fence->getFdCount();
735 status_t result = fence->flatten(buffer, size, fds, count);
766 fence = new Fence();
767 status_t result = fence->unflatten(buffer, size, fds, count);