OSDN Git Service

android-x86/hardware-interfaces.git
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 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 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 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 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

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

Change-Id: I88432432ca7bc23e8b4a1e7d216a3abf90b512dc

7 years agoMerge "Update makefiles."
Treehugger Robot [Wed, 12 Apr 2017 17:13:50 +0000 (17:13 +0000)]
Merge "Update makefiles."

7 years agobluetooth: include what you use
Steven Moreland [Tue, 11 Apr 2017 19:22:27 +0000 (12:22 -0700)]
bluetooth: include what you use

Helper libraries also now on vendor partition.

Test: links
Test: bluetooth works on internal Marlin
Bug: 33241851

(cherry picked from commit 96510c80f84e192f106678d269e793ade8510b1c)
Merged-In: Ie99faf9146ce2ce3df83a2b46acfaa36a54c16c2
Change-Id: Ie99faf9146ce2ce3df83a2b46acfaa36a54c16c2

7 years agobluetooth: include what you use
Steven Moreland [Tue, 11 Apr 2017 19:22:27 +0000 (12:22 -0700)]
bluetooth: include what you use

Helper libraries also now on vendor partition.

Test: links
Test: bluetooth works on internal Marlin
Bug: 33241851

Change-Id: Ie99faf9146ce2ce3df83a2b46acfaa36a54c16c2

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

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

7 years agolibgrallocmapperincludes: as header lib and vendor
Steven Moreland [Wed, 12 Apr 2017 16:39:54 +0000 (09:39 -0700)]
libgrallocmapperincludes: as header lib and vendor

Bug: 33241851
Test: links
Test: try build with BOARD_VNDK_VERSION current, no errors related to
  this module
Test: (sanity) YouTube

Change-Id: Ia2c3922bf8bf1ab51396a8c8c5fa8d909c442994

7 years agoMerge "sound trigger HAL: remove dummy Union" into oc-dev
Eric Laurent [Wed, 12 Apr 2017 16:05:11 +0000 (16:05 +0000)]
Merge "sound trigger HAL: remove dummy Union" into oc-dev
am: 8630ea169c

Change-Id: I772808083c8d053fef706e6ab056ba7f751718db

7 years agoMerge "sound trigger HAL: remove dummy Union" into oc-dev
Eric Laurent [Wed, 12 Apr 2017 15:57:48 +0000 (15:57 +0000)]
Merge "sound trigger HAL: remove dummy Union" into oc-dev

7 years agoMerge "Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 09:22:30 +0000 (09:22 +0000)]
Merge "Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()" into oc-dev
am: 3d56bdfb2e

Change-Id: I3248190aaf9c394e5279b975e882bbb9e8f70810

7 years agoMerge "Add VTS tests for ISupplicantIface" into oc-dev
Ningyuan Wang [Wed, 12 Apr 2017 09:22:19 +0000 (09:22 +0000)]
Merge "Add VTS tests for ISupplicantIface" into oc-dev
am: 4629846e68

Change-Id: I943342d624af77c266ac36562c8f252f76b0adf5

7 years agoMerge "Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 09:17:07 +0000 (09:17 +0000)]
Merge "Fix VTS test for SupplicantStaNetwork::setGetEapPhase2Method()" into oc-dev

7 years agoMerge "Add VTS tests for ISupplicantIface" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 09:14:29 +0000 (09:14 +0000)]
Merge "Add VTS tests for ISupplicantIface" into oc-dev

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

Change-Id: Iaceed63e1bb4c1a2f9d6a41e5ed4b799e95ccc3e

7 years agoMerge "Add more VTS tests for ISupplicantNetwork" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 04:45:48 +0000 (04:45 +0000)]
Merge "Add more VTS tests for ISupplicantNetwork" into oc-dev

7 years agolibhwcomposer-client: mark as vendor_available
Steven Moreland [Wed, 12 Apr 2017 04:25:13 +0000 (21:25 -0700)]
libhwcomposer-client: 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 libhwcomposer-client
Test: attempt to compile with BOARD_VNDK_VERSION := current
Change-Id: I735b861fcc25bc1048ce0ce3ad48432980248b06

7 years agoandroid.hardware.camera.common@1.0-helper: vendor
Steven Moreland [Wed, 12 Apr 2017 03:57:45 +0000 (20:57 -0700)]
android.hardware.camera.common@1.0-helper: vendor

Test: links/camera works
Bug: 33241851
Change-Id: I5bb846fabca29b789692fe8c253383fd821b8ba6

7 years agoconfigstore: add startGraphicsAllocatorService
Chia-I Wu [Tue, 11 Apr 2017 22:17:24 +0000 (15:17 -0700)]
configstore: add startGraphicsAllocatorService

Add ISurfaceFlingerConfigs::startGraphicsAllocatorService to control
whether SurfaceFlinger should start IAllocator service.

Bug: 36462585
Test: boots
Change-Id: I421413673246cc7c552bc9eeeb7a9ce2783faf9e

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
Change-Id: I23c9e0674aaf33602bc9fde0515eb2f87ce5c60c

7 years agoMerge "Added protections for RenderScript VTS tests." into oc-dev
Michael Butler [Wed, 12 Apr 2017 00:19:43 +0000 (00:19 +0000)]
Merge "Added protections for RenderScript VTS tests." into oc-dev
am: 59bfe719d2

Change-Id: I11c5c88a879df5acb1051ed65ca3cc107108f8b9

7 years agoMerge "Added protections for RenderScript VTS tests." into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:52:33 +0000 (23:52 +0000)]
Merge "Added protections for RenderScript VTS tests." into oc-dev

7 years agoAdd more VTS tests for ISupplicantNetwork
Ningyuan Wang [Tue, 11 Apr 2017 01:03:22 +0000 (18:03 -0700)]
Add more VTS tests for ISupplicantNetwork

This covers the following APIs by adding tests to
ISupplicantStaNetwork:
ISupplicantStaNetwork::setPsk(),
ISupplicantStaNetwork::getPsk(),
ISupplicantStaNetwork::setEapSubjectMatch(),
ISupplicantStaNetwork::getEapSubjectMatch(),
ISupplicantStaNetwork::setUpdateIdentifier,
ISupplicantStaNetwork::SetProactiveKeyCaching
ISupplicantStaNetwork::SendNetworkEapSimUmtsAutsResponse,
ISupplicantStaNetwork::SendNetworkEapSimGsmAuthFailure,
ISupplicantStaNetwork::SendNetworkEapSimUmtsAuthFailure,
ISupplicantStaNetwork::GetWpsNfcConfigurationToken

Bug: 33457575
Test: VTS tests pass

Change-Id: I7d990471aadc46e7d553f2179d6d234530cb1df6

7 years agoUpdate makefiles.
Steven Moreland [Tue, 11 Apr 2017 16:57:11 +0000 (09:57 -0700)]
Update makefiles.

Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e

7 years agoAdd more VTS tests for SupplicantStaIface
Ningyuan Wang [Tue, 11 Apr 2017 17:32:05 +0000 (10:32 -0700)]
Add more VTS tests for SupplicantStaIface

This covers the following APIs by adding tests to
ISupplicantStaIface:
ISupplicantStaIface::setExternalSim(),
ISupplicantStaIface::addExtRadioWork(),
ISupplicantStaIface::removeExtRadioWork()

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