Commit graph

346 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
6d494b2346 Merge "Update hidl makefiles for bpfmt" am: ff0bd741ca
am: 96f40f7b02

Change-Id: Idbf030e4993067bdb8181321bca2de00c9b6f7ef
2019-04-18 14:34:45 -07:00
Steven Moreland
1ae4615d9f Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
2019-04-17 09:38:50 -07:00
Pawin Vongmasa
4b5dce8bb5 Use safe_union in FieldSupportedValues
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 129084824
Change-Id: I9ae77a6a6697dcc508415090640a21841caba345
2019-03-22 07:45:36 -07:00
Pawin Vongmasa
d9dcc1752e Use @2.0::IGraphicBufferProducer in media.c2
Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 33350696
Bug: 112362730
Change-Id: I561b96b4a416a92649bd1de174d55c6317d9b40a
2019-03-19 07:48:15 -07:00
Manisha Jajoo
70de321e05 omx:component: add support for tunneled components in ComponentTest am: 4609857ee4 am: f31fd7f8cb
am: 880ef39899

Change-Id: I268104aa25c7ed3305d607e71e9ba66dc268f489
2019-03-11 13:22:09 -07:00
Manisha Jajoo
880ef39899 omx:component: add support for tunneled components in ComponentTest am: 4609857ee4
am: f31fd7f8cb

Change-Id: I114e154d9d912094d06fe1785aff20c77c3cb7fd
2019-03-11 12:45:32 -07:00
Steven Moreland
87f43604b9 Merge "Update makefies: no 'types' internal" 2019-03-05 17:40:03 +00:00
Steven Moreland
7f4e21adda Merge "Update makefies: no 'types'" am: 4ee5ec1469 am: bab622f6a6
am: 7224bc9bcf

Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
2019-03-04 16:05:59 -08: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
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Pawin Vongmasa
b58b311ac7 Add asInputSink() to IComponent
By making IComponent present itself as an IInputSink, the wrapper code
can be made to execute in the same process as the IComponent instance,
hence reducing an IPC hop in the case where an InputSurface comes from a
different process.

Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 126296132
Change-Id: I61409ccfa9a9d6b152e2c9363ff119302ce8ae1a
2019-03-02 02:18:59 -08:00
Manisha Jajoo
4609857ee4 omx:component: add support for tunneled components in ComponentTest
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Host \
-l INFO

bug: 70933963

Change-Id: I5695820b225041f5b764506cdafacf7c95d836aa
2019-02-04 18:58:12 -08:00
Pawin Vongmasa
6c9e784822 Revert to new Codec2 HAL
This includes the following changes:
1. Revert commit 7570e3cd4b.
2. Revert commit 2a40d309b7eefe36d2f78bbff42aafad24eb65b0.
3. Use the new bufferpool (@2.0).
4. Use the old bufferqueue (@1.0).
5. Add IInputSink to eliminate downcasting from IBase.

Test: Builds
Bug: 112362730
Change-Id: I2b5f2e2821c62cbb7166320e1e128d883e278480
2019-01-23 22:33:40 -08:00
Sungtak Lee
b1d28b751b Use bufferpool@2.0
Use bufferpool@2.0 instead of bufferpool@1.0 from Codec2 HIDL

Change-Id: I55044f367a4ff3facb8bc81929350eb78df067a8
2018-12-11 17:36:56 -08:00
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Keun Soo YIM
ff84c37bc1 pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-11-27 16:11:41 -08:00
Pawin Vongmasa
9d1cf2ab29 Copy from the old version of Codec2 HAL
This CL makes transitioning of Codec2 HAL from private to public
smoother. The CL will be reverted later.

Test: Builds
Bug: 112362730
Change-Id: Id0e199112e968e35ed3b27413baae810f1ecb2df
2018-11-14 23:53:36 -08:00
Pawin Vongmasa
7570e3cd4b Use old version of IGBP and bufferpool
The purpose of this CL is to make transitioning smoother. This CL
will be reverted later.

Test: Builds
Bug: 112362730
Change-Id: I65bf589facd0dda7a9af8b552eb795153dc1bd87
2018-11-12 16:30:22 -08:00
TreeHugger Robot
6ee1cb1d68 Merge "Add message id to interface" 2018-11-05 18:27:38 +00:00
Pawin Vongmasa
92147164f3 Use new version of IGraphicBufferProducer
Test: Builds

Bug: 112362730
Change-Id: I986d5633d51a7088ea7a818ed4845b9494bccdeb
2018-10-31 03:23:13 -07:00
Chih-Hung Hsieh
85d87d6b43 Merge "Fix implicit-fallthrough warnings." am: ad9708f570 am: dc607bc28e
am: 5a77ac200b

Change-Id: I663cb317bef106d9d3e09f8bf305783c41b2bf39
2018-10-20 01:23:08 -07:00
Chih-Hung Hsieh
eb1be49ae1 Fix implicit-fallthrough warnings.
Test: make checkbuild
Bug: 112564944
Change-Id: Ib93559a5c1512861f9746cd28d8b19073ce92aa8
2018-10-19 14:26:01 -07: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
TreeHugger Robot
b54cc22ab1 Merge "Initial commit of public Codec2 HIDL interfaces" 2018-10-17 23:35:16 +00:00
Pawin Vongmasa
c80bf21356 Initial commit of public Codec2 HIDL interfaces
Test: Builds

Bug: 112362730
Bug: 115717053
Change-Id: I8ad7fe965a90d56b5bbfd23998d4585f6e634bd6
2018-10-16 05:16:39 -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
TreeHugger Robot
c66f2f46b1 Merge "android.hardware.media.bufferpool@2.0 HAL" 2018-08-22 17:02:29 +00: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
Steven Moreland
fec4521e83 Merge "Update makefiles after native handle in Java." am: 1847a2f2e7 am: fb6a66b3f7
am: 9dc1ccc852

Change-Id: I30fda77e5c5657c00f57a85b959dfd853d535366
2018-08-14 19:38:07 -07:00
Steven Moreland
f5e4d7fb59 Update makefiles after native handle in Java.
Bug: 35098567
Test: N/A
Change-Id: I54b8d804e480cda09806f8028b966f28c4bd706e
2018-08-14 20:29:42 +00:00
Pawin Vongmasa
841940be1c resolve merge conflicts of b92f1d2e1b to oreo-mr1-vts-dev
am: c0243f2ff8

Change-Id: I25bf6387a074f630cc3e10c3b265d16390e39eca
2018-08-10 14:30:13 -07:00
Pawin Vongmasa
12c2fa9d45 resolve merge conflicts of b92f1d2e1b to oreo-mr1-vts-dev am: c0243f2ff8 am: fedde0ea52 am: 375ff6a3a7
am: 6f3b432c5d

Change-Id: Ib34be1122292383893f398599f52db55b4944982
2018-07-13 01:53:45 -07:00
Pawin Vongmasa
375ff6a3a7 resolve merge conflicts of b92f1d2e1b to oreo-mr1-vts-dev am: c0243f2ff8
am: fedde0ea52

Change-Id: I52c92c4cd9a68a5a57ba652e0284f495e912ea37
2018-07-13 01:45:43 -07:00
Pawin Vongmasa
c0243f2ff8 resolve merge conflicts of b92f1d2e1b to oreo-mr1-vts-dev
Test: make vts -j123 && vts-tradefed run commandAndExit vts \
--skip-all-system-status-check \
--skip-preconditions -m VtsHalMediaOmxV1_0Host \
-l INFO

Bug: 70933963
Change-Id: I38f6309b638e604403dba15fa1fe1022b298c5b2
2018-07-11 23:29:14 -07:00
Pawin Vongmasa
b92f1d2e1b Disable tests for secure audio decoders
Test: make vts -j123 && vts-tradefed run commandAndExit vts \
--skip-all-system-status-check \
--skip-preconditions -m VtsHalMediaOmxV1_0Host \
-l INFO

Bug: 70933963
Change-Id: Iaaf3b7d382e7df4374dd7e03e5cc7b2ae6861fad
2018-07-11 18:05:25 -07:00
Ray Essick
25ae1956d1 Merge "VtsHalMediaOmx should test functionality only" into pi-dev am: 2ae3cb74c7
am: 27aa09d3bb

Change-Id: I9cda9833322ea326cedcf07577b2104e4106e94c
2018-06-04 11:27:51 -07:00
Ray Essick
68df40f9cf VtsHalMediaOmx should test functionality only
The tests insisted on presence of codecs as well as functionality, but
the list it reads is a superset of what may be on the device.  Modified so
that if a codec is not present, we ignore it rather than failing the test.

The Vts tests that check OMX Store are being augmented to ensure any
advertised codecs are indeed present.

Bug: 80029024
Bug: 80530946
Test: vts run VtsHalMediaOmxV1_0Host
Change-Id: Icd6d049c5c0d31f47ef3dbda52d6927e38bd894d
2018-06-01 16:34:54 -07:00
Pawin Vongmasa
bd49dcfd9b Add multichannel support am: c678d51bdc am: 9886d749d4 am: b0da0bce66 am: 5ed6bca916
am: 86e4c2cfd8

Change-Id: I8eb5a776aa7a08a2eac5466f12ffc844f0b649db
2018-05-25 00:50:01 -07:00
Pawin Vongmasa
5ed6bca916 Add multichannel support am: c678d51bdc am: 9886d749d4
am: b0da0bce66

Change-Id: I2b701daf2c12a7b0454c46d48910671f10ccb2b6
2018-05-24 10:33:18 -07:00
Pawin Vongmasa
9886d749d4 Add multichannel support
am: c678d51bdc

Change-Id: I523732b9a00c079d84a3e594ba6b35ee09989a52
2018-05-24 06:57:00 -07:00
Pawin Vongmasa
c678d51bdc Add multichannel support
Test: make vts -j123 && vts-tradefed run commandAndExit vts \
--skip-all-system-status-check \
--skip-preconditions -m VtsHalMediaOmxStoreV1_0Host \
-l INFO

Bug: 69811887
Change-Id: I6ddf882d5a0d991acc8123ed6d220835fc6cce5c
2018-05-10 18:39:25 -07:00
Daniel Cardenas
8df876f0d6 Increase default timeout for changeStateIdletoExecute() from 100ms to 400ms
Bug: 70933963
Test: vts-tradefed run vts -m VtsHalMediaOmxV1_0Host
Change-Id: I2f01b5fcd72b03148750589a8eabbc8037f61e6f
2018-03-08 18:49:39 -08:00
Zhuoyao Zhang
fddd91184d Merge "Convert omx hal test to use VtsHalHidlTargetTestEnvBase" am: 03086cfea4 am: 162e15e590
am: db39ca498b

Change-Id: I6576b40b2b5f3dfb3b8aea95eeb0d043c7ed59cf
2018-02-12 23:27:44 +00:00
Zhuoyao Zhang
db39ca498b Merge "Convert omx hal test to use VtsHalHidlTargetTestEnvBase" am: 03086cfea4
am: 162e15e590

Change-Id: Iaf66c32bd698560b4baf344e0af2d2c3d42e997a
2018-02-12 23:20:53 +00:00
Zhuoyao Zhang
303b2917d4 Convert omx hal test to use VtsHalHidlTargetTestEnvBase
* Move ComponentTestEnvironment to media_hidl_test_common to reduce
  code duplication.

Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalMediaOmxV1_0Host

Change-Id: Ie34ff637ec7ccf98ebfe8d2bda4d5f28bf4c0e11
2018-02-09 16:31:03 -08:00
Sungtak Lee
108a2fe68c android.hardware.media.bufferpool@1.0 HAL
BufferPool HAL for allocating, deallocating, and recycling buffers
on behalf of media.stagefright.

Bug: 72651719
Change-Id: I30bf630e41de2c8718aaaf8cbf5ee3f48f2859bc
2018-01-29 15:49:41 -08:00
Ram Mohan M
6729c05751 bug fix: close file pointer
Bug: 63796949

Merged-In: Ifd8a27d851cbc659ea8108e0879747cd9169680a
Change-Id: Ifd8a27d851cbc659ea8108e0879747cd9169680a
(cherry picked from commit 727b2ba98c)
2018-01-24 02:03:56 +00:00
Ram Mohan M
8d009afdbb bug fix: restore support for broken flag
timestampDevTest flag can be used to disable timestamp deviation
tests. The flag is not working as intended. This is corrected.

Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO

Bug: 64743270
Bug: 65166112

Merged-In: I611e96498a4677b6ccbff33c291d56eed7b48f6f
Change-Id: I611e96498a4677b6ccbff33c291d56eed7b48f6f
(cherry picked from commit dc6270ecc1)
2018-01-23 22:26:15 +00:00
Ram Mohan M
0a542276f8 bug fix: handle multiple port settings change events signalled at once
Components can send various kinds of port settings changed events all
at once. During a full port reconfiguration this is causing problems
due to limited flexibility in the message handling design. For now,
before committing to a full port reconfiguration defer any events
waiting in the queue to be addressed to a later point.

Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO

Bug: 64468705

Merged-In: I537cdd3e7d92cdc6d54168f091d7897afe541599
Change-Id: I537cdd3e7d92cdc6d54168f091d7897afe541599
(cherry picked from commit a230bad8d4)
2018-01-23 22:25:50 +00:00
Ram Mohan M
c4e3cc8b51 bug fix: disable timestamp deviation test for audio decoder
Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO

Bug: 64128634
Bug: 65166112

Merged-In: I8a08a8da7dd203cd16cbfbfd3f15e27966db711f
Change-Id: I8a08a8da7dd203cd16cbfbfd3f15e27966db711f
(cherry picked from commit eb9e25a3e2)
2018-01-23 22:23:27 +00:00
Ram Mohan M
56906949cc bug fix: output colorformat configuration fixed
The eColorFormat field in OMX_PARAM_PORTDEFINITIONTYPE structure
has no effect on the component. This has to be configured from
OMX_VIDEO_PARAM_PORTFORMATTYPE. This is corrected. This color format
information is passed to graphic buffer during its allocation

Bug: 63796949

Merged-In: I51b1e59631647d1291ecfac373781ac5e5a0ffd5
Change-Id: I51b1e59631647d1291ecfac373781ac5e5a0ffd5
(cherry picked from commit 1441864f4c)
2018-01-23 22:22:39 +00:00
Ram Mohan M
9a18ceb557 bug fix: configure input port buffer size
In video decoders, size of a single input frame (elementary-stream)
is dependent on width, height, color format, profile settings, ...
Most of this information is part of sps, pps and requires parsing.
But as the max size of the stream is known ahead, use it to configure
the input buffer size requirements

Bug: 63875287
Bug: 63796949

Merged-In: Ib760c4f55b094260a0abd120f852dcf1899df4e0
Change-Id: Ib760c4f55b094260a0abd120f852dcf1899df4e0
(cherry picked from commit 9ce313a7b3)
2018-01-23 22:22:12 +00:00
Ram Mohan M
7409a9312d bug fix: handle OMX_EventBufferFlag events
OMX_EventBufferFlag event is sent when the component has processed a buffer
with its EOS flag set. This event is not sent by soft omx components.
Vendor components can send this. From IOMX point of view, this event is
not sent for processing

bug:64102197
Merged-In: I3a978a885b1e4446f82f2356ae677f70ea6f8150
Change-Id: I3a978a885b1e4446f82f2356ae677f70ea6f8150
(cherry picked from commit c8df8940e1)
2018-01-23 22:21:33 +00:00
Steven Moreland
9c353be047 Move media configuration to its own directory.
This mirrors the audio configuration and will moves the makefile
so it is no longer in a location that hidl-gen should have been
generating makefiles to.

Bug: none
Test: none
Change-Id: If4bb8b176d0f498667d63d4161e852bf30f8affe
2017-12-18 14:09:14 -08:00
Steven Moreland
cd5b443b2c Add Android.mk back for media profile.
Accidentally removed by f390f03aa4
because it lives where auto-generated makefiles should.

Bug: none
Test: pass
Change-Id: Ied4fbc279c79d9bf64605886cee7b2fa87248896
2017-12-18 14:07:35 -08:00
Steven Moreland
e5c6548346 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:23:43 -08:00
Steven Moreland
8b76a6b90d Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:22:55 -08:00
Steven Moreland
fcca4e23b7 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:22:43 -08:00
Xin Li
bb9e38fef9 Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' from
oc-mr1-dev-plus-aosp into stage-aosp-master

Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
2017-11-14 12:08:38 -08:00
Steven Moreland
c2f829a1d2 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 11:39:07 -08:00
Steven Moreland
8db261bc99 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Ram Mohan M
1af0a54576 Merge "omxvts:vid:dec: modify resource files for avc dec and mpeg4 dec" into oc-mr1-dev am: 3a29e0d0ad
am: 8dd1306038

Change-Id: Ia453eb5b38bf8cb043c2bc42c55c33a89946ab7c
2017-11-11 02:21:39 +00:00
Ram Mohan M
8dd1306038 Merge "omxvts:vid:dec: modify resource files for avc dec and mpeg4 dec" into oc-mr1-dev
am: 3a29e0d0ad

Change-Id: I35af870e6e370b7752d276d5e9e182f56b6d2ecc
2017-11-11 02:19:09 +00:00
Steven Moreland
a1169dd600 Update makefiles for hidl_interface.
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
2017-11-10 09:06:55 -08:00
Ram Mohan M
09c89966bf omxvts:vid:dec: modify resource files for avc dec and mpeg4 dec
Resource files for avc and mpeg4 are at higher resolutions than what the
CDD requires. This CL corrects the issue.

Test: make vts -j123 && vts-tradefed run commandAndExit vts \
--skip-all-system-status-check \
--skip-preconditions -m VtsHalMediaOmxV1_0Host \
-l INFO

Bug: 68828675
Change-Id: I5a32bccae1b14a72ae0db2ffafd4a0e86cced74b
2017-11-09 00:19:23 +00:00
Ram Mohan M
7f77501331 Merge "bug fix: during fatal fails bypass freeNode() calls" into oc-mr1-dev am: ae62942b1c
am: 56edc8ac66

Change-Id: Ic208c8ea548e559b5e553e639227a50da01d0d2f
2017-10-17 23:04:36 +00:00
Ram Mohan M
56edc8ac66 Merge "bug fix: during fatal fails bypass freeNode() calls" into oc-mr1-dev
am: ae62942b1c

Change-Id: I0d93babc0ce84e3d427ae5adf4afd40d1a46e45b
2017-10-17 22:50:14 +00:00
Ram Mohan M
a0698429dd bug fix: during fatal fails bypass freeNode() calls
If test application undergoes a fatal failure bypass all the omx
api calls till the application safely returns.

Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Host \
-l INFO

Bug: 63796949

Change-Id: If5a33672a31665db913e53c6f8ba8bea6cfd3ebd
2017-10-17 04:34:30 -07:00
TreeHugger Robot
e95b8bf87f Merge "omxvts:aud:dec: replace opus resource file" 2017-10-13 22:05:06 +00:00
Steven Moreland
f390f03aa4 Update for Soong-only makefiles.
Test: pass
Bug: 33420795
Change-Id: Ibec6d1e38939b9e7566a96381439be2aac3bf8ca
2017-10-11 18:30:28 +00:00
Steven Moreland
1d7374c5e1 Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1
am: 116161d94e

Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
116161d94e Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1
am: 6c811964a1

Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00
Steven Moreland
6c811964a1 Update for Soong java makefiles. am: c3e80fa01e
am: 0fff75dee1

Change-Id: I5b524ccf13233f3696881a2a670b5d2134fd5f15
2017-10-11 16:27:24 +00:00
Steven Moreland
0fff75dee1 Update for Soong java makefiles.
am: c3e80fa01e

Change-Id: Ia8835f9c95bd98a96f5fd3aff11191e7d3726fb9
2017-10-11 16:23:54 +00:00
Steven Moreland
c3e80fa01e Update for Soong java makefiles.
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Ram Mohan M
c06eec7176 omxvts:aud:dec: replace opus resource file
timestamp information of opus file is incorrect.
this is resolved.

Test: make vts -j99 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 \
&& vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO

Bug: 63796949

Change-Id: I604b2ccc436125218cfc3850f8e070ee6a801867
2017-10-10 04:41:43 -07:00
Ram Mohan M
ab8307a612 Merge "omxvts: exit gracefully during fatal fails" into oc-mr1-dev am: 3021f1fafb
am: 9b0849e333

Change-Id: Iea1c914ac0952f98a95d7409af5805bcfb26af81
2017-10-07 02:32:14 +00:00
Ram Mohan M
9b0849e333 Merge "omxvts: exit gracefully during fatal fails" into oc-mr1-dev
am: 3021f1fafb

Change-Id: I8ac8c71c0bdff6aef9f79b393ea2d570de773394
2017-10-07 02:29:35 +00:00
TreeHugger Robot
7a3de797e0 Merge "Revert "Port mode configuration test - II"" 2017-10-05 13:08:16 +00:00
Ram Mohan M
7bb5670322 omxvts: exit gracefully during fatal fails
Bug: 63796949

Change-Id: I735db42f7de6926adddd328db1a48de35faaa608
2017-10-05 00:41:43 -07:00
Steven Moreland
70bfb9d250 Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f am: b53e6ad535
am: 9a17f41f6f

Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
2017-10-04 21:54:11 +00:00
Steven Moreland
9a17f41f6f Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f
am: b53e6ad535

Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
2017-10-04 21:51:00 +00:00
Steven Moreland
b53e6ad535 Merge "Update for hidl adapter module defaults." am: 988c977079
am: 861651985f

Change-Id: Ifdb878720d42120e7309dd2a49e5a91059ff4b72
2017-10-04 21:48:04 +00:00
Steven Moreland
861651985f Merge "Update for hidl adapter module defaults."
am: 988c977079

Change-Id: I289818be1b30397391847ba1c532d1014fdbed27
2017-10-04 21:45:09 +00:00
Steven Moreland
527fd76a0e Update for hidl adapter module defaults.
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Ram Mohan M
7fe35b2d4a Merge "omxvts: fix binary for 64bit platforms" into oc-mr1-dev am: 7e0286404a
am: db285e9390

Change-Id: I2e79899adf6599684815bea6f6f6a9aaed41de4c
2017-10-01 23:14:48 +00:00
Ram Mohan M
969e586842 Merge "omxvts: misplaced lock can cause race condition" into oc-mr1-dev am: 99c319f781
am: d1817707b7

Change-Id: I3284ba15562b3aab4b705e5f1c776a5169d143bd
2017-10-01 23:14:12 +00:00
Ram Mohan M
db285e9390 Merge "omxvts: fix binary for 64bit platforms" into oc-mr1-dev
am: 7e0286404a

Change-Id: Id7c88291d1e8d846deea702f1ae30198361333dd
2017-10-01 23:12:44 +00:00
Ram Mohan M
d1817707b7 Merge "omxvts: misplaced lock can cause race condition" into oc-mr1-dev
am: 99c319f781

Change-Id: I151636a841c11310880601db6533d21ab0d8f7c0
2017-10-01 23:12:16 +00:00
TreeHugger Robot
8b77593b0d Merge "Revert "Loop all decode tests for all port modes supported"" 2017-09-29 22:29:27 +00:00
Pawin Vongmasa
ff1b48721e Revert "Loop all decode tests for all port modes supported"
This reverts commit 3864db6b0d.

Change-Id: Ia8913ce11811a5b0037f9683118c0d5c5bbc4e42
2017-09-29 11:57:00 +00:00
Pawin Vongmasa
cfc4b13b7b Revert "Port mode configuration test - II"
This reverts commit fa0d7a3b89.

Change-Id: I1f907482f89aaff5f01be38a83f5aca997e20a8a
2017-09-29 11:56:39 +00:00
Ram Mohan M
9502b237f7 omxvts: fix binary for 64bit platforms
Bug: 63796949

Change-Id: Ieddae0bd9fc45a88c6e1579bdd588b77b4174a1f
2017-09-29 04:41:41 -07:00
Ram Mohan M
028540b3a1 omxvts: misplaced lock can cause race condition
upon unsuccessful return during timed wait, relock the mutex before
accessing message list.

Bug: 63796949

Change-Id: I84a43e148a6415e629cb39a6b9dfe27259f8f2fd
2017-09-29 04:39:48 -07:00
Steven Moreland
91799c6cc7 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: 71a193a425
am: 9fdd241905

Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
2017-09-27 00:02:52 +00:00
Steven Moreland
9fdd241905 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3
am: 71a193a425

Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
71a193a425 Merge "Fix typo in update makefiles." am: 9960148420
am: f07e364ce3

Change-Id: If5bbf259458363b755989578c2f3828cbcb3d07c
2017-09-26 23:55:59 +00:00