32 Commits

Author SHA1 Message Date
Eino-Ville Talvala
12a9575c10 Graphics: Migrate graphics.common HAL to version 6
- Update defaults to V6 instead of V5
- Update older dependent HALs to also reference V6

Test: Builds
Flag: EXEMPT build change
Bug: 368395888
Change-Id: I542c1c638b9d63c2510b11d04d6ed98477780af7
2024-11-06 14:54:32 -08:00
Eino-Ville Talvala
50b9157605 Graphics: Add Rust and AIDL defaults for graphics HALS, migrate usages
- Add new defaults for Rust and AIDL graphics HAL library references
- Migrate HAL interfaces to use new AIDL defaults

This is in preparation for upgrading the graphics.common HAL to V6.

Test: Builds
Bug: 368395888
Flag: EXEMPT build changes
Change-Id: I9d312328255226fbd7162b9dfd151dfa823f1858
2024-10-16 17:48:22 -07:00
Kiyoung Kim
7c0d9eb259 Remove Vndk_use_version property from AIDL
Vndk_use_version property is no longer in use with deprecation of VNDK.
Remove Vndk_use_version property and its usage.

Bug: 328994089
Test: AOSP CF build succeeded
Change-Id: I681cc850341a7dc47416dc81c1da21b687f87b1b
2024-05-30 03:29:10 +00:00
Kiyoung Kim
9e9d41d162 Remove VNDK definition(s)
As of VNDK deprecation, any libraries that defines vndk is no longer
valid anymore. This change removes all VNDK definition(s) from modules
which was VNDK.

Bug: 328994089
Test: AOSP CF build succeeded
Change-Id: Ifdade9c052db29c989ce7d804ba725361c4c0f8e
Merged-In: Ic4f19113c1a25dc1fb60cdfbf9c0f2d8d7d09726
2024-04-05 02:29:07 +00:00
Jooyung Han
c1e4f6ede3 Merge "Use new API to load mapper" into main am: f6b4016c32
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963302

Change-Id: I62e056a3c0ed6a4ac130fae5c01ee455b0da061e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 22:59:48 +00:00
Jooyung Han
4784c0b0b3 Use new API to load mapper
AServiceManager_getDeclaredPassthroughHal() can replace
android_load_sphal_library().

Bug: 316051788
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I50021790693c3ec2bce8cb4af96b0d6ee276b2e7
2024-02-14 09:48:00 +09:00
Treehugger Robot
74dc4cc5d7 Merge "[DON'T BLOCK] Test ownership migration rules" into main am: 27e97308c4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2950589

Change-Id: Ie4f36b193820490e606e7f5100ca29200f832fa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 01:45:21 +00:00
Aditya Choudhary
ad2ba1b851 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: Ic8c4bd6ac246e7efa98bbdaf822d12ae8e1230a5
2024-02-05 15:45:22 +00:00
sergiuferentz
7d7a24d5f6 Bump android.hardware.graphics.common V4->V5
Test: Build
Bug: 291142745
Change-Id: Ib0002feb982ffcc37fa7b69493c644b7a835cf4f
2023-10-03 16:14:03 +00:00
Xin Li
879960bdce Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: I7b6fffac2ada0e039f79bad8cc9b4d954e9c3460
Change-Id: I9466127d8d0fa38df36ca99f704853b2db871e67
2023-08-25 13:29:30 -07: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
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
John Reck
a190be3f86 Clarify deprecation message
Note that it's still used if mapper@4 is still used

Test: n/a doc only change
Change-Id: I21d3070684592f2931842acb43466ae4236856e6
2023-01-10 10:56:00 -05:00
Treehugger Robot
0a9430add2 Merge "Add ExtendableType to allocate" 2023-01-09 08:05:54 +00:00
John Reck
cf8d8bc769 Add ExtendableType to allocate
Allows for passing arbitrary additional options to IAllocator
Can be used to control things such as compression level without
exhausting usage bits

Currently there are no standard options defined so this only allows
for vendor-internal extensions currently.

Fixes: 257075040
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I37b730f5ba141b08d458866c6d03a39b27124e02
2023-01-06 15:43:27 -05:00
John Reck
2c2cfc9341 Add stride query
Fixes: 261856851
Test: VtsHalGraphicsMapperStableC_TargetTest

Change-Id: Ib49df2d46dd55848c4854179bd6205c86c232a6d
2023-01-04 16:41:26 -05:00
Marc Kassis
9c428fe3ed graphics.common V3 -> V4
Bug: 251177105
Test: m
Change-Id: I816b8e14a0741402090cdc4732c2a904e830ff4e
Merged-In: I1cb84ec85f98789d0737207a1661b39a25538c96
Merged-In: I2e1561f4ccb59a2a833af9a7afd07840ab2ebfa4
2022-12-07 10:53:12 +00:00
John Reck
4346ad0f75 Merge "IMapper 5 - the Stable C approach" 2022-12-01 23:48:40 +00:00
John Reck
97f313746f IMapper 5 - the Stable C approach
Test: make VtsHalGraphicsMapperStableC_TargetTest VtsHalGraphicsAllocatorAidl_TargetTest

Change-Id: I910b27f388e3fb7261425dd4b2133885c05edd37
Merged-In: I910b27f388e3fb7261425dd4b2133885c05edd37
2022-12-01 17:37:59 +00:00
Steven Moreland
558762c14d allocator frozen false
magic -> explicit

Bug: 259465531
Test: N/A
Merged-In: I56b04a0f682a0ba3dc58a42c0a14bb506591c594
Change-Id: I56b04a0f682a0ba3dc58a42c0a14bb506591c594
(cherry picked from commit f65553745b)
2022-11-23 21:29:48 +00:00
Steven Moreland
00ba1e951d android.hardware.graphics.allocator - VNDK - use V1
Breaking SDK finalization.

Bug: 259146177
Change-Id: I637ab649cbd1d0c886c91859398888f22025b963
Test: N/A
2022-11-17 00:07:44 +00:00
John Reck
1dd64b4f83 Preemptive minimal import
Just to handle conflicts from internal

Test: make
Merged-In: I6fbc22272ba95b44aa09ff08f9d9a7adbb9ae8be
Change-Id: Ibe3ca5c654057b60fa9f045e6fc1f39d14463b44
2022-11-15 16:27:54 -05:00
Sally Qi
a1c66a2993 Add cc_defaults wrapper for android.hardware.graphics.allocator ndk
package.

- to avoid manually rev up if needed.

Bug: 243429120
Test: builds
Change-Id: I25bfcc203cda61af308c37c3766fa9efe6c6784c
Merged-In: I25bfcc203cda61af308c37c3766fa9efe6c6784c
2022-10-20 18:27:12 -04:00
Ankit Goyal
694e50be3b Skip front buffer test if not supported
Bug: 218383959
Test: this
Change-Id: I61beba63556c1d6a32e220fffd8e4b4fdfd8bd94
2022-05-26 17:04:18 -07:00
Ankit Goyal
72415bcfa3 Do not generate failed status on allocation failure
Bug: 218383959
Test: this
Change-Id: Ibb37d9cad8004d31c3d7cb75ebfa7839f7d07ed0
2022-05-26 17:04:12 -07:00
Jiyong Park
70f5837e1f Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09:00
John Reck
ddd4329e61 Add a few tests that FRONT_BUFFER is flushing properly
Test: this
Bug: 217776226
Change-Id: I49e32391620e005700d39539ca47da64199067a0
2022-03-31 15:50:14 -04:00
John Reck
09028a0872 Merge "Address ANAPIC feedback" 2022-02-07 18:18:07 +00:00
John Reck
cd883bc17a Address ANAPIC feedback
Also adds recommended combination for FRONT_BUFFER as
that was feedback from implementers

Fixes: 217752219
Test: N/A doc only change
Change-Id: I086597d14cc7d9d1a0b620b73297aaa3e6288773
2022-02-03 21:01:03 -05:00
John Reck
d1431859b3 Add minimal IAllocator AIDL VTS test
Bug: 217776226
Test: this
Change-Id: I3cca43b435e05e3909a943991b5dad69c1e4e56e
2022-02-03 20:30:58 -05:00
John Reck
ef1d9b6f8f Add front buffer usage
Test: Builds & boots
Bug: 193558894

Change-Id: I5e6aa11b47272d9d8aa8a8bac256861f7a0629cb
2022-01-13 16:09:54 -05:00