Commit graph

7 commits

Author SHA1 Message Date
Steven Moreland
99712c08cc Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I53e5bf67a0d314e1b10c0ba0c7172a7af358ddcc
2019-04-18 18:13:05 -07:00
Steven Moreland
b91ac5c6a0 Update makefies: no 'types' internal
Bug: 123976090
Test: N/A
Change-Id: I84b659b163b63d39535b462a3df8a9c19f680976
2019-03-04 14:09:25 -08:00
Sungtak Lee
1ae877d04a Add message id to interface
In order to synchronize message id when a new connection is made,
message Id is added as a return value. Also the last posted message Id
is given as paramter, when observer is notfied of new messages.

Bug: 112203066
Change-Id: Ic3921fd176aec1abc7de3ea88c730ad46182d28f
2018-10-18 13:34:14 -07:00
Sungtak Lee
38235ee931 Add observer to bufferpool clients
Bufferpool clients are notified bufferpool events via FMQ messages.
Usually the messages are processed by pipeline via piggybacking. To
ensure process FMQ messages even if the process is in idle state,
Observer hidl interface is added. Buffer invalidation caused by
pipleline completion uses Observer interface in order to invalidate
buffers after all normal operations are finished.

Bug: 112203066
Change-Id: I2a4a172d78c6bcedcc809c559321929ebc91c30d
2018-10-05 15:04:38 -07:00
Sungtak Lee
5c8e455d73 Change buffer invalidataion FMQ to unsync
Buffer Invalidation FMQ is designed as a shared FMQ between clients in
order to minimize memory consumption. In that case, regarding FMQ is
unsync FMQ in order to not to block writer in any situation.

Bug: 112203066
Change-Id: I58989ccd332ba790193007f43dd66ecbd617f484
2018-09-18 17:45:36 -07:00
Sungtak Lee
c40c77ef0d Update android.hardware.media.bufferpool@2.0 HAL
Add buffer invalidation message for bufferpool@2.0

Bug: 112203066
Change-Id: Ia1fca213c7e663f619e2061dd0055228aecbf15c
2018-08-30 11:37:36 -07:00
Sungtak Lee
f8f9489302 android.hardware.media.bufferpool@2.0 HAL
BufferPool HAL 2.0. This is identical to 1.0 HAL now.
The update will be applied afterwards.

Bug: 112203066
Change-Id: I8f5bbf979116f66357f2bc0f8114697472adf762
2018-08-21 13:14:05 -07:00