Loading system/audio_hal_interface/aidl/audio_aidl_interfaces.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -45,6 +45,7 @@ #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioPort.h> #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioPort.h> #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProvider.h> #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProvider.h> #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProviderFactory.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/Lc3Capabilities.h> #include <aidl/android/hardware/bluetooth/audio/Lc3Configuration.h> #include <aidl/android/hardware/bluetooth/audio/Lc3Configuration.h> #include <aidl/android/hardware/bluetooth/audio/LdacCapabilities.h> #include <aidl/android/hardware/bluetooth/audio/LdacCapabilities.h> Loading system/audio_hal_interface/aidl/bluetooth_audio_port_impl.cc +10 −0 Original line number Original line Diff line number Diff line Loading @@ -132,6 +132,16 @@ ndk::ScopedAStatus BluetoothAudioPortImpl::updateSinkMetadata( return ndk::ScopedAStatus::ok(); return ndk::ScopedAStatus::ok(); } } ndk::ScopedAStatus BluetoothAudioPortImpl::setLatencyMode( LatencyMode latency_mode) { return ndk::ScopedAStatus::ok(); } ndk::ScopedAStatus BluetoothAudioPortImpl::setCodecType( CodecType codec_type) { return ndk::ScopedAStatus::ok(); } PresentationPosition::TimeSpec BluetoothAudioPortImpl::timespec_convert_to_hal( PresentationPosition::TimeSpec BluetoothAudioPortImpl::timespec_convert_to_hal( const timespec& ts) { const timespec& ts) { return {.tvSec = static_cast<int64_t>(ts.tv_sec), return {.tvSec = static_cast<int64_t>(ts.tv_sec), Loading system/audio_hal_interface/aidl/bluetooth_audio_port_impl.h +6 −0 Original line number Original line Diff line number Diff line Loading @@ -26,7 +26,9 @@ namespace aidl { using ::aidl::android::hardware::audio::common::SinkMetadata; using ::aidl::android::hardware::audio::common::SinkMetadata; using ::aidl::android::hardware::audio::common::SourceMetadata; using ::aidl::android::hardware::audio::common::SourceMetadata; using ::aidl::android::hardware::bluetooth::audio::BnBluetoothAudioPort; using ::aidl::android::hardware::bluetooth::audio::BnBluetoothAudioPort; using ::aidl::android::hardware::bluetooth::audio::CodecType; using ::aidl::android::hardware::bluetooth::audio::IBluetoothAudioProvider; using ::aidl::android::hardware::bluetooth::audio::IBluetoothAudioProvider; using ::aidl::android::hardware::bluetooth::audio::LatencyMode; using ::aidl::android::hardware::bluetooth::audio::PresentationPosition; using ::aidl::android::hardware::bluetooth::audio::PresentationPosition; class BluetoothAudioPortImpl : public BnBluetoothAudioPort { class BluetoothAudioPortImpl : public BnBluetoothAudioPort { Loading @@ -50,6 +52,10 @@ class BluetoothAudioPortImpl : public BnBluetoothAudioPort { ndk::ScopedAStatus updateSinkMetadata( ndk::ScopedAStatus updateSinkMetadata( const SinkMetadata& sink_metadata) override; const SinkMetadata& sink_metadata) override; ndk::ScopedAStatus setLatencyMode(LatencyMode latency_mode) override; ndk::ScopedAStatus setCodecType(CodecType codec_type) override; protected: protected: virtual ~BluetoothAudioPortImpl(); virtual ~BluetoothAudioPortImpl(); Loading system/audio_hal_interface/aidl/transport_instance.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,7 @@ namespace audio { namespace aidl { namespace aidl { using ::aidl::android::hardware::bluetooth::audio::AudioConfiguration; using ::aidl::android::hardware::bluetooth::audio::AudioConfiguration; using ::aidl::android::hardware::bluetooth::audio::LatencyMode; using ::aidl::android::hardware::bluetooth::audio::SessionType; using ::aidl::android::hardware::bluetooth::audio::SessionType; /*** /*** Loading Loading
system/audio_hal_interface/aidl/audio_aidl_interfaces.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -45,6 +45,7 @@ #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioPort.h> #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioPort.h> #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProvider.h> #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProvider.h> #include <aidl/android/hardware/bluetooth/audio/IBluetoothAudioProviderFactory.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/Lc3Capabilities.h> #include <aidl/android/hardware/bluetooth/audio/Lc3Configuration.h> #include <aidl/android/hardware/bluetooth/audio/Lc3Configuration.h> #include <aidl/android/hardware/bluetooth/audio/LdacCapabilities.h> #include <aidl/android/hardware/bluetooth/audio/LdacCapabilities.h> Loading
system/audio_hal_interface/aidl/bluetooth_audio_port_impl.cc +10 −0 Original line number Original line Diff line number Diff line Loading @@ -132,6 +132,16 @@ ndk::ScopedAStatus BluetoothAudioPortImpl::updateSinkMetadata( return ndk::ScopedAStatus::ok(); return ndk::ScopedAStatus::ok(); } } ndk::ScopedAStatus BluetoothAudioPortImpl::setLatencyMode( LatencyMode latency_mode) { return ndk::ScopedAStatus::ok(); } ndk::ScopedAStatus BluetoothAudioPortImpl::setCodecType( CodecType codec_type) { return ndk::ScopedAStatus::ok(); } PresentationPosition::TimeSpec BluetoothAudioPortImpl::timespec_convert_to_hal( PresentationPosition::TimeSpec BluetoothAudioPortImpl::timespec_convert_to_hal( const timespec& ts) { const timespec& ts) { return {.tvSec = static_cast<int64_t>(ts.tv_sec), return {.tvSec = static_cast<int64_t>(ts.tv_sec), Loading
system/audio_hal_interface/aidl/bluetooth_audio_port_impl.h +6 −0 Original line number Original line Diff line number Diff line Loading @@ -26,7 +26,9 @@ namespace aidl { using ::aidl::android::hardware::audio::common::SinkMetadata; using ::aidl::android::hardware::audio::common::SinkMetadata; using ::aidl::android::hardware::audio::common::SourceMetadata; using ::aidl::android::hardware::audio::common::SourceMetadata; using ::aidl::android::hardware::bluetooth::audio::BnBluetoothAudioPort; using ::aidl::android::hardware::bluetooth::audio::BnBluetoothAudioPort; using ::aidl::android::hardware::bluetooth::audio::CodecType; using ::aidl::android::hardware::bluetooth::audio::IBluetoothAudioProvider; using ::aidl::android::hardware::bluetooth::audio::IBluetoothAudioProvider; using ::aidl::android::hardware::bluetooth::audio::LatencyMode; using ::aidl::android::hardware::bluetooth::audio::PresentationPosition; using ::aidl::android::hardware::bluetooth::audio::PresentationPosition; class BluetoothAudioPortImpl : public BnBluetoothAudioPort { class BluetoothAudioPortImpl : public BnBluetoothAudioPort { Loading @@ -50,6 +52,10 @@ class BluetoothAudioPortImpl : public BnBluetoothAudioPort { ndk::ScopedAStatus updateSinkMetadata( ndk::ScopedAStatus updateSinkMetadata( const SinkMetadata& sink_metadata) override; const SinkMetadata& sink_metadata) override; ndk::ScopedAStatus setLatencyMode(LatencyMode latency_mode) override; ndk::ScopedAStatus setCodecType(CodecType codec_type) override; protected: protected: virtual ~BluetoothAudioPortImpl(); virtual ~BluetoothAudioPortImpl(); Loading
system/audio_hal_interface/aidl/transport_instance.h +1 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,7 @@ namespace audio { namespace aidl { namespace aidl { using ::aidl::android::hardware::bluetooth::audio::AudioConfiguration; using ::aidl::android::hardware::bluetooth::audio::AudioConfiguration; using ::aidl::android::hardware::bluetooth::audio::LatencyMode; using ::aidl::android::hardware::bluetooth::audio::SessionType; using ::aidl::android::hardware::bluetooth::audio::SessionType; /*** /*** Loading