Lines Matching refs:camera_id
71 void CameraProvider::addDeviceNames(int camera_id, CameraDeviceStatus status, bool cam_new) in addDeviceNames() argument
74 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in addDeviceNames()
81 int deviceVersion = mModule->getDeviceVersion(camera_id); in addDeviceNames()
111 void CameraProvider::removeDeviceNames(int camera_id) in removeDeviceNames() argument
113 std::string cameraIdStr = std::to_string(camera_id); in removeDeviceNames()
117 int deviceVersion = mModule->getDeviceVersion(camera_id); in removeDeviceNames()
132 mModule->removeCamera(camera_id); in removeDeviceNames()
140 int camera_id, in sCameraDeviceStatusChange() argument
153 snprintf(cameraId, sizeof(cameraId), "%d", camera_id); in sCameraDeviceStatusChange()
170 cp->addDeviceNames(camera_id, status, true); in sCameraDeviceStatusChange()
175 cp->removeDeviceNames(camera_id); in sCameraDeviceStatusChange()
183 const char* camera_id, in sTorchModeStatusChange() argument
195 std::string cameraIdStr(camera_id); in sTorchModeStatusChange()