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()
185 retVal = ioctl(m_flashFds[camera_id], in initFlash()
192 close(m_flashFds[camera_id]); in initFlash()
193 m_flashFds[camera_id] = -1; in initFlash()
235 } else if (m_flashFds[camera_id] < 0) { in setFlashMode()
244 retVal = ioctl(m_flashFds[camera_id], in setFlashMode()
277 } else if (m_flashFds[camera_id] < 0) { in deinitFlash()
285 retVal = ioctl(m_flashFds[camera_id], in deinitFlash()
294 close(m_flashFds[camera_id]); in deinitFlash()
295 m_flashFds[camera_id] = -1; in deinitFlash()