* changes:
Allow to project audio from a Screen capture MediaProjection
Expose allowAudioPlaybackCapture to PackageManagerNative
Introduce playback capture application manifest flag
1. There are already related socket API methods that return
SocketAddress, such as Os.getpeername().
2. Having APIs that take SocketAddress are a closer match
to the POSIX APIs that android.system.Os is exposing,
and are more flexible than just taking InetAddress+port
combinations since the latter only supports IPv4 and
IPv6.
This was covered by tests in change:
Iadf9f10e26bbc650c5e1b9d03f32c5dafb6f21b4
And completes Ic496c1212dc2d97cf34db2a7c7d024b02790e8ed.
Test: m
Bug: 123062477
Change-Id: I885bfe1bf24a361bef2bb2f783622b934637ba99
This patch adds in AudioSystem setter/getter of volume index
and also getter on index min and max according to the given
audio attributes.
Bug: 124767636
Test: dumpsys media.audio_policy
Change-Id: Ia20fcfbf5e20c98de5eb07551c299dc99d678fb8
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
-put in cache collection in AudioService
-add helper function in Strategies and volume groups
Bug: 124767636
Test: dumpsys media.audio_policy
Change-Id: I688abf79ce7dead927fbd021e48bf6460d6cdc85
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
This CL adds introspection APIs for Audio Volume group
and callback notification on group volume change.
It allows to keep the same level of service available today
in CarAudioManager and is a starting point to get rid of Stream Alias
hard coded in AudioServer.
Bug: 124767636
Test: dumpsys media.audio_policy
Change-Id: I48909df93c146f071acd24cd3ecc608cb98b4d7e
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
* changes:
Catch ServiceSpecificException instead of IllegalStateException.
Manage NAT64 prefix discovery lifecycle in the framework.
Track NAT64 in the framework and start clatd iff NAT64 detected
Change Nat464Xlat lifecycle.
Minor improvements to verifyTcpBufferSizeChange.
The policy was previously not registered. Resulting in a failure when
starting the recording.
Test: atest android.media.cts.AudioPlaybackCaptureTest#testCaptureMediaUsage
Bug: 111453086
Change-Id: Ib0bbdfefd644c2f8e389baafdc1fc3ad548dcc4c
Signed-off-by: Kevin Rocard <krocard@google.com>
AAPT2 uses AssetManager2 as the implmentation of its symbol table.
When generating the the R.java, AAPT2 adds information about styleables
in the comments. If the first symbol table checked by the delegate is an
AssetManager2 symbol table and it does not contain the styleable
attribute being searched for, a bogus error is printed and the resource
is found in a later symbol table.
Bug: 126596328
Test: m -j Settings && diffed generated java files
Change-Id: If86a9d62fd72317525dffa862be1267621f93afd
Proto best practices are to have the first value in an enum be similar
to UNKNOWN/UNSET/NONE.
Bug: 120941744
Bug: 120793892
Test: Android builds
Change-Id: I8a764565d14ad6dde93ebfcbd55fd37cf533b253
am: 48d03c3f00 -s ours
am skip reason: change_id I0e37a9b9a1f22a5dcebbf07ccc5cad98cf76024c with SHA1 fe16c8f2f9 is in history
Change-Id: Idd96b7a70b1c3d96e3b80d57e8853ac2029e1339