Alice Kuo | 965138a | 2021-10-19 17:07:45 +0800 | [diff] [blame^] | 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 | package android.hardware.bluetooth.audio@2.2; |
| 18 | |
| 19 | import @2.1::IBluetoothAudioProvidersFactory; |
| 20 | |
| 21 | /** |
| 22 | * This factory allows a HAL implementation to be split into multiple |
| 23 | * independent providers. |
| 24 | * |
| 25 | * When the Bluetooth stack is ready to create an audio session, it must first |
| 26 | * obtain the IBluetoothAudioProvider for that session type by calling |
| 27 | * openProvider(). |
| 28 | * |
| 29 | * Note: For HIDL APIs with a "generates" statement, the callback parameter used |
| 30 | * for return value must be invoked synchronously before the API call returns. |
| 31 | */ |
| 32 | interface IBluetoothAudioProvidersFactory extends @2.1::IBluetoothAudioProvidersFactory { |
| 33 | }; |