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()
213 if (mFd == -1) { in openFrameBuffer()
220 mFd = open(strDevPath, O_RDWR); in openFrameBuffer()
221 if(mFd < 0) { in openFrameBuffer()
226 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; in openFrameBuffer()
233 if(mFd >= 0) { in closeFrameBuffer()
234 if(close(mFd) < 0 ) { in closeFrameBuffer()
235 ALOGE("%s: Unable to close FD(%d)", __FUNCTION__, mFd); in closeFrameBuffer()
238 mFd = -1; in closeFrameBuffer()
239 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; in closeFrameBuffer()