sountrigger.types now has V1 (frozen) and V2 (unstable).
`sountrigger.types` without the version suffix references the unstable
one and causes an ODR violation where there's a transitive dependency to
V1 (via other stable AIDL interface).
Bug: 225941299
Test: m
Change-Id: Ia7a3f002a768a4a879bb8495467c75cb11844459
Platform APIs should not explicitly define the API version.
In Android.bp, platform_apis is set to true so the correct API
version will be chosen automatically.
Bug: 215743611
Change-Id: Ie974cbb41a1c2cb2d59991970d3d632a831c4462
Test: Verified Echo and Identity tests with MIDIMatrix
On native audioserver recovery the assistant UIDs will reset to an empty
list, followed by adding the current role or setting holder for
assistant. Also added a settings lock around the update assistant
method. Added remove assistant UID for reset hotword detection
connection.
Bug: 222584963
Bug: 222777782
Test: atest VoiceInteractionTest
Test: atest AudioManagerTest
Test: atest HotwordDetectionServiceBasicTest
Test: kill audio server and verify assistant UIDs is not increasing
unbounded.
Test: adb shell cmd voiceinteraction restart-detection, verify assistant
UIDs list is not increasing unbounded.
Change-Id: I475bfee1f0bcd56a750e4fef8aa8a2b93fe090fc
observations about missing action in close().
javadoc on some KEY_* fields.
Implement PlaybackStateEvent within BundleSession as example.
Bug: 220129161
Test: atest CtsMediaHostTestCases (with corresponding CLs for cts)
Change-Id: I09a8be6d3f2780ca97b6b08cd33ccf35b02c245f
In ag/16192242, several functions in Bluetooth relating to
characteristics were marked as unsafe and new ones were added.
This CL is meant to conform with these standards and potentially
remove a long standing bug.
Bug: 146385555
Test: Added Identity Reply/Request code to MIDIMatrix
and tested with Yamaha MD-BT01 for Android T->T, T->R, R->T
Change-Id: I07311296509d4d042fc92aec327f40993d2e6f54
- Adds a map to store information about audio devices using absolute
volume behavior. The map is updated when devices change behavior.
- setStreamVolume and adjustStreamVolume now notify absolute volume
listeners after changing the stream state.
- Added option for absolute volume dispatcher to dispatch abstract
volume adjustments (e.g. raise, lower, mute) as a result of calls to
adjustStreamVolume. When registering the listener, the controller
specifies whether it handles adjustments; if it does, future calls to
adjustStreamVolume are forwarded to the controller without affecting
stream state.
- Refactoring to support the changes above:
- rescaleIndex is generalized to allow converting between stream and
absolute volume ranges.
- Volume adjustment mode constants are moved into
AudioDeviceVolumeManager because they are needed when dispatching
volume adjustments to absolute volume controllers.
Bug: 205817863
Test: atest AbsoluteVolumeBehaviorTest
Change-Id: Ie5fb2179adea2096bd2d226fe73b4f09b28b0cf1
Add APIs for registering and unregistering a listener
for changes to any device's volume behavior.
Bug: 201781907
Test: atest DeviceVolumeBehaviorTest
Change-Id: I75b6463a73109e624ffd14b14bae3f829974f3ea
Address feedback from API council
Bug: 219501014
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: I655483db22b9a5ad3c3e30200f887fe49e73f240
Detailed call sequence can be found at
go/tiaf-use-cases
And add INTENT_KEY_COMMAND_TYPE
Bug: 224121339
Bug: 225082750
Test: atest testRequestSigning
Test: atest testSendSigningResult
Change-Id: I32b7e77dc7fc357ce168f486c28c16863bbbb3bf
Address API council feedback to have the output change listener
report the current output upon registration.
Bug: 203004903
Test: atest SpatializerTest
Change-Id: I858a5efef91ad113d02af6734b7b625460f29634