1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl --lang=ndk --structured --version 3 --hash c0c7370cf1dd22d0e7416ddb1cb942dd0035e59a -t --stability vintf --min_sdk_version current --ninja -d out/soong/.intermediates/hardware/interfaces/camera/metadata/aidl/android.hardware.camera.metadata-V3-ndk-source/gen/staging/android/hardware/camera/metadata/ControlLowLightBoostState.cpp.d -h out/soong/.intermediates/hardware/interfaces/camera/metadata/aidl/android.hardware.camera.metadata-V3-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/camera/metadata/aidl/android.hardware.camera.metadata-V3-ndk-source/gen/staging -Nhardware/interfaces/camera/metadata/aidl/aidl_api/android.hardware.camera.metadata/3 hardware/interfaces/camera/metadata/aidl/aidl_api/android.hardware.camera.metadata/3/android/hardware/camera/metadata/ControlLowLightBoostState.aidl 4 * 5 * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..). 6 * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER 7 * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE. 8 */ 9 #pragma once 10 11 #include <array> 12 #include <cstdint> 13 #include <memory> 14 #include <optional> 15 #include <string> 16 #include <vector> 17 #include <android/binder_enums.h> 18 #ifdef BINDER_STABILITY_SUPPORT 19 #include <android/binder_stability.h> 20 #endif // BINDER_STABILITY_SUPPORT 21 22 namespace aidl { 23 namespace android { 24 namespace hardware { 25 namespace camera { 26 namespace metadata { 27 enum class ControlLowLightBoostState : int32_t { 28 ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE_INACTIVE = 0, 29 ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE_ACTIVE = 1, 30 }; 31 32 } // namespace metadata 33 } // namespace camera 34 } // namespace hardware 35 } // namespace android 36 } // namespace aidl 37 namespace aidl { 38 namespace android { 39 namespace hardware { 40 namespace camera { 41 namespace metadata { toString(ControlLowLightBoostState val)42[[nodiscard]] static inline std::string toString(ControlLowLightBoostState val) { 43 switch(val) { 44 case ControlLowLightBoostState::ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE_INACTIVE: 45 return "ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE_INACTIVE"; 46 case ControlLowLightBoostState::ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE_ACTIVE: 47 return "ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE_ACTIVE"; 48 default: 49 return std::to_string(static_cast<int32_t>(val)); 50 } 51 } 52 } // namespace metadata 53 } // namespace camera 54 } // namespace hardware 55 } // namespace android 56 } // namespace aidl 57 namespace ndk { 58 namespace internal { 59 #pragma clang diagnostic push 60 #pragma clang diagnostic ignored "-Wc++17-extensions" 61 template <> 62 constexpr inline std::array<aidl::android::hardware::camera::metadata::ControlLowLightBoostState, 2> enum_values<aidl::android::hardware::camera::metadata::ControlLowLightBoostState> = { 63 aidl::android::hardware::camera::metadata::ControlLowLightBoostState::ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE_INACTIVE, 64 aidl::android::hardware::camera::metadata::ControlLowLightBoostState::ANDROID_CONTROL_LOW_LIGHT_BOOST_STATE_ACTIVE, 65 }; 66 #pragma clang diagnostic pop 67 } // namespace internal 68 } // namespace ndk 69