This CL adds javadoc to explain new APIs in detail and remove
an unnecessary method: MediaRoute2Info#hasAnyFeatures
Bug: 148379928
Test: atest mediaroutertest (w/ mediarouteprovider installed)
Change-Id: I6be0d66044c591525468153ad0122f082d7582aa
Use the correct AudioAttributes method to query which volume stream
is associated with audio attributes.
Prevent AudioProductStrategy from returning invalid volume stream
types / stream types unknown for volume control
Bug: 148263626
Test: see bug
Change-Id: I64d01286815474d5e23fbe7e57c58bfdf57ebd3e
Most players are using exoplayer, and Widevine DRM is
required. These CL adds three tests to TreeHugger
presubmit to reduce regression.
This CL adds three tests to presubmit process,
most time is spent running one exoplayer test.
Test: time atest
bug: 148288152
Change-Id: I57945568586a585812d41491dbbf57c6f30fda4b
H.263 level 45 only supports QCIF, so we shouldn't treat it as "higher"
than e.g. level 40, which also supports CIF.
Bug: 147922039
Test: CTS
Change-Id: I4a09b2362829b2f825dae7220155e14f54837b18
KEY_CODECS_STRING is associated to the codec string of a track.
Bug: 132153067
Bug: 134057371
Test: Pending.
Change-Id: I502f11523d2fe6bc78be7382eaaa91d7234d1db0
AudioEffect.Descriptor.connectMode is a string exposed by SDK
but only some valid values are defined by SDK.
Add missing values for pre and post processing connect modes.
Bug: 136294538
Test: make
Change-Id: I5be02c08945d37fa80eb58ab0a25a0085bb9fb58
This CL makes MediaSessionService counts the number of current
MediaSessions per uid, and throw exception to the app if the number
exceeds the limit.
Bug: 143672815
Test: atest MediaSessionTest
Change-Id: Ib3dd0f655d54f9ca436bcc3808e8eba241dfaacc
Added Android user id based routing. Added API to defined and removed
user id based routing. The APIs are based on the applications uid based
routing. The logic for user id based routing also largely resembles the
application's uid based routing.
Bug: 139365417
Test: atest
com.google.android.gts.audio.AudioHostTest#testUserIdDeviceAffinity
Test: atest AudioPlaybackCaptureTest
Change-Id: I1f458680c96439f047829d5b2a5d1f0d37be60bd
Exposes a set of @SystemApi's allowing the active VoiceInteractionService
to enroll voice models.
Bug: 147159435
Test: manual tested enrollment and unenrollment via bundled
hotwordenrollment application and test app.
Change-Id: I94ef3550df236486401a0a6f9de9d874b9bf9b46