| /* |
| * Copyright 2022 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| #pragma once |
| |
| /*** |
| * Because some dependencies of AIDL libraries use syslog LOG macros, we must |
| * include them in the following order to use in libbluetooth. |
| ***/ |
| |
| // clang-format off |
| |
| #include <aidl/android/hardware/audio/common/SinkMetadata.h> |
| #include <aidl/android/hardware/audio/common/SourceMetadata.h> |
| #include <aidl/android/hardware/bluetooth/audio/BnBluetoothAudioPort.h> |
| #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProvider.h> |
| |
| #include <aidl/android/hardware/bluetooth/audio/AacCapabilities.h> |
| #include <aidl/android/hardware/bluetooth/audio/AacConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/AacObjectType.h> |
| #include <aidl/android/hardware/bluetooth/audio/AptxCapabilities.h> |
| #include <aidl/android/hardware/bluetooth/audio/AptxConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/AudioCapabilities.h> |
| #include <aidl/android/hardware/bluetooth/audio/AudioConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/AudioLocation.h> |
| #include <aidl/android/hardware/bluetooth/audio/BluetoothAudioStatus.h> |
| #include <aidl/android/hardware/bluetooth/audio/ChannelMode.h> |
| #include <aidl/android/hardware/bluetooth/audio/CodecCapabilities.h> |
| #include <aidl/android/hardware/bluetooth/audio/CodecConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/CodecType.h> |
| #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioPort.h> |
| #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProvider.h> |
| #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProviderFactory.h> |
| #include <aidl/android/hardware/bluetooth/audio/LatencyMode.h> |
| #include <aidl/android/hardware/bluetooth/audio/Lc3Capabilities.h> |
| #include <aidl/android/hardware/bluetooth/audio/Lc3Configuration.h> |
| #include <aidl/android/hardware/bluetooth/audio/LdacCapabilities.h> |
| #include <aidl/android/hardware/bluetooth/audio/LdacChannelMode.h> |
| #include <aidl/android/hardware/bluetooth/audio/LdacConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/LdacQualityIndex.h> |
| #include <aidl/android/hardware/bluetooth/audio/LeAudioBroadcastConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/LeAudioCodecCapabilitiesSetting.h> |
| #include <aidl/android/hardware/bluetooth/audio/LeAudioCodecConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/LeAudioConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/PcmCapabilities.h> |
| #include <aidl/android/hardware/bluetooth/audio/PcmConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/PresentationPosition.h> |
| #include <aidl/android/hardware/bluetooth/audio/SbcAllocMethod.h> |
| #include <aidl/android/hardware/bluetooth/audio/SbcCapabilities.h> |
| #include <aidl/android/hardware/bluetooth/audio/SbcChannelMode.h> |
| #include <aidl/android/hardware/bluetooth/audio/SbcConfiguration.h> |
| #include <aidl/android/hardware/bluetooth/audio/SessionType.h> |
| |
| |
| #ifdef LOG_INFO |
| #undef LOG_INFO |
| #endif |
| #ifdef LOG_WARNING |
| #undef LOG_WARNING |
| #endif |
| #ifdef LOG_DEBUG |
| #undef LOG_DEBUG |
| #endif |
| |
| #include <base/logging.h> |
| |
| // clang-format on |