* 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
Right now getSelectableSubscriptionInfoList returns all subscriptions
that are visible and available. But we should only show one per
subscription group. So updating getSelectableSubscriptionInfoList
to make sure of it.
Bug: 126438122
Test: manual - group Fi primary subscriptions and make sure only
one Fi subscription is shown in Settings UI.
Change-Id: I867296b4f8efbdf2e9885ef34dd45806fa0abbca
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>