Commit graph

439 commits

Author SHA1 Message Date
Treehugger Robot
4e10251c1d Merge "media.bufferpool2: Ensure uniqueness of connection id" into main am: e540e3385d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3118258

Change-Id: I15540b657902daa97eb6a2027d85f7921f3991f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 18:37:30 +00:00
Sungtak Lee
5e104e41ad media.bufferpool2: Ensure uniqueness of connection id
Currently same connection id can be given to different connections if
they don't belong to the same bufferpool.

Ensure uniqueness of connection id for each connection.

Bug: 323793249
Change-Id: I350872e6d60736ea4525d473944c92b5fe3f5f84
2024-06-10 23:58:13 +00:00
Xin Li
64e598ce2b Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I53a278f1317f5307441103dc42dc5be6f20d7075
Change-Id: I3a53ebf7339cdb886d3c1b733b8eee1847f8832a
2024-05-24 08:28:04 -07:00
Inseob Kim
af021acc42 Build media_profiles_V1_0.dtd with Soong
Bug: 335369205
Test: build
Change-Id: I217a902688bd9e3b9ecbcce3b869e2958f933cf7
2024-04-25 00:38:59 +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
Xin Li
c4b2f5b564 Merge "Merge Android 14 QPR2 to AOSP main" into main 2024-03-07 06:41:02 +00:00
Sungtak Lee
a60689cd50 media.bufferpool2: ensure message-ids are safe from overflow/underflow
Since message-ids can be wrapped, they are not safe from
overflow/underflow. Change them to be safe from overflow/underflow.

Bug: 321674574
Change-Id: I39a4baf057fc81389925e0fe358894f62ade9423
2024-02-27 21:03:18 +00:00
Devin Moore
a8efdb127e Vendor API level 202404 is now frozen
Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: Ie6d38d27a287e258c30516e0030ad8c931d06432
2024-02-20 21:05:23 +00:00
Treehugger Robot
c78f9f21f6 Merge "[DON'T BLOCK] Test ownership migration rules" into main am: 27e97308c4 am: 74dc4cc5d7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2950589

Change-Id: I9a26bb26763d77e109f1d911d0ea7c95f632703f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 02:26:27 +00: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
Xin Li
763c473c3d Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I976f80006aeb88bde2ae34ca4f9be72cea727d9e
Change-Id: Id94b25af52bd2e2847b6858697ab21cc6ce27aa3
2024-01-30 10:36:50 -08:00
Sungtak Lee
424bba8d2c Merge changes from topic "c2-aidl-pool" into main am: a037962389 am: 106f580ec3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2912758

Change-Id: I4be3d2f46817dc494afa01b0e60e49d55c16e865
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 19:05:46 +00:00
Sungtak Lee
b17e7207d9 media.bufferpool2: Support receiver side initated buffer transfer am: ae00908369 am: 00073e477d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2912757

Change-Id: I154f4a5f473c7ea6d422cc70a1b7a3534309c9b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-19 19:05:40 +00:00
Sungtak Lee
ae00908369 media.bufferpool2: Support receiver side initated buffer transfer
Bug: 254050314
Change-Id: I4c1b49e3bb99b8dbdccc44e5e1562833a585d454
2024-01-18 23:18:39 +00:00
Sungtak Lee
140f3e8c71 media c2.aidl: Add IPooledGraphicBufferAllocator support
Support media.bufferpool2 based output graphic buffer allocator.

Bug: 254050314
Change-Id: I7f21f08582d09b76e9222e002e02a8d8794f08b5
2024-01-18 23:18:39 +00:00
Treehugger Robot
bab2268f9c Merge "Don't query unused values" into main 2024-01-17 19:33:52 +00:00
Sungtak Lee
7828b091eb Merge changes from topic "bufferpool2-V2" into main am: 04b5d6679b am: 1b909f4807
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2906625

Change-Id: I9561c3d4e26c94762002690e7c2cdc10b4147cdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-16 19:23:59 +00:00
Sungtak Lee
849b273360 media.bufferpool2: support AHardwareBuffer based buffer am: 71ef1c1559 am: 5edd8f2b96
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2907297

Change-Id: I1e7c449baeb7d38c8c81a76c3e9c2c37c658c089
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-16 19:23:54 +00:00
Sungtak Lee
f36c31c9f0 media.c2 aidl: Use bufferpool2 V2
Bug: 254050314
Change-Id: I1597fa92214086378d48fa37401a389a32c72bba
2024-01-13 00:22:48 +00:00
Sungtak Lee
71ef1c1559 media.bufferpool2: support AHardwareBuffer based buffer
Change-Id: I43102797b92d4782d2fc620ea3c9490f5187b90c
2024-01-12 23:58:58 +00:00
John Reck
0183e379d6 Don't query unused values
lock() will be removing these params in the future and they are
unused anyway, so remove them

Test: make
Change-Id: I339c3b9ffa8e7a9cef50d1d80c8cd1a7d0950d82
2024-01-10 23:36:17 -05:00
Sungtak Lee
5b7f3e3530 Merge "media.c2 aidl: add input surface for encoders" into main am: 3d0eeb9cfc am: 79bd89c52d am: c35c298b85
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2878228

Change-Id: I2dc2fbebb8cfc20d789002c5eede23a773257cec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 00:12:10 +00:00
Sungtak Lee
91d8a09b90 media.c2 aidl: add input surface for encoders
Bug: 315556623
Test: m
Change-Id: I9a7497f466e39b7fd223859cab49c26da359e401
2024-01-04 09:24:12 +00:00
Sungtak Lee
dcc85601eb Merge "media.c2 aidl: do not throw status, return instead" into main am: 3c548fc475 am: 1cccdf5c1c am: 4c76bdb635
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2893421

Change-Id: I01b9e7454acb3b9ad9f7079071e016773103792a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-04 02:37:12 +00:00
Sungtak Lee
3c548fc475 Merge "media.c2 aidl: do not throw status, return instead" into main 2024-01-04 00:35:37 +00:00
Sungtak Lee
5e517c39ec media.c2 aidl: do not throw status, return instead
config(),query() and querySupportedValues() can return values as a
partial failure when status was thrown. So return the status instead of
throwing(For the compatibility with HIDL interface).

Bug: 254050314
Change-Id: Iece35ff11049e1b3fccb3b72a4d438621138e21e
2024-01-03 07:16:52 +00:00
Steven Moreland
f2a3ada309 Merge "BufferPoolClient: avoid dereference null accessor" into main am: 85333361c1 am: 71d3a7ccbc am: 20c1948aa5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2889801

Change-Id: I5d3228265cc964c0bc13164bcb40bf22e0290bd4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-28 04:53:03 +00:00
Steven Moreland
483e69f4eb BufferPoolClient: avoid dereference null accessor
Bug: 308739058
Test: N/A
Change-Id: I568e9d82976a1f7d7278748f347a17eb6f93fc79
2023-12-27 22:55:36 +00:00
Treehugger Robot
7107992809 Merge "Disable the rust backend of android.hardware.media.c2" into main am: 12e8aba235 am: 9cbc36cb4a am: 842b48f0cf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880987

Change-Id: I4cd2afd4d792592bc6b79f2edb36f760489d0719
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 01:09:39 +00:00
Devin Moore
763909c378 Disable the rust backend of android.hardware.media.c2
There are currently no users of it. Enabling it will require adding rust
support for the android.os.Surface type that uses ANativeWindow
underneath.

Test: m
Bug: 315556623
Change-Id: Ib9954b1bf476b391919db994bc2dc1483d972670
2023-12-18 19:28:10 +00:00
Sungtak Lee
1dba27e319 Merge "media.c2 aidl: handle the case of fence being invalid" into main am: cf5c2cf45a am: e12f4b7664 am: 7b8f40ad23
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2845122

Change-Id: I2c7b33f0db1b4d5364dda046dee0e843c3a44821
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-27 19:45:44 +00:00
Sungtak Lee
80345e908e media.c2 aidl: handle the case of fence being invalid
Bug: 254050314
Test: m
Change-Id: I6eed49119de96326324f901fd99d20ab605b92a0
2023-11-26 22:55:09 +00:00
Treehugger Robot
ff87f29cd9 Merge "media.c2 aidl: provide a waitable fd for blockpool creation" into main am: a9050e3ac0 am: 42655cc0d8 am: b7a7088042
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2805373

Change-Id: Ib29cffb5bcab11bd8c057c0194592f84a9c95daa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-28 08:09:06 +00:00
Sungtak Lee
eec87d9081 media.c2 aidl: provide a waitable fd for blockpool creation
Provide a waitable fd as a param for IComponent::createBlockPool()
along with IGraphicBufferAllocator interface. This will remove one IPC
call from HAL to client to get a waitable fd during blockpool creation.

Test: m
Bug: 254050314
Change-Id: I38d9bde987793e352299385fb141e484c758f89d
2023-10-26 22:25:32 +00:00
Andrew Walbran
fa483fbf7c Merge "Support android.hardware.media.c2 in Rust." into main am: 41041d6d9c am: 1433c78a7d am: a93658b9aa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2735631

Change-Id: Ic58e7198ed48f2faabf1f3c1b40c75be8620c184
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 02:47:33 +00:00
Andrew Walbran
3a91d2b31f Support android.hardware.media.c2 in Rust.
Bug: 295245772
Test: m android.hardware.media.c2
Change-Id: I395783980ee12658fb0a246084c4d078840c6574
2023-10-17 15:31:23 +01:00
Treehugger Robot
8a4bab7ee8 Merge "Update media OWNERS file" into main am: 9c93cbe987 am: 049ca157b4 am: 681a1f6668 am: 526b46444a am: 1d9eff22fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2784709

Change-Id: Ia50b588e624f1986d86f2ef7918e3e6615f7c00a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-12 02:32:35 +00:00
Devin Moore
d2f5f95f51 Update media OWNERS file
Test: none
Bug: none
Change-Id: Idf00ac904a3358d56e002650d0ef519e123f5678
2023-10-11 22:14:42 +00:00
Xin Li
a737141254 Merge "Merge Android 14" into main 2023-10-06 05:34:12 +00:00
Treehugger Robot
59ae2a6038 Merge "media.c2 aidl: change minSdk to 30" into main am: df7f1d5f60 am: 1c08343ac8 am: 2cf98348de am: 2ee0a72411 am: 6f784a0fd8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2768517

Change-Id: I4dde1aecfdba598b0cfb8f7d0910a728e7eb3630
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 04:16:05 +00:00
Treehugger Robot
1c08343ac8 Merge "media.c2 aidl: change minSdk to 30" into main am: df7f1d5f60
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2768517

Change-Id: Ied225b6b8ccd0a08a42632be713922a24e9cb54f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 02:23:01 +00:00
Sungtak Lee
007122be1d media.c2 aidl: change minSdk to 30
Test: m
Bug:254050314
Change-Id: I62613e59146599b49ae69c84d033eca39fcfdb18
2023-10-04 17:26:20 +00:00
Treehugger Robot
744f83507a Merge "media.c2 : Change waitable object to be based on single fd" into main am: c43c449c79 am: 90e403f2f6 am: 5eaab1d0d8 am: 8addf6a2c1 am: f90057231a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2753410

Change-Id: Ia9f756a873cc783f4c21e140740e11f0cebdfe15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 08:06:54 +00:00
Treehugger Robot
90e403f2f6 Merge "media.c2 : Change waitable object to be based on single fd" into main am: c43c449c79
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2753410

Change-Id: I55051d80f1c8b5e7a099825c1d6887da500dbe99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 03:58:18 +00:00
Treehugger Robot
c43c449c79 Merge "media.c2 : Change waitable object to be based on single fd" into main 2023-09-28 02:58:22 +00:00
Treehugger Robot
6b3f886f2f Merge "Support Rust builds of some AIDL interfaces." into main 2023-09-27 09:59:26 +00:00
Andrew Walbran
c643a062fa Merge "Enable Rust build of android.hardware.media.bufferpool2." into aosp-main-future am: ddd2d2457f am: 33344f4236 am: 095c32d0ed am: 9c02d068d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24760773

Change-Id: Icf77ea235f5f9a45ce167b13b6afc1526911d09f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 20:39:43 +00:00
Andrew Walbran
ddd2d2457f Merge "Enable Rust build of android.hardware.media.bufferpool2." into aosp-main-future 2023-09-26 16:39:05 +00:00
Wonsik Kim
8826e9a0ad Merge "media.c2: add apex_available and set minsdk to 31" into main am: bea101032f am: 6590f39160 am: 0dac42e170 am: acf6a65e2b am: ff888f8d07
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2734633

Change-Id: I7a5d586cf73d5aee1f2ad4b7c323169666971e70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-23 00:36:23 +00:00