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 5 --hash notfrozen -t --stability vintf --min_sdk_version 31 -pout/soong/.intermediates/hardware/interfaces/audio/aidl/android.hardware.audio.common_interface/4/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/common/aidl/android.hardware.common_interface/2/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/common/fmq/aidl/android.hardware.common.fmq_interface/1/preprocessed.aidl --previous_api_dir=hardware/interfaces/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/4 --previous_hash ac25616dda1c45dc2915d3f5ac82687a1a6f6e46 --ninja -d out/soong/.intermediates/hardware/interfaces/bluetooth/audio/aidl/android.hardware.bluetooth.audio-V5-ndk-source/gen/staging/android/hardware/bluetooth/audio/Phy.cpp.d -h out/soong/.intermediates/hardware/interfaces/bluetooth/audio/aidl/android.hardware.bluetooth.audio-V5-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/bluetooth/audio/aidl/android.hardware.bluetooth.audio-V5-ndk-source/gen/staging -Nhardware/interfaces/bluetooth/audio/aidl hardware/interfaces/bluetooth/audio/aidl/android/hardware/bluetooth/audio/Phy.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 bluetooth {
26 namespace audio {
27 enum class Phy : int8_t {
28   UNDEFINED = 0,
29   ONE_M = 1,
30   TWO_M = 2,
31   CODED = 3,
32 };
33 
34 }  // namespace audio
35 }  // namespace bluetooth
36 }  // namespace hardware
37 }  // namespace android
38 }  // namespace aidl
39 namespace aidl {
40 namespace android {
41 namespace hardware {
42 namespace bluetooth {
43 namespace audio {
toString(Phy val)44 [[nodiscard]] static inline std::string toString(Phy val) {
45   switch(val) {
46   case Phy::UNDEFINED:
47     return "UNDEFINED";
48   case Phy::ONE_M:
49     return "ONE_M";
50   case Phy::TWO_M:
51     return "TWO_M";
52   case Phy::CODED:
53     return "CODED";
54   default:
55     return std::to_string(static_cast<int8_t>(val));
56   }
57 }
58 }  // namespace audio
59 }  // namespace bluetooth
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::bluetooth::audio::Phy, 4> enum_values<aidl::android::hardware::bluetooth::audio::Phy> = {
69   aidl::android::hardware::bluetooth::audio::Phy::UNDEFINED,
70   aidl::android::hardware::bluetooth::audio::Phy::ONE_M,
71   aidl::android::hardware::bluetooth::audio::Phy::TWO_M,
72   aidl::android::hardware::bluetooth::audio::Phy::CODED,
73 };
74 #pragma clang diagnostic pop
75 }  // namespace internal
76 }  // namespace ndk
77