| /* |
| * Copyright (C) 2024 The LineageOS Project |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| #pragma once |
| |
| #include <CameraModule.h> |
| |
| namespace android { |
| namespace hardware { |
| namespace camera { |
| namespace common { |
| namespace helper { |
| |
| class SamsungCameraModule : public CameraModule { |
| public: |
| explicit SamsungCameraModule(camera_module_t* module); |
| virtual ~SamsungCameraModule(); |
| |
| bool isSetTorchModeStrengthSupported(); |
| int setTorchModeStrength(const char* camera_id, bool enable, int strength); |
| |
| private: |
| camera_module_t* mModule; |
| }; |
| |
| } // namespace helper |
| } // namespace common |
| } // namespace camera |
| } // namespace hardware |
| } // namespace android |