Lines Matching defs:fenceFd
177 sp<GraphicBuffer> buffer, int fenceFd);
179 GraphicBuffer** buffer, int* fenceFd);
328 int fenceFd = -1;
329 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd);
354 Image_setNativeContext(env, image, buffer, fenceFd);
403 int fenceFd = -1;
404 Image_getNativeContext(env, image, &buffer, &fenceFd);
413 anw->cancelBuffer(anw.get(), buffer, fenceFd);
432 int fenceFd = -1;
433 Image_getNativeContext(env, image, &buffer, &fenceFd);
464 res = anw->queueBuffer(anw.get(), buffer, fenceFd);
556 res = anw->queueBuffer(anw.get(), opaqueBuffer->mGraphicBuffer.get(), /*fenceFd*/
581 GraphicBuffer** buffer, int* fenceFd) {
589 if (fenceFd != NULL) {
590 *fenceFd = reinterpret_cast<jint>(env->GetIntField(
596 sp<GraphicBuffer> buffer, int fenceFd) {
599 Image_getNativeContext(env, thiz, &p, /*fenceFd*/NULL);
609 env->SetIntField(thiz, gSurfaceImageClassInfo.mNativeFenceFd, reinterpret_cast<jint>(fenceFd));
681 static void Image_setFenceFd(JNIEnv* env, jobject thiz, int fenceFd) {
683 env->SetIntField(thiz, gSurfaceImageClassInfo.mNativeFenceFd, reinterpret_cast<jint>(fenceFd));
689 int fenceFd = -1;
690 Image_getNativeContext(env, thiz, &buffer, &fenceFd);
700 buffer, GRALLOC_USAGE_SW_WRITE_OFTEN, noCrop, fenceFd, image);
701 // Clear the fenceFd as it is already consumed by lock call.
702 Image_setFenceFd(env, thiz, /*fenceFd*/-1);