Lines Matching refs:m_flashFds
75 m_flashFds[pos] = -1; in QCameraFlash()
91 if (m_flashFds[pos] >= 0) in ~QCameraFlash()
94 close(m_flashFds[pos]); in ~QCameraFlash()
95 m_flashFds[pos] = -1; in ~QCameraFlash()
165 } 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()
180 retVal = ioctl(m_flashFds[camera_id], in initFlash()
187 close(m_flashFds[camera_id]); in initFlash()
188 m_flashFds[camera_id] = -1; in initFlash()
226 } else if (m_flashFds[camera_id] < 0) { in setFlashMode()
231 retVal = ioctl(m_flashFds[camera_id], in setFlashMode()
262 } else if (m_flashFds[camera_id] < 0) { in deinitFlash()
270 retVal = ioctl(m_flashFds[camera_id], in deinitFlash()
279 close(m_flashFds[camera_id]); in deinitFlash()
280 m_flashFds[camera_id] = -1; in deinitFlash()