1 /*
2 * This file is auto-generated. DO NOT MODIFY.
3 * Using: out/host/linux-x86/bin/aidl --lang=ndk -Weverything -Wno-missing-permission-annotation --structured --version 4 --hash notfrozen -t --stability vintf --min_sdk_version current -pout/soong/.intermediates/hardware/interfaces/graphics/common/aidl/android.hardware.graphics.common_interface/6/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/common/aidl/android.hardware.common_interface/2/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/drm/common/aidl/android.hardware.drm.common_interface/1/preprocessed.aidl --previous_api_dir=hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/3 --previous_hash d24fcd9648b8b2e7287f9238eee9180244612c10 --ninja -d out/soong/.intermediates/hardware/interfaces/graphics/composer/aidl/android.hardware.graphics.composer3-V4-ndk-source/gen/staging/android/hardware/graphics/composer3/OutputType.cpp.d -h out/soong/.intermediates/hardware/interfaces/graphics/composer/aidl/android.hardware.graphics.composer3-V4-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/graphics/composer/aidl/android.hardware.graphics.composer3-V4-ndk-source/gen/staging -Nhardware/interfaces/graphics/composer/aidl hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/OutputType.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 graphics {
26 namespace composer3 {
27 enum class OutputType : int32_t {
28 INVALID = 0,
29 SYSTEM = 1,
30 SDR = 2,
31 HDR10 = 3,
32 };
33
34 } // namespace composer3
35 } // namespace graphics
36 } // namespace hardware
37 } // namespace android
38 } // namespace aidl
39 namespace aidl {
40 namespace android {
41 namespace hardware {
42 namespace graphics {
43 namespace composer3 {
toString(OutputType val)44 [[nodiscard]] static inline std::string toString(OutputType val) {
45 switch(val) {
46 case OutputType::INVALID:
47 return "INVALID";
48 case OutputType::SYSTEM:
49 return "SYSTEM";
50 case OutputType::SDR:
51 return "SDR";
52 case OutputType::HDR10:
53 return "HDR10";
54 default:
55 return std::to_string(static_cast<int32_t>(val));
56 }
57 }
58 } // namespace composer3
59 } // namespace graphics
60 } // namespace hardware
61 } // namespace android
62 } // namespace aidl
63 namespace ndk {
64 namespace internal {
65 #pragma clang diagnostic push
66 #pragma clang diagnostic ignored "-Wc++17-extensions"
67 template <>
68 constexpr inline std::array<aidl::android::hardware::graphics::composer3::OutputType, 4> enum_values<aidl::android::hardware::graphics::composer3::OutputType> = {
69 aidl::android::hardware::graphics::composer3::OutputType::INVALID,
70 aidl::android::hardware::graphics::composer3::OutputType::SYSTEM,
71 aidl::android::hardware::graphics::composer3::OutputType::SDR,
72 aidl::android::hardware::graphics::composer3::OutputType::HDR10,
73 };
74 #pragma clang diagnostic pop
75 } // namespace internal
76 } // namespace ndk
77