Commit Graph

10974 Commits

Author SHA1 Message Date
Yixiao Luo
bbf7f2884a TIAF: handling null objects in DsmccResponse class
Bug: 225256308
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: I20c9a5c16ff824f39e5223623672a02edc518e77
2022-03-21 17:20:52 -07:00
Yixiao Luo
a4691b235e Merge "TIAF: Change on API Review: DTV to VOD 2" into tm-dev 2022-03-18 21:40:07 +00:00
Shubang Lu
6d26abc33d Merge "TIAF: add JavaDoc for TvInteractiveAppServiceInfo constructor" into tm-dev 2022-03-18 20:49:33 +00:00
Shubang Lu
365b716cb6 Merge "TIAF API review: remove prepare()" into tm-dev 2022-03-18 20:44:42 +00:00
Shubang Lu
6c1f109937 Merge "TIAF API review: rename onCreateBiInteractiveApp" into tm-dev 2022-03-18 20:43:14 +00:00
Ray Essick
5bb3da076d Merge "Define MediaFormat crop-related constants" into tm-dev 2022-03-18 18:02:08 +00:00
Oliver Woodman
f48450217c Merge "Hide new route discovery preferences in T" into tm-dev 2022-03-18 16:55:14 +00:00
Raymond Tiong
6bdc667d3b Merge "Add recommendation to use MediaActionSound class in a background thread since it relies on binder." am: 23398e75a3 am: 2f04f34eb3 am: d44a439edf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2025024

Change-Id: I75901c3f89cbad5a4279d54a868947cf84a7446e
2022-03-18 16:04:04 +00:00
shubang
9a08a753f8 TIAF: add JavaDoc for TvInteractiveAppServiceInfo constructor
Test: mmm
Change-Id: Ifc1b584f220dffc813075ec44f57820b988b8966
2022-03-18 15:59:53 +00:00
shubang
bb50a67f88 TIAF API review: remove prepare()
It's no longer necessary and can be confusing

Bug: 219501014
Test: mmm
Change-Id: Id54f20245bb4e44cdf28f8d93b9ed413e3326410
2022-03-18 08:42:51 -07:00
shubang
1de756032c TIAF API review: rename onCreateBiInteractiveApp
Bug: 217554457
Test: CTS
Change-Id: I7096070781956af838a6e8d04ce187f4d5bbe646
2022-03-18 08:31:38 -07:00
shubang
3f49082523 TIAF API review: multiple components
Address feedback from API council

Bug: 219501014
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: I655483db22b9a5ad3c3e30200f887fe49e73f240
2022-03-18 07:58:28 +00:00
shubang
553d6fb7c5 TIAF: add signing request and result
Detailed call sequence can be found at
go/tiaf-use-cases

And add INTENT_KEY_COMMAND_TYPE

Bug: 224121339
Bug: 225082750
Test: atest testRequestSigning
Test: atest testSendSigningResult

Change-Id: I32b7e77dc7fc357ce168f486c28c16863bbbb3bf
2022-03-18 04:16:08 +00:00
Yixiao Luo
84edd3f63b TIAF: Change on API Review: DTV to VOD 2
Bug: 217591199
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: Iaa4f6d1e19f787bb38215385f8a38a14a538984d
2022-03-17 20:32:00 -07:00
Ray Essick
0f26a198ce Define MediaFormat crop-related constants
MediaFormat used literals "crop-left", "crop-right", crop-bottom
and crop-top. Define appropriate MediaFormat.KEY_XXX for these.

Bug: 178687730
Test: build, boot
Test: atest android.media.codec.cts.EncodeDecodeTest
Change-Id: I1782caa5ff320d3dca19272c5532466199ef72f0
2022-03-17 18:42:57 -07:00
Naomi Musgrave
4b563a2d37 Merge "Capture the contents of a single task" into tm-dev 2022-03-17 17:03:48 +00:00
Raymond Tiong
8c06d5e257 Add recommendation to use MediaActionSound class in a background thread since it
relies on binder.

Bug: 213174684
Test: N/A as it's a comment update
Change-Id: I01ddc0402bd27d19b2e9e7606ad327da703e8aaa
2022-03-17 15:37:51 +00:00
Jean-Michel Trivi
1b7b191bdf Merge "MediaFormat: deprecate KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT" into tm-dev 2022-03-17 14:29:49 +00:00
Jean-Michel Trivi
7e0c385a66 Merge "Spatializer: output listener fires upon registration" into tm-dev 2022-03-17 14:27:04 +00:00
Jean-Michel Trivi
beac78f252 Spatializer: output listener fires upon registration
Address API council feedback to have the output change listener
report the current output upon registration.

Bug: 203004903
Test: atest SpatializerTest
Change-Id: I858a5efef91ad113d02af6734b7b625460f29634
2022-03-16 18:48:24 -07:00
Jean-Michel Trivi
a030e80bdf MediaFormat: deprecate KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT
Deprecate AAC-specific key KEY_AAC_MAX_OUTPUT_CHANNEL_COUNT,
whose usage can be replaced by the codec agnostic key
KEY_MAX_OUTPUT_CHANNEL_COUNT.

Bug: 204239218
Test: atest DecoderTestAacFormat
Change-Id: Iad24e511eeee95266a4e9a7f70904968e27afc6d
2022-03-16 17:51:11 -07:00
Shubang Lu
aaf5caef2f Merge "TIAF API review: rename TvInteractiveAppInfo" into tm-dev 2022-03-17 00:43:32 +00:00
Jean-Michel Trivi
1a89ec7056 Merge "Spatializer: add getter/listener for head tracker availability" into tm-dev 2022-03-16 19:38:24 +00:00
Yixiao Luo
ea42ada7e9 Merge "TIAF: Change on API Review: First round API council questions" into tm-dev 2022-03-16 17:21:33 +00:00
Oliver Woodman
cdb7e2198e Hide new route discovery preferences in T
Bug: 193631822
Test: N/A
Change-Id: I938dc86ccd4ae1b6cb6ad322e17d0769dc300fc5
2022-03-16 12:23:27 +00:00
Jean-Michel Trivi
9fd5a78f98 Spatializer: add getter/listener for head tracker availability
Add getter and listener for tracking whether a head tracker
is available to be used on the current media device when the
spatializer effect is enabled.

Bug: 223725590
Test: atest SpatializerTest
Change-Id: I5d3746f9ab1935843be0d94314943083e98b5d2c
2022-03-15 17:34:45 -07:00
Yixiao Luo
0f18453cc0 TIAF: Change on API Review: First round API council questions
Bug: 217555265
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: I84ae13de14fd4336b958dd2e35179cd560317006
2022-03-15 16:02:49 -07:00
Naomi Musgrave
13194c3ca4 Capture the contents of a single task
Introduces layer mirorring of a single task, given the task is both
identified (future work - dependency on setup flow in SysUI) and the
flag is enabled (currently disabled).

Error handling (tearing down the VirtualDisplay if task recording setup failed)
will come in a future change

Bug: 216625226
Test: atest WmTests:DisplayContentTests
Test: atest WmTests:ContentRecorderTests
Change-Id: I16abd55ce75537ff8fbbb379e4970668ea02a230
2022-03-15 14:13:11 +00:00
shubang
f060d9de0c TIAF API review: rename TvInteractiveAppInfo
Rename to TvInteractiveAppServiceInfo

Bug: 217494823
Bug: 218518120
Test: atest android.media.tv.interactive.cts.TvInteractiveAppServiceTest
Change-Id: I6295fc3cd6a3cd30142d244fe0fc371043e485f4
2022-03-10 16:05:11 -08:00
Shubang Lu
5966bf5e1a Merge "TIAF API review: Setup Interactive App session" into tm-dev 2022-03-10 23:53:41 +00:00
Yixiao Luo
883d3e645d Merge "TIAF: Change on API Review: DTV to VOD" into tm-dev 2022-03-10 01:05:16 +00:00
Kensuke Miyagi
4f782d2a2a Merge "Fix parameter order of Lnb.addCallback()" into tm-dev 2022-03-09 23:46:54 +00:00
Shubang Lu
566a9a0f99 Merge "TIAF API review: xml attributes and package handling" into tm-dev 2022-03-09 21:53:19 +00:00
Etienne Ruffieux
f54c03715a Merge "Replacing BluetoothCodecStatus creator by Builder" am: 471a91657a am: bfbeff0524 am: 76678041a0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2013036

Change-Id: I7330fca5e4ed87bea7c360ed972cc6df6d0a39d5
2022-03-09 11:43:28 +00:00
Oliver Woodman
cd135cf0e1 Merge "System Router: Don't filter by individual prefs" into tm-dev 2022-03-09 10:55:24 +00:00
Etienne Ruffieux
471a91657a Merge "Replacing BluetoothCodecStatus creator by Builder" 2022-03-09 10:24:16 +00:00
shubang
14d4fca2e5 TIAF API review: Setup Interactive App session
Bug: 217450737
Test: CTS
Change-Id: I96cf62938f03820ab4cce082c687af9e6006ec8b
2022-03-09 00:54:53 -08:00
Oliver Woodman
bd4b726f3d System Router: Don't filter by individual prefs
Individual discovery preferences are not supposed to be
applied for system router instances. There was a bug in
ag/17071600 that caused them to be applied incorrectly.

Test: atest SystemMediaRouter2Test
Bug: 223378315
Change-Id: I778530ed0e7611c8c9433aa20cf0e0bbc4d2cc61
2022-03-09 00:59:48 +00:00
Shubang Lu
4cd780f32a Merge "TIAF API review: add JavaDoc" into tm-dev 2022-03-08 23:27:09 +00:00
Etienne Ruffieux
2c5180a627 Replacing BluetoothCodecStatus creator by Builder
Bug: 222540543
Tag: #feature
Test: atest BluetoothCodecsTest
Change-Id: I7483b96079b6e2b1708a7999df91850b2ed9f068
2022-03-08 13:33:14 +00:00
shubang
ba451f6c63 TIAF API review: add JavaDoc
Bug: 218518120
Test: mmm
Change-Id: Id67c9b1f6a6f0566c6c367e3a94a2e8080c31152
2022-03-08 02:40:55 -08:00
Oliver Woodman
d3b1abefd0 Merge "Mediarouter: clean up callbacks" into tm-dev 2022-03-07 13:03:22 +00:00
Kyunglyul Hyun
f459bec188 Mediarouter: clean up callbacks
According to change in RouteDiscoveryPreference,
this CL corrects MediaRouter2.RouteCallback callbacks

Bug: 193631822
Test: atest MediaRouter2Test MediaRouter2HostTest
Change-Id: Ie1190c52d325d1122e4cca571d1d26b1f8eb175a
2022-03-07 17:26:32 +09:00
Shaowei Shen
9a3733891c Merge "[Output Switcher] Apply distance information for devices ranking" into tm-dev 2022-03-07 06:57:54 +00:00
TreeHugger Robot
d3672e192a Merge "Add a test API to query audio HAL version." into tm-dev 2022-03-04 23:26:24 +00:00
Yixiao Luo
ed3126ec12 TIAF: Change on API Review: DTV to VOD
Bug: 217591199
Change-Id: I0bd1e5dd061135468e126444ae1cd8c85ec8ae57
2022-03-04 12:01:56 -08:00
Kensuke Miyagi
5739f2027d Fix parameter order of Lnb.addCallback()
Moving the callback argument to the last.

Bug: 222095579
Test: android.media.tv.tuner.cts.TunerTest
Change-Id: I4d5348588659b17284770a89d32c7b03431daa00
2022-03-04 19:31:02 +00:00
shaoweishen
06ccd1aec7 [Output Switcher] Apply distance information for devices ranking
When controller start, register nearbyDevice callback to get Devices
list, add range zone into MediaDevices list, apply ranking rule
when sorting.

Bug: 203073098
Test: atest MediaOutputAdapterTest MediaOutputControllerTest MediaOutputBaseDialogTest MediaOutputDialogTest MediaOutputGroupAdapterTest MediaOutputGroupDialogTest
Change-Id: Ia8f63b7aed2a5f311b9ecc1901306035441957f6
2022-03-04 16:38:55 +00:00
shubang
8b08f61e58 TIAF API review: xml attributes and package handling
Bug: 217588795
Test: CTS
Change-Id: I9c64d60b7862dd54ccb62ec40bf323b25c7af2e8
2022-03-03 23:32:17 -08:00
Yixiao Luo
985b7b0174 Cherry pick for contentAllowed bug fix
Change-Id: Ib65897c642284bf5c2137a86c0cee9d36b107667
2022-03-03 15:06:00 -08:00