Alec Mouri
d5df919eb7
Merge "Add API level for IMapper 4's bad metadata test" into main
2023-08-08 00:14:55 +00:00
Alec Mouri
2ee3317613
Add API level for IMapper 4's bad metadata test
...
Some devices shipped with broken validation for HDR metadata. Relax the
test for vendor freeze purposes.
Bug: 276843519
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I564f4bd12145f7831faa1e5a0f2d2abe074e4769
2023-08-04 21:59:23 +00:00
Treehugger Robot
6d9576d649
Merge "composer3: minor fix to dpi documentation " into main
2023-08-01 21:13:01 +00:00
Ady Abraham
07a826c28c
composer3: minor fix to dpi documentation
...
Change-Id: Ie31cb78f682761d1022592a22867307ab78b5a75
Test: prebuild
2023-08-01 20:00:07 +00:00
Ram Indani
789cd64b73
Merge "[Composer-HAL-AIDL] Deprecates getDisplayAttribute" into main
2023-07-31 19:46:10 +00:00
ramindani
d411bd3bda
[Composer-HAL-AIDL] Deprecates getDisplayAttribute
...
Test: atest VtsHalGraphicsComposer3_TargetTest
BUG: 284866749
BUG: 287518295
Change-Id: Ib4f32d9b60cbbbf127963e0fa4b273951e9d46e6
2023-07-31 10:16:05 -07:00
Treehugger Robot
f2d57b1e40
Merge "composer3: add rust backend " into main
2023-07-28 19:44:38 +00:00
John Reck
631dc15b2e
Remove allocator from composer2.1-4 VTS
...
Bug: 292584923
Test: make VtsHalGraphicsComposerV2_3TargetTest VtsHalGraphicsComposerV2_4TargetTest VtsHalGraphicsComposerV2_2TargetTest VtsHalGraphicsComposerV2_1TargetTest
Change-Id: I6c5e8c8b96450f800bb60b6ed0ce3b3c10ce1565
2023-07-26 16:06:34 -04:00
John Reck
6d0abbb439
Remove mapper from composer2.1 VTS
...
Bug: 292584923
Test: make VtsHalGraphicsComposerV2_3TargetTest VtsHalGraphicsComposerV2_4TargetTest VtsHalGraphicsComposerV2_2TargetTest VtsHalGraphicsComposerV2_1TargetTest
Change-Id: I3642995e7236a3b9b08ad5419c9d02b67243b24a
2023-07-26 15:54:47 -04:00
Ady Abraham
9118110a15
composer3: add rust backend
...
Change-Id: I2d3d91fd714130252d63b697958f128c9bd06dc5
Test: presubmit
Bug: 293256928
2023-07-26 19:42:10 +00:00
John Reck
82c666bd8c
Remove mapper from composer2.2 VTS
...
Test: make VtsHalGraphicsComposerV2_2TargetTest
Bug: 292584923
Change-Id: Id281c732535ace4a36750d759b59db7aa6e5cb3a
2023-07-26 10:17:17 -04:00
John Reck
650fe3ed52
Remove mapper from composer2.3 VTS
...
It was unused anyway
Bug: 292584923
Test: make VtsHalGraphicsComposerV2_3TargetTest
Change-Id: I81fb1be275ef54062a8ae5bddec17a137dda7946
2023-07-25 21:08:42 -04:00
John Reck
7f996c3f1c
Remove direct mapper from composer2.4 VTS
...
Bug: 292584923
Test: make VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I4379df1d673fc709b9a496b5c44cb9420798a05d
2023-07-25 17:35:08 -04:00
John Reck
e849ecd055
Remove unused dependencies from composer3 VTS
...
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I1eeb3ad326d91ec317e91bc3c515a8f28baae074
2023-07-25 16:32:49 -04:00
Ram Indani
15e0bb9f83
Merge changes from topic "HWC3-V3-VRR" into main
...
* changes:
[Composer VTS] Adds VTS for the vrr configuration
[Composer-HAL-AIDL] Adds vrr interface configuration
2023-07-22 04:14:52 +00:00
ramindani
2704c5fe12
[Composer VTS] Adds VTS for the vrr configuration
...
Test getDisplayConfigurations with vrr parameters
Test notifyExpectedPresent does not return error
Test: atest VtsHalGraphicsComposer3_TargetTest
BUG: 287517352
BUG: 284881912
Change-Id: I49d6876922e9fde47e531200a29413495458b8a5
2023-07-21 21:13:37 -07:00
ramindani
bc41c5fb19
[Composer-HAL-AIDL] Adds vrr interface configuration
...
Test: atest VtsHalGraphicsComposer3_TargetTest
BUG: 287517352
BUG: 284881912
Change-Id: I71ed35acb18a00009cd23afe47f5c48494d08c0c
2023-07-21 21:13:37 -07:00
Alec Mouri
3d978df32d
Support per-port display configs in VTS am: 821d5c05c2
am: 29d915f375
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24169145
Change-Id: I1b799ba8830247d57b37c0df1ab86c68f9bf8ec6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 03:52:49 +00:00
Alec Mouri
821d5c05c2
Support per-port display configs in VTS
...
Bug: 277855934
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:be1b4d6ccec45f47bbb9459bf9aa31b4c6875c7b )
Merged-In: I92e1615d8eb9466b40e02f8e2df8b3432e927af6
Change-Id: I92e1615d8eb9466b40e02f8e2df8b3432e927af6
2023-07-22 00:58:03 +00:00
Treehugger Robot
d683f7da0b
Merge "Support per-port display configs in VTS" into main
2023-07-21 21:13:11 +00:00
Alec Mouri
be1b4d6cce
Support per-port display configs in VTS
...
Bug: 277855934
Change-Id: I92e1615d8eb9466b40e02f8e2df8b3432e927af6
2023-07-21 21:12:16 +00:00
Treehugger Robot
595664a377
Merge "Fix a DimmingStage documentation typo by rewording the doc." into main am: 299db35551
am: 518f74b2f9
am: 7cafdb3073
am: f0c1565ef0
am: d0c6ea82e6
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2669815
Change-Id: Ic26033b197832c2ba22c5ce704edc4c1f3a65424
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 07:30:31 +00:00
Treehugger Robot
7cafdb3073
Merge "Fix a DimmingStage documentation typo by rewording the doc." into main am: 299db35551
am: 518f74b2f9
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2669815
Change-Id: Ibf33531aa91335f1a34d1d8db17dfa8ffbe84a54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 05:13:07 +00:00
Alec Mouri
cdcfd05736
Fix a DimmingStage documentation typo by rewording the doc.
...
Change-Id: I5a1b3a99630cfded4b34c74b020bb4df2ce12084
2023-07-20 23:07:17 +00:00
Kriti Dang
13ffa1d123
Merge "composer: vts: changing config groups should not check newVsyncAppliedTimeNanos" into main
2023-07-18 10:27:27 +00:00
Ady Abraham
b241927097
composer: vts: changing config groups should not check newVsyncAppliedTimeNanos
...
Bug: 240542961
Test: by partner
Change-Id: Id39d6c4a2a238b43dcf7b24249cab84a27eaf9dd
2023-07-17 12:23:38 +02:00
ramindani
02fe477218
[Composer VTS] Adds VTS for getDisplayConfigurations
...
Test getDisplayConfigurations on the version 3 of the composer.
Test: atest VtsHalGraphicsComposer3_TargetTest
BUG: 287518719
BUG: 284866749
Change-Id: Ibb654dbeb4b164d86f92f51f8083ed1ab06fcfa4
2023-07-14 14:53:11 -07:00
ramindani
d40b5667d7
[Composer-HAL-AIDL] Interface changes with getDisplayConfigurations
...
Updates to the AIDL interfaces with getDisplayConfigurations
This will be replacing the getDisplayConfig api that will be deprecated in the upcoming CL's.
implementations will follow in the upcoming CL's
Test: device boots, atest libsurfacerflinger_unittest, atest VtsHalGraphicsComposer3_TargetTest
BUG: 284866749
BUG: 287517352
Change-Id: I2b64dcaace26a297f308e8f5c2568c35c9cd38cb
2023-07-13 10:55:20 -07:00
ramindani
e50ed5d4e6
Upgrade Composer interface version
...
Test: device boots, atest libsurfacerflinger_unittest, atest VtsHalGraphicsComposer3_TargetTest
BUG: 284866749
BUG: 287517352
Change-Id: I803a4291c0839857f7e23696da7dac4c15a21e09
2023-07-13 10:55:20 -07:00
Alec Mouri
e5c4f5546a
Adjust documentation for UNKNOWN dataspaces.
...
Summarize the recommendations in {STANDARD, TRANSFER, RANGE}_UNSPECIFIED, but also indicate the UNKNOWN isn't really appropriate to signal.
Bug: 288461753
Change-Id: I237e45b7d83ed620ee79b9e39aed73fe71a047b0
Test: docs
2023-07-13 01:23:07 +00:00
Treehugger Robot
a68be420fd
Merge "Clarify null-termination of name field" into main am: 8328cbb343
am: b47a11c1d5
am: 3f76bf5b23
am: 84816ec99d
am: f5af8ff475
am: 2705f61931
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2651037
Change-Id: I89154927eaf442ca05a3fcdf92fc1a1cc0e17139
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-07 22:47:09 +00:00
Treehugger Robot
84816ec99d
Merge "Clarify null-termination of name field" into main am: 8328cbb343
am: b47a11c1d5
am: 3f76bf5b23
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2651037
Change-Id: I8840b5f4925bd801ddf4b39940b6b6246631176b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-07 20:43:39 +00:00
John Reck
735206b1a5
Clarify null-termination of name field
...
Test: make
Change-Id: I22e7c20074fe49bd533fc16c88a979447362d3f2
2023-07-07 12:11:00 -04:00
John Reck
54996257f1
Merge "Add ChromaSiting VERTICAL & BOTH"
2023-06-22 15:31:15 +00:00
ramindani
12423f5ff6
[Composer VTS] Subclass the test cases by the interface version
...
This helps us write tests by version number, and avoids checking version
interface in every test that we add in newer versions, avoids common mistakes of
missing a version check. And makes it clear what features were added in new versions
Test: atest VtsHalGraphicsComposer3_TargetTest
BUG: 274999658
Change-Id: I2a8d5aa6c9d426de02ab0abf2ca662e330b6a5ea
2023-06-15 22:52:32 +00:00
John Reck
fc489cac9e
Add ChromaSiting VERTICAL & BOTH
...
Bug: 221248303
Test: make
Change-Id: Ib5a3db2b580c1a063ae176ba3718cdd3ed7e1e9c
2023-06-09 16:46:49 -04:00
Edward Liaw
dbacb2173e
Merge "TEST_MAPPING: enable vts hal tests in kernel-presubmit" am: 24a8a39219
am: 69771123ba
am: ac75f2d41c
am: c01432b259
am: abed2fcab0
am: d4ac480aa1
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2610093
Change-Id: Ia634246c8f465af29a8092c4ef7691b46480891a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-02 00:13:30 +00:00
Edward Liaw
c01432b259
Merge "TEST_MAPPING: enable vts hal tests in kernel-presubmit" am: 24a8a39219
am: 69771123ba
am: ac75f2d41c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2610093
Change-Id: Id502dbe01f18f68a140290f5f0bf8b709d35bf0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-01 22:00:27 +00:00
Edward Liaw
69771123ba
Merge "TEST_MAPPING: enable vts hal tests in kernel-presubmit" am: 24a8a39219
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2610093
Change-Id: Ifb1fe3792f481cfe57d3b4e9e0f7995ced887a7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-01 21:11:34 +00:00
Edward Liaw
24a8a39219
Merge "TEST_MAPPING: enable vts hal tests in kernel-presubmit"
2023-06-01 20:34:33 +00:00
Edward Liaw
24696b3e32
TEST_MAPPING: enable vts hal tests in kernel-presubmit
...
Enable the following tests:
VtsHalBluetoothAudioTargetTest
VtsHalGraphicsComposerV2_4TargetTest
Bug: 284307085
Bug: 258819618
Test: atest :kernel-presubmit
Change-Id: I8667eaee120777a776339481f72558566e6c94b3
Signed-off-by: Edward Liaw <edliaw@google.com>
2023-06-01 16:08:42 +00:00
Ram Indani
361a1fd8ed
Merge "[HIDL composer] Verify key & value sizes are within the data size range"
2023-05-31 23:48:49 +00:00
ramindani
c7a880719e
[HIDL composer] Verify key & value sizes are within the data size range
...
Sizes when invalid can cause OOB reads and causes the crash
Test: atest VtsHalGraphicsComposerV2_1TargetTest && atest VtsHalGraphicsComposerV2_2TargetTest && atest VtsHalGraphicsComposerV2_3TargetTest && atest VtsHalGraphicsComposerV2_4TargetTest
go/wm-smoke test
BUG: 252995613
Change-Id: I77e472851236eba2b8418034144c9cc8237c7143
2023-05-31 23:00:53 +00:00
John Reck
0cf823b31d
Merge "Add test for USAGE query for >32-bit" am: 4ef9f5dd2b
am: a1171f30d8
am: 0284fd727c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2607685
Change-Id: I81d2669f98a9716acb638d632cfb28442b122add
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-30 22:31:34 +00:00
John Reck
a1171f30d8
Merge "Add test for USAGE query for >32-bit" am: 4ef9f5dd2b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2607685
Change-Id: I2000c140565d02a503a2b394a63d5342c4cd1830
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-30 21:03:51 +00:00
John Reck
4ef9f5dd2b
Merge "Add test for USAGE query for >32-bit"
2023-05-30 20:11:24 +00:00
Ram Indani
b6ffd5c35d
Merge "[VTS 2.3] Add length check before reading blob" into udc-dev am: a9d135cd14
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23438943
Change-Id: I492cd7aa3aec59dc6af2385de5d3af6b9b1a887b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-30 17:09:05 +00:00
John Reck
b9cd45c741
Add test for USAGE query for >32-bit
...
Bug: 284333373
Test: this
Change-Id: Ie9683e5cccb85db1280b85b0b32d7cec042d79a3
2023-05-26 16:55:09 -04:00
ramindani
caee7cd3f6
[VTS 2.3] Add length check before reading blob
...
Adding a length check prevents the read() from
reading outside the bounds and prevents OOB crash.
Test: atest VtsHalGraphicsComposerV2_3TargetTest && atest VtsHalGraphicsComposerV2_4TargetTest
BUG: 252764300
Change-Id: I6231e340a925127f9c32ccb76768286f7292df58
Merged-In: I6231e340a925127f9c32ccb76768286f7292df58
2023-05-25 22:12:24 +00:00
ramindani
e6e7fdfda6
[VTS 2.3] Add length check before reading blob
...
Adding a length check prevents the read() from
reading outside the bounds and prevents OOB crash.
Test: atest VtsHalGraphicsComposerV2_3TargetTest && atest VtsHalGraphicsComposerV2_4TargetTest
BUG: 252764300
Change-Id: I6231e340a925127f9c32ccb76768286f7292df58
2023-05-25 22:07:04 +00:00
Treehugger Robot
cb75e7a3dc
Merge "Fix typo in FreeBufferNegative test" am: 9886fbe306
am: ae2e886386
am: 75975657f2
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2595001
Change-Id: I2bf5aefeaac8e000acff3a9b59afb77a7634650f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-19 22:21:26 +00:00
Treehugger Robot
ae2e886386
Merge "Fix typo in FreeBufferNegative test" am: 9886fbe306
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2595001
Change-Id: If4652f681ac1562b2248e21a410d2952c89fae08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-19 20:51:47 +00:00
John Reck
1ba7c5124c
Fix typo in FreeBufferNegative test
...
Wrong buffer was being free'd, triggering ASAN violations
Fixes: 278138497
Test: this
Change-Id: I7be7c85a55a58d01576324d2cd201e5a03e88283
2023-05-19 14:24:21 -04:00
Kriti Dang
79bbec97c4
Change the HDR conversion VTS test to take into account sink device
...
capabilities
Bug: 278467239
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I69c21b6d8b9753500a7b7a1692448b7151009ba3
2023-05-08 08:28:09 +00:00
Huihong Luo
b7ffedf76a
Merge "Reset pending commands" into udc-dev
2023-04-24 16:53:57 +00:00
Huihong Luo
651806f263
Reset pending commands
...
Allow takePendingCommands to have ownership for mComamnds so commands
are reset on each call. Make reset method to be private.
Bug: 273525126
Test: manual
Change-Id: Ifecad733e5e85d475825969296ddf68081ce9e60
2023-04-22 04:09:10 +00:00
Treehugger Robot
cee699a37b
Merge "graphics/common: Link to the Jpeg/R format specification" into udc-dev
2023-04-20 21:52:07 +00:00
Emilian Peev
0794ecb65d
graphics/common: Link to the Jpeg/R format specification
...
Bug: 264927059
Test: Clean build
Change-Id: I40d12b18814099223184877360193aeb315ddb90
2023-04-19 10:48:28 -07:00
Alex Buynytskyy
ec1198d941
UpsideDownCake is now 34
...
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
ramindani
ea9ab1c01e
VTS add length is not zero check for executeSetClientTarget am: d00b8598bb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/22434697
Change-Id: I711607fc79f2ea513daba2b5017b9b5222a13d08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-05 00:49:57 +00:00
ramindani
d00b8598bb
VTS add length is not zero check for executeSetClientTarget
...
Test: atest VtsHalGraphicsComposerV2_1TargetTest
BUG: 252764410
Change-Id: Icd15f6e7bfdd7b3e3d0d4b407195258d4171c560
(cherry picked from commit 708d49cfce
)
Merged-In: Icd15f6e7bfdd7b3e3d0d4b407195258d4171c560
2023-04-03 20:55:08 +00:00
Ram Indani
946e04580b
Merge "VTS add length is not zero check for executeSetClientTarget" into udc-dev
2023-04-03 20:54:03 +00:00
Sally Qi
3972fcdb1f
Merge "Fix HDR sluggish issue." into udc-dev
2023-04-03 17:21:26 +00:00
ramindani
708d49cfce
VTS add length is not zero check for executeSetClientTarget
...
Test: atest VtsHalGraphicsComposerV2_1TargetTest
BUG: 252764410
Change-Id: Icd15f6e7bfdd7b3e3d0d4b407195258d4171c560
2023-04-03 09:12:02 -07:00
Brian Lindahl
5d9aedf558
Merge "Fix bug where buffer slots to clear were not set correctly" into udc-dev
2023-04-03 13:29:49 +00:00
TreeHugger Robot
ac28d06464
Merge "Add VTS test for clearing buffer slots to Composer HIDL and AIDL" into udc-dev
2023-03-31 22:34:15 +00:00
Brian Lindahl
c85693d02d
Fix bug where buffer slots to clear were not set correctly
...
Bug: 276417624
Bug: 258196272
Test: VtsHalGraphicsComposer3_TargetTest
Change-Id: Ie077f14140d71f88a497c4a8995d73dd07c31598
2023-03-31 07:45:18 -06:00
Brian Lindahl
25e0d09c76
Add VTS test for clearing buffer slots to Composer HIDL and AIDL
...
This feature allows SurfaceFlinger to clear buffer slots when buffers
are discarded by SurfaceFlinger clients and will no longer be used,
allowing the graphics memory to be freed immediately.
Bug: 258196272
Test: atest VtsHalGraphicsComposerV2_4TargetTest
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: Ibfbe2078ac419bb8f3880ee3f0512acaad2f5012
2023-03-31 07:26:27 -06:00
Sally Qi
6814c443eb
Fix HDR sluggish issue.
...
- skip writing blobs if empty packet is sent for per-frame metadata.
Bug: 274050717
Test: play HDR video on YouTube
Change-Id: If8716613136c70a5adee29074cc2e9d35a500264
2023-03-30 23:41:29 -07:00
Brian Johnson
9f370be5bb
Merge "Revert "Add a DisplayCapability for multi-threaded present"" into udc-dev
2023-03-31 01:55:24 +00:00
John Reck
ffe142751a
Update DataSpace.aidl RANGE_EXTENDED
...
Fixes: 274780844
Test: doc only change
Change-Id: I619894e0bb3f4e6928e5c920af90fb8ce3702397
2023-03-28 11:39:58 -04:00
Leon Scroggins III
4509505ce0
Revert "Add a DisplayCapability for multi-threaded present"
...
This reverts commit b3e336edd1
.
Bug: 274954820
Test: build
Change-Id: I6265f8de3db31f07506906cee82a91fe3baac0bc
2023-03-23 18:23:15 -04:00
Ram Indani
ef9924997b
Merge "[VTS] Add interface version check function" into udc-dev
2023-03-21 20:00:04 +00:00
Treehugger Robot
534c5eeea3
Merge "Revert "graphics: improve preloading for IMapper default impl"" am: aab958fef0
am: 3ce3ee6427
am: d95f1801c7
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2497376
Change-Id: I1562de76110f9d938f00e3c603f6a2cf69e19a14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 20:57:13 +00:00
ramindani
17c7110b70
[VTS] Add interface version check function
...
Use the interface version check function in
SetRefreshRateChangedCallbackDebug tests
Update the GetOverlaySupport and SkipValidateDeprecatedTest
To use the interface vesion function
Test: atest VtsHalGraphicsComposer3_TargetTest
BUG: 267565265
Change-Id: I3f37f4ff5610f8e9e3dec299ed7c3f0c41a630d7
2023-03-20 18:16:57 +00:00
Chia-I Wu
7ca92515be
Revert "graphics: improve preloading for IMapper default impl"
...
This reverts commit 6d189b71a2
.
Reason for revert: b/273884219, beagle_x15
Change-Id: I9706fc46f9aedbeb4bbcff7ebcb45939bcd20680
2023-03-20 16:36:56 +00:00
Kriti Dang
5fcddd74f6
Fixing the HDR conversion aidls
...
Bug: 251168514
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I10310dd26809bd546c41d3d16bebcba711e43a50
2023-03-07 14:36:03 +00:00
Ram Indani
47a31d9393
Merge "[VTS] change the bool to lambda" into udc-dev
2023-03-04 00:13:28 +00:00
ramindani
9151889d57
[VTS] change the bool to lambda
...
BUG: 202734676
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I5611cd8a6cc23491621470d6457e2bfc859fde4e
2023-03-03 18:51:09 +00:00
Ram Indani
9a7999d1eb
Merge "VTS for the Refresh rate callback debug enabled" into udc-dev
2023-03-03 05:24:09 +00:00
ramindani
9dd8c4882b
VTS for the Refresh rate callback debug enabled
...
BUG: 202734676
Test: atest VtsHalGraphicsComposer3_TargetTest
with the patch of
Ibc80d66eae6b21c3cf84d35fa819e97ccc509ede
Change-Id: I02bdf061420fe12ef4548008d66bb73e8cd416e8
2023-03-03 03:29:02 +00:00
Chia-I Wu
34eece60f5
Merge "graphics: improve preloading for IMapper default impl" am: 960c33c599
am: 697fddee77
am: 227a9f4155
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2459229
Change-Id: Ic80d75ea9db96d5dce2dd86942bddbecb0c5cd74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-28 21:06:57 +00:00
Chia-I Wu
6d189b71a2
graphics: improve preloading for IMapper default impl
...
When GraphicBufferMapper::preloadHal dlopens the default impl, make sure
the gralloc module is also dlopen'ed.
Bug: 269664560
Test: android.view.cts.PixelCopyTest#testVideoProducer on grunt
Change-Id: I57418338d5212fb9a2c1ea82eba63d855f69ff32
2023-02-27 14:19:12 -08:00
Dorin Drimus
08212492f8
Fix VtsHalGraphicsComposer3_TargetTest / GetOverlaySupport
...
Test case is for composer starting with version 2 API, but the test case doesn't check version, so it fails for version 1 API.
Bug: 267565265
Test: 1. Push VtsHalGraphicsComposer3_TargetTest to device
2. Run VtsHalGraphicsComposer3_TargetTest
Test Command:
chmod 777 data/VtsHalGraphicsComposer3_TargetTest
./data/VtsHalGraphicsComposer3_TargetTest
Change-Id: I7bf37061aba84dfdfea5fc9dda5a300a1e5ec680
(cherry picked from commit 7493bbc999
)
Merged-In: I7bf37061aba84dfdfea5fc9dda5a300a1e5ec680
2023-02-24 09:24:16 +00:00
Alec Mouri
bedde5e845
Check the correct sysprop for P010 support for gralloc 3 and 4. am: 960c14db22
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2441523
Change-Id: I86b2df035255b94e8a682c1870efea0df450aec4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-18 02:10:40 +00:00
Alec Mouri
960c14db22
Check the correct sysprop for P010 support for gralloc 3 and 4.
...
We need to check the first api level that the vendor shipped with.
Also check P010 support in the preamble of the relevant test rather than in allocate(), since otherwise either allocate() may incorrectly skip some tests or allocate() may succeed but with the wrong layout information.
Bug: 257442231
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I00ae5aa01117704158c38f0689e91df99473e208
Merged-In: I00ae5aa01117704158c38f0689e91df99473e208
2023-02-16 23:16:14 +00:00
Alec Mouri
b9f8d25652
Merge "Check the correct sysprop for P010 support for gralloc 3 and 4."
2023-02-15 22:23:47 +00:00
Alec Mouri
78d76ea43f
Check the correct sysprop for P010 support for gralloc 3 and 4.
...
We need to check the first api level that the vendor shipped with.
Also check P010 support in the preamble of the relevant test rather than in allocate(), since otherwise either allocate() may incorrectly skip some tests or allocate() may succeed but with the wrong layout information.
Bug: 257442231
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I00ae5aa01117704158c38f0689e91df99473e208
2023-02-15 02:37:49 +00:00
Kriti Dang
376227694f
Update setHdrConversionStrategy to return the preferredHdrOutput type
...
Bug: 268336382
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I6ac912ac8a0329f4ea32acad657e44b473660c42
2023-02-14 18:10:16 +00:00
Ram Indani
f08f437e51
Merge changes from topic "hwc-rri"
...
* changes:
[HWC3] VTS client updates for onRefreshRateChangedDebug callback And for setRefreshRateChangedCallbackDebugEnabled
[HWC3] AIDL implementation for Refresh Rate Overlay indicator
2023-02-13 23:00:03 +00:00
ramindani
8345034b53
[HWC3] VTS client updates for onRefreshRateChangedDebug callback
...
And for setRefreshRateChangedCallbackDebugEnabled
This does not add any implementation for the VTS code.
Implementation will be added with the VTS tests as a followup.
Test: Device boots
BUG: 202734676
Change-Id: If47bbcf87698b346907b3bc1903908ff0a63203f
2023-02-10 14:27:09 -08:00
ramindani
ff0da0bb24
[HWC3] AIDL implementation for Refresh Rate Overlay indicator
...
Adds IComposerClient method to inform that the Refresh Rate callback is enabled.
Adds IComposerCallback to get the display vsyncPeriod for the Overlay.
Adds Composition type REFRESH_RATE_INDICATOR
Test: Device boots
BUG: 202734676
Change-Id: I48b0c05f49095b15cea444dc5c3ad8f78a043cb0
2023-02-10 09:25:47 -08:00
Sally Qi
2b4ceb6365
Add exception annotation to getOverlaySupport api.
...
Bug: 268246323
Test: builds
Change-Id: I1979fed444a9fd3d94af729112fff070beb01439
2023-02-08 12:59:54 -08:00
Yi Kong
0214404f6e
Fix compiler warning discovered by clang-r484482 am: 07448c2929
am: ba993e51e8
am: 661d9018c7
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2402792
Change-Id: I195de8f952c0b9091e4e57d64535e4e2014f3fb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 20:10:23 +00:00
Yi Kong
07448c2929
Fix compiler warning discovered by clang-r484482
...
external/googletest/googletest/include/gtest/gtest.h:1545:11: error: invalid operands to binary expression ('const std::vector<unsigned char>' and 'const android::hardware::hidl_vec<unsigned char>') [clang-diagnostic-error]
if (lhs == rhs) {
~~~ ^ ~~~
Test: presubmit
Change-Id: Iabe98a58d5dc5b9943c38240da2d8df6ac61fb7f
2023-01-26 01:23:03 +09:00
Sally Qi
a0545e3057
Merge "[Aidl graphics API] split dataspace array into tuples."
2023-01-24 16:34:02 +00:00
Devika Krishnadas
e794f8f5e4
Merge "gralloc4-vts: Remove assert for sizeInBits for RAW formats"
2023-01-20 20:57:09 +00:00
Treehugger Robot
7603d62a20
Merge "Drop <name>I</name> from mapper HAL." am: d2bbda8b32
am: 116ddaf033
am: 81f4ddd0c5
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2392038
Change-Id: Ieb1ffe7a2a24c93b6696acd9d9c178475b826aef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 18:54:25 +00:00
Treehugger Robot
d2bbda8b32
Merge "Drop <name>I</name> from mapper HAL."
2023-01-20 17:10:47 +00:00
Sally Qi
c2c392fbea
[Aidl graphics API] split dataspace array into tuples.
...
- update VTS test to make sure primaries/transfers/ranges bits are
correct.
Bug: 242588489
Test: build and flash; atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I77536d97b98e4dead208b7c8aeed9cfbb0d82316
2023-01-19 15:50:17 -08:00