OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Changed the naming scheme for Treble java libraries (both static and dynamic...
Andreas Huber [Fri, 14 Apr 2017 04:27:52 +0000 (04:27 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" am: f37bea87e8 am: d79d4f23ae
am: 1a46e916dc

Change-Id: Ia95ff687620ba564ad5a82ad5923db91d61fe6ed

7 years agoMerge "audio.common@2.0-util: vendor_available + in Soong" into oc-dev
Steven Moreland [Fri, 14 Apr 2017 04:21:31 +0000 (04:21 +0000)]
Merge "audio.common@2.0-util: vendor_available + in Soong" into oc-dev
am: 5df7894213

Change-Id: I58ff1e8979815a0e5c927cd45aec1cf28a34c8c5

7 years agoMerge "Move bluetooth test to vendor." into oc-dev
Steven Moreland [Fri, 14 Apr 2017 04:21:16 +0000 (04:21 +0000)]
Merge "Move bluetooth test to vendor." into oc-dev
am: 411268f5ae

Change-Id: I55ce093525f41a90ce6cfe6b24d1b8391fcaef18

7 years agoMerge "Changed the naming scheme for Treble java libraries (both static and dynamic...
Andreas Huber [Fri, 14 Apr 2017 04:18:00 +0000 (04:18 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" into oc-dev
am: 8afd952d48

Change-Id: If26dc4c5bb23ea23ed48d35aa8618e0b7f2825a3

7 years agoMerge "audio.common@2.0-util: vendor_available + in Soong" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 04:00:09 +0000 (04:00 +0000)]
Merge "audio.common@2.0-util: vendor_available + in Soong" into oc-dev

7 years agoMerge "Move bluetooth test to vendor." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 03:59:45 +0000 (03:59 +0000)]
Merge "Move bluetooth test to vendor." into oc-dev

7 years agoMerge "Changed the naming scheme for Treble java libraries (both static and dynamic...
Andreas Huber [Fri, 14 Apr 2017 03:41:01 +0000 (03:41 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" am: f37bea87e8
am: d79d4f23ae

Change-Id: Ib1935f103757a58420b7a1498b3f1edcd558f8b6

7 years agoMerge "Changed the naming scheme for Treble java libraries (both static and dynamic)"
Andreas Huber [Fri, 14 Apr 2017 03:34:02 +0000 (03:34 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)"
am: f37bea87e8

Change-Id: Id54116fb605fd2156ddd0a636224f59b1b91deb8

7 years agoMerge "Changed the naming scheme for Treble java libraries (both static and dynamic)"
Treehugger Robot [Fri, 14 Apr 2017 03:24:05 +0000 (03:24 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)"

7 years agoMerge "Use fmq for camera capture request." into oc-dev
Yifan Hong [Fri, 14 Apr 2017 02:27:43 +0000 (02:27 +0000)]
Merge "Use fmq for camera capture request." into oc-dev
am: 84deaeb4f9

Change-Id: Iabc1d68e52ac99a96013558f764d23219d26a9f0

7 years agoMerge "Changed the naming scheme for Treble java libraries (both static and dynamic...
TreeHugger Robot [Fri, 14 Apr 2017 02:13:21 +0000 (02:13 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" into oc-dev

7 years agoMerge "Use fmq for camera capture request." into oc-dev
Yifan Hong [Fri, 14 Apr 2017 02:10:15 +0000 (02:10 +0000)]
Merge "Use fmq for camera capture request." into oc-dev

7 years agoMerge "fingerprint: clean up includes" into oc-dev
Steven Moreland [Fri, 14 Apr 2017 01:25:29 +0000 (01:25 +0000)]
Merge "fingerprint: clean up includes" into oc-dev
am: a1a42dffd0

Change-Id: I5b0e864bfb97c44c97f99c50d290abd831c2dc07

7 years agoMerge "fingerprint: clean up includes" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 01:14:21 +0000 (01:14 +0000)]
Merge "fingerprint: clean up includes" into oc-dev

7 years agoMerge changes I52c156ed,I9fb9a924 into oc-dev
Ningyuan Wang [Fri, 14 Apr 2017 00:24:33 +0000 (00:24 +0000)]
Merge changes I52c156ed,I9fb9a924 into oc-dev
am: e3c0b02d33

Change-Id: I8dd4fb4a04d116ca0d20c8bb69cb36e6a97636eb

7 years agoMerge changes I52c156ed,I9fb9a924 into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 00:13:17 +0000 (00:13 +0000)]
Merge changes I52c156ed,I9fb9a924 into oc-dev

* changes:
  Add VTS tests for Wfd
  Add VTS tests for Bonjour and Upnp service

7 years agofingerprint: clean up includes
Steven Moreland [Thu, 13 Apr 2017 23:12:15 +0000 (16:12 -0700)]
fingerprint: clean up includes

Bug: 33241851
Test: links
Test: works with BOARD_VNDK_VERSION := current
Change-Id: I7cfec2b8459964edf9a180d01cfdd90dae376fb9

7 years agowifi(interface): Add links to APF docs am: b0bb01d808 am: 1696169eda
Ningyuan Wang [Thu, 13 Apr 2017 22:49:01 +0000 (22:49 +0000)]
wifi(interface): Add links to APF docs am: b0bb01d808 am: 1696169eda
am: 0e18bfb7b9  -s ours

Change-Id: I3fc557aad0eecabcf8f7ca772f7f03a07a186ef7

7 years agowifi(interface): Add links to APF docs am: b0bb01d808
Ningyuan Wang [Thu, 13 Apr 2017 22:42:56 +0000 (22:42 +0000)]
wifi(interface): Add links to APF docs am: b0bb01d808
am: 1696169eda

Change-Id: I4b68f08b970256999243016a1d1413c52bf3e6d6

7 years agowifi(interface): Add links to APF docs
Ningyuan Wang [Thu, 13 Apr 2017 22:36:56 +0000 (22:36 +0000)]
wifi(interface): Add links to APF docs
am: b0bb01d808

Change-Id: I9bb85e794a8f9f01acb89d4d6357a117936da92f

7 years agowifi(interface): Add links to APF docs
Ningyuan Wang [Thu, 13 Apr 2017 17:39:27 +0000 (10:39 -0700)]
wifi(interface): Add links to APF docs

Bug: 32119512
Test: Compiles
Merged-In: Iadb68a2a649b120b607735e4d88617b11740832f
Change-Id: I32ec491983d1d9e987a19a00b4fd8e60503c9e7f

7 years agoChanged the naming scheme for Treble java libraries (both static and dynamic)
Andreas Huber [Thu, 13 Apr 2017 16:53:54 +0000 (09:53 -0700)]
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: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34

7 years agoMerge "wifi(interface): Add links to APF docs" into oc-dev
Ningyuan Wang [Thu, 13 Apr 2017 22:23:24 +0000 (22:23 +0000)]
Merge "wifi(interface): Add links to APF docs" into oc-dev
am: eb88c40014

Change-Id: Ie7fc9fecf894aaa00537f12956567c82673f43fb

7 years agoChanged the naming scheme for Treble java libraries (both static and dynamic)
Andreas Huber [Thu, 13 Apr 2017 16:53:54 +0000 (09:53 -0700)]
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: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34

7 years agoMerge "wifi(interface): Add links to APF docs" into oc-dev
Ningyuan Wang [Thu, 13 Apr 2017 22:15:43 +0000 (22:15 +0000)]
Merge "wifi(interface): Add links to APF docs" into oc-dev

7 years agoMove bluetooth test to vendor.
Steven Moreland [Thu, 13 Apr 2017 21:19:19 +0000 (14:19 -0700)]
Move bluetooth test to vendor.

The test is still built in data/nativetest64, but it must be marked as
vendor since it depends on vendor modules.

Also proprietary -> vendor.

Test: build with BOARD_VNDK_VERSION := current
Test: run test on internal marlin, passes
Bug: 33241851
Change-Id: I856838fe208a4cd038ea16d47f03f6278224b2ee

7 years agoUse fmq for camera capture request.
Yifan Hong [Tue, 11 Apr 2017 21:45:00 +0000 (14:45 -0700)]
Use fmq for camera capture request.

Test: camera works.

Bug: 35788245 [Treble] Pass camera metadata using shared memory
Change-Id: I4a1585315bf448c8c57def2964237cae21bdbe03

7 years agoAdd VTS tests for Wfd
Ningyuan Wang [Thu, 13 Apr 2017 01:44:40 +0000 (18:44 -0700)]
Add VTS tests for Wfd

This covers the following APIs by adding tests to
ISupplicantP2pIface:
ISupplicantP2pIface::enableWfd(),
ISupplicantP2pIface::setWfdDeviceInfo()

Bug: 33457575
Test: VTS tests pass

Change-Id: I52c156edf32c58b6fb6248d1b396d0437feebbfe

7 years agoAdd VTS tests for Bonjour and Upnp service
Ningyuan Wang [Wed, 12 Apr 2017 17:18:32 +0000 (10:18 -0700)]
Add VTS tests for Bonjour and Upnp service

This covers the following APIs by adding tests to
ISupplicantP2pIface:
ISupplicantP2pIface::addBonjourService(),
ISupplicantP2pIface::removeBonjourService(),
ISupplicantP2pIface::addUpnpService(),
ISupplicantP2pIface::removeUpnpService()

Bug: 33457575
Test: VTS tests pass

Change-Id: I9fb9a9243a40c2309e549775acabbf90ac9b31da

7 years agoMerge "Add VTS tests for wps related APIs in ISupplicantIface" into oc-dev
Ningyuan Wang [Thu, 13 Apr 2017 20:18:39 +0000 (20:18 +0000)]
Merge "Add VTS tests for wps related APIs in ISupplicantIface" into oc-dev
am: e70bffdf3c

Change-Id: Iac54dddd4d85e4b831d4b39b92a6f329b5c10203

7 years agoMerge "media.omx VTS test baseline" into oc-dev
Zhuoyao Zhang [Thu, 13 Apr 2017 19:48:58 +0000 (19:48 +0000)]
Merge "media.omx VTS test baseline" into oc-dev
am: 9eeda9561f

Change-Id: I0cf89fa45f02285a8c4cfde6450f30c7af6225c1

7 years agoMerge "Add VTS tests for wps related APIs in ISupplicantIface" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 19:47:14 +0000 (19:47 +0000)]
Merge "Add VTS tests for wps related APIs in ISupplicantIface" into oc-dev

7 years agoMerge "media.omx VTS test baseline" into oc-dev
Zhuoyao Zhang [Thu, 13 Apr 2017 19:24:28 +0000 (19:24 +0000)]
Merge "media.omx VTS test baseline" into oc-dev

7 years agoMerge "Add VTS test for ISupplicantP2pIface::removeGroup()" into oc-dev
Ningyuan Wang [Thu, 13 Apr 2017 18:48:10 +0000 (18:48 +0000)]
Merge "Add VTS test for ISupplicantP2pIface::removeGroup()" into oc-dev
am: 61d3d5ee85

Change-Id: I7af8e8c6a63bf04cded9e1710462e0a2138094d1

7 years agoMerge "Add more VTS tests for SupplicantStaIface" into oc-dev
Ningyuan Wang [Thu, 13 Apr 2017 18:47:59 +0000 (18:47 +0000)]
Merge "Add more VTS tests for SupplicantStaIface" into oc-dev
am: ce01460a15

Change-Id: I3964b85ec1ad1d2797d1e8ca66b3951351e570ab

7 years agoAdd VTS tests for wps related APIs in ISupplicantIface
Ningyuan Wang [Wed, 12 Apr 2017 02:26:02 +0000 (19:26 -0700)]
Add VTS tests for wps related APIs in ISupplicantIface

This covers the following APIs by adding tests to
ISupplicantStaIface and ISupplicantP2pIface:
ISupplicantIface::setWpsDeviceName(),
ISupplicantIface::setWpsDeviceType(),
ISupplicantIface::setWpsManufacturer(),
ISupplicantIface::setWpsModelName(),
ISupplicantIface::setWpsModelNumber(),
ISupplicantIface::setWpsSerialNumber(),
ISupplicantIface::setWpsConfigMethods()

Bug: 33457575
Test: VTS tests pass

Change-Id: I0adf6b81ed6da8b1dead9dfa09c778acf4f03a8c

7 years agoMerge "Add VTS test for ISupplicantP2pIface::removeGroup()" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:17:04 +0000 (18:17 +0000)]
Merge "Add VTS test for ISupplicantP2pIface::removeGroup()" into oc-dev

7 years agoMerge "Add more VTS tests for SupplicantStaIface" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 18:16:27 +0000 (18:16 +0000)]
Merge "Add more VTS tests for SupplicantStaIface" into oc-dev

7 years agoMerge "DRM vts test bug fixes" into oc-dev
Jeff Tinker [Thu, 13 Apr 2017 18:08:32 +0000 (18:08 +0000)]
Merge "DRM vts test bug fixes" into oc-dev
am: ca7205fa61

Change-Id: I873889b274818b27064f32467828ac18c14c9c92

7 years agoMerge "DRM vts test bug fixes" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 17:53:05 +0000 (17:53 +0000)]
Merge "DRM vts test bug fixes" into oc-dev

7 years agowifi(interface): Add links to APF docs
Roshan Pius [Mon, 27 Mar 2017 17:03:38 +0000 (10:03 -0700)]
wifi(interface): Add links to APF docs

Bug: 32119512
Test: Compiles
Change-Id: Iadb68a2a649b120b607735e4d88617b11740832f

7 years agomedia.omx VTS test baseline
Ram Mohan M [Wed, 29 Mar 2017 09:22:20 +0000 (14:52 +0530)]
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

7 years agoaudio.common@2.0-util: vendor_available + in Soong
Steven Moreland [Thu, 13 Apr 2017 05:45:01 +0000 (22:45 -0700)]
audio.common@2.0-util: vendor_available + in Soong

vendor_available: separate copy built on the vendor partition for
BOARD_VNDK_VERSION := current devices.

**************************************************
See full implications + warning on:
https://android-review.googlesource.com/#/c/369995/

(Ia4eb5378d941033b07673daf682e66051cd3c075)
***************************************************

Test: (sanity) audio works on internal marlin
Test: (sanity) hangouts call on internal marlin
Test: warnings don't show up on BOARD_VNDK_VERSION := current devices.
Bug: 33241851

Change-Id: I2de1b789a44d238e31108312b4ec0dd5d404b1e6

7 years agoDRM vts test bug fixes
Jeff Tinker [Thu, 13 Apr 2017 07:56:34 +0000 (00:56 -0700)]
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

7 years agoMerge "Connecting to BufferQueue before setting surface." into oc-dev
Michael Butler [Thu, 13 Apr 2017 04:58:40 +0000 (04:58 +0000)]
Merge "Connecting to BufferQueue before setting surface." into oc-dev
am: e7375c079d

Change-Id: Ice04dac674346bcfbdadae8b3a70431c8290b8db

7 years agoMerge "Connecting to BufferQueue before setting surface." into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 04:49:58 +0000 (04:49 +0000)]
Merge "Connecting to BufferQueue before setting surface." into oc-dev

7 years agoMerge "libhwcomposer-client: mark as vendor_available" into oc-dev
Steven Moreland [Thu, 13 Apr 2017 04:24:50 +0000 (04:24 +0000)]
Merge "libhwcomposer-client: mark as vendor_available" into oc-dev
am: cb1d509d21

Change-Id: I4a151c03680131fe9b7142995fae2c194ac47e73

7 years agoMerge "Mark as vendor_available" into oc-dev
Steven Moreland [Thu, 13 Apr 2017 04:24:39 +0000 (04:24 +0000)]
Merge "Mark as vendor_available" into oc-dev
am: b5213bb7f9

Change-Id: I6de8ea7c4dcebca83e78db6cbc3e2c051a312cb8

7 years agoMerge "android.hardware.camera.common@1.0-helper: vendor" into oc-dev
Steven Moreland [Thu, 13 Apr 2017 04:24:28 +0000 (04:24 +0000)]
Merge "android.hardware.camera.common@1.0-helper: vendor" into oc-dev
am: f8b85e63e4

Change-Id: Iaa3a3346ad1650cf89db0aa89249319f2f5cbf52

7 years agoMerge "libhwcomposer-client: mark as vendor_available" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 04:12:19 +0000 (04:12 +0000)]
Merge "libhwcomposer-client: mark as vendor_available" into oc-dev

7 years agoMerge "Mark as vendor_available" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 04:12:15 +0000 (04:12 +0000)]
Merge "Mark as vendor_available" into oc-dev

7 years agoMerge "android.hardware.camera.common@1.0-helper: vendor" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 04:12:11 +0000 (04:12 +0000)]
Merge "android.hardware.camera.common@1.0-helper: vendor" into oc-dev

7 years agoMerge changes from topic 'libACRONYM' into oc-dev
Iliyan Malchev [Thu, 13 Apr 2017 04:00:56 +0000 (04:00 +0000)]
Merge changes from topic 'libACRONYM' into oc-dev
am: 9eece058d6

Change-Id: I6d1ee4108b0bed906ff71f29f6519dbf9da6e775

7 years agoandroid.hardware.camera.provider@2.4: set up /dev/vndbinder
Iliyan Malchev [Thu, 13 Apr 2017 04:00:53 +0000 (04:00 +0000)]
android.hardware.camera.provider@2.4: set up /dev/vndbinder
am: b4488af17c

Change-Id: Id1900eb23ca664dabbff08c8af34f2aed2013eef

7 years agoMerge changes from topic 'libACRONYM' into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 03:55:27 +0000 (03:55 +0000)]
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

7 years agoMerge "bluetooth: include what you use" into oc-dev
Steven Moreland [Thu, 13 Apr 2017 03:50:17 +0000 (03:50 +0000)]
Merge "bluetooth: include what you use" into oc-dev
am: 86bf840964

Change-Id: Icb5c9beb6e1f04e9f2b0d012f7a449aed4100023

7 years agoMerge "bluetooth: include what you use" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 03:35:45 +0000 (03:35 +0000)]
Merge "bluetooth: include what you use" into oc-dev

7 years agoAdd VTS test for ISupplicantP2pIface::removeGroup()
Ningyuan Wang [Thu, 13 Apr 2017 02:48:30 +0000 (19:48 -0700)]
Add VTS test for ISupplicantP2pIface::removeGroup()

Bug: 33457575
Test: VTS tests pass
Change-Id: Ibb752d92ba1ba35475e1aec9d82c27c6b4b0c84e

7 years agoMerge "Change drm/crypto service names to "default"" into oc-dev
Jeff Tinker [Thu, 13 Apr 2017 02:34:20 +0000 (02:34 +0000)]
Merge "Change drm/crypto service names to "default"" into oc-dev
am: 8eb3a1ea59

Change-Id: I942fa45af11ff966c41fd61482dde34e5828cc36

7 years agoMerge "Change drm/crypto service names to "default"" into oc-dev
TreeHugger Robot [Thu, 13 Apr 2017 02:25:23 +0000 (02:25 +0000)]
Merge "Change drm/crypto service names to "default"" into oc-dev

7 years agoConnecting to BufferQueue before setting surface.
Michael Butler [Thu, 13 Apr 2017 01:55:48 +0000 (18:55 -0700)]
Connecting to BufferQueue before setting surface.

Bug: 37172220

Test: mma, runs on sailfish
Change-Id: I2ed8e55ed9e6149245ca0d605441eff74eac45e2

7 years agoMark as vendor_available
Steven Moreland [Wed, 12 Apr 2017 00:33:54 +0000 (17:33 -0700)]
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

7 years agoMerge "configstore: add startGraphicsAllocatorService" into oc-dev
Iliyan Malchev [Thu, 13 Apr 2017 00:57:09 +0000 (00:57 +0000)]
Merge "configstore: add startGraphicsAllocatorService" into oc-dev
am: 1f8c6639e6

Change-Id: I546bb9dd04acc5daf64eaf92e6f7de2c87356aba

7 years agoMerge "configstore: add startGraphicsAllocatorService" into oc-dev
Iliyan Malchev [Thu, 13 Apr 2017 00:42:12 +0000 (00:42 +0000)]
Merge "configstore: add startGraphicsAllocatorService" into oc-dev

7 years agocomposer: route binder traffic over vndbinder
Iliyan Malchev [Wed, 5 Apr 2017 20:13:09 +0000 (13:13 -0700)]
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>
7 years agoandroid.hardware.camera.provider@2.4: set up /dev/vndbinder
Iliyan Malchev [Wed, 5 Apr 2017 20:26:30 +0000 (13:26 -0700)]
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>
7 years agoMerge "Mark hidl test libs as vendor." am: 12d911204f am: 8b6bd56d18
Steven Moreland [Wed, 12 Apr 2017 23:30:07 +0000 (23:30 +0000)]
Merge "Mark hidl test libs as vendor." am: 12d911204f am: 8b6bd56d18
am: 1d3fc97e0f  -s ours

Change-Id: I974f6221833d3157d6357115274852c6874f2d3d

7 years agoMerge "Mark hidl test libs as vendor." am: 12d911204f
Steven Moreland [Wed, 12 Apr 2017 23:24:17 +0000 (23:24 +0000)]
Merge "Mark hidl test libs as vendor." am: 12d911204f
am: 8b6bd56d18

Change-Id: If61451e2bec7a5494658dda326e336e285ac7832

7 years agoMerge "Mark hidl test libs as vendor."
Steven Moreland [Wed, 12 Apr 2017 23:18:17 +0000 (23:18 +0000)]
Merge "Mark hidl test libs as vendor."
am: 12d911204f

Change-Id: Id44396d47c7bc625906edfabff2fbdc7082dad8a

7 years agoMerge "Mark hidl test libs as vendor."
Treehugger Robot [Wed, 12 Apr 2017 23:07:15 +0000 (23:07 +0000)]
Merge "Mark hidl test libs as vendor."

7 years agoMerge changes from topic 'hidl-vendor-available' into oc-dev
Steven Moreland [Wed, 12 Apr 2017 22:22:07 +0000 (22:22 +0000)]
Merge changes from topic 'hidl-vendor-available' into oc-dev
am: 17f0c0dde7

Change-Id: I277bade95b1ed2c46e982f3c03145121a0248080

7 years agoMerge "Add p2 option in OpenLogicalChannel" into oc-dev
Amit Mahajan [Wed, 12 Apr 2017 22:21:51 +0000 (22:21 +0000)]
Merge "Add p2 option in OpenLogicalChannel" into oc-dev
am: ddeb776201  -s ours

Change-Id: Ia0a3a2afe643713dd9f6307532a1fda4d9fab46b

7 years agoMerge changes from topic 'hidl-vendor-available' into oc-dev
Steven Moreland [Wed, 12 Apr 2017 22:13:57 +0000 (22:13 +0000)]
Merge changes from topic 'hidl-vendor-available' into oc-dev

* changes:
  Update makefiles (2/2).
  Update makefiles.

7 years agoAdd p2 option in OpenLogicalChannel
Wileen Chiu [Wed, 12 Apr 2017 22:13:57 +0000 (22:13 +0000)]
Add p2 option in OpenLogicalChannel
am: d87bd02d5a  -s ours

Change-Id: If4c8f514a6ebf36b1d5858fb2bde5e0bb330c247

7 years agoMerge "Add p2 option in OpenLogicalChannel" into oc-dev
Amit Mahajan [Wed, 12 Apr 2017 22:02:34 +0000 (22:02 +0000)]
Merge "Add p2 option in OpenLogicalChannel" into oc-dev

7 years agoMerge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev
Brian C. Anderson [Wed, 12 Apr 2017 21:40:07 +0000 (21:40 +0000)]
Merge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev
am: 21c2e11345

Change-Id: I8697cdc90dc46cbd0d0771314d7f603c3c9837b5

7 years agoMerge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev
Brian C. Anderson [Wed, 12 Apr 2017 21:26:22 +0000 (21:26 +0000)]
Merge "Add PRESENT_FENCE_IS_NOT_RELIABLE" into oc-dev

7 years agoMark hidl test libs as vendor.
Steven Moreland [Wed, 12 Apr 2017 00:56:47 +0000 (17:56 -0700)]
Mark hidl test libs as vendor.

They must be on the vendor partition for hidl_test to be able to link to
them when the VNDK is in place.

Test: hidl_test
Bug: 33241851
(cherry picked from commit 00556e0a11c4224b31d24e815dd50299c08c61e6)
Merged-In: I23c9e0674aaf33602bc9fde0515eb2f87ce5c60c
Change-Id: I23c9e0674aaf33602bc9fde0515eb2f87ce5c60c

7 years agoMerge "Mark hidl test libs as vendor." into oc-dev
Steven Moreland [Wed, 12 Apr 2017 20:15:58 +0000 (20:15 +0000)]
Merge "Mark hidl test libs as vendor." into oc-dev
am: 32f726a62d

Change-Id: I96f582f0d3d1926ed5238785e414edc6f68b2b23

7 years agoMerge "libgrallocmapperincludes: as header lib and vendor" into oc-dev
Steven Moreland [Wed, 12 Apr 2017 20:15:48 +0000 (20:15 +0000)]
Merge "libgrallocmapperincludes: as header lib and vendor" into oc-dev
am: 0b3004f38f

Change-Id: I8ab1e6ca321c8545866156c33febb924f63fc0b9

7 years agoMerge "Mark hidl test libs as vendor." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 20:07:47 +0000 (20:07 +0000)]
Merge "Mark hidl test libs as vendor." into oc-dev

7 years agoMerge "bluetooth: include what you use" am: 2e7ce4d73f am: cbd97452d3
Steven Moreland [Wed, 12 Apr 2017 20:06:40 +0000 (20:06 +0000)]
Merge "bluetooth: include what you use" am: 2e7ce4d73f am: cbd97452d3
am: c2aca5dba7

Change-Id: I0113701089d21145e93bdeeba708c3fab12bfdbf

7 years agoMerge "libgrallocmapperincludes: as header lib and vendor" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 20:04:24 +0000 (20:04 +0000)]
Merge "libgrallocmapperincludes: as header lib and vendor" into oc-dev

7 years agoMerge "bluetooth: include what you use" am: 2e7ce4d73f
Steven Moreland [Wed, 12 Apr 2017 19:59:31 +0000 (19:59 +0000)]
Merge "bluetooth: include what you use" am: 2e7ce4d73f
am: cbd97452d3

Change-Id: I2c210fdbd21580c231c439be6b0c223fb0d799e5

7 years agoMerge "bluetooth: include what you use"
Steven Moreland [Wed, 12 Apr 2017 19:54:01 +0000 (19:54 +0000)]
Merge "bluetooth: include what you use"
am: 2e7ce4d73f

Change-Id: I6ad653360422fa3aa2f39719ad3ddfe03b2cc640

7 years agoMerge "bluetooth: include what you use"
Treehugger Robot [Wed, 12 Apr 2017 19:41:25 +0000 (19:41 +0000)]
Merge "bluetooth: include what you use"

7 years agoMerge "Add IOmxStore and remove IOmxNode::setQuirks." into oc-dev
Lajos Molnar [Wed, 12 Apr 2017 19:01:20 +0000 (19:01 +0000)]
Merge "Add IOmxStore and remove IOmxNode::setQuirks." into oc-dev
am: 5af63734be

Change-Id: I381afa75e69d47b774ac3e02c66a03b18e733568

7 years agoMerge "Add more VTS tests for ISupplicantP2pIface" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 19:01:04 +0000 (19:01 +0000)]
Merge "Add more VTS tests for ISupplicantP2pIface" into oc-dev
am: 2d76d8670a

Change-Id: I2b846253ef012589b32895921cd09e19692e3f8c

7 years agoMerge "Add IOmxStore and remove IOmxNode::setQuirks." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 18:55:05 +0000 (18:55 +0000)]
Merge "Add IOmxStore and remove IOmxNode::setQuirks." into oc-dev

7 years agoMerge "Add more VTS tests for ISupplicantP2pIface" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 18:52:17 +0000 (18:52 +0000)]
Merge "Add more VTS tests for ISupplicantP2pIface" into oc-dev

7 years agoAdd PRESENT_FENCE_IS_NOT_RELIABLE
Brian Anderson [Tue, 4 Apr 2017 23:16:41 +0000 (16:16 -0700)]
Add PRESENT_FENCE_IS_NOT_RELIABLE

Test: adb shell /data/nativetest/libgui_test/libgui_test
  --gtest_filter=*GetFrameTimestamps*
Bug: 3673084936887025

Change-Id: Ide992e4dda7840f7982237943256ea3019eda434

7 years agoMerge "Fix failure to load power HAL implementation" into oc-dev
Connor O'Brien [Wed, 12 Apr 2017 18:10:23 +0000 (18:10 +0000)]
Merge "Fix failure to load power HAL implementation" into oc-dev
am: ad504560cc

Change-Id: I87310cd0239c1d343734861d3783710299d3775d

7 years agoMerge "Fix failure to load power HAL implementation" into oc-dev
Connor O'Brien [Wed, 12 Apr 2017 17:57:32 +0000 (17:57 +0000)]
Merge "Fix failure to load power HAL implementation" into oc-dev

7 years agoMerge "Add more VTS tests for ISupplicantNetwork" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 17:33:04 +0000 (17:33 +0000)]
Merge "Add more VTS tests for ISupplicantNetwork" into oc-dev
am: 7147f8f57f

Change-Id: Id075f6cfdcae31a450fa1d098530fd7b007add42

7 years agoMerge "Update makefiles." am: bbf39eb0b9 am: 3334081377
Steven Moreland [Wed, 12 Apr 2017 17:26:03 +0000 (17:26 +0000)]
Merge "Update makefiles." am: bbf39eb0b9 am: 3334081377
am: 5306d88cad

Change-Id: Ie1ed999a4a11ea9767d09fca591c80db91102daf

7 years agoMerge "Update Radio and Sap service name in VTS." am: f7c337546a am: ff75143a7a
Sanket Padawe [Wed, 12 Apr 2017 17:25:49 +0000 (17:25 +0000)]
Merge "Update Radio and Sap service name in VTS." am: f7c337546a am: ff75143a7a
am: 0908df747d  -s ours

Change-Id: Idf43b6e46ca928156f88e30e102b28079a3e5e83

7 years agoMerge "Update makefiles." am: bbf39eb0b9
Steven Moreland [Wed, 12 Apr 2017 17:25:05 +0000 (17:25 +0000)]
Merge "Update makefiles." am: bbf39eb0b9
am: 3334081377

Change-Id: Ib76fd65166dd7358b11225a3bf7e1c1b0338fe08

7 years agoMerge "Update makefiles."
Steven Moreland [Wed, 12 Apr 2017 17:20:03 +0000 (17:20 +0000)]
Merge "Update makefiles."
am: bbf39eb0b9

Change-Id: I4f7ae72b65dabedbea7da5d80f2cb454959bd9f1

7 years agoMerge "Update Radio and Sap service name in VTS." am: f7c337546a
Sanket Padawe [Wed, 12 Apr 2017 17:19:51 +0000 (17:19 +0000)]
Merge "Update Radio and Sap service name in VTS." am: f7c337546a
am: ff75143a7a

Change-Id: I76b9a4c0b1fde16109d5209254060204381ec1dc

7 years agoAdd p2 option in OpenLogicalChannel
Wileen Chiu [Fri, 3 Mar 2017 19:57:48 +0000 (11:57 -0800)]
Add p2 option in OpenLogicalChannel

- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
  by SIM Alliance

Test: Basic telephony sanity
Bug: 27360148
Merged-In: I6a274195065ab1ef8406849228f60859ee826e53
Change-Id: I88134eded001e14c12e1f2a18efd0a2b51bc22fe