Commit Graph

4205 Commits

Author SHA1 Message Date
Andreas Huber
e6e54801c1 Changed the naming scheme for Treble java libraries (both static and dynamic)
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java

Bug: 37207894
Test: make
Change-Id: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 14:28:05 -07:00
Zhuoyao Zhang
27dc6dee25 Merge "media.omx VTS test baseline" into oc-dev am: 9eeda9561f
am: 6e23a8c4c3

Change-Id: Ia483efe1c2a26a110073e6353b66292674a5ac53
2017-04-13 20:03:18 +00:00
Zhuoyao Zhang
6e23a8c4c3 Merge "media.omx VTS test baseline" into oc-dev
am: 9eeda9561f

Change-Id: I0cf89fa45f02285a8c4cfde6450f30c7af6225c1
2017-04-13 19:48:58 +00:00
Zhuoyao Zhang
9eeda9561f Merge "media.omx VTS test baseline" into oc-dev 2017-04-13 19:24:29 +00:00
Ningyuan Wang
bc3533d0dd Merge "Add VTS test for ISupplicantP2pIface::removeGroup()" into oc-dev am: 61d3d5ee85
am: 844e8de19d

Change-Id: I39479cbc8e086ddfbd6d9cab68871534ba69ed29
2017-04-13 19:01:35 +00:00
Ningyuan Wang
862a82d774 Merge "Add more VTS tests for SupplicantStaIface" into oc-dev am: ce01460a15
am: 8e07b9dbc9

Change-Id: I230fb2beb9a0a1847bb153365174c2b5ef9e9c15
2017-04-13 19:01:24 +00:00
TreeHugger Robot
2226db6923 Merge "Revert "composer: route binder traffic over vndbinder"" 2017-04-13 18:48:55 +00:00
Ningyuan Wang
844e8de19d Merge "Add VTS test for ISupplicantP2pIface::removeGroup()" into oc-dev
am: 61d3d5ee85

Change-Id: I7af8e8c6a63bf04cded9e1710462e0a2138094d1
2017-04-13 18:48:10 +00:00
Ningyuan Wang
8e07b9dbc9 Merge "Add more VTS tests for SupplicantStaIface" into oc-dev
am: ce01460a15

Change-Id: I3964b85ec1ad1d2797d1e8ca66b3951351e570ab
2017-04-13 18:47:59 +00:00
TreeHugger Robot
6a3bf3308c Merge "Revert "android.hardware.camera.provider@2.4: set up /dev/vndbinder"" 2017-04-13 18:44:16 +00:00
Jeff Tinker
f783c20b0e Merge "DRM vts test bug fixes" into oc-dev am: ca7205fa61
am: 52ea2d0772

Change-Id: Ibe290e5ef25832b3c132c9406cc8ab238666a816
2017-04-13 18:17:56 +00:00
TreeHugger Robot
61d3d5ee85 Merge "Add VTS test for ISupplicantP2pIface::removeGroup()" into oc-dev 2017-04-13 18:17:05 +00:00
TreeHugger Robot
ce01460a15 Merge "Add more VTS tests for SupplicantStaIface" into oc-dev 2017-04-13 18:16:28 +00:00
Jeff Tinker
52ea2d0772 Merge "DRM vts test bug fixes" into oc-dev
am: ca7205fa61

Change-Id: I873889b274818b27064f32467828ac18c14c9c92
2017-04-13 18:08:32 +00:00
TreeHugger Robot
ca7205fa61 Merge "DRM vts test bug fixes" into oc-dev 2017-04-13 17:53:05 +00:00
Ram Mohan M
527cf97159 media.omx VTS test baseline
Change-Id: I0cb1997e9cc0427fdfe8091de84e8cb75c7bab14

Test GetPortIndices

Tests support for omx index type: OMX_IndexParamAudioInit,
OMX_IndexParamImageInit, OMX_IndexParamVideoInit, OMX_IndexParamOtherInit.

Change-Id: I50c7c70c8e000684ef02a6e372be32f9c178e74d

Test Port Enabling/Disabling

Enumerate the list of ports available on the component.
Test if they can be disabled and enabled. This test is carried
when the component is in Loaded state. Also, omx-il specification
allows enabling and disabling all ports at once by passing the
argument OMX_ALL. The behavior of the component on this argument
is tested. Disable and enable a port index that is not supported
by the component is also tested.

Change-Id: I1ab3cc3652a63d05bd0c3ceae92e01ebd4aae12d

Test State Transitions

Change the states of the component from loaded->idle->execute->idle->loaded
While the component is switching states, make sure the below dependencies are met.
1. When the component is switching from Loaded to Idle,
ensure this transition does not take place until the supplier has provided
the ports their necessary buffers
2. When the component is switching from Idle to execute,
change the buffer owner from Client to Component.
3. When the component is switching from execute to Idle,
ensure the client got all the buffers it supplied to the component back.
4. When the component is switching from Idle to loaded,
ensure this transition takes place only after freeing all the buffers

Change-Id: I7c3f6f65adf3afda4e54ca7cafb5bb7799a5b2d6

Test for Flush

When the component is in execute state and as buffers are being
exchanged between client and component, call a flush. Test that all
the unprocessed buffers are returned to the client

Change-Id: I00f4c356df0e832aecc457a53163532e82ead9a3

Fix object labels for master and component

This changes maintains consistency across Vts test folders

Change-Id: I0f3e40db04876a3dab170936037c42f994d67c18

Audio_enc/Audio_dec folders are removed.

The current folders needs work. We will revisit this again

Change-Id: Ic8287288d0727f1384e096b846e0066b2ec9f95f

Fix Object labels for common

Change-Id: I8f19a339983aa81d581ed3d55780180f8d976382

Test Port Definition structures

Tests support for omx index type OMX_IndexParamPortDefinition

Change-Id: I45d82199c6cf20f24aa42d9fea69bd1c88a51757

Bug fix : Pass i/o buffer structure information while dequeueing messages

Also fixed sending false port id during freeBuffer call.

Change-Id: Id5c4f67cccea6b577880e42ee0d294cc55d534ad

Test port reconfiguration and buffer flow in audio decoder

In the current commit we have added tests for audio decoder
components. The selected component decodes an elementary stream
and in this process port reconfiguration, buffer flow and flush
are tested.

Test: mma
Change-Id: I42c8397f704f5fa69878efe91932c477ac66d1b2
2017-04-13 17:06:33 +00:00
Trevor Bunker
7465550883 Revert "composer: route binder traffic over vndbinder"
This reverts commit f140afe383.

Bug: 37302783
Bug: 37301743
Test: device boots to UI
Change-Id: I71f31aa411dc772415ac05a8bceee62b4e5ae24a
2017-04-13 09:52:29 -07:00
Trevor Bunker
e6bc672921 Revert "android.hardware.camera.provider@2.4: set up /dev/vndbinder"
This reverts commit b4488af17c.

Bug: 37302783
Bug: 37301743
Test: device boots to UI
Change-Id: I184ccb02c2dc188a7ff8ebb6256b2f6e72376758
2017-04-13 09:52:23 -07:00
Jeff Tinker
9dee7287e8 DRM vts test bug fixes
A session wasn't being closed in the ListenerKeysChange
test, that was causing erratic behavior on subsequent tests.
The expected return code was incorrect in the test
AttemptDecryptWithKeysRemoved.

bug:37272108
Change-Id: I11590b85c81548622359d91ebc9af75276a7b58c
2017-04-13 00:56:34 -07:00
Michael Butler
91bb86e57c Merge "Connecting to BufferQueue before setting surface." into oc-dev am: e7375c079d
am: 662493ced3

Change-Id: I40e4a9cb1e70f4cb380108e2db5117062f06f307
2017-04-13 05:04:40 +00:00
Michael Butler
662493ced3 Merge "Connecting to BufferQueue before setting surface." into oc-dev
am: e7375c079d

Change-Id: Ice04dac674346bcfbdadae8b3a70431c8290b8db
2017-04-13 04:58:40 +00:00
TreeHugger Robot
e7375c079d Merge "Connecting to BufferQueue before setting surface." into oc-dev 2017-04-13 04:49:58 +00:00
Steven Moreland
230ea3816c Merge "libhwcomposer-client: mark as vendor_available" into oc-dev am: cb1d509d21
am: eb3b525e46

Change-Id: Ie36b323f7824102f30f7a2cd448f84a2c433099a
2017-04-13 04:30:53 +00:00
Steven Moreland
b1d57b349b Merge "Mark as vendor_available" into oc-dev am: b5213bb7f9
am: 726213e55e

Change-Id: I225d4567fccad67a4d958060fbaf3b668c78ea87
2017-04-13 04:30:42 +00:00
Steven Moreland
4e4322370d Merge "android.hardware.camera.common@1.0-helper: vendor" into oc-dev am: f8b85e63e4
am: b55798272c

Change-Id: I1b7ccb2ec310574d5e431e06afe7fcf57033ad39
2017-04-13 04:30:32 +00:00
Steven Moreland
eb3b525e46 Merge "libhwcomposer-client: mark as vendor_available" into oc-dev
am: cb1d509d21

Change-Id: I4a151c03680131fe9b7142995fae2c194ac47e73
2017-04-13 04:24:50 +00:00
Steven Moreland
726213e55e Merge "Mark as vendor_available" into oc-dev
am: b5213bb7f9

Change-Id: I6de8ea7c4dcebca83e78db6cbc3e2c051a312cb8
2017-04-13 04:24:39 +00:00
Steven Moreland
b55798272c Merge "android.hardware.camera.common@1.0-helper: vendor" into oc-dev
am: f8b85e63e4

Change-Id: Iaa3a3346ad1650cf89db0aa89249319f2f5cbf52
2017-04-13 04:24:28 +00:00
TreeHugger Robot
cb1d509d21 Merge "libhwcomposer-client: mark as vendor_available" into oc-dev 2017-04-13 04:12:19 +00:00
TreeHugger Robot
b5213bb7f9 Merge "Mark as vendor_available" into oc-dev 2017-04-13 04:12:15 +00:00
TreeHugger Robot
f8b85e63e4 Merge "android.hardware.camera.common@1.0-helper: vendor" into oc-dev 2017-04-13 04:12:12 +00:00
Iliyan Malchev
b35d08d14e Merge changes from topic 'libACRONYM' into oc-dev am: 9eece058d6
am: 0852506624

Change-Id: Ibc3924cce54bcf467b1b17fbd9725b76254b5cde
2017-04-13 04:03:11 +00:00
Iliyan Malchev
54262f9b7b android.hardware.camera.provider@2.4: set up /dev/vndbinder am: b4488af17c
am: 63c2f84aaf

Change-Id: I3c20eff149da51a9137a8196547d637e4d3eb2bc
2017-04-13 04:02:53 +00:00
Steven Moreland
0ab242e500 Merge "bluetooth: include what you use" into oc-dev am: 86bf840964
am: a6c48341d1

Change-Id: I052475187b4b75d47687fa0ff6996cac9507203e
2017-04-13 04:02:24 +00:00
Iliyan Malchev
0852506624 Merge changes from topic 'libACRONYM' into oc-dev
am: 9eece058d6

Change-Id: I6d1ee4108b0bed906ff71f29f6519dbf9da6e775
2017-04-13 04:00:56 +00:00
Iliyan Malchev
63c2f84aaf android.hardware.camera.provider@2.4: set up /dev/vndbinder
am: b4488af17c

Change-Id: Id1900eb23ca664dabbff08c8af34f2aed2013eef
2017-04-13 04:00:53 +00:00
TreeHugger Robot
9eece058d6 Merge changes from topic 'libACRONYM' into oc-dev
* changes:
  composer: route binder traffic over vndbinder
  android.hardware.camera.provider@2.4: set up /dev/vndbinder
2017-04-13 03:55:29 +00:00
Steven Moreland
a6c48341d1 Merge "bluetooth: include what you use" into oc-dev
am: 86bf840964

Change-Id: Icb5c9beb6e1f04e9f2b0d012f7a449aed4100023
2017-04-13 03:50:17 +00:00
TreeHugger Robot
86bf840964 Merge "bluetooth: include what you use" into oc-dev 2017-04-13 03:35:45 +00:00
Ningyuan Wang
680018ba5b Add VTS test for ISupplicantP2pIface::removeGroup()
Bug: 33457575
Test: VTS tests pass
Change-Id: Ibb752d92ba1ba35475e1aec9d82c27c6b4b0c84e
2017-04-12 19:48:30 -07:00
Jeff Tinker
4c9339e2d1 Merge "Change drm/crypto service names to "default"" into oc-dev am: 8eb3a1ea59
am: 94c3beecfc

Change-Id: I004d1f2341ebac8b7876128602840772c6223197
2017-04-13 02:39:47 +00:00
Jeff Tinker
94c3beecfc Merge "Change drm/crypto service names to "default"" into oc-dev
am: 8eb3a1ea59

Change-Id: I942fa45af11ff966c41fd61482dde34e5828cc36
2017-04-13 02:34:20 +00:00
TreeHugger Robot
8eb3a1ea59 Merge "Change drm/crypto service names to "default"" into oc-dev 2017-04-13 02:25:25 +00:00
Michael Butler
06a7d395b8 Connecting to BufferQueue before setting surface.
Bug: 37172220

Test: mma, runs on sailfish
Change-Id: I2ed8e55ed9e6149245ca0d605441eff74eac45e2
2017-04-12 19:05:20 -07:00
Steven Moreland
8f7229efd7 Mark as vendor_available
By setting vendor_available, the following may become true:

* a prebuilt library from this release may be used at runtime by
  in a later releasse (by vendor code compiled against this release).
  so this library shouldn't depend on runtime state that may change
  in the future.
* this library may be loaded twice into a single process (potentially
  an old version and a newer version). The symbols will be isolated
  using linker namespaces, but this may break assumptions about 1
  library in 1 process (your singletons will run twice).

Background:

This means that these modules may be built and installed twice --
once for the system partition and once for the vendor partition. The
system version will build just like today, and will be used by the
framework components on /system. The vendor version will build
against a reduced set of exports and libraries -- similar to, but
separate from, the NDK. This means that all your dependencies must
also mark vendor_available.

At runtime, /system binaries will load libraries from /system/lib*,
while /vendor binaries will load libraries from /vendor/lib*. There
are some exceptions in both directions -- bionic(libc,etc) and liblog
are always loaded from /system. And SP-HALs (OpenGL, etc) may load
/vendor code into /system processes, but the dependencies of those
libraries will load from /vendor until it reaches a library that's
always on /system. In the SP-HAL case, if both framework and vendor
libraries depend on a library of the same name, both versions will be
loaded, but they will be isolated from each other.

It's possible to compile differently -- reducing your source files,
exporting different include directories, etc. For details see:

https://android-review.googlesource.com/368372

None of this is enabled unless the device opts into the system/vendor
split with BOARD_VNDK_VERSION := current.

Bug: 36426473
Bug: 36079834
Test: m -j android.hardware.sensors@1.0-convert
Test: attempt to compile with BOARD_VNDK_VERSION := current
Change-Id: I0a4e8a658b5b33bd7a6668242f98a4f6cda2a94f
2017-04-13 01:37:56 +00:00
Iliyan Malchev
4d8e6abf91 Merge "configstore: add startGraphicsAllocatorService" into oc-dev am: 1f8c6639e6
am: 77d1987496

Change-Id: I53662ed0dfb83cde047ba2f54ec1584975f9d060
2017-04-13 01:07:39 +00:00
Iliyan Malchev
77d1987496 Merge "configstore: add startGraphicsAllocatorService" into oc-dev
am: 1f8c6639e6

Change-Id: I546bb9dd04acc5daf64eaf92e6f7de2c87356aba
2017-04-13 00:57:09 +00:00
Iliyan Malchev
1f8c6639e6 Merge "configstore: add startGraphicsAllocatorService" into oc-dev 2017-04-13 00:42:13 +00:00
Iliyan Malchev
f140afe383 composer: route binder traffic over vndbinder
b/36683636 Hwcomposer is starting binder threads

Test: sailfish

Change-Id: I28ad19b5036c6fbf514770369888ca11892bf212
Signed-off-by: Iliyan Malchev <malchev@google.com>
2017-04-13 00:25:08 +00:00
Iliyan Malchev
b4488af17c android.hardware.camera.provider@2.4: set up /dev/vndbinder
The camera-HAL implementation may need to communicate with other vendor
components over /dev/vndbinder.  Route all libbinder traffic to that
node.

b/36651814
b/36651237
b/35870313
b/36683636

Test: sailfish

Change-Id: I9b80fefbcdf5ce18a2d788e8582ea8791a604435
Signed-off-by: Iliyan Malchev <malchev@google.com>
2017-04-13 00:24:39 +00:00