Lines Matching refs:fd
106 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = fb_fd;
208 if(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd) {
209 close(ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd);
210 ctx->dpyAttr[HWC_DISPLAY_PRIMARY].fd = -1;
606 int fd) {
676 else if(fd >= 0) {
677 //set the acquireFD from fd - which is coming from c2d
678 acquireFd[count++] = fd;
688 fbFd = ctx->dpyAttr[dpy].fd;
701 ALOGE("%s: acq_fen_fd_cnt=%d flags=%d fd=%d dpy=%d numHwLayers=%d",
719 if(fd >= 0) {
720 close(fd);
721 fd = -1;