Commit graph

38906 commits

Author SHA1 Message Date
Leon Scroggins
2efab6cd3c Reland "Update documentation for DISPLAY_DECORATION"
The first time this topic landed, it resulted in b/212402133. We avoid
running into this bug with Ib11d46439db57b90486bad07dd90f2cf0822182a.

Remove references to 8 bit alpha.

Original commit message:

After some discussion, we've decided to always set the ScreenDecorations
to DISPLAY_DECORATION. HWC can decide, based on the format, whether to
truly treat it as DISPLAY_DECORATION, or to change to DEVICE
composition.

Update the documentation to reflect this change.

See also I1da3199bacf5877e88876249c60c0a33fcd44c1e.

Bug: 193170859
Test: NA

Change-Id: Iaf5385c38f6827e07b91a9a0a8769fb7a125e847
2021-12-28 11:30:25 -05:00
Treehugger Robot
ee4d7008b7 Merge "Get default provider codec from HAL" am: d563e5bc9e am: e3a2c2c421 am: 7e9292b531 am: 7b6ea9fafe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1906371

Change-Id: I4da12c79a2f03afc02853c77d4dd72e8edaffecf
2021-12-28 06:41:51 +00:00
Treehugger Robot
7b6ea9fafe Merge "Get default provider codec from HAL" am: d563e5bc9e am: e3a2c2c421 am: 7e9292b531
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1906371

Change-Id: I0ed4a415bc346ad0df7f9f588e72fabd0c8686ba
2021-12-28 06:27:16 +00:00
Treehugger Robot
7e9292b531 Merge "Get default provider codec from HAL" am: d563e5bc9e am: e3a2c2c421
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1906371

Change-Id: I5586f0d85c788b4a27389af92da3f0169df1be5c
2021-12-28 06:12:24 +00:00
Treehugger Robot
e3a2c2c421 Merge "Get default provider codec from HAL" am: d563e5bc9e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1906371

Change-Id: I23d76f49fb759fb03faa23691e62f9173e44a406
2021-12-28 05:56:06 +00:00
Treehugger Robot
d563e5bc9e Merge "Get default provider codec from HAL" 2021-12-28 05:44:17 +00:00
Patrick Rohr
2b0e9ee4ac Fix time measurement in FilterDelayHintTest
The startTime needs to be set before setting the delayHint timeout as
that is when the callback scheduler's clock start ticking.

In addition, we need to await the first callback before starting the
test to make sure the scheduler thread has been run at least once (so
the timeout should be initialized correctly).

Test: atest TunerFilterAidlTest#FilterDelayHintTest
Bug: 210943300
Change-Id: I0b2443f3e7d33977fb6666ba09d3ff51d8b1f152
2021-12-27 14:25:15 +01:00
Edwin Tung
81e149cd06 Merge "Add GnssVisibilityControl AIDL HAL (hardware/interfaces)" 2021-12-27 00:34:58 +00:00
Sarah Chin
ef3fdec34f [automerger skipped] Merge "Revert "VTS for IRadio AIDL"" am: 3a16f8fe50 am: d67460a55e am: 554a0176d7 am: eec3b8b8e6 -s ours
am skip reason: Merged-In I4ee665519bfd2fc818fb68beee1f158b10e46176 with SHA-1 fc5603b7ec is already in history. Merged-In was found from reverted change.

Reverted change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932997

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932964

Change-Id: Icdcb65728b61e185f9b2ede062323c68c30e8558
2021-12-24 02:26:56 +00:00
Sarah Chin
eec3b8b8e6 Merge "Revert "VTS for IRadio AIDL"" am: 3a16f8fe50 am: d67460a55e am: 554a0176d7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932964

Change-Id: I9c559bc2d08794442fd2120b590bd80ea86d79bb
2021-12-24 02:13:46 +00:00
Sarah Chin
554a0176d7 Merge "Revert "VTS for IRadio AIDL"" am: 3a16f8fe50 am: d67460a55e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932964

Change-Id: I5f1c0dc8c41292970c2267495fd4353eca82dfb9
2021-12-24 01:56:37 +00:00
Sarah Chin
d67460a55e Merge "Revert "VTS for IRadio AIDL"" am: 3a16f8fe50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932964

Change-Id: I1e1ace18716aef1978ec51db4137f264cfc76aba
2021-12-24 01:40:30 +00:00
Sarah Chin
3a16f8fe50 Merge "Revert "VTS for IRadio AIDL"" 2021-12-24 01:20:09 +00:00
Sarah Chin
6171c510d8 [automerger skipped] Merge "VTS for IRadio AIDL" am: eec392805b am: b653029214 am: c011d282f3 am: 252d882d22 -s ours
am skip reason: Merged-In I4ee665519bfd2fc818fb68beee1f158b10e46176 with SHA-1 fc5603b7ec is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932997

Change-Id: Ibb0216aedb239fe8e220439c39e2c3ea6e1e3d8e
2021-12-24 01:09:02 +00:00
Sarah Chin
252d882d22 Merge "VTS for IRadio AIDL" am: eec392805b am: b653029214 am: c011d282f3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932997

Change-Id: Ic74fea8064bf2a0a914347b5b9088bc940524dea
2021-12-24 00:55:42 +00:00
Sarah Chin
c011d282f3 Merge "VTS for IRadio AIDL" am: eec392805b am: b653029214
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932997

Change-Id: Ia07788f841fa1076e0e768d604342d2e62e9d24e
2021-12-24 00:39:33 +00:00
Sarah Chin
128849dcff Revert "VTS for IRadio AIDL"
This reverts commit 90c6bf5616.

Reason for revert: broken build due to ag/16428798 not merged into AOSP

Change-Id: Id418e4de248968db17f7ddc711c2137d41ffd0d7
2021-12-24 00:26:08 +00:00
Sarah Chin
b653029214 Merge "VTS for IRadio AIDL" am: eec392805b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932997

Change-Id: I708a807e553301fd83a515d9527580e3589b0796
2021-12-24 00:22:16 +00:00
Ady Abraham
11840523cd Merge "composer: remove translate-ndk" 2021-12-23 23:58:57 +00:00
Sarah Chin
eec392805b Merge "VTS for IRadio AIDL" 2021-12-23 23:54:42 +00:00
Treehugger Robot
df88eb86ac Merge "Add OWNERS for VTS module VtsHalIrV1_0TargetTest." am: 4959dded71 am: 8967e25a36 am: 58976774ac am: d8c1fb3a63
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918956

Change-Id: I69e33cc528c351d20658a697002cacecbbb18038
2021-12-23 23:18:24 +00:00
Treehugger Robot
29ae66961f Merge "Add OWNERS for VTS module VtsHalMemtrack test." am: 302854716c am: 1aaea09e63 am: 0083c4d624 am: 862b60236c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918955

Change-Id: If89c5925c41aae33594f7c224472a9bd6f188076
2021-12-23 23:18:12 +00:00
Treehugger Robot
d8c1fb3a63 Merge "Add OWNERS for VTS module VtsHalIrV1_0TargetTest." am: 4959dded71 am: 8967e25a36 am: 58976774ac
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918956

Change-Id: I6742923eff771de9712aa7f7095ecf7c12e65d33
2021-12-23 22:57:09 +00:00
Treehugger Robot
862b60236c Merge "Add OWNERS for VTS module VtsHalMemtrack test." am: 302854716c am: 1aaea09e63 am: 0083c4d624
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918955

Change-Id: Iebb1da796240a73a27bbf2e33fbb09bad7cfb07c
2021-12-23 22:56:50 +00:00
TreeHugger Robot
3b7e1443fc Merge "Put tuner scan handling to a thread." 2021-12-23 22:46:28 +00:00
Sarah Chin
90c6bf5616 VTS for IRadio AIDL
Test: build
Bug: 210712359
Change-Id: I4ee665519bfd2fc818fb68beee1f158b10e46176
Merged-In: I4ee665519bfd2fc818fb68beee1f158b10e46176
2021-12-23 14:35:33 -08:00
Treehugger Robot
58976774ac Merge "Add OWNERS for VTS module VtsHalIrV1_0TargetTest." am: 4959dded71 am: 8967e25a36
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918956

Change-Id: I119973c1362d96b751763e3cf43939aa2609ad3b
2021-12-23 22:34:44 +00:00
Treehugger Robot
0083c4d624 Merge "Add OWNERS for VTS module VtsHalMemtrack test." am: 302854716c am: 1aaea09e63
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918955

Change-Id: I0b8e38c73761a8012b405df874fa7b4aa83e298b
2021-12-23 22:34:34 +00:00
Treehugger Robot
8967e25a36 Merge "Add OWNERS for VTS module VtsHalIrV1_0TargetTest." am: 4959dded71
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918956

Change-Id: I63e43a06eca41b0eea5fa554998c018cbd7a0395
2021-12-23 22:16:39 +00:00
Treehugger Robot
1aaea09e63 Merge "Add OWNERS for VTS module VtsHalMemtrack test." am: 302854716c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1918955

Change-Id: I743b85bbbe527e5fd96211d5a0452400ea5505f8
2021-12-23 22:16:28 +00:00
Treehugger Robot
4959dded71 Merge "Add OWNERS for VTS module VtsHalIrV1_0TargetTest." 2021-12-23 22:06:57 +00:00
Treehugger Robot
302854716c Merge "Add OWNERS for VTS module VtsHalMemtrack test." 2021-12-23 21:59:13 +00:00
Leon Scroggins
80b5caec3e Merge "Revert "Update documentation for DISPLAY_DECORATION"" 2021-12-23 21:55:09 +00:00
Hongguang
6c09bff372 Put tuner scan handling to a thread.
Bug: 210747502
Fix: 210747502
Test: atest android.media.tv.tuner.cts on AIDL and HILD HALs.
Test: atest VtsHalTvTunerTargetTest
Test: atest VtsHalTvTunerV1_1TargetTest
Test: atest VtsHalTvTunerV1_0TargetTest
Change-Id: Iead93df1dc09ef2a047893037ad2345ad4183b1e
2021-12-23 21:43:16 +00:00
Ady Abraham
f825cd7768 Merge changes from topic "b_208856704"
* changes:
  composer: cleanup CommandWriterBase and CommandReaderBase part 2
  composer: make PresentOrValidate.Result consistent with hidl
2021-12-23 21:27:08 +00:00
TreeHugger Robot
33e36ef1dc Merge "composer: rename ClockMonotonicTimestamp.timestamp" 2021-12-23 21:07:40 +00:00
Yiming Pan
e9640e00ae Add OWNERS for VTS module VtsHalIrV1_0TargetTest.
Test: Tree Hugger
Bug: 143903671
Change-Id: I7377cfcf11b87f346c546fd794e9da83d02085f5
2021-12-23 09:51:01 -08:00
Yiming Pan
74948b8ac3 Add OWNERS for VTS module VtsHalMemtrack test.
Test: Tree Hugger
Bug: 143903671
Change-Id: I1fa7a1246d83fd59997b7c15d6535111dacf3fcb
2021-12-23 09:48:09 -08:00
Leon Scroggins
fa7e058b5e Revert "Update documentation for DISPLAY_DECORATION"
Revert "Add/plumb SurfaceControl.DISPLAY_DECORATION"

Revert "Add eLayerIsDisplayDecoration flag"

Revert submission 16511727-wm_DISPLAY_DECORATION

Reason for revert: b/211835607
Reverted Changes:
I1da3199ba:Allow changing composition from DISPLAY_DECORATION...
I1fae74b36:Update documentation for DISPLAY_DECORATION
I1da03a88f:Add eLayerIsDisplayDecoration flag
I7f22dfd03:Add/plumb SurfaceControl.DISPLAY_DECORATION

Change-Id: I7238bcc96325873ec7dbdd42894192c48e7cf92e
2021-12-23 15:28:46 +00:00
Patty
784e443350 Get default provider codec from HAL
1. Add function getProviderCapabilities_2_2
    to return audio capability
 2. Add function GetLeAudioOffloadCodecCapabilities
    to get le audio offload capability
 3. Add LeAudioCapability in HAL 2.2

Tag: #feature
Bug: 203535499
Bug: 150670922
Test: atest BluetoothInstrumentationTests

Change-Id: Ied2d0c8c0bdaa4b8d0c149b5164ba346e4df5ae1
2021-12-23 16:50:42 +08:00
TreeHugger Robot
4caf79c5ae Merge "Add new features to tuner AIDL HAL." 2021-12-23 08:04:12 +00:00
Ady Abraham
c4fd63353d composer: remove translate-ndk
- No one is using the translate functions, so removing.
 - Rename the static_assert portion to Hidl2AidlAsserts

Test: build
Change-Id: I42abc37953e1d927a3bcf5f60f56acf99fde6bf5
2021-12-22 21:59:35 -08:00
Ady Abraham
46219f5731 composer: cleanup CommandWriterBase and CommandReaderBase part 2
Bug: 208856704
Test: VTS
Change-Id: I30f4cfef66a1c833142b4645f69e8ad9fbf0de8e
2021-12-22 21:58:57 -08:00
Ady Abraham
b9b5df3ce5 composer: make PresentOrValidate.Result consistent with hidl
HIDL expects that Presented will be 1 and Validated witll be 0.
Even though we map the enum values of PresentOrValidate.Result
to the correct value, this CL makes the interface consistent with
the HIDL so that we can directly use the enum value.

Bug: 208856704
Test: VTS
Change-Id: I9fb2421e32c2288c5495422eda6764f6102337f0
2021-12-22 21:58:57 -08:00
Nathan Harold
3b417508d8 Merge "VTS for UsageSetting" 2021-12-23 01:04:09 +00:00
Ady Abraham
8d65de5874 composer: rename ClockMonotonicTimestamp.timestamp
Rename ClockMonotonicTimestamp.timestamp to
ClockMonotonicTimestamp.timestampNanos to improve readability.

Fixes: 211801233
Test: build
Change-Id: Ia71525fd9ccb77d871857f60dac29ac9198c0258
2021-12-22 16:54:14 -08:00
Ady Abraham
f98cd3a9fe Merge "Remove GenericMetadata from composer3" 2021-12-23 00:28:11 +00:00
TreeHugger Robot
e00550775b Merge "composer: release fence can be null" 2021-12-23 00:17:38 +00:00
Les Lee
fcc5f633a9 Merge "wifi: Extend onFailure callback for dual AP case" 2021-12-23 00:16:30 +00:00
Ady Abraham
5b2858b709 Merge changes from topics "b_208879711", "hwc_present_time"
* changes:
  composer: DisplayCommand.colorTransform is just a matrix
  composer: pass expetcedPresentTime
2021-12-22 23:14:05 +00:00