Commit Graph

10835 Commits

Author SHA1 Message Date
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
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
Carter Hsu
35ca35d0df Merge "audio: add API for querying the Ultrasound support" 2022-01-27 00:50:52 +00: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
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
shubang
85aaa4aa04 TIAF: unhide use cases VOD to DTV & AD insertion
Bug: 211886434
Bug: 215521812
Test: atest android.media.tv.interactive.cts.TvInteractiveAppManagerTest
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: Iee3c0fa5297417876b385f4fe05a91ed9c66d000
2022-01-25 08:13:41 -08:00
shubang
eed4b392c6 TIAF: cleanup use cases VOD to DTV & AD insertion
Bug: 211886434
Bug: 215521812
Test: atest android.media.tv.interactive.cts.TvInteractiveAppManagerTest
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: I5ffb006fb2cadba5c7dd5ce94819891606497897
2022-01-25 08:04:21 -08:00
Shubang Lu
d854afe667 Merge "TIAF API: tune and BI app" 2022-01-25 15:17:14 +00:00
Dorin Drimus
eb9bf64d06 Add getDirectProfilesForAttributes
Allows any app to query AudioManager on the available direct
AudioProfiles for the specified AudioAttributes. Only the active paths
that will be actually used to output sound are returned.
go/audio-route-t

Bug: 190810951
Test: atest android.media.audio.cts.DirectAudioProfilesForAttributesTest
Change-Id: Ia5ce587addadb52725084bd32a6244577626f44d
2022-01-25 15:08:12 +01:00
shubang
0c12720413 TIAF API: tune and BI app
Sequence diagram of the use case:
https://screenshot.googleplex.com/5fqc8jN36DN8Mxh.png

Bug: 211886434
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: I3cab3bae45f61859cecfd7f191e3c8c465d57c78
2022-01-25 01:31:34 -08:00
Hongguang Chen
d5b09e891d Merge "Support frontend status readiness query." 2022-01-25 07:40:24 +00:00
shubang
18359310db TIAF: unhide APIs of setup session use case
Sequence diagram of the use case:
https://screenshot.googleplex.com/4qAsMgdCD6itwWj.png

Bug: 208651889
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: I89a2d7c00256669be74cf891ed9bdea2b41b8309
2022-01-24 19:33:41 -08:00
Lajos Molnar
bca10c51ae MediaCodecInfo: add FEATURE_HdrEditing
FEATURE_HdrEditing signals that a video encoder can generate HDR
metadata if it is missing from the YUV or RGB input.

Bug: 197651595
Test: build
Change-Id: If3a9648e204fe3efbd565521227b5c01d3ef7d5a
2022-01-24 17:18:44 -08:00
Eric Laurent
7656a21d81 Merge "audio: add Bluetooth LE Audio broadcast device" 2022-01-24 19:47:50 +00:00
shubang
5a7cfb25f9 TIAF: make AppLinkInfo a class
Bug: 16677688
Test: mmm
Change-Id: Ifb9cd66fea292f76af3551d9642dc1edc9e4d1c3
2022-01-24 00:47:55 -08:00
Shubang Lu
bf3f4e5903 Merge "TIAF: All the BIOP message types should be defined in DSM-CC response class." 2022-01-24 07:33:51 +00:00
wei.sun
ef3ca7d8e5 TIAF: All the BIOP message types should be defined in DSM-CC response class.
Test: mmm
Bug: 214312089
Change-Id: I91cd4cfb5c47fcd11d257b683bbea50d8f34079b
2022-01-23 20:16:18 -08:00
jian.cui
5887b45dc9 TIAF: Redefine the API of Stream Event Response according to ISO-IEC 13818-6 specification
Test: mmm
Bug: 214273656

Signed-off-by: jian.cui <jian.cui@seraphic-corp.com>
Change-Id: I986ec7f343b36f541ec15d24d01a8acc91695c80
2022-01-23 19:23:25 -08:00
Shubang Lu
0dc1302a35 Merge "TIAS: add command param "tune channel quietly"" 2022-01-23 00:54:05 +00:00
huangyy
d930e06845 TIAS: add command param "tune channel quietly"
Bug: 214317514
Test: mmm
Signed-off-by: huangyy <yuyao.huang@seraphic-corp.com>
Change-Id: Id5834dc9885d8d3fb194e4834d8276b1fbc85035
2022-01-22 03:55:18 -08:00
Shubang Lu
367c0a6cb2 Merge "TIAF: The background of TvIAppView should be transparent" 2022-01-22 07:49:20 +00:00
Hongguang Chen
2f53619f59 Merge "getBitWidthOfLengthField -> getLengthFieldBitWidth" 2022-01-22 01:56:54 +00:00
Robert Wu
d5cfc146f8 Merge "Use Executor instead of Transport for callbacks" 2022-01-22 00:10:56 +00:00
Hongguang
2cf4b31bbb getBitWidthOfLengthField -> getLengthFieldBitWidth
Bug: 215555933
Fix: 215555933
Test: atest android.media.tv.tuner.cts
Change-Id: Ieaf0cd219d143f46749b864f89ebd3a65b3b1f36
2022-01-21 14:13:13 -08:00
Hongguang
9efb9dca21 Support frontend status readiness query.
The caller could use it to check whether frontend status is ready to
read or not.

Bug: 171540820
Fix: 171540820
Test: atest android.media.tv.tuner.cts on AIDL and HILD HALs
Change-Id: I55610e02412d6043e7fab91d1a2bf187a8e5e3ba
2022-01-21 13:17:45 -08:00
Robert Wu
ba46bf1c98 Use Executor instead of Transport for callbacks
Handlers are now deprecated in favor of executors.
This CL makes the changes for the new MIDI APIs

This CL also deprecates some legacy functions.

Bug: 201003646
Test: atest MidiSoloTest
Change-Id: Ia30cc30600d4206ee8d5161023d14d2db3cb7828
2022-01-21 20:32:24 +00:00