Lines Matching refs:m_flashFds
78 m_flashFds[pos] = -1; in QCameraFlash()
94 if (m_flashFds[pos] >= 0) in ~QCameraFlash()
97 close(m_flashFds[pos]); in ~QCameraFlash()
98 m_flashFds[pos] = -1; in ~QCameraFlash()
166 } else if (m_flashFds[camera_id] >= 0) { in initFlash()
170 m_flashFds[camera_id] = open(flashPath, O_RDWR | O_NONBLOCK); in initFlash()
172 if (m_flashFds[camera_id] < 0) { in initFlash()
184 retVal = ioctl(m_flashFds[camera_id], in initFlash()
190 close(m_flashFds[camera_id]); in initFlash()
191 m_flashFds[camera_id] = -1; in initFlash()
232 } else if (m_flashFds[camera_id] < 0) { in setFlashMode()
241 retVal = ioctl(m_flashFds[camera_id], in setFlashMode()
276 } else if (m_flashFds[camera_id] < 0) { in deinitFlash()
284 retVal = ioctl(m_flashFds[camera_id], in deinitFlash()
292 close(m_flashFds[camera_id]); in deinitFlash()
293 m_flashFds[camera_id] = -1; in deinitFlash()