summaryrefslogtreecommitdiff
path: root/framework/api
diff options
context:
space:
mode:
author Łukasz Rymanowski <rlukasz@google.com> 2024-03-27 09:03:15 +0000
committer Łukasz Rymanowski <rlukasz@google.com> 2024-09-30 12:55:29 +0000
commit893fdced511c0d6ab263b5a48eb04281a79eefce (patch)
tree1446422acf1cb6fa60e1df9aebf50b9c2524f146 /framework/api
parente7a55e261394d68a3ebc4d05d9de4be31d0686b8 (diff)
BluetoothLeAudio: Add MONO location
Due to errata audio location 0x0000 is not "invalid" anymore but instead "Mono Audio (no specified Audio Location)" https://www.bluetooth.com/specifications/assigned-numbers/ 6.12.1 Audio Location Definitions Also new Unknown location is added which is used only when Bluetooth is not available. Bug: 330847930 Bug: 331139722 Test: mmm packages/modules/Bluetooth Change-Id: Ibadaee63edd123ba4b31edade524344d6689135e
Diffstat (limited to 'framework/api')
-rw-r--r--framework/api/system-current.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/api/system-current.txt b/framework/api/system-current.txt
index 783635e7d4..5d5b4dd455 100644
--- a/framework/api/system-current.txt
+++ b/framework/api/system-current.txt
@@ -483,6 +483,7 @@ package android.bluetooth {
field public static final int AUDIO_LOCATION_LEFT_SURROUND = 67108864; // 0x4000000
field public static final int AUDIO_LOCATION_LOW_FREQ_EFFECTS_ONE = 8; // 0x8
field public static final int AUDIO_LOCATION_LOW_FREQ_EFFECTS_TWO = 512; // 0x200
+ field @FlaggedApi("com.android.bluetooth.flags.leaudio_mono_location_errata") public static final int AUDIO_LOCATION_MONO = 0; // 0x0
field public static final int AUDIO_LOCATION_RIGHT_SURROUND = 134217728; // 0x8000000
field public static final int AUDIO_LOCATION_SIDE_LEFT = 1024; // 0x400
field public static final int AUDIO_LOCATION_SIDE_RIGHT = 2048; // 0x800
@@ -495,6 +496,7 @@ package android.bluetooth {
field public static final int AUDIO_LOCATION_TOP_FRONT_RIGHT = 8192; // 0x2000
field public static final int AUDIO_LOCATION_TOP_SIDE_LEFT = 262144; // 0x40000
field public static final int AUDIO_LOCATION_TOP_SIDE_RIGHT = 524288; // 0x80000
+ field @FlaggedApi("com.android.bluetooth.flags.leaudio_mono_location_errata") public static final int AUDIO_LOCATION_UNKNOWN = -2147483648; // 0x80000000
field public static final String EXTRA_LE_AUDIO_GROUP_ID = "android.bluetooth.extra.LE_AUDIO_GROUP_ID";
field public static final int GROUP_STREAM_STATUS_IDLE = 0; // 0x0
field public static final int GROUP_STREAM_STATUS_STREAMING = 1; // 0x1