Commit graph

5868 commits

Author SHA1 Message Date
Steven Moreland
64056535e4 Remove configstore from the list of O-MR1 HALs.
am: dc6e5d1b6a

Change-Id: Iff0987a2517cba30fbd26f3743571828eb8139b9
2017-07-12 22:17:53 +00:00
Tomasz Wasilczyk
bb5f29c9fb Use broadcastradio 1.1 default implementation by default.
Also, remove a warning for 1.1 interface, as the hidl freeze mechanism
is now in place.

Bug: b/34348946
Test: VTS, instrumentalization
Change-Id: I82025a7de8abd0758ba8b196bbbfc48b9322ac3b
2017-07-12 12:23:41 -07:00
Amit Mahajan
3b24b6eb2f Add an empty 1.1 ISap interface.
This is needed since manifest doesn't support different versions
for different interfaces in a package. Since there's a 1.1 for
IRadio, there needs to be a 1.1 for ISap as well.

Test: build
Bug: 63598469
Change-Id: I9a0bd898e5d236f05d6574b3e3093521d0f57d52
2017-07-12 10:26:51 -07:00
Sundong Ahn
17cee14dbc Merge "Configstore HAL is down-revisioned to 1.0" into oc-dr1-dev am: 58599633fe -s ours
am: bd03036d86  -s ours

Change-Id: I155e433cd5f845ccb439456fafd0bb8d7ce56c4c
2017-07-12 02:33:36 +00:00
TreeHugger Robot
a6ccda6a93 Merge "Interface for configureRpcThreadpool tests" 2017-07-12 02:32:44 +00:00
Sundong Ahn
b1b6554247 Configstore HAL is down-revisioned to 1.0 am: a54e67a28e -s ours
am: 2e8901ef73  -s ours

Change-Id: I7c693b20cdf96379e116c8982957070de5f84595
2017-07-12 02:30:50 +00:00
Sundong Ahn
bd03036d86 Merge "Configstore HAL is down-revisioned to 1.0" into oc-dr1-dev
am: 58599633fe  -s ours

Change-Id: I521117b8c2eb6f6870c26a9adca47be46d97804d
2017-07-12 02:26:17 +00:00
Steven Moreland
dc6e5d1b6a Remove configstore from the list of O-MR1 HALs.
This interface was removed.

Test: none
Bug: 63440035
Change-Id: I984b4553f5e31d9b3926f4b3d2abc891909fcb51
2017-07-11 19:26:06 -07:00
Sundong Ahn
2e8901ef73 Configstore HAL is down-revisioned to 1.0
am: a54e67a28e  -s ours

Change-Id: If3b0d2ddee7d2193d641ff524cc80672c0569f71
2017-07-12 02:23:29 +00:00
TreeHugger Robot
58599633fe Merge "Configstore HAL is down-revisioned to 1.0" into oc-dr1-dev 2017-07-12 02:18:16 +00:00
Timur Iskhakov
b96305d7cb Interface for configureRpcThreadpool tests
Test: links, compiles
Change-Id: I58996c4eeba5889c73407b1d71f03638b23d73d1
2017-07-11 15:28:51 -07:00
sqian
742aea887e Add radio 1.1 vts test folder. am: c673a94a96 am: 83c6f03d59 am: 63a4f002f5 -s ours
am: 59ebec8a38  -s ours

Change-Id: Icff7a48b674564eedcad88907001fa083bcc188c
2017-07-11 21:40:08 +00:00
sqian
59ebec8a38 Add radio 1.1 vts test folder. am: c673a94a96 am: 83c6f03d59
am: 63a4f002f5  -s ours

Change-Id: I2bba25ec0c64798b68e03a942d862d4105f6f64f
2017-07-11 21:36:40 +00:00
sqian
63a4f002f5 Add radio 1.1 vts test folder. am: c673a94a96
am: 83c6f03d59

Change-Id: Iea5b2eaad70c9cc471bcb4f52c1af2525b7537dc
2017-07-11 21:33:08 +00:00
sqian
83c6f03d59 Add radio 1.1 vts test folder.
am: c673a94a96

Change-Id: I9800dbb5789cc0db8df5ab2a31bdab50e016d618
2017-07-11 21:29:39 +00:00
Roshan Pius
8184d210d2 wifi(implementation): Set/Reset TX power limit
Hookup the HIDL method calls to the respective newly added legacy
HAL functions for setting/resetting TX power limits for SAR
requirements.

Bug: 62437848
Test: VTS test fails because of a bug in Qcom implementation. Working
with Qcom to fix their implementation.
Change-Id: Ia619f5558e44d44fd77d037e72dfc1f6863b51e0
2017-07-11 14:03:06 -07:00
Tri Vo
fc87140da9 convert vehicle to .bp
Test: cd hardware/interfaces/automotive && mma -j64
Change-Id: I851c9b2ff956b0f6d9d7a6076d495aad9038a66a
2017-07-11 12:55:13 -07:00
Myles Watson
995d73a3f5 Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL() am: a7dc6fb5b4
am: d4476e6d03

Change-Id: I1c6c026395417607061befc76f00268cbbabdd14
2017-07-11 19:35:57 +00:00
Myles Watson
d4476e6d03 Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()
am: a7dc6fb5b4

Change-Id: I65f22a503016e167dd405db79bcc5287383953a9
2017-07-11 19:33:27 +00:00
Steven Moreland
c1cad35a5a Compile health hal with the VNDK.
Test: builds with BOARD_VNDK_VERSION=current
Change-Id: I38ea5afed47026f6068e9aac5de3435ec031f836
2017-07-10 17:38:26 -07:00
sqian
c673a94a96 Add radio 1.1 vts test folder.
Bug: 38034125
Test: compile; adb shell compiled_vts_binary
Change-Id: I05d4f03db40ac712f120ac0e3e52301a6252f041
Merged-In: I05d4f03db40ac712f120ac0e3e52301a6252f041
2017-07-10 16:25:31 -07:00
Tomasz Wasilczyk
c9ba646a72 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
2017-07-10 15:32:29 -07:00
Mikhail Naganov
13c22539d1 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""
2017-07-10 18:12:40 +00:00
TreeHugger Robot
a78f9fca91 Merge "Build camera.device@1.0-impl with BOARD_VNDK_VERSION" 2017-07-10 17:42:13 +00:00
TreeHugger Robot
051e04fedf Merge "Build android.hardware.cas@1.0-service with BOARD_VNDK_VERSION" 2017-07-10 17:39:01 +00:00
Sundong Ahn
a54e67a28e Configstore HAL is down-revisioned to 1.0
Configstore was up-revisioned from 1.0 to 1.1. However no new
APIs were added to 1.1. Therefore configstore in dr1 will be down
revisioned to 1.0.

Bug: 63440035
Test: build & run
Change-Id: Ia2614439cd620fbe5fbd427571ab55a15089cc47
Merged-In: I75e7fd1da8e90ae48d779a3ba28957c5a93a5529
2017-07-10 20:07:33 +09:00
Jiyong Park
2ee400dd9f 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
2017-07-10 18:25:34 +09:00
Jiyong Park
cb198f7990 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
2017-07-10 13:28:55 +09:00
Jiyong Park
ec648686db 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
2017-07-10 12:37:00 +09:00
TreeHugger Robot
6f6840a9c1 Merge "move duplicate code to common" 2017-07-08 01:04:02 +00:00
Mikhail Naganov
6301fc325e 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
2017-07-07 17:45:15 -07:00
Kevin Rocard
6a0af3c51b 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>
2017-07-07 17:45:15 -07:00
Kevin Rocard
3296cee7e5 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>
2017-07-07 17:45:15 -07:00
Kevin Rocard
627fdaae3d 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>
2017-07-07 17:45:15 -07:00
Mikhail Naganov
7a5614bc9e Revert "Revert of "Audio: Add XML schema for audio effects configuration""
Add the configuration back on the master development branch.

This reverts commit d5196af814.

Bug: 37492580
Change-Id: Ie2d3218d942a995aec4d6b73fb7813e76604066b
Test: not needed
2017-07-07 17:45:03 -07:00
Mikhail Naganov
0c9240f7b6 Merge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc-dr1-dev am: a06d7c559c
am: 9f4e3ec880

Change-Id: Ida8a981e37718390df3fa013c12b4f3f516a05bb
2017-07-07 23:10:07 +00:00
Mikhail Naganov
9f4e3ec880 Merge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc-dr1-dev
am: a06d7c559c

Change-Id: I6165186bc09c56722c9d20dafd120be6dfe154ee
2017-07-07 23:08:06 +00:00
Myles Watson
a7dc6fb5b4 Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()
Bug: 62641184
Test: Compilation
Change-Id: I21192c7a5c15def379d040b586a66ee1534c7c15
(cherry picked from commit 3e272a7076)
2017-07-07 23:00:30 +00:00
TreeHugger Robot
a06d7c559c Merge "Revert of "Audio: Add XML schema for audio effects configuration"" into oc-dr1-dev 2017-07-07 22:58:55 +00:00
Enrico Granata
4080ab23d0 Merge "The VehiclePropValue response for OBD2_FREEZE_FRAME_INFO didn't have the property ID set correctly" 2017-07-07 20:33:39 +00:00
Tomasz Wasilczyk
5a7ab16c4e Merge "Implement ProgramSelector at HIDL layer." 2017-07-07 14:58:50 +00:00
Myles Watson
69a4b8fe4d Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" am: 1a31a9e45e am: 517186aec1 am: 6b85e06d29
am: 9b2faf651d

Change-Id: I66814ac90e409f4d353737cfea9e834619a37c45
2017-07-07 03:43:24 +00:00
Steven Moreland
3588248248 Merge "Freeze wifi 1.1 interface." into oc-dr1-dev am: 34c42877fb
am: cbd241a949

Change-Id: Ic98ba55d9e005ba8b1af268dedce336fecde91ab
2017-07-07 03:43:04 +00:00
Myles Watson
9b2faf651d Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" am: 1a31a9e45e am: 517186aec1
am: 6b85e06d29

Change-Id: I47fe026754ef3ce7c70cb5bf5cb47c2283001784
2017-07-07 03:35:24 +00:00
Myles Watson
6b85e06d29 Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" am: 1a31a9e45e
am: 517186aec1

Change-Id: If5d98b48811be71d482423a27b529e051399cde1
2017-07-07 03:28:22 +00:00
Myles Watson
517186aec1 Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()"
am: 1a31a9e45e

Change-Id: I1fbef8d12e61c55bd5aa4b53378672aa6a5a54f7
2017-07-07 03:24:53 +00:00
Treehugger Robot
1a31a9e45e Merge "Bluetooth: Change CHECK() to LOG_ALWAYS_FATAL()" 2017-07-07 03:18:41 +00:00
Steven Moreland
cbd241a949 Merge "Freeze wifi 1.1 interface." into oc-dr1-dev
am: 34c42877fb

Change-Id: I3ac62dcf6c3e84eb7bd2c332dfdf928e3c567672
2017-07-07 03:00:20 +00:00
TreeHugger Robot
34c42877fb Merge "Freeze wifi 1.1 interface." into oc-dr1-dev 2017-07-07 02:35:13 +00:00
Android Build Merger (Role)
58fcbb3680 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" 2017-07-07 01:52:36 +00:00