From 893fdced511c0d6ab263b5a48eb04281a79eefce Mon Sep 17 00:00:00 2001 From: Ɓukasz Rymanowski Date: Wed, 27 Mar 2024 09:03:15 +0000 Subject: 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 --- framework/api/system-current.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/api') 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 -- cgit v1.2.3-59-g8ed1b