Loading bluetooth/audio/2.2/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ hidl_interface { root: "android.hardware", srcs: [ "types.hal", "IBluetoothAudioPort.hal", "IBluetoothAudioProvider.hal", "IBluetoothAudioProvidersFactory.hal", ], Loading bluetooth/audio/2.2/IBluetoothAudioPort.hal 0 → 100644 +30 −0 Original line number Diff line number Diff line /* * Copyright 2021 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. */ package android.hardware.bluetooth.audio@2.2; import @2.0::IBluetoothAudioPort; import android.hardware.audio.common@5.0::SinkMetadata; interface IBluetoothAudioPort extends @2.0::IBluetoothAudioPort { /** * Called when the metadata of the stream's sink has been changed. * * @param sinkMetadata Description of the audio that is recorded by the * clients. */ updateSinkMetadata(SinkMetadata sinkMetadata); }; bluetooth/audio/2.2/IBluetoothAudioProvider.hal +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ package android.hardware.bluetooth.audio@2.2; import @2.1::IBluetoothAudioProvider; import @2.0::IBluetoothAudioPort; import @2.2::IBluetoothAudioPort; import @2.0::Status; /** Loading bluetooth/audio/2.2/default/A2dpOffloadAudioProvider.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ bool A2dpOffloadAudioProvider::isValid(const V2_1::SessionType& sessionType) { } Return<void> A2dpOffloadAudioProvider::startSession( const sp<IBluetoothAudioPort>& hostIf, const sp<V2_0::IBluetoothAudioPort>& hostIf, const AudioConfiguration& audioConfig, startSession_cb _hidl_cb) { /** * Initialize the audio platform if audioConfiguration is supported. Loading bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ bool A2dpSoftwareAudioProvider::isValid(const V2_1::SessionType& sessionType) { } Return<void> A2dpSoftwareAudioProvider::startSession( const sp<IBluetoothAudioPort>& hostIf, const sp<V2_0::IBluetoothAudioPort>& hostIf, const AudioConfiguration& audioConfig, startSession_cb _hidl_cb) { /** * Initialize the audio platform if audioConfiguration is supported. Loading Loading
bluetooth/audio/2.2/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ hidl_interface { root: "android.hardware", srcs: [ "types.hal", "IBluetoothAudioPort.hal", "IBluetoothAudioProvider.hal", "IBluetoothAudioProvidersFactory.hal", ], Loading
bluetooth/audio/2.2/IBluetoothAudioPort.hal 0 → 100644 +30 −0 Original line number Diff line number Diff line /* * Copyright 2021 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. */ package android.hardware.bluetooth.audio@2.2; import @2.0::IBluetoothAudioPort; import android.hardware.audio.common@5.0::SinkMetadata; interface IBluetoothAudioPort extends @2.0::IBluetoothAudioPort { /** * Called when the metadata of the stream's sink has been changed. * * @param sinkMetadata Description of the audio that is recorded by the * clients. */ updateSinkMetadata(SinkMetadata sinkMetadata); };
bluetooth/audio/2.2/IBluetoothAudioProvider.hal +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ package android.hardware.bluetooth.audio@2.2; import @2.1::IBluetoothAudioProvider; import @2.0::IBluetoothAudioPort; import @2.2::IBluetoothAudioPort; import @2.0::Status; /** Loading
bluetooth/audio/2.2/default/A2dpOffloadAudioProvider.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ bool A2dpOffloadAudioProvider::isValid(const V2_1::SessionType& sessionType) { } Return<void> A2dpOffloadAudioProvider::startSession( const sp<IBluetoothAudioPort>& hostIf, const sp<V2_0::IBluetoothAudioPort>& hostIf, const AudioConfiguration& audioConfig, startSession_cb _hidl_cb) { /** * Initialize the audio platform if audioConfiguration is supported. Loading
bluetooth/audio/2.2/default/A2dpSoftwareAudioProvider.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ bool A2dpSoftwareAudioProvider::isValid(const V2_1::SessionType& sessionType) { } Return<void> A2dpSoftwareAudioProvider::startSession( const sp<IBluetoothAudioPort>& hostIf, const sp<V2_0::IBluetoothAudioPort>& hostIf, const AudioConfiguration& audioConfig, startSession_cb _hidl_cb) { /** * Initialize the audio platform if audioConfiguration is supported. Loading