Patty
448737997e
Parse audio config codec capability for LE devices am: ae425ca614 am: b8fe694317
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1881112
Change-Id: Ic8acd896e49f6f84df43dd621238cf20c12291d8
2021-12-08 04:08:51 +00:00
Patty
b8fe694317
Parse audio config codec capability for LE devices am: ae425ca614
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1881112
Change-Id: I7cab6bd9cc4bc2fbf6201c88b1f890a88a7c3bd2
2021-12-08 03:54:09 +00:00
Patty
ae425ca614
Parse audio config codec capability for LE devices
...
1. Rename function getHwOffloadEncodingFormatsSupportedForA2DP
to getHwOffloadFormatsSupportedForBluetoothMedia
2. Add audio format for LC3
3. Add public class BluetoothLeAudioCodecConfig to store the
codec for LE audio
4. Add test case for BluetoothLeAudioCodecConfig
Tag: #feature
Bug: 203535499
Bug: 150670922
Test: atest BluetoothLeAudioCodecConfigTest BluetoothInstrumentationTests
Change-Id: I5f64d9078ca2c07e13cffd83b879dd95468ed313
Merged-In: I5f64d9078ca2c07e13cffd83b879dd95468ed313
2021-12-02 21:59:26 +08:00
Treehugger Robot
5fca188a4c
Merge "MediaCodec:Add code for YCbCrP010 format support" am: f33f4b6f50 am: e86e0d5be2
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894875
Change-Id: I20f8cceb73bdda8c90c8e878817f2866ade4f64c
2021-11-29 15:38:25 +00:00
Treehugger Robot
e86e0d5be2
Merge "MediaCodec:Add code for YCbCrP010 format support" am: f33f4b6f50
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894875
Change-Id: I3fa5f2731b0d91aef0f197761bd96d1a4c94e7ee
2021-11-29 15:25:42 +00:00
Treehugger Robot
f33f4b6f50
Merge "MediaCodec:Add code for YCbCrP010 format support"
2021-11-29 15:10:11 +00:00
Gopalakrishnan Nallasamy
655ca9f343
MediaCodec:Add code for YCbCrP010 format support
...
Set MediaFormat based on bitDepth and bitDepthAllocated.
Validate semiplanarness of chroma planes.
Bug: 206456921
Test: atest android.media.cts.ImageReaderDecoderTest
Change-Id: I88145d7eb9d372deb02ca2d633eebe087f7c4733
2021-11-24 16:46:00 -08:00
Xin Li
10d9972786
Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
...
Bug: 205056467
Merged-In: I13199bc39e9445929195f3d15579cbffe94e92b0
Change-Id: I35fa3c6c2abf679c51033f1395a08d511ed8739f
2021-11-18 17:00:37 +00:00
Gopalakrishnan Nallasamy
b98ee4553d
Merge "MediaCodecInfo: Add constant for YUVP010 color format" am: 0781fcf7da am: 6e5f8b40b3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894738
Change-Id: Ib5367c8dab3f0ad87f4d3a484cd811a170589c43
2021-11-18 08:54:00 +00:00
Gopalakrishnan Nallasamy
f71f4089d8
MediaCodecInfo: Add constant for YUVP010 color format
...
Bug: 206456921
Test: atest android.media.cts.ImageReaderDecoderTest
Change-Id: Ia93bd25ede40b39d6b799990c01e35b90a8ad8d4
2021-11-18 08:19:32 +00:00
Roopa Sattiraju
ff384b67cf
Merge "A2DP switch device refactor" am: 5f91507b2b am: bad9226cb7
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1782984
Change-Id: Ic29da5e96cc502220282cff5f40e4ebce1258905
2021-11-15 00:45:13 +00:00
wescande
3fe5af4890
A2DP switch device refactor
...
Bluetooth mainline effort to reduce AudioManager API
Test: Manual
Tag: #refactor
Bug: 190422401
Fix: 197715842
Fix: 197932292
Merged-In: I65c6561969d443e80f0a49256770279cd0959352
Change-Id: I65c6561969d443e80f0a49256770279cd0959352
2021-11-11 15:22:20 +01:00
Treehugger Robot
df3d79cfde
Merge "Replace object tag with img tag in javadoc" am: db5da1ce28 am: f6bb2b1c0c am: 345dbdd018
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1733752
Change-Id: Iafa45e2667543f97d1d880b27a7c41177feb1eb1
2021-11-09 11:35:11 +00:00
Treehugger Robot
db5da1ce28
Merge "Replace object tag with img tag in javadoc"
2021-11-09 09:55:36 +00:00
Bill Yi
982bb0f145
Merge "Merge SP1A.211105.004 to aosp-master - DO NOT MERGE"
2021-11-03 17:50:39 +00:00
Treehugger Robot
f6d9afa480
Merge "remove AudioManager.setParameters from bluetooth" am: ec9a8515d7 am: c3be61fbd6 am: 0cc39d8e29
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1859354
Change-Id: I2a8f73452b45554f7cdaffc9846418664049eee7
2021-11-03 17:50:20 +00:00
Treehugger Robot
c3be61fbd6
Merge "remove AudioManager.setParameters from bluetooth" am: ec9a8515d7
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1859354
Change-Id: I7702c011f0255803978f028bb36a7f8996f260d6
2021-11-03 17:13:51 +00:00
Treehugger Robot
ec9a8515d7
Merge "remove AudioManager.setParameters from bluetooth"
2021-11-03 17:00:22 +00:00
Bill Yi
ba584f1fa1
Merge SP1A.211105.004 to aosp-master - DO NOT MERGE
...
Merged-In: I7e267e3c046d726750180efa81806cbbefb17b68
Merged-In: I5ff5973c95868bee2b7444ecded7443d6e6429c9
Change-Id: Ic3cd62083de4219dbf52f568ca4f34bdc7a08516
2021-11-02 21:07:53 -07:00
The Android Open Source Project
a2d1cd7262
Merge SP1A.211105.004 to stage-aosp-master - DO NOT MERGE
...
Merged-In: I5ff5973c95868bee2b7444ecded7443d6e6429c9
Change-Id: I4826d32c3aae06b61a992985d127320efbe96289
2021-11-02 14:11:55 -07:00
William Escande
ef429b62b1
remove AudioManager.setParameters from bluetooth
...
All uses of AudioManager.setParameters are a hack that we have to remove.
Bug: 196440888
Tag: #refactor
Test: Build
Change-Id: I6deeffef8fbd8ba1c501f41c74b4763503106cc0
2021-11-02 16:38:15 +01:00
Lajos Molnar
04ab4930c0
Merge "media: allow excluding arbitrary codecs from REGULAR_CODECS list." am: 36fb4b48b4 am: 4209666577 am: 7aa8c12dcf
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1867088
Change-Id: Iee745f46101cac07d3d03aeca72b28b34e015bce
2021-10-26 23:16:19 +00:00
Lajos Molnar
7aa8c12dcf
Merge "media: allow excluding arbitrary codecs from REGULAR_CODECS list." am: 36fb4b48b4 am: 4209666577
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1867088
Change-Id: I10c197f82ff6651a0c51461852e6c9c312cf931d
2021-10-26 22:46:50 +00:00
Lajos Molnar
daa879ac68
media: allow excluding arbitrary codecs from REGULAR_CODECS list.
...
This can be done by adding the 'special-codec' feature as a required
feature to media_codecs.xml, e.g.
<MediaCodec name="..." type="...">
...
<Feature name"special-codec" required="true" />
</MediaCodec>
This feature is not exposed to applications, and is only used to
exclude a codec from the REGULAR_CODECS list.
Bug: 197577115
Bug: 196518411
Bug: 191944087
Test: CtsVideoTestCases and manual testing with a modified media_codecs.xml
Change-Id: Ica5510bbe7e781f25ca329535d2ba771afbdb263
2021-10-21 10:57:43 -07:00
Treehugger Robot
229680564c
Merge "AbsoluteVolume change custom call to official API" am: d51c3f3a2c am: 29da6bb3e4 am: 548b9eaf35
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1862057
Change-Id: I771df5bb2b63ec924d964ad5ee723bd74c0e45f3
2021-10-20 21:00:09 +00:00
Treehugger Robot
548b9eaf35
Merge "AbsoluteVolume change custom call to official API" am: d51c3f3a2c am: 29da6bb3e4
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1862057
Change-Id: Ic4571d3ad540958567b3a7e9585f19ac001fe77e
2021-10-20 20:44:46 +00:00
Shawn Busolits
7a3aab4ef1
Replace object tag with img tag in javadoc
...
The old object-img fallback pattern is not longer required because modern browsers support svgs in img tags, and the old object src pattern violates CSP.
Bug: 183636712
Change-Id: I50e44290a458fab5b503bfae868f202717fe404c
2021-10-20 16:25:32 +00:00
Hyundo Moon
69618c276c
Merge "MediaRouter: Route setBluetoothA2dpOn() via MediaRouterService" into sc-qpr1-dev am: 2c7ec2cbf5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16044773
Change-Id: I98f5380d39696174ebcd408e719c934645764e16
2021-10-20 02:29:41 +00:00
wescande
e312b160f4
AbsoluteVolume change custom call to official API
...
BT mainline effort to remove hidden api:
`avrcpSupportsAbsoluteVolume` only inform for a new volume behavior and
AudioManager already provide such method.
Bug: 190422401
Tag: #refactor
Test: Manual: Start bluetooth, play music and change volume from speaker/phone
Change-Id: I935df5e0f5632cd4144343bdb1bc2b9d7bc61c01
2021-10-19 14:32:50 +02:00
Jakub Pawlowski
1ec83b8226
Merge "server/audio: Add LeAudio support" am: 4fef608423 am: 791c25e77b am: 4089d3ed46
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1856323
Change-Id: I2e0e01fe30e4bacbd73a4d13b4294f42f485bfb9
2021-10-18 19:02:09 +00:00
Jakub Pawlowski
4089d3ed46
Merge "server/audio: Add LeAudio support" am: 4fef608423 am: 791c25e77b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1856323
Change-Id: I5b22305a2a3d0c8a39b6372e575845105307e798
2021-10-18 18:50:16 +00:00
Grzegorz Kołodziejczyk
ad46dc5b5e
server/audio: Add LeAudio support
...
This patch adds handling active device and set volume
Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: Manual
Change-Id: I50a966ed2f199464381ff561fd83342b0a9b08a9
2021-10-18 14:32:45 +00:00
Hyundo Moon
2942e4b584
MediaRouter: Route setBluetoothA2dpOn() via MediaRouterService
...
The direct binder usage of AudioService.setBluetoothA2dpOn() is now
blocked by permission for security reasons.
This CL routes the usage to the MediaRouterService.
Bug: 181962322, Bug: 189176702
Test: GMM can play navigation sound when BT is connected
Change-Id: Ib13c224a0d412ef6d802eeaadd246649c819c26f
2021-10-15 02:58:03 +00:00
wyau
49b7975737
Merge "Add start_time and end_time for PreviewPrograms" am: b46475496f am: 117570f57c am: f29ea92877
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1842874
Change-Id: I45e17b517ccb4706b1f6a36059d1168034ad3533
2021-10-12 17:27:52 +00:00
wyau
f29ea92877
Merge "Add start_time and end_time for PreviewPrograms" am: b46475496f am: 117570f57c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1842874
Change-Id: Ib3299227f459f4699d92a291dd84368e485c6492
2021-10-12 17:06:22 +00:00
wyau
b46475496f
Merge "Add start_time and end_time for PreviewPrograms"
2021-10-12 16:37:17 +00:00
Treehugger Robot
3bdacfd4b3
Merge "media: use MediaProperties.resolution_limit_32bit()" am: b721e9b48d am: 31d3ee2188 am: d2ec1478af
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1840914
Change-Id: I8b6b3259f76ad604da92fc515337588099d6fe8e
2021-10-05 23:21:20 +00:00
Treehugger Robot
d2ec1478af
Merge "media: use MediaProperties.resolution_limit_32bit()" am: b721e9b48d am: 31d3ee2188
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1840914
Change-Id: I52ec747db4783d3a0441c37e66ea5ead92b7298e
2021-10-05 17:37:12 +00:00
Treehugger Robot
31d3ee2188
Merge "media: use MediaProperties.resolution_limit_32bit()" am: b721e9b48d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1840914
Change-Id: Ib8b212601771c279a90eb8c29fb30bd1e5ecd0a3
2021-10-05 17:33:32 +00:00
Wonsik Kim
8af4d26826
media: use MediaProperties.resolution_limit_32bit()
...
For 32-bit resolution limit, read from
MediaProperties.resolution_limit_32bit().
Bug: 194771349
Test: cts/media/device-small
Change-Id: I30269383eed2929ff88da21913cebb4111d72e10
2021-09-30 23:11:12 -07:00
Wally Yau
fce3133596
Add start_time and end_time for PreviewPrograms
...
TV Content recommendation requires the start and end time for
certain type of video program such as movie and TV episode.
Bug: 148432318
Test: cts-tradefed run cts -m CtsTvTestCases
Change-Id: Ic6749fc656c66378dba50d16f3a676832a025085
2021-09-30 20:39:10 -07:00
Sungsoo Lim
9e23f90047
DO NOT MERGE: Revert "Reset app routes when global a2dp state changed" am: d0c29f1bf1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15884591
Change-Id: Iacf081607001839ea00d33c79c986c195ac9b494
2021-09-24 04:21:22 +00:00
Sungsoo Lim
a13318f303
DO NOT MERGE: Revert "Call route selected/unselected callbacks" am: ef07a1a45a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15884590
Change-Id: Ied840ecfafa414e2792cdc00317e28f4264a4636
2021-09-24 04:20:51 +00:00
Sungsoo Lim
d0c29f1bf1
DO NOT MERGE: Revert "Reset app routes when global a2dp state changed"
...
This reverts commit 07e40316f8 .
Bug: 193831720, Bug: 168093983, Bug: 156549746
Test: manual
Change-Id: I86df6f9f1d672c455cd0aedc58012b3335659479
(cherry picked from commit 6d4a00b17a )
2021-09-23 15:31:31 +09:00
Sungsoo Lim
ef07a1a45a
DO NOT MERGE: Revert "Call route selected/unselected callbacks"
...
This reverts commit 6adeb2c9f1 .
Bug: 193831720, Bug: 168093983
Test: manual
Change-Id: I0c0c3ac9ed63bafe419c8a127772d4042abbab89
(cherry picked from commit 89d28318a0 )
2021-09-23 15:31:20 +09:00
Jean-Michel Trivi
58334b0b04
Notification playback: pause on release
...
When releasing a MediaPlayer outside of a playback
completion (back to back notifications), pause and
wait 100ms before releasing the player.
Bug: 193832902
Test: create back-to-back notifications, check for glitch
Change-Id: Ib8baba4bf2b41e75b526e8490b6c2f31c85c193c
(cherry picked from commit c69743ea16 )
2021-09-15 00:10:08 +00:00
Treehugger Robot
f4271d9a27
Merge "MediaCodecInfo: do not alter performance points for 32-bit processes (2)" am: a78fa61ba8 am: 41bf6fa76f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1787047
Change-Id: Ia2fb9292e584c29c1894a2ed9774c9c4e40350d4
2021-09-14 23:50:04 +00:00
Treehugger Robot
41bf6fa76f
Merge "MediaCodecInfo: do not alter performance points for 32-bit processes (2)" am: a78fa61ba8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1787047
Change-Id: Ifb7b56c1e3088183cc2881a1b75b6b09ab549255
2021-09-14 23:35:17 +00:00
Treehugger Robot
a78fa61ba8
Merge "MediaCodecInfo: do not alter performance points for 32-bit processes (2)"
2021-09-14 23:21:32 +00:00
Treehugger Robot
48c136d6d5
Merge "Fix typo contail->contain" am: 49dcfea031 am: 17da84da54
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1824553
Change-Id: I05915a6e39c8ed3abf733527bbaa0395b19aad2e
2021-09-11 05:37:10 +00:00