diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/Android.bp | 15 | ||||
-rw-r--r-- | common/bluetooth/constants/aics/GainMode.aidl | 6 |
2 files changed, 21 insertions, 0 deletions
diff --git a/common/Android.bp b/common/Android.bp index 9afdd9dcfc..900cc365d7 100644 --- a/common/Android.bp +++ b/common/Android.bp @@ -12,3 +12,18 @@ aidl_library { ], visibility: ["//packages/modules/Bluetooth:__subpackages__"], } + +// other java component doesn't know how to depend on an aidl_library +java_library { + name: "bluetooth_constants_java", + srcs: [ + "bluetooth/constants/AudioInputType.aidl", + "bluetooth/constants/aics/AudioInputStatus.aidl", + "bluetooth/constants/aics/GainMode.aidl", + "bluetooth/constants/aics/Mute.aidl", + ], + apex_available: ["com.android.btservices"], + min_sdk_version: "Tiramisu", + sdk_version: "module_current", + visibility: ["//packages/modules/Bluetooth:__subpackages__"], +} diff --git a/common/bluetooth/constants/aics/GainMode.aidl b/common/bluetooth/constants/aics/GainMode.aidl index 97405e75d1..2f3516a290 100644 --- a/common/bluetooth/constants/aics/GainMode.aidl +++ b/common/bluetooth/constants/aics/GainMode.aidl @@ -18,6 +18,12 @@ package bluetooth.constants.aics; /** * See Audio Input Control Service 1.0 - 2.2.1.3. Gain_Mode field + * The Gain_Mode field shall be set to a value that reflects whether gain modes are manual + * or automatic. + * - Manual Only, the server allows only manual gain. + * - Automatic Only, the server allows only automatic gain. + * + * For all other Gain_Mode field values, the server allows switchable automatic/manual gain. * {@hide} */ @JavaDerive(toString = true) |