Loading audio/aidl/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -114,6 +114,7 @@ aidl_interface { "android/hardware/audio/core/AudioRoute.aidl", "android/hardware/audio/core/IBluetooth.aidl", "android/hardware/audio/core/IBluetoothA2dp.aidl", "android/hardware/audio/core/IBluetoothLe.aidl", "android/hardware/audio/core/IConfig.aidl", "android/hardware/audio/core/IModule.aidl", "android/hardware/audio/core/IStreamCallback.aidl", Loading graphics/common/aidl/aidl_api/android.hardware.graphics.common/current/android/hardware/graphics/common/ParcelableHdr.aidl→audio/aidl/aidl_api/android.hardware.audio.core/current/android/hardware/audio/core/IBluetoothLe.aidl +7 −6 Original line number Diff line number Diff line /** * Copyright (c) 2023, The Android Open Source Project /* * Copyright (C) 2023 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. Loading Loading @@ -31,8 +31,9 @@ // with such a backward incompatible change, it has a high risk of breaking // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.graphics.common; package android.hardware.audio.core; @VintfStability parcelable ParcelableHdr { android.hardware.graphics.common.Hdr hdr; interface IBluetoothLe { boolean isEnabled(); void setEnabled(boolean enabled); } audio/aidl/aidl_api/android.hardware.audio.core/current/android/hardware/audio/core/IModule.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ interface IModule { @nullable android.hardware.audio.core.ITelephony getTelephony(); @nullable android.hardware.audio.core.IBluetooth getBluetooth(); @nullable android.hardware.audio.core.IBluetoothA2dp getBluetoothA2dp(); @nullable android.hardware.audio.core.IBluetoothLe getBluetoothLe(); android.media.audio.common.AudioPort connectExternalDevice(in android.media.audio.common.AudioPort templateIdAndAdditionalData); void disconnectExternalDevice(int portId); android.hardware.audio.core.AudioPatch[] getAudioPatches(); Loading audio/aidl/android/hardware/audio/core/IBluetooth.aidl +3 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,9 @@ import android.media.audio.common.Int; * and the SCO Link. This interface is optional to implement and provide by the * vendor. It needs to be provided only if the device actually supports BT SCO * or HFP. * * Each of IBluetooth* interfaces is independent of each other. The HAL module * can provide any combination of them. */ @VintfStability interface IBluetooth { Loading audio/aidl/android/hardware/audio/core/IBluetoothA2dp.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ import android.hardware.audio.core.VendorParameter; * the vendor. It needs to be provided only if the device actually supports BT * A2DP. * * This interface is separate from IBluetooth interface which manages SCO & HFP. * The HAL module can handle both SCO and A2DP profiles or only one of them. * Each of IBluetooth* interfaces is independent of each other. The HAL module * can provide any combination of them. */ @VintfStability interface IBluetoothA2dp { Loading Loading
audio/aidl/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -114,6 +114,7 @@ aidl_interface { "android/hardware/audio/core/AudioRoute.aidl", "android/hardware/audio/core/IBluetooth.aidl", "android/hardware/audio/core/IBluetoothA2dp.aidl", "android/hardware/audio/core/IBluetoothLe.aidl", "android/hardware/audio/core/IConfig.aidl", "android/hardware/audio/core/IModule.aidl", "android/hardware/audio/core/IStreamCallback.aidl", Loading
graphics/common/aidl/aidl_api/android.hardware.graphics.common/current/android/hardware/graphics/common/ParcelableHdr.aidl→audio/aidl/aidl_api/android.hardware.audio.core/current/android/hardware/audio/core/IBluetoothLe.aidl +7 −6 Original line number Diff line number Diff line /** * Copyright (c) 2023, The Android Open Source Project /* * Copyright (C) 2023 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. Loading Loading @@ -31,8 +31,9 @@ // with such a backward incompatible change, it has a high risk of breaking // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.graphics.common; package android.hardware.audio.core; @VintfStability parcelable ParcelableHdr { android.hardware.graphics.common.Hdr hdr; interface IBluetoothLe { boolean isEnabled(); void setEnabled(boolean enabled); }
audio/aidl/aidl_api/android.hardware.audio.core/current/android/hardware/audio/core/IModule.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ interface IModule { @nullable android.hardware.audio.core.ITelephony getTelephony(); @nullable android.hardware.audio.core.IBluetooth getBluetooth(); @nullable android.hardware.audio.core.IBluetoothA2dp getBluetoothA2dp(); @nullable android.hardware.audio.core.IBluetoothLe getBluetoothLe(); android.media.audio.common.AudioPort connectExternalDevice(in android.media.audio.common.AudioPort templateIdAndAdditionalData); void disconnectExternalDevice(int portId); android.hardware.audio.core.AudioPatch[] getAudioPatches(); Loading
audio/aidl/android/hardware/audio/core/IBluetooth.aidl +3 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,9 @@ import android.media.audio.common.Int; * and the SCO Link. This interface is optional to implement and provide by the * vendor. It needs to be provided only if the device actually supports BT SCO * or HFP. * * Each of IBluetooth* interfaces is independent of each other. The HAL module * can provide any combination of them. */ @VintfStability interface IBluetooth { Loading
audio/aidl/android/hardware/audio/core/IBluetoothA2dp.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ import android.hardware.audio.core.VendorParameter; * the vendor. It needs to be provided only if the device actually supports BT * A2DP. * * This interface is separate from IBluetooth interface which manages SCO & HFP. * The HAL module can handle both SCO and A2DP profiles or only one of them. * Each of IBluetooth* interfaces is independent of each other. The HAL module * can provide any combination of them. */ @VintfStability interface IBluetoothA2dp { Loading