1 /* 2 * Copyright 2021 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 #include "hal_version_manager.h" 18 19 namespace bluetooth { 20 namespace audio { 21 22 std::unique_ptr<HalVersionManager> HalVersionManager::instance_ptr = nullptr; 23 GetHalVersion()24BluetoothAudioHalVersion HalVersionManager::GetHalVersion() { 25 return BluetoothAudioHalVersion::VERSION_UNAVAILABLE; 26 } 27 GetHalTransport()28BluetoothAudioHalTransport HalVersionManager::GetHalTransport() { 29 return BluetoothAudioHalTransport::UNKNOWN; 30 } 31 32 android::sp<IBluetoothAudioProvidersFactory_2_1> GetProvidersFactory_2_1()33HalVersionManager::GetProvidersFactory_2_1() { 34 return nullptr; 35 } 36 37 android::sp<IBluetoothAudioProvidersFactory_2_0> GetProvidersFactory_2_0()38HalVersionManager::GetProvidersFactory_2_0() { 39 return nullptr; 40 } 41 HalVersionManager()42HalVersionManager::HalVersionManager() { 43 hal_version_ = BluetoothAudioHalVersion::VERSION_UNAVAILABLE; 44 } 45 46 } // namespace audio 47 } // namespace bluetooth 48