OSDN Git Service

android-x86/hardware-interfaces.git
6 years agoAdd radio 1.1 vts test folder. am: c673a94a96 am: 83c6f03d59 am: 63a4f002f5 -s ours
sqian [Tue, 11 Jul 2017 21:40:08 +0000 (21:40 +0000)]
Add radio 1.1 vts test folder. am: c673a94a96 am: 83c6f03d59 am: 63a4f002f5  -s ours
am: 59ebec8a38  -s ours

Change-Id: Icff7a48b674564eedcad88907001fa083bcc188c

6 years agoAdd radio 1.1 vts test folder. am: c673a94a96 am: 83c6f03d59
sqian [Tue, 11 Jul 2017 21:36:40 +0000 (21:36 +0000)]
Add radio 1.1 vts test folder. am: c673a94a96 am: 83c6f03d59
am: 63a4f002f5  -s ours

Change-Id: I2bba25ec0c64798b68e03a942d862d4105f6f64f

6 years agoAdd radio 1.1 vts test folder. am: c673a94a96
sqian [Tue, 11 Jul 2017 21:33:08 +0000 (21:33 +0000)]
Add radio 1.1 vts test folder. am: c673a94a96
am: 83c6f03d59

Change-Id: Iea5b2eaad70c9cc471bcb4f52c1af2525b7537dc

6 years agoAdd radio 1.1 vts test folder.
sqian [Tue, 11 Jul 2017 21:29:39 +0000 (21:29 +0000)]
Add radio 1.1 vts test folder.
am: c673a94a96

Change-Id: I9800dbb5789cc0db8df5ab2a31bdab50e016d618

6 years agoBluetooth: Change CHECK() to LOG_ALWAYS_FATAL() am: a7dc6fb5b4
Myles Watson [Tue, 11 Jul 2017 19:35:57 +0000 (19:35 +0000)]
Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL() am: a7dc6fb5b4
am: d4476e6d03

Change-Id: I1c6c026395417607061befc76f00268cbbabdd14

6 years agoBluetooth: Change CHECK() to LOG_ALWAYS_FATAL()
Myles Watson [Tue, 11 Jul 2017 19:33:27 +0000 (19:33 +0000)]
Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()
am: a7dc6fb5b4

Change-Id: I65f22a503016e167dd405db79bcc5287383953a9

6 years agoAdd radio 1.1 vts test folder.
sqian [Wed, 24 May 2017 22:08:25 +0000 (15:08 -0700)]
Add radio 1.1 vts test folder.

Bug: 38034125
Test: compile; adb shell compiled_vts_binary
Change-Id: I05d4f03db40ac712f120ac0e3e52301a6252f041
Merged-In: I05d4f03db40ac712f120ac0e3e52301a6252f041

6 years agoRefactor Broadcast Radio 1.1 VTS test.
Tomasz Wasilczyk [Fri, 7 Jul 2017 20:28:00 +0000 (13:28 -0700)]
Refactor Broadcast Radio 1.1 VTS test.

Also apply some minor fixes and log tweaks to the default implementation.

Bug: b/36864490
Test: VTS
Change-Id: I16558d71c6cdee71854ecae9106b8a1c78032439

6 years agoMerge changes from topic 'xml-effects-conf'
Mikhail Naganov [Mon, 10 Jul 2017 18:12:40 +0000 (18:12 +0000)]
Merge changes from topic 'xml-effects-conf'

* changes:
  Add VTS test for validating audio effects config against XML schema
  Can not specify an audio effect for the default stream
  Configure audio effects libraries with relative path
  Audio effect XSD: Give effect proxy its own tag
  Revert "Revert of "Audio: Add XML schema for audio effects configuration""

6 years agoMerge "Build camera.device@1.0-impl with BOARD_VNDK_VERSION"
TreeHugger Robot [Mon, 10 Jul 2017 17:42:13 +0000 (17:42 +0000)]
Merge "Build camera.device@1.0-impl with BOARD_VNDK_VERSION"

6 years agoMerge "Build android.hardware.cas@1.0-service with BOARD_VNDK_VERSION"
TreeHugger Robot [Mon, 10 Jul 2017 17:39:01 +0000 (17:39 +0000)]
Merge "Build android.hardware.cas@1.0-service with BOARD_VNDK_VERSION"

6 years agoBuild android.hardware.cas@1.0-service with BOARD_VNDK_VERSION
Jiyong Park [Mon, 10 Jul 2017 09:23:39 +0000 (18:23 +0900)]
Build android.hardware.cas@1.0-service with BOARD_VNDK_VERSION

Add libstagefright_foundation_headers and media_plugin_headers
explicitly since global include paths are not provided when building
with BOARD_VNDK_VERSION set.

Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j android.hardware.cas@1.0-service

Change-Id: I6b0b38a5c66a96d92b00d84904b2254b9e70d458

6 years agoBuild android.hardware.bluetooth* modules with BOARD_VNDK_VERSION
Jiyong Park [Mon, 10 Jul 2017 04:27:05 +0000 (13:27 +0900)]
Build android.hardware.bluetooth* modules with BOARD_VNDK_VERSION

Add missing headers that aren't automatically included when
BOARD_VNDK_VERSION is set.

Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j <module> where <module> is
android.hardware.bluetooth-async.vendor,
android.hardware.bluetooth@1.0-impl.vendor, and
android.hardware.bluetooth-hci.vendor

Change-Id: Ifb14d254fa358fbd2b9fbeecb028d6efd18e9483

6 years agoBuild camera.device@1.0-impl with BOARD_VNDK_VERSION
Jiyong Park [Mon, 10 Jul 2017 03:35:51 +0000 (12:35 +0900)]
Build camera.device@1.0-impl with BOARD_VNDK_VERSION

Add the dependency to media_plugin_headers since global include path is
not provided when building with BOARD_VNDK_VERSION

Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j camera.device@1.0-impl.vendor

(cherry picked from commit ef25b10aeb5134046c9acc3fbddbda1783fd32f0)

Change-Id: I506ad4d70b708d129cdc7842cc772c20d9b4197b

6 years agoMerge "move duplicate code to common"
TreeHugger Robot [Sat, 8 Jul 2017 01:04:02 +0000 (01:04 +0000)]
Merge "move duplicate code to common"

6 years agoAdd VTS test for validating audio effects config against XML schema
Mikhail Naganov [Fri, 7 Jul 2017 00:42:08 +0000 (17:42 -0700)]
Add VTS test for validating audio effects config against XML schema

If the device contains /vendor/etc/audio_effects.xml (the new XML
format for the audio effects configuration), the test validates
this config against the schema contained in
audio/effect/2.0/xml/audio_effects_conf_V2_0.xsd
(pushed to the device by the VTS test runner)

Change-Id: Ib57d30e3c1e32ce5d74f906a216f9bb8f635a28c
Test: this is a test
Bug: 37492580

6 years agoCan not specify an audio effect for the default stream
Kevin Rocard [Mon, 26 Jun 2017 22:50:33 +0000 (15:50 -0700)]
Can not specify an audio effect for the default stream

The default stream is an alias to an other stream.
One can not allocate effects for it in the configuration
as it could conflict with the stream it aliases.

Test: run xmllint against all audio effect configs
Bug: 37492580
Change-Id: Ia2bbc13b5cf2a0a40e5eeff7ee22a7423ec16767
Signed-off-by: Kevin Rocard <krocard@google.com>
6 years agoConfigure audio effects libraries with relative path
Kevin Rocard [Mon, 26 Jun 2017 22:50:33 +0000 (15:50 -0700)]
Configure audio effects libraries with relative path

audio effects.conf legacy format had the libraries specified
in absolute path.
Nevertheless those libraries must be in specific folders.
The .conf loader used to strip the prefix of the paths then
try to load the libraries in those specific folders.

With new xml format the user only has to specify the name of the library
and the loader will load it from the known folders.

Test: run xmllint against a config with absolute paths
Bug: 37492580
Change-Id: I2863e04b3cdf0c6758d9f7be33796621fee527ed
Signed-off-by: Kevin Rocard <krocard@google.com>
6 years agoAudio effect XSD: Give effect proxy its own tag
Kevin Rocard [Wed, 7 Jun 2017 22:25:03 +0000 (15:25 -0700)]
Audio effect XSD: Give effect proxy its own tag

Effect and effect proxy do not have the same xml structure.
As they had the same xml tag, it was impossible to discriminate them in
the xsd. Leading to xsd validating incorrect xml.

This patch changes the xsd to force proxy effect to have the type
<effectProxy> instead of <element>.

With this patch, effects have to be explicit about being a proxy and
they are forced to have a hw *and* a sw library.

Bug: 37492580
Test: validated xsd against converted effects.conf
Test: vendor/box/user/mnaganov/audio-effects-conf/test.sh
Change-Id: Idf8a1040feccbfd6a346ab9bc892f3b7e87df530
Signed-off-by: Kevin Rocard <krocard@google.com>
6 years agoRevert "Revert of "Audio: Add XML schema for audio effects configuration""
Mikhail Naganov [Sat, 8 Jul 2017 00:17:11 +0000 (17:17 -0700)]
Revert "Revert of "Audio: Add XML schema for audio effects configuration""

Add the configuration back on the master development branch.

This reverts commit d5196af81437013e6238823e71e48ca51d39addc.

Bug: 37492580
Change-Id: Ie2d3218d942a995aec4d6b73fb7813e76604066b
Test: not needed

6 years agoMerge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc...
Mikhail Naganov [Fri, 7 Jul 2017 23:10:07 +0000 (23:10 +0000)]
Merge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc-dr1-dev am: a06d7c559c
am: 9f4e3ec880

Change-Id: Ida8a981e37718390df3fa013c12b4f3f516a05bb

6 years agoMerge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc...
Mikhail Naganov [Fri, 7 Jul 2017 23:08:06 +0000 (23:08 +0000)]
Merge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc-dr1-dev
am: a06d7c559c

Change-Id: I6165186bc09c56722c9d20dafd120be6dfe154ee

6 years agoBluetooth: Change CHECK() to LOG_ALWAYS_FATAL()
Myles Watson [Mon, 26 Jun 2017 20:09:11 +0000 (13:09 -0700)]
Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()

Bug: 62641184
Test: Compilation
Change-Id: I21192c7a5c15def379d040b586a66ee1534c7c15
(cherry picked from commit 3e272a70763ff6191ac96d8560724e0a02f827ac)

6 years agoMerge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc...
TreeHugger Robot [Fri, 7 Jul 2017 22:58:55 +0000 (22:58 +0000)]
Merge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc-dr1-dev

6 years agoMerge "The VehiclePropValue response for OBD2_FREEZE_FRAME_INFO didn't have the prope...
Enrico Granata [Fri, 7 Jul 2017 20:33:39 +0000 (20:33 +0000)]
Merge "The VehiclePropValue response for OBD2_FREEZE_FRAME_INFO didn't have the property ID set correctly"

6 years agoMerge "Implement ProgramSelector at HIDL layer."
Tomasz Wasilczyk [Fri, 7 Jul 2017 14:58:50 +0000 (14:58 +0000)]
Merge "Implement ProgramSelector at HIDL layer."

6 years agoMerge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" am: 1a31a9e45e am: 517186aec1...
Myles Watson [Fri, 7 Jul 2017 03:43:24 +0000 (03:43 +0000)]
Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" am: 1a31a9e45e am: 517186aec1 am: 6b85e06d29
am: 9b2faf651d

Change-Id: I66814ac90e409f4d353737cfea9e834619a37c45

6 years agoMerge "Freeze wifi 1.1 interface." into oc-dr1-dev am: 34c42877fb
Steven Moreland [Fri, 7 Jul 2017 03:43:04 +0000 (03:43 +0000)]
Merge "Freeze wifi 1.1 interface." into oc-dr1-dev am: 34c42877fb
am: cbd241a949

Change-Id: Ic98ba55d9e005ba8b1af268dedce336fecde91ab

6 years agoMerge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" am: 1a31a9e45e am: 517186aec1
Myles Watson [Fri, 7 Jul 2017 03:35:24 +0000 (03:35 +0000)]
Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" am: 1a31a9e45e am: 517186aec1
am: 6b85e06d29

Change-Id: I47fe026754ef3ce7c70cb5bf5cb47c2283001784

6 years agoMerge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" am: 1a31a9e45e
Myles Watson [Fri, 7 Jul 2017 03:28:22 +0000 (03:28 +0000)]
Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" am: 1a31a9e45e
am: 517186aec1

Change-Id: If5d98b48811be71d482423a27b529e051399cde1

6 years agoMerge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()"
Myles Watson [Fri, 7 Jul 2017 03:24:53 +0000 (03:24 +0000)]
Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()"
am: 1a31a9e45e

Change-Id: I1fbef8d12e61c55bd5aa4b53378672aa6a5a54f7

6 years agoMerge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()"
Treehugger Robot [Fri, 7 Jul 2017 03:18:41 +0000 (03:18 +0000)]
Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()"

6 years agoMerge "Freeze wifi 1.1 interface." into oc-dr1-dev
Steven Moreland [Fri, 7 Jul 2017 03:00:20 +0000 (03:00 +0000)]
Merge "Freeze wifi 1.1 interface." into oc-dr1-dev
am: 34c42877fb

Change-Id: I3ac62dcf6c3e84eb7bd2c332dfdf928e3c567672

6 years agoMerge "Freeze wifi 1.1 interface." into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 02:35:13 +0000 (02:35 +0000)]
Merge "Freeze wifi 1.1 interface." into oc-dr1-dev

6 years agoMerge "Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into...
Android Build Merger (Role) [Fri, 7 Jul 2017 01:52:36 +0000 (01:52 +0000)]
Merge "Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours am: cb51cb26b5  -s ours" into oc-dr1-dev-plus-aosp am: 554be51ac8  -s ours"

6 years agoMerge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage...
Android Build Merger (Role) [Fri, 7 Jul 2017 01:51:24 +0000 (01:51 +0000)]
Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours am: cb51cb26b5  -s ours am: 6bea85d36a  -s ours"

6 years agoMerge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage...
Jakub Pawlowski [Fri, 7 Jul 2017 01:50:22 +0000 (01:50 +0000)]
Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours am: cb51cb26b5  -s ours" into oc-dr1-dev-plus-aosp
am: 554be51ac8  -s ours

Change-Id: I4caab19f53e491dde5481df0477e00877b5c093b

6 years agoMerge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage...
Android Build Merger (Role) [Fri, 7 Jul 2017 01:50:06 +0000 (01:50 +0000)]
Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours am: cb51cb26b5  -s ours am: 91fa2d1ab8  -s ours"

6 years agoMerge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp...
Jakub Pawlowski [Fri, 7 Jul 2017 01:49:09 +0000 (01:49 +0000)]
Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours am: cb51cb26b5  -s ours
am: 6bea85d36a  -s ours

Change-Id: I41ba4f528d5d4b14d5fcbfc5a307e17fe0c531b2

6 years agoMerge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage...
Android Build Merger (Role) [Fri, 7 Jul 2017 01:48:38 +0000 (01:48 +0000)]
Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours am: cb51cb26b5  -s ours am: 91fa2d1ab8  -s ours"

6 years agoMerge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp...
Jakub Pawlowski [Fri, 7 Jul 2017 01:48:08 +0000 (01:48 +0000)]
Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours am: cb51cb26b5  -s ours
am: 91fa2d1ab8  -s ours

Change-Id: I7e79602a01da08990bacdd220245bfaee150e0dc

6 years agoMerge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209 am...
Android Build Merger (Role) [Fri, 7 Jul 2017 01:47:51 +0000 (01:47 +0000)]
Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209 am: f1d9ae0f9a am: cf9926f413  -s ours"

6 years agoMerge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp...
Jakub Pawlowski [Fri, 7 Jul 2017 01:47:03 +0000 (01:47 +0000)]
Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours am: cb51cb26b5  -s ours
am: 91fa2d1ab8  -s ours

Change-Id: I57ae1f1d59d0f2306f1ee06dce52d59c0a3d3ee4

6 years agoMerge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209 am: f1d9ae0f9a
Jakub Pawlowski [Fri, 7 Jul 2017 01:45:57 +0000 (01:45 +0000)]
Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209 am: f1d9ae0f9a
am: cf9926f413  -s ours

Change-Id: I0ed82e83099c99d12b4a724ed0840d6619b5fddc

6 years agoMerge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage...
Android Build Merger (Role) [Fri, 7 Jul 2017 01:44:28 +0000 (01:44 +0000)]
Merge "Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours am: cb51cb26b5  -s ours" into oc-dr1-dev-plus-aosp

6 years agoMerge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209 am: f1d9ae0f9a
Jakub Pawlowski [Fri, 7 Jul 2017 01:44:18 +0000 (01:44 +0000)]
Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209 am: f1d9ae0f9a
am: cf9926f413  -s ours

Change-Id: Id298f0df078e77250b64afd4aa249d3176c8c620

6 years agoMerge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp...
Jakub Pawlowski [Fri, 7 Jul 2017 01:43:08 +0000 (01:43 +0000)]
Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours
am: cb51cb26b5  -s ours

Change-Id: I162cf55d93be65b7455b2f83492489993d6da7d9

6 years agoMerge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp...
Jakub Pawlowski [Fri, 7 Jul 2017 01:42:59 +0000 (01:42 +0000)]
Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master am: b48a8a219f  -s ours
am: cb51cb26b5  -s ours

Change-Id: I28fc23fa73212d0876f8436c1cf41324254f0dcc

6 years agoMerge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209
Jakub Pawlowski [Fri, 7 Jul 2017 01:40:41 +0000 (01:40 +0000)]
Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87 am: ef5d1b0209
am: f1d9ae0f9a

Change-Id: Id0967500ae42be23075cebed5c2640830dcdfb8b

6 years agoMerge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp...
Jakub Pawlowski [Fri, 7 Jul 2017 01:39:41 +0000 (01:39 +0000)]
Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master
am: b48a8a219f  -s ours

Change-Id: Iae4f57534852af650b5c7861286e4be4c851196c

6 years agoMerge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87
Jakub Pawlowski [Fri, 7 Jul 2017 01:37:49 +0000 (01:37 +0000)]
Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87
am: ef5d1b0209

Change-Id: I146d209c06a8975f5be4d26e808d8a85106f446c

6 years agoMerge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp...
Android Build Merger (Role) [Fri, 7 Jul 2017 01:37:41 +0000 (01:37 +0000)]
Merge "Merge "Make RawAddress into a class (4/4)" am: 1bd5a3ff87" into stage-aosp-master

6 years agoMerge "Make RawAddress into a class (4/4)"
Jakub Pawlowski [Fri, 7 Jul 2017 01:36:05 +0000 (01:36 +0000)]
Merge "Make RawAddress into a class (4/4)"
am: 1bd5a3ff87

Change-Id: I71e7ef4a55a3dd570ec6f5056190493e3bb85168

6 years agoMerge "Make RawAddress into a class (4/4)"
Jakub Pawlowski [Fri, 7 Jul 2017 01:34:39 +0000 (01:34 +0000)]
Merge "Make RawAddress into a class (4/4)"
am: 1bd5a3ff87

Change-Id: I619d560145d6d4058be35de74bc4ded503da455e

6 years agoMerge "Make RawAddress into a class (4/4)"
Treehugger Robot [Fri, 7 Jul 2017 01:29:30 +0000 (01:29 +0000)]
Merge "Make RawAddress into a class (4/4)"

6 years agoImplement ProgramSelector at HIDL layer.
Tomasz Wasilczyk [Wed, 5 Jul 2017 18:23:30 +0000 (11:23 -0700)]
Implement ProgramSelector at HIDL layer.

No front-end implementation yet.

Bug: b/32621193
Test: VTS
Change-Id: I48f034e709254836cad35bbeb4285c3c42a9e1cd

6 years agoMerge "Relax accelerometer events norm check" into oc-dr1-dev am: f2cb94e011
Peng Xu [Fri, 7 Jul 2017 00:19:41 +0000 (00:19 +0000)]
Merge "Relax accelerometer events norm check" into oc-dr1-dev am: f2cb94e011
am: 09ded5132e

Change-Id: I770005087c733e94e043cacf8dce6eda95b91eca

6 years agoMerge "Relax accelerometer events norm check" into oc-dr1-dev
Peng Xu [Fri, 7 Jul 2017 00:09:17 +0000 (00:09 +0000)]
Merge "Relax accelerometer events norm check" into oc-dr1-dev
am: f2cb94e011

Change-Id: Ice8882edd7fd8c34dc9d6b7a9a9a8afc2c4e9034

6 years agoMerge "Relax accelerometer events norm check" into oc-dr1-dev
Peng Xu [Thu, 6 Jul 2017 23:24:52 +0000 (23:24 +0000)]
Merge "Relax accelerometer events norm check" into oc-dr1-dev

6 years agoThe VehiclePropValue response for OBD2_FREEZE_FRAME_INFO didn't have the property...
Enrico Granata [Thu, 6 Jul 2017 22:55:30 +0000 (15:55 -0700)]
The VehiclePropValue response for OBD2_FREEZE_FRAME_INFO didn't have the property ID set correctly

Test: make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts -m VtsHalAutomotiveVehicleV2_1Host
Change-Id: I9b4d5f19657301f2d1c98c0811dcfa39cca85381

6 years agoMerge "Make RawAddress into a class (4/4)"
TreeHugger Robot [Thu, 6 Jul 2017 22:53:58 +0000 (22:53 +0000)]
Merge "Make RawAddress into a class (4/4)"

6 years agoMake RawAddress into a class (4/4)
Jakub Pawlowski [Wed, 5 Jul 2017 19:56:42 +0000 (12:56 -0700)]
Make RawAddress into a class (4/4)

* Add libbluetooth-types - library containing types implementation, that
is common between stystem/bt and packages/apps/Bluetooth. It must be
included in every project using btif interface.
* Put Raw Address implementation into libbluetooth-types
* Unify all "to/from string" helper methods into ToString and FromString
* bd_addr_empty -> RawAddress::kEmpty
* bd_addr_any -> RawAddress::kAny

Also fix leaks in jni str2addr by adding ReleaseStringUTFChars

Test: types_unittest
Change-Id: I7dca82ec2293ae5338a9500dd6aa43b59d25657a
Merged-In: I7dca82ec2293ae5338a9500dd6aa43b59d25657a

6 years agoMerge changes from topic 'wifi_1_1' into oc-dr1-dev am: 291721771f
Roshan Pius [Thu, 6 Jul 2017 22:29:44 +0000 (22:29 +0000)]
Merge changes from topic 'wifi_1_1' into oc-dr1-dev am: 291721771f
am: 10e7a7f303

Change-Id: Ia7ce76a26148b60195c8b7a71607ce62285f3151

6 years agoFreeze wifi 1.1 interface.
Steven Moreland [Thu, 6 Jul 2017 22:03:05 +0000 (15:03 -0700)]
Freeze wifi 1.1 interface.

Test: pass
Bug: 62437848
Bug: 62421345
Change-Id: Ib3bd3bbc28e6f0d34716781d4247ac0411128933

6 years agoMerge changes from topic 'wifi_1_1' into oc-dr1-dev
Roshan Pius [Thu, 6 Jul 2017 21:52:44 +0000 (21:52 +0000)]
Merge changes from topic 'wifi_1_1' into oc-dr1-dev
am: 291721771f

Change-Id: I8253fd29b38e8689d1593c2f707d4c9c0ec4cec9

6 years agoMerge changes from topic 'wifi_1_1' into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 21:50:20 +0000 (21:50 +0000)]
Merge changes from topic 'wifi_1_1' into oc-dr1-dev

* changes:
  wifi(implementation): Create 1.1 interface package
  wifi(interface): Create 1.1 interface package

6 years agoBT HAL H4 write flow am: 1d3d5a96f0
Peng Qi [Thu, 6 Jul 2017 20:34:20 +0000 (20:34 +0000)]
BT HAL H4 write flow am: 1d3d5a96f0
am: 0694d1cde6

Change-Id: I1a5cae7511b26a0e1087fa14edd76e0de7bd911b

6 years agowifi(implementation): Create 1.1 interface package
Roshan Pius [Tue, 20 Jun 2017 19:05:40 +0000 (12:05 -0700)]
wifi(implementation): Create 1.1 interface package

1. Move the implementation in 1.0/default to 1.1/default.
2. Move all of the implementation to
android::hardware::V1_1::implementation namespace.
3. All of the header files include the android::hardware::V1_0 namespace
so that it can access the types from 1.0 package. ("using namespace" is
against Google style guide though :().
The other option to prefix each 1.0 type with the namespace name.
For example: V1_0::WifiStatus.
4. Added the implementation of the new 1.1 method
IWifiChip.setTxPowerLimit().
4. The executable name and the .rc still has 1.0 name in it to avoid
changing all the device.mk files.

TODO: Hookup to the new legacy HAL API.

Bug: 62437848
Test: mmm -j128 hardware/interfaces/wifi/1.1/default/
Test: Device boots up and able to connect to wifi networks.
Test: New VTS tests passes
Change-Id: Ib36282939e70b064f246041a03d8870f5cb6410e

6 years agoBT HAL H4 write flow
Peng Qi [Thu, 6 Jul 2017 18:50:56 +0000 (18:50 +0000)]
BT HAL H4 write flow
am: 1d3d5a96f0

Change-Id: I35a29810d3db40bbb18dd294620510ce88d66d44

6 years agoBluetooth: Change CHECK() to LOG_ALWAYS_FATAL()
Myles Watson [Mon, 26 Jun 2017 20:09:11 +0000 (13:09 -0700)]
Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()

Bug: 62641184
Test: Compilation
Change-Id: I21192c7a5c15def379d040b586a66ee1534c7c15

6 years agoBT HAL H4 write flow
Peng Qi [Mon, 19 Jun 2017 10:01:07 +0000 (18:01 +0800)]
BT HAL H4 write flow

If to send type and data separately for one HCI packet,
it will cause two system call context switch to kernel space,
which will introduce software overhead on data path.
Plus, if vendor does not use pure UART interface, it causes different
data behavior on BUS and may not adapt to all vendors as legacy HAL did.
Considering backward-compatibility, to use writev to send
type and data together once as legacy BT HAL did.

Bug: 63391357
Test: H4 UTTest, BT VTS test, Bluetooth on/off
Change-Id: I2d93085fe0c01b48d0e3729a3fa85b5b27335b2c
(cherry picked from commit 92afd74a15d15b0ad6eb619a8ad3a864a4f6e71c)

6 years agoBT HAL H4 write flow am: 92afd74a15 am: 2b1413fd87 am: 541859599d
Peng Qi [Thu, 6 Jul 2017 17:08:24 +0000 (17:08 +0000)]
BT HAL H4 write flow am: 92afd74a15 am: 2b1413fd87 am: 541859599d
am: 9830ed5ae9

Change-Id: I87aee3462a5bc532933cc0fd86896d1c8b02ddb4

6 years agoBT HAL H4 write flow am: 92afd74a15 am: 2b1413fd87
Peng Qi [Thu, 6 Jul 2017 16:33:08 +0000 (16:33 +0000)]
BT HAL H4 write flow am: 92afd74a15 am: 2b1413fd87
am: 541859599d

Change-Id: I0575db87f577f31b15884e0c0f80597c16ae5eb0

6 years agoBT HAL H4 write flow am: 92afd74a15
Peng Qi [Thu, 6 Jul 2017 16:30:38 +0000 (16:30 +0000)]
BT HAL H4 write flow am: 92afd74a15
am: 2b1413fd87

Change-Id: I10da550c30c9b480ac1f3f3b14d463b9441b9368

6 years agoBT HAL H4 write flow
Peng Qi [Thu, 6 Jul 2017 16:27:51 +0000 (16:27 +0000)]
BT HAL H4 write flow
am: 92afd74a15

Change-Id: Ie8231290c6aa5600c3e9c355b04fe494aa64d190

6 years agowifi(interface): Create 1.1 interface package
Roshan Pius [Tue, 20 Jun 2017 18:36:29 +0000 (11:36 -0700)]
wifi(interface): Create 1.1 interface package

Extend the wifi HAL to add a new method in IWifiChip. This new method is
used for setting the TX power limit for meeting SAR requirements.

Bug: 62437848
Test: ./hardware/interfaces/update-makefiles.sh
Test: mmm -j32 hardware/interfaces/wifi/1.1
Change-Id: I8320a64812339f15cd88636505de0dfda18f0ebf

6 years agoMerge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev am: 5e5c184750
Jae Shin [Thu, 6 Jul 2017 02:50:07 +0000 (02:50 +0000)]
Merge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev am: 5e5c184750
am: deefa80e22

Change-Id: I99f2003f9aba85ff581429557e899bc04a5f096d

6 years agoMerge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev
Jae Shin [Thu, 6 Jul 2017 02:07:59 +0000 (02:07 +0000)]
Merge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev
am: 5e5c184750

Change-Id: Ie8bd61057ca7592c3f1df82fd0be09f63ee35d10

6 years agoMerge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev
Jae Shin [Thu, 6 Jul 2017 01:31:06 +0000 (01:31 +0000)]
Merge "Add structural test VtsHalConfigstoreV1_1Target" into oc-dr1-dev

6 years agoMerge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev am...
Etan Cohen [Wed, 5 Jul 2017 22:41:41 +0000 (22:41 +0000)]
Merge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev am: 61f5c145fb
am: 4d24c1509e

Change-Id: I16b84e4566bedd4172cdc48d3d158ac1c80b0f4c

6 years agoMerge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev
Etan Cohen [Wed, 5 Jul 2017 22:27:00 +0000 (22:27 +0000)]
Merge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev
am: 61f5c145fb

Change-Id: Ia985a1de1db3e026890c83588f0f52d6a3f0ce24

6 years agoMerge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev
TreeHugger Robot [Wed, 5 Jul 2017 22:11:25 +0000 (22:11 +0000)]
Merge "[AWARE] Pass through full structure for end NDP command" into oc-dr1-dev

6 years agoMerge "Add RDS info to virtual stations, convert to ProgramInfo."
Tomasz Wasilczyk [Wed, 5 Jul 2017 21:22:46 +0000 (21:22 +0000)]
Merge "Add RDS info to virtual stations, convert to ProgramInfo."

6 years agoMerge "RDS PI is a number, not a string."
Tomasz Wasilczyk [Wed, 5 Jul 2017 21:19:27 +0000 (21:19 +0000)]
Merge "RDS PI is a number, not a string."

6 years agoMake RawAddress into a class (4/4)
Jakub Pawlowski [Wed, 5 Jul 2017 19:56:42 +0000 (12:56 -0700)]
Make RawAddress into a class (4/4)

* Add libbluetooth-types - library containing types implementation, that
is common between stystem/bt and packages/apps/Bluetooth. It must be
included in every project using btif interface.
* Put Raw Address implementation into libbluetooth-types
* Unify all "to/from string" helper methods into ToString and FromString
* bd_addr_empty -> RawAddress::kEmpty
* bd_addr_any -> RawAddress::kAny

Also fix leaks in jni str2addr by adding ReleaseStringUTFChars

Test: types_unittest
Change-Id: I7dca82ec2293ae5338a9500dd6aa43b59d25657a

6 years agoRevert of "Audio: Add XML schema for audio effects configuration"
Mikhail Naganov [Wed, 5 Jul 2017 18:18:54 +0000 (11:18 -0700)]
Revert of "Audio: Add XML schema for audio effects configuration"

The schema file isn't used anywhere, safe to revert.

Bug: 37492580
Bug: 63169864
Test: not needed
Change-Id: I97e6e2d5be5324efe87475e04a916afeeec53631

6 years agoRelax accelerometer events norm check
Peng Xu [Wed, 5 Jul 2017 18:24:19 +0000 (11:24 -0700)]
Relax accelerometer events norm check

Current accelerometer norm check threshold is tight and cause
unnecessary test flakiness in test environment with small
inevitable vibration (e.g. from people walking by testing
lab).

This CL relax the threshold from 0.5m/s^2 to 1m/s^2.

Test: vts pass
Bug: 62811045
Change-Id: I5d7e736623c892b6e6c9b8ddc5d0f53fa8aaba77

6 years agoBuild android.hardware.drm@1.0-service with BOARD_VNDK_VERSION
Jiyong Park [Thu, 29 Jun 2017 05:31:59 +0000 (14:31 +0900)]
Build android.hardware.drm@1.0-service with BOARD_VNDK_VERSION

Instead of relying on the global include paths, use the new headers lib
'media_plugin_headers'. Also, media/SharedLibrary.h is not used, thus deleted.

Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j android.hardware.drm@1.0-service
Change-Id: I30d8bcb6315b734cef7ad082c432da51eb33119c

6 years agoAdd structural test VtsHalConfigstoreV1_1Target
Jae Shin [Mon, 3 Jul 2017 04:34:04 +0000 (13:34 +0900)]
Add structural test VtsHalConfigstoreV1_1Target

Add vts test module for configstore@1.1

Test: make vts -j40 && run commandAndExit vts -m
VtsHalConfigstoreV1_1Target
Bug: 63071317

Change-Id: I405f4409bc2ac4acdf07728b950ba9b653eb3328

6 years agoMerge "a.h.sensors@1.0-convert export libhardware headers"
TreeHugger Robot [Sat, 1 Jul 2017 02:03:58 +0000 (02:03 +0000)]
Merge "a.h.sensors@1.0-convert export libhardware headers"

6 years ago[AWARE] Pass through full structure for end NDP command
Etan Cohen [Fri, 30 Jun 2017 20:55:21 +0000 (13:55 -0700)]
[AWARE] Pass through full structure for end NDP command

The end NDP command is the only NAN HAL command which uses
a dynamically sized command structure. The original code
stripped out the non-static portions of the command - losing
the information. Modify the dynamically allocate at a lower
level of the shim.

Bug: 62569797
Test: integration tests now proceeding past failure point
Change-Id: I1732923aed64d7ec11649f0bad1731ab5bca13a0

6 years agoa.h.sensors@1.0-convert export libhardware headers
Yifan Hong [Sat, 1 Jul 2017 00:04:04 +0000 (17:04 -0700)]
a.h.sensors@1.0-convert export libhardware headers

Test: m libsensorndkbridge -j
Test: BOARD_VNDK_VERSION=current m libsensorndkbridge -j

Bug: 33241851
Change-Id: I23f77e36d2a5ccf5b349c7ae5430b509771f71ba

6 years agoMerge "Assert getService does not return nullptr" into oc-dr1-dev am: 050c563f02
Jae Shin [Fri, 30 Jun 2017 20:09:22 +0000 (20:09 +0000)]
Merge "Assert getService does not return nullptr" into oc-dr1-dev am: 050c563f02
am: 7ed856b417  -s ours

Change-Id: I9a27750cd7681126dc0b7023e6fe93f533fa11e0

6 years agoMerge "Assert getService does not return nullptr" into oc-dr1-dev
Jae Shin [Fri, 30 Jun 2017 20:04:24 +0000 (20:04 +0000)]
Merge "Assert getService does not return nullptr" into oc-dr1-dev
am: 050c563f02

Change-Id: I16ec7e910d86e41fa04517f041f9c9d46ae4c45d

6 years agoMerge "Assert getService does not return nullptr" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 20:00:00 +0000 (20:00 +0000)]
Merge "Assert getService does not return nullptr" into oc-dr1-dev

6 years agoBT HAL H4 write flow
Peng Qi [Mon, 19 Jun 2017 10:01:07 +0000 (18:01 +0800)]
BT HAL H4 write flow

If to send type and data separately for one HCI packet,
it will cause two system call context switch to kernel space,
which will introduce software overhead on data path.
Plus, if vendor does not use pure UART interface, it causes different
data behavior on BUS and may not adapt to all vendors as legacy HAL did.
Considering backward-compatibility, to use writev to send
type and data together once as legacy BT HAL did.

Test: H4 UTTest, BT VTS test, Bluetooth on/off
Change-Id: I2d93085fe0c01b48d0e3729a3fa85b5b27335b2c

6 years agoMerge "Camera: Try adding a passthrough legacy service" into oc-dr1-dev am: efe973102a
Emilian Peev [Fri, 30 Jun 2017 18:14:01 +0000 (18:14 +0000)]
Merge "Camera: Try adding a passthrough legacy service" into oc-dr1-dev am: efe973102a
am: 3518e360ca

Change-Id: I52e70a41a8e74f6cbb7ec4be041417da6089d2a2

6 years agoMerge "Camera: Try adding a passthrough legacy service" into oc-dr1-dev
Emilian Peev [Fri, 30 Jun 2017 18:05:43 +0000 (18:05 +0000)]
Merge "Camera: Try adding a passthrough legacy service" into oc-dr1-dev
am: efe973102a

Change-Id: Id9e41637c8afcf6d4a06fede7e023d41ee9126aa

6 years agoMerge "Camera: Try adding a passthrough legacy service" into oc-dr1-dev
TreeHugger Robot [Fri, 30 Jun 2017 18:00:53 +0000 (18:00 +0000)]
Merge "Camera: Try adding a passthrough legacy service" into oc-dr1-dev

6 years agoMerge "Update service name targeted by VTS test"
TreeHugger Robot [Fri, 30 Jun 2017 17:46:29 +0000 (17:46 +0000)]
Merge "Update service name targeted by VTS test"