Home
last modified time | relevance | path

Searched refs:m_flashFds (Results 1 – 6 of 6) sorted by relevance

/device/lge/bullhead/camera/QCamera2/util/
DQCameraFlash.cpp75 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()
[all …]
DQCameraFlash.h61 int32_t m_flashFds[MM_CAMERA_MAX_NUM_SENSORS]; variable
/device/google/marlin/camera/QCamera2/util/
DQCameraFlash.cpp78 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()
[all …]
DQCameraFlash.h62 int32_t m_flashFds[MM_CAMERA_MAX_NUM_SENSORS]; variable
/device/huawei/angler/camera/QCamera2/util/
DQCameraFlash.cpp75 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()
[all …]
DQCameraFlash.h61 int32_t m_flashFds[MM_CAMERA_MAX_NUM_SENSORS]; variable