Lines Matching refs:mFd
65 if(ioctl(mFd, FBIOGET_VSCREENINFO, &mVInfo) < 0) { in configure()
89 VirtualDisplay::VirtualDisplay(hwc_context_t* ctx):mFd(-1), in VirtualDisplay()
195 if (mFd == -1) { in openFrameBuffer()
202 mFd = open(strDevPath, O_RDWR); in openFrameBuffer()
203 if(mFd < 0) { in openFrameBuffer()
208 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; in openFrameBuffer()
215 if(mFd >= 0) { in closeFrameBuffer()
216 if(close(mFd) < 0 ) { in closeFrameBuffer()
217 ALOGE("%s: Unable to close FD(%d)", __FUNCTION__, mFd); in closeFrameBuffer()
220 mFd = -1; in closeFrameBuffer()
221 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; in closeFrameBuffer()