Commit graph

431 commits

Author SHA1 Message Date
Steven Moreland
3b36a83a2e Update makefiles (2/2).
Test: pass
Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
2017-04-11 09:58:03 -07:00
Lajos Molnar
c8949ecf81 Add IOmxStore and remove IOmxNode::setQuirks.
IOmxStore is used for passing results from parsing media_codecs.xml and
related XML files to the framework. Once XML parsing is moved to the HAL
side, IOmxNode::setQuirks will not be needed anymore.

Test: Media post-submit tests on Pixel phone.
Test: Manual use of Camera, Photos, Play Movies and YouTube apps.
Bug: 36952714
Change-Id: I6b24c486c6f8afcbef6ee88a13b2b5bb08d3e656
2017-04-07 23:49:16 -07:00
Steven Moreland
561b602a99 Update makefiles for hwtypes.h
Test: pass
Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
2017-03-28 15:18:20 +00:00
Pawin Vongmasa
4a3cd13ddc Move IGraphicBufferProducer to graphics/bufferqueue.
Test: With CtsMediaTestCases.apk installed,
adb shell am instrument -e size small -w
'android.media.cts/android.support.test.runner.AndroidJUnitRunner'

Bug: 35442034
Change-Id: Ia1ef0eb069fcd97f7afcf42bf3bb16c8c6a752c4
2017-03-15 11:42:40 -07:00
Robert Shih
a27875035c Revert "Revert "Add return status to IGraphicBufferSource methods""
This reverts commit b729637648.

Bug: 36110748
Change-Id: Ia12c00d57b9e8d4b66265018c3970416c265091a
2017-03-11 01:22:12 +00:00
Rachad Alao
b729637648 Revert "Add return status to IGraphicBufferSource methods"
Bug: 36110748

This reverts commit ed32ff5150.

Change-Id: Ibb5e72fc11f705a571491103fc5c68005cf54a30
2017-03-10 21:48:02 +00:00
Robert Shih
ed32ff5150 Add return status to IGraphicBufferSource methods
Bug: 35449087
Test: Manual
Change-Id: I0a44630f2b5b07cfd62f41764d0ca43a924d221a
2017-03-03 22:37:42 +00:00
Hangyu Kuang
2f16dfed5d Merge "media: Update IGraphicBufferSource interface for the timestamp support." 2017-02-17 00:26:05 +00:00
Brian C. Anderson
2413ca1492 Merge "Update HIDL with CompositorTiming." 2017-02-15 22:32:45 +00:00
Brian Anderson
68214ec86d Update HIDL with CompositorTiming.
Test: Tested manually with Chrome.
Change-Id: I0e911612f4db1ae57098a5bc53afdce61dfe5837
2017-02-13 15:26:13 -08:00
Tri Vo
85120c9490 Update makefiles to use filgroup syntax.
Test: mmma hardware/interfaces
Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482
2017-02-10 12:45:19 -08:00
TreeHugger Robot
930086babd Merge "Migrate driver/profiler to test/vts-testcase/hal." 2017-02-08 18:33:06 +00:00
TreeHugger Robot
eb1d38a5ef Merge "Update QueueBufferOutput." 2017-02-08 05:33:20 +00:00
Tri Vo
ce608bec74 Migrate driver/profiler to test/vts-testcase/hal.
Bug: 34893894
Test: mmma hardware/interfaces

Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
2017-02-07 19:13:28 -08:00
Pawin Vongmasa
761622e5d4 Update QueueBufferOutput.
QueueBufferOutput was modified in ag/1806678.

Test: Compiles

Bug: 31399200
Bug: 34481539
Change-Id: I287a4ba84348323e2e39dcbac03c3bf17357d6bc
2017-02-06 18:22:40 -08:00
Zhuoyao Zhang
e9b43bbe2d Update Andriod.bp for hals.
* Add driver/profiler build rule for all hals.

Test: mma
Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
2017-02-03 10:03:01 -08:00
Hangyu Kuang
9ad0d00def media: Update IGraphicBufferSource interface for the timestamp support.
Test: Manual recording
Bug: 32765698

	modified:   1.0/IGraphicBufferSource.hal

Change-Id: I87935c67d161a1812629af3e0a9185bc025ce472
2017-02-01 18:51:10 -08:00
Pawin Vongmasa
120c4da82a Use HIDL's memory for shared memory and add wrapper interfaces for
IGraphicBufferProducer.

Test: Compiles
Bug: 31399200
Change-Id: I17a3b1c8f20e9c11474761d120edd2e75353cc6d
2017-01-25 17:14:20 -08:00
Yifan Hong
a18049ad13 Bp/nFoo -> Bp/nHwFoo.
Test: mma
Bug: 33554989
Change-Id: I4b3f852d20fdfc49f2da671dd3c12d618ffb4140
2017-01-11 13:14:59 -08:00
Pawin Vongmasa
38585c2532 Remove the return Status from IGraphicBufferSource's functions.
Now, only the transport-level status is needed, so
::android::hardware::Status is sufficient.

Also simplify IOmxNode::sendCommand().

Test: Compiles

Bug: 31399200
Change-Id: Ia4cfc16681d19eb96f89d8db715fcc14516cb41a
2016-12-19 13:04:51 +07:00
Pawin Vongmasa
cba23c6631 Change GraphicBuffer to AnwBuffer and update its fields.
The server side only needs information of type ANativeWindowBuffer, not
GraphicBuffer.

Test: Compiles

Bug: 31399200
Change-Id: Ic967c58d8c922e0c422e5b63fa5ce2188da89010
2016-12-19 13:04:44 +07:00
Pawin Vongmasa
d13c84bce7 Add an enum value to Status.
Test: Compiles.

Bug: 31399200
Change-Id: I5452f74e91d9ad83629143b9af7e56e70036cbb4
2016-12-19 13:04:37 +07:00
Yifan Hong
501839495f Update makefiles for hidlizing IBase.
A new dependency android.hidl.base@1.0 is added for
all projects.

Test: mma

Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:01:14 -08:00
Pawin Vongmasa
44f5c800fe Merge "Make Status an enum and move it from media to media.omx." 2016-12-02 01:00:04 +00:00
Pawin Vongmasa
2649720548 Make Status an enum and move it from media to media.omx.
Bug: 31399200

Test: None.
Change-Id: I28a891030f24b3d9aa2938ae61bf02b060feee05
2016-11-30 20:00:57 -08:00
TreeHugger Robot
a5ee7b0b93 Merge "Always specify underlying enum type." 2016-11-30 18:12:35 +00:00
Pawin Vongmasa
9e321eb5b6 Break down ColorAspects.
Test: None

Bug: 31399200
Change-Id: Iea70d4802954ce8a16205d8f7ed0a16b8f2228a5
2016-11-30 06:49:46 +00:00
Steven Moreland
d26dc50abb Always specify underlying enum type.
Bug: 33197891
Test: compiles
Change-Id: I3d4822ea9a665708302d3bd1460425fddf1dcda9
2016-11-29 14:22:10 -08:00
Steven Moreland
f8d68ec855 Update makefiles for logging.
Bug: 32943424
Test: pass
Change-Id: Ic88ce6adf04e0e36db53e4cc06ac2ec5a90c011c
2016-11-21 16:28:54 -08:00
Yifan Hong
6b920e43d3 Split libhidl into base and transport.
Bug: 32756130

Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 00:00:54 -08:00
Pawin Vongmasa
6ec37b9e50 Start media.omx HIDL project.
Test: None

Bug: 31399200
Change-Id: I2fb1a6758ccc001c5631be1c642ad537d1ff5a10
2016-11-17 15:32:03 +00:00