Commit Graph

10837 Commits

Author SHA1 Message Date
William Escande
eb01666b8d cherry-pick of aosp/1959811
Due to bigest topic on aosp, the cl has not been merged in internal
This CL is only to reduce merge-conflict between aosp and internal
Test: build

Change-Id: I47edabfbcbd2eb15650194d6234f54c16d74ed07
2022-01-31 19:21:38 +01:00
Roopa Sattiraju
f2675c7315 API changes requires for Bluetooth apk inside the apex to build.
Bug: 216731966
Test: atest BluetoothInstrumentationTests
Change-Id: Idc16950373e0d90f77f1abc743127a25c09db03d
2022-01-29 00:23:58 +00:00
Henry Fang
71a3900ab0 Merge "Unhide TvInputManager#getClientPid()" 2022-01-28 03:42:01 +00:00
Kyeongkab.Nam
81a7bdb52b Unhide TvInputManager#getClientPid()
Make TvInputManager#getClientPid() to System SDK API for MediaCodec
resource reclaiming on multi-window w/ multi TV apps.

Bug: 179813957
Test: run cts -m CtsTvTestCases -t
    android.media.tv.cts.TvInputManagerTest
Change-Id: Ifd5193707979f7e5f3e2e9061a81d0f7286e7d64
2022-01-27 23:24:53 +00:00
Hongguang
679b24c698 Update FrontendStatusReadiness APIs.
Bug: 216640182
Fix: 216640182
Test: atest android.media.tv.tuner.cts
Change-Id: I54abc1014bab2a2cb6128e33a381aabbe571dc58
2022-01-27 12:57:26 -08:00
Lajos Molnar
d42cf0d415 Merge "media: added advanced HDR-ready CamcorderProfiles" 2022-01-27 17:21:27 +00:00
Kevin Rocard
dbbca05d9d Merge "Catch ArrayIndexOutOfBoundsException in ExifInterface" 2022-01-27 12:08:42 +00:00
Treehugger Robot
02e9d83488 Merge "Updates to Dolby Vision Levels" am: e7dd66d7db am: d1928adcae am: 498e2b7944 am: cd60d3b2e6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961619

Change-Id: I820a527914981546f5966f61ea2bfb54cb8b6f53
2022-01-27 11:39:24 +00:00
Treehugger Robot
cd60d3b2e6 Merge "Updates to Dolby Vision Levels" am: e7dd66d7db am: d1928adcae am: 498e2b7944
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961619

Change-Id: I621e97adabcd9ff2dc8b9ddabdb1684eaba3f55d
2022-01-27 11:21:54 +00:00
Treehugger Robot
498e2b7944 Merge "Updates to Dolby Vision Levels" am: e7dd66d7db am: d1928adcae
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961619

Change-Id: I4efc107ec69ac886a8408490d63c71a54f2b323d
2022-01-27 11:05:19 +00:00
Treehugger Robot
e7dd66d7db Merge "Updates to Dolby Vision Levels" 2022-01-27 09:34:53 +00:00
TreeHugger Robot
44b8fed516 Merge "Refine removeOutputPid() doc" 2022-01-27 08:46:23 +00:00
TreeHugger Robot
1800cfbe40 Merge "Notify deprecation of MediaDrm SecureStop APIs" 2022-01-27 07:43:17 +00:00
Shubang Lu
93b2e23328 Merge changes from topic "tiaf_cts_broadcastInfo"
* changes:
  TIAF: unhide broadcastInfo related classes and functions 2
  TIAF: unhide broadcastInfo related classes and functions
2022-01-27 07:07:35 +00:00
Rahul Sabnis
bdd60d42cb Merge "Moving over core/api/*txt files" am: d93ed0045d am: d2c48ad201 am: b5f6cf1c8d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1959811

Change-Id: I9321785d49fa39c96b17a60f20b2bed42279f4ed
2022-01-27 06:19:21 +00:00
Rahul Sabnis
b5f6cf1c8d Merge "Moving over core/api/*txt files" am: d93ed0045d am: d2c48ad201
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1959811

Change-Id: I5a83a5def064d09a34d62460afa0ef3c5cc424b4
2022-01-27 06:13:56 +00:00
Rahul Sabnis
d93ed0045d Merge "Moving over core/api/*txt files" 2022-01-27 05:42:18 +00:00
Yixiao Luo
abeee53eee TIAF: unhide broadcastInfo related classes and functions 2
Test: CTS TvInteractiveAppServiceTest
Bug: 207417265
Change-Id: I519a0f698fc94a569734488cf6f2a1f07d8a867c
2022-01-26 17:47:39 -08:00
Yixiao Luo
488aabf9ae TIAF: unhide broadcastInfo related classes and functions
Test: CTS TvInteractiveAppServiceTest
Bug: 207417265
Change-Id: I6868c152b8c4ec3176b324092675262d72eb319d
2022-01-26 17:46:50 -08:00
Baoli Yan
cd7a2e2c05 Updates to Dolby Vision Levels
Added Uhd120,8k30, 8k60

Change-Id: I609e45b6f496debf320292358dbe894b439dc124
2022-01-26 17:08:47 -08:00
Carter Hsu
35ca35d0df Merge "audio: add API for querying the Ultrasound support" 2022-01-27 00:50:52 +00:00
Hongguang
8bd9a6bc91 Refine removeOutputPid() doc
Bug: 216529156
Fix: 216529156
Test: make docs
Change-Id: Ic45810aed91d39fac31ab9110565aee4aee76208
2022-01-26 15:05:08 -08:00
Roopa Sattiraju
86058b62d8 Moving over core/api/*txt files
Bug: 196026708
Test: Compile
Merged-In: I636f00132a13467e63b08f21d9cc9dcaab250b8a
Change-Id: I636f00132a13467e63b08f21d9cc9dcaab250b8a
2022-01-26 14:21:29 -08:00
Rahul Frias
abb6023691 Notify deprecation of MediaDrm SecureStop APIs
The methods will still function in android T. Functionality will
tentatively be removed in android U.

Bug: 202176909
Test: Verified compilation (docs change)
Change-Id: I37e0085692fd1d169f2542795c90aa7a7de0b76d
2022-01-26 12:09:02 -08:00
TreeHugger Robot
8981d131ca Merge "Add getDirectProfilesForAttributes" 2022-01-26 19:43:00 +00:00
Lajos Molnar
4eb8dd02bf Merge "media: MediaCodec: add RGBA_1010102 and RGBA_F16 format support" am: 5cb80afc4e am: 55b9fb04dd am: 2495949c0e am: 92c9c7e549
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960940

Change-Id: I5bfd062d9d024e2c261837a27494c50e049eecf0
2022-01-26 19:31:38 +00:00
Lajos Molnar
92c9c7e549 Merge "media: MediaCodec: add RGBA_1010102 and RGBA_F16 format support" am: 5cb80afc4e am: 55b9fb04dd am: 2495949c0e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960940

Change-Id: I85e89605a414cc97e01b67493150384832f13793
2022-01-26 19:18:51 +00:00
Lajos Molnar
2495949c0e Merge "media: MediaCodec: add RGBA_1010102 and RGBA_F16 format support" am: 5cb80afc4e am: 55b9fb04dd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960940

Change-Id: I5d5d76fec988199b53bfdfd384979bf39492a50a
2022-01-26 19:01:36 +00:00
Lajos Molnar
5cb80afc4e Merge "media: MediaCodec: add RGBA_1010102 and RGBA_F16 format support" 2022-01-26 18:19:36 +00:00
Yixiao Luo
b2c2e8fd42 Merge "TIAF: unhide DTV to VOD apis" 2022-01-26 17:52:46 +00:00
Sally Qi
fbd310956d Merge "Fix ImageWriter builder pattern APIs" 2022-01-26 16:20:56 +00:00
Lajos Molnar
ed4b94728b media: added advanced HDR-ready CamcorderProfiles
Added support for CamcorderProfile.getAll() method to retrieve advanced
camcorder profiles. These are profiles that do not capture in 8-bit
YUV 4:2:0 SDR mode.

To ensure app compatibility, whether to return advanced profiles is
gated by target SDK version.

Exteded EncoderProfiles.VideoProfile to surface these additional
parameters: chroma subsampling, HDR format and bit-depth.

(Also added some missing MediaRecorder video codec enumerations
that may be used for HDR capture.)

Bug: 197651595
Test: atest android.media.cts.CamcorderProfileTest
Change-Id: I743e510d425df5bc1ea017710aeff277b8d1c31d
2022-01-26 08:11:33 -08:00
Santiago Seifert
78f3eb7af4 Merge "Replace 33 with a ref to Build symbol in javadoc" 2022-01-26 15:38:29 +00:00
TreeHugger Robot
8ba7b768de Merge "Refine SharedFilter close() to avoid random crash" 2022-01-26 11:54:52 +00:00
Yixiao Luo
00eca6c97d TIAF: unhide DTV to VOD apis
Test: CTS TvInteractiveAppManagerTest
Bug: 209701966
Change-Id: I44110187abcf38c5aff2ec3e6ed140b7bcf635d1
2022-01-26 02:44:12 -08:00
Shubang Lu
865d8a3c7f Merge changes from topics "tiaf_pb_cmd", "tiaf_vod_ad"
* changes:
  TIAF: unhide playback command and remaining public APIs
  TIAF: cleanup playback command and remaining public APIs
  TIAF: unhide use cases VOD to DTV & AD insertion
2022-01-26 09:10:36 +00:00
TreeHugger Robot
cccc41ed06 Merge "MediaCodecInfo: add FEATURE_HdrEditing" 2022-01-26 07:13:37 +00:00
Jiabin Huang
573de14b67 Merge "Add RingtoneManager.hasHapticChannels(Context, Uri)." 2022-01-26 06:46:12 +00:00
Lajos Molnar
6915256a58 Merge "media: MediaCodecInfo: Unhide COLOR_FormatYUVP010" am: 32c80f0b44 am: eb9ed7ff5d am: 2e270a6a54 am: 77f4235010
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960659

Change-Id: Ic3488f9aa94ffacc9e138915b736e41cfbf71c96
2022-01-26 05:45:47 +00:00
Lajos Molnar
77f4235010 Merge "media: MediaCodecInfo: Unhide COLOR_FormatYUVP010" am: 32c80f0b44 am: eb9ed7ff5d am: 2e270a6a54
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960659

Change-Id: I865b95bc6a09774535d145013855c27a1b456ffd
2022-01-26 05:27:44 +00:00
Lajos Molnar
2e270a6a54 Merge "media: MediaCodecInfo: Unhide COLOR_FormatYUVP010" am: 32c80f0b44 am: eb9ed7ff5d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960659

Change-Id: I9aa3cfe442af156b8112c94c48536baae4e83184
2022-01-26 05:16:08 +00:00
Hongguang
f3b2a5d5ff Refine SharedFilter close() to avoid random crash
Bug: 205763272
Fix: 205763272
Test: atest CtsTvTestCases
Change-Id: Ieee0d07fefa902d832745b040b9144e02fe9ba56
2022-01-26 05:01:23 +00:00
Sally Qi
c016778d1e Merge "Add annotation for ImageReader.Builder.setUsage function parameter" 2022-01-26 02:33:34 +00:00
Carter Hsu
2065d1ed12 audio: add API for querying the Ultrasound support
Bug: 200256985
Test: atest AudioManagerTest
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I0925471021513424cd23c13c0334e2f480de88fe
2022-01-26 08:47:35 +08:00
Lajos Molnar
79ad8fe8a7 media: MediaCodec: add RGBA_1010102 and RGBA_F16 format support
Due to existing naming conventions these become
COLOR_Format32bitABGR2101010 and COLOR_Format64bitABGRFloat.

Bug: 197651595
Test: build
Change-Id: I9ce6177ec9d2a73ab9faa67c1d7c7d42fc9a35f7
2022-01-25 16:41:06 -08:00
Gopalakrishnan Nallasamy
721eaa785c media: MediaCodecInfo: Unhide COLOR_FormatYUVP010
Bug: 206456921
Test: atest android.media.cts.ImageReaderDecoderTest
Change-Id: I73ce2b459b59a8b8713889cf00739c9e9d28cd03
2022-01-25 16:40:27 -08:00
Sally Qi
d26f4f0d49 Fix ImageWriter builder pattern APIs
- fix getFormat() mismatch by fix the way of reading dataspace value in
the android_media_ImageWriter#Image_getFormat function.
- fix getDataSpace() mismatch when the Image is dequeued from
ImageWriter.
- skip usage bit setup if image format is opaque.

Bug: 215717202
Bug: 215718355
Test: android.hardware.cts.DataSpaceTest,android.hardware.camera2.cts.ImageWriterTest,android.hardware.camera2.cts.ImageReaderTest

Change-Id: I375739322c3fdad2dc23be3558f4bd8cd396d8b6
2022-01-25 15:00:12 -08:00
Sally Qi
7c4e6e937b Add annotation for ImageReader.Builder.setUsage function parameter
Bug: 216294781
Test: builds
Change-Id: I361ae8e80bf1898f284d6e63d5fd932d2d15bed1
2022-01-25 11:01:42 -08:00
shubang
42ae6edd87 TIAF: unhide playback command and remaining public APIs
Bug: 213836031
Test: atest android.media.tv.interactive.cts.TvInteractiveAppViewTest
Test: atest android.media.tv.interactive.cts.TvInteractiveAppManagerTest
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: Iad7130f70d892b0ccb3bab1fbf6e59784d6a5975
2022-01-25 10:49:24 -08:00
shubang
d516c60a86 TIAF: cleanup playback command and remaining public APIs
Bug: 213836031
Test: atest android.media.tv.interactive.cts.TvInteractiveAppViewTest
Test: atest android.media.tv.interactive.cts.TvInteractiveAppManagerTest
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: I305c2d98184d5907aec864a5ff7cfa01db2282ba
2022-01-25 08:14:08 -08:00