OSDN Git Service

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

6 years agoMerge "Add HVAC_AUTO_RECIRC_ON property"
TreeHugger Robot [Fri, 30 Jun 2017 16:49:15 +0000 (16:49 +0000)]
Merge "Add HVAC_AUTO_RECIRC_ON property"

6 years agoAdd RDS info to virtual stations, convert to ProgramInfo.
Tomasz Wasilczyk [Thu, 29 Jun 2017 23:04:05 +0000 (16:04 -0700)]
Add RDS info to virtual stations, convert to ProgramInfo.

Bug: b/36864090
Test: manual, VTS (none added)
Change-Id: Iad54f5abee4c722030ae118cb3c4d8ad64225b34

6 years agoCamera: Try adding a passthrough legacy service
Emilian Peev [Fri, 30 Jun 2017 15:19:19 +0000 (08:19 -0700)]
Camera: Try adding a passthrough legacy service

Listing by interface on passthrough only devices doesn't
return the legacy implementation that might be present.
For this case try to connect to the legacy provider and
check whether such implementation does in fact exist.

Bug: 62835396
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: Ifdc1b15392f5418fd0d949953bb6bdb1f3612ee8

6 years agoAssert getService does not return nullptr
Jae Shin [Thu, 29 Jun 2017 02:42:25 +0000 (11:42 +0900)]
Assert getService does not return nullptr

Make sure getService return value is not null before running
testcase

Test: make vts -j40 && vts-tradefed run commandAndExit vts -m
VtsHalConfigstoreV1_0Target
Bug:62931371

Merged-In: I432e07c0c61a308b814d88cab9027a95ff24d8b5
(cherry picked from commit 60ff24c62e3215d24cdad0b7b29926734eb24c10)

Change-Id: Id9bb2a3fb2c4caf02c7e03c1529cefe2570c5453

6 years agoUpdate service name targeted by VTS test
Scott Randolph [Fri, 23 Jun 2017 21:34:49 +0000 (14:34 -0700)]
Update service name targeted by VTS test

Use the standard driver rather than the "mock" driver for testing.
Test:  Run the test.

Change-Id: I706eabaf33f6879a22359250ce02daaf4a7fe15f

6 years agoRDS PI is a number, not a string.
Tomasz Wasilczyk [Fri, 30 Jun 2017 00:55:54 +0000 (17:55 -0700)]
RDS PI is a number, not a string.

Makes an ABI-stable change to a hal definition file.

Bug: b/63147256
Test: manual, VTS, instumentalization
Change-Id: I7f1d88dea77fcfd7c203427c094553a6ae89d43b

6 years agoCamera: Try to test additional types of camera providers NO PARTIAL RERUN am: e652239...
Emilian Peev [Fri, 30 Jun 2017 01:35:40 +0000 (01:35 +0000)]
Camera: Try to test additional types of camera providers NO PARTIAL RERUN am: e6522390bb  -s ours am: c33b9bced8  -s ours
am: 072db075aa  -s ours

Change-Id: I20f7452e62432b47363b4a99d9d874a2c0405a21

6 years agoCamera: Try to test additional types of camera providers NO PARTIAL RERUN am: e652239...
Emilian Peev [Fri, 30 Jun 2017 01:35:21 +0000 (01:35 +0000)]
Camera: Try to test additional types of camera providers NO PARTIAL RERUN am: e6522390bb  -s ours am: 4f9bc71174  -s ours
am: 7b5e8f9d0d  -s ours

Change-Id: I07b90cff275efb55b1de020ad3b504ff9c1d3ba9

6 years agoCamera: Try to test additional types of camera providers NO PARTIAL RERUN am: e652239...
Emilian Peev [Fri, 30 Jun 2017 01:30:27 +0000 (01:30 +0000)]
Camera: Try to test additional types of camera providers NO PARTIAL RERUN am: e6522390bb  -s ours
am: c33b9bced8  -s ours

Change-Id: Ieff43357fa4203bd56dcf663379ae72a9c41c201

6 years agoCamera: Try to test additional types of camera providers NO PARTIAL RERUN am: e652239...
Emilian Peev [Fri, 30 Jun 2017 01:29:55 +0000 (01:29 +0000)]
Camera: Try to test additional types of camera providers NO PARTIAL RERUN am: e6522390bb  -s ours
am: 4f9bc71174  -s ours

Change-Id: I27326f409c73c39c793fbc64b22a002a4e8ba030

6 years agoCamera: Try to test additional types of camera providers NO PARTIAL RERUN
Emilian Peev [Fri, 30 Jun 2017 01:26:47 +0000 (01:26 +0000)]
Camera: Try to test additional types of camera providers NO PARTIAL RERUN
am: e6522390bb  -s ours

Change-Id: Ic25232cfb160737efd637966aa319c55d0582065

6 years agoCamera: Try to test additional types of camera providers NO PARTIAL RERUN
Emilian Peev [Fri, 30 Jun 2017 01:26:25 +0000 (01:26 +0000)]
Camera: Try to test additional types of camera providers NO PARTIAL RERUN
am: e6522390bb  -s ours

Change-Id: I1806d3616a808213dec0c06b3788d95831dfc36b

6 years agoCamera: Try to test additional types of camera providers am: 1af9528966 -s ours
Emilian Peev [Thu, 29 Jun 2017 23:22:38 +0000 (23:22 +0000)]
Camera: Try to test additional types of camera providers am: 1af9528966  -s ours
am: 46995411ea  -s ours

Change-Id: Ib0929e0faf27fe44bb49eac14556a5ef72e4b25b

6 years agoCamera: Try to test additional types of camera providers NO PARTIAL RERUN
Emilian Peev [Wed, 21 Jun 2017 13:52:54 +0000 (14:52 +0100)]
Camera: Try to test additional types of camera providers NO PARTIAL RERUN

Check whether different types of camera providers got
registered and try to test them if present.

Merged-In: I5c0c678e74d56cd8307d2f4e63b7c6dfa95d210d
Bug: 62835396
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO
Change-Id: I5c0c678e74d56cd8307d2f4e63b7c6dfa95d210d

6 years agoCamera: Try to test additional types of camera providers
Emilian Peev [Thu, 29 Jun 2017 23:18:08 +0000 (23:18 +0000)]
Camera: Try to test additional types of camera providers
am: 1af9528966  -s ours

Change-Id: I9b9ee61556ec5dd4edadfc9baa088372bbd66830

6 years agoMerge "Move broadcastradio test to vendor."
TreeHugger Robot [Thu, 29 Jun 2017 20:00:34 +0000 (20:00 +0000)]
Merge "Move broadcastradio test to vendor."

6 years agoMove broadcastradio test to vendor.
Steven Moreland [Thu, 29 Jun 2017 18:09:33 +0000 (11:09 -0700)]
Move broadcastradio test to vendor.

This is a vendor test and is causing builds with BOARD_VNDK_VERSION
to fail during soong processing.

Bug: 37342627
Test: BOARD_VNDK_VERSION=current builds fail later
Change-Id: Icc465b36ff0ecb0ac6c13ba99271eb9b86db6948