1 /*
2  * Copyright 2022 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #pragma once
18 
19 /***
20  * Because some dependencies of AIDL libraries use syslog LOG macros, we must
21  * include them in the following order to use in libbluetooth.
22  ***/
23 
24 // clang-format off
25 
26 #include <aidl/android/hardware/audio/common/SinkMetadata.h>
27 #include <aidl/android/hardware/audio/common/SourceMetadata.h>
28 #include <aidl/android/hardware/bluetooth/audio/BnBluetoothAudioPort.h>
29 #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProvider.h>
30 
31 #include <aidl/android/hardware/bluetooth/audio/AacCapabilities.h>
32 #include <aidl/android/hardware/bluetooth/audio/AacConfiguration.h>
33 #include <aidl/android/hardware/bluetooth/audio/AacObjectType.h>
34 #include <aidl/android/hardware/bluetooth/audio/AptxCapabilities.h>
35 #include <aidl/android/hardware/bluetooth/audio/AptxConfiguration.h>
36 #include <aidl/android/hardware/bluetooth/audio/AudioCapabilities.h>
37 #include <aidl/android/hardware/bluetooth/audio/AudioConfiguration.h>
38 #include <aidl/android/hardware/bluetooth/audio/AudioLocation.h>
39 #include <aidl/android/hardware/bluetooth/audio/BluetoothAudioStatus.h>
40 #include <aidl/android/hardware/bluetooth/audio/ChannelMode.h>
41 #include <aidl/android/hardware/bluetooth/audio/CodecCapabilities.h>
42 #include <aidl/android/hardware/bluetooth/audio/CodecConfiguration.h>
43 #include <aidl/android/hardware/bluetooth/audio/CodecType.h>
44 #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioPort.h>
45 #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProvider.h>
46 #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProviderFactory.h>
47 #include <aidl/android/hardware/bluetooth/audio/LatencyMode.h>
48 #include <aidl/android/hardware/bluetooth/audio/Lc3Capabilities.h>
49 #include <aidl/android/hardware/bluetooth/audio/Lc3Configuration.h>
50 #include <aidl/android/hardware/bluetooth/audio/LdacCapabilities.h>
51 #include <aidl/android/hardware/bluetooth/audio/LdacChannelMode.h>
52 #include <aidl/android/hardware/bluetooth/audio/LdacConfiguration.h>
53 #include <aidl/android/hardware/bluetooth/audio/LdacQualityIndex.h>
54 #include <aidl/android/hardware/bluetooth/audio/LeAudioBroadcastConfiguration.h>
55 #include <aidl/android/hardware/bluetooth/audio/LeAudioCodecCapabilitiesSetting.h>
56 #include <aidl/android/hardware/bluetooth/audio/LeAudioCodecConfiguration.h>
57 #include <aidl/android/hardware/bluetooth/audio/LeAudioConfiguration.h>
58 #include <aidl/android/hardware/bluetooth/audio/PcmCapabilities.h>
59 #include <aidl/android/hardware/bluetooth/audio/PcmConfiguration.h>
60 #include <aidl/android/hardware/bluetooth/audio/PresentationPosition.h>
61 #include <aidl/android/hardware/bluetooth/audio/SbcAllocMethod.h>
62 #include <aidl/android/hardware/bluetooth/audio/SbcCapabilities.h>
63 #include <aidl/android/hardware/bluetooth/audio/SbcChannelMode.h>
64 #include <aidl/android/hardware/bluetooth/audio/SbcConfiguration.h>
65 #include <aidl/android/hardware/bluetooth/audio/SessionType.h>
66 
67 
68 #ifdef LOG_INFO
69 #undef LOG_INFO
70 #endif
71 #ifdef LOG_WARNING
72 #undef LOG_WARNING
73 #endif
74 #ifdef LOG_DEBUG
75 #undef LOG_DEBUG
76 #endif
77 
78 // clang-format on