OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Fix some VTS for 2017 devices" into oc-dr1-dev
Shuo Qian [Mon, 17 Jul 2017 22:14:54 +0000 (22:14 +0000)]
Merge "Fix some VTS for 2017 devices" into oc-dr1-dev
am: 92cc6209a7

Change-Id: Ie076eb8e095d687ea238e8dfef3cd1fb3caddbd2

7 years agoMerge "Fix some VTS for 2017 devices" into oc-dr1-dev
Shuo Qian [Mon, 17 Jul 2017 22:09:30 +0000 (22:09 +0000)]
Merge "Fix some VTS for 2017 devices" into oc-dr1-dev

7 years agoAdd RadioIndication for Radio VTS test am: e635772b01 am: 6e12e894c6
sqian [Mon, 17 Jul 2017 20:25:36 +0000 (20:25 +0000)]
Add RadioIndication for Radio VTS test am: e635772b01 am: 6e12e894c6
am: f86f60e546  -s ours

Change-Id: Iee3fd6e3109c410641f552b90494de90744f082d

7 years agoAdd RadioIndication for Radio VTS test am: e635772b01
sqian [Mon, 17 Jul 2017 20:22:39 +0000 (20:22 +0000)]
Add RadioIndication for Radio VTS test am: e635772b01
am: 6e12e894c6

Change-Id: Idcc4e57a7d052a73e22f089373f5b4039a2d86b0

7 years agoAdd RadioIndication for Radio VTS test
sqian [Mon, 17 Jul 2017 20:20:09 +0000 (20:20 +0000)]
Add RadioIndication for Radio VTS test
am: e635772b01

Change-Id: I535ab37b19272575a8a53364d5332173479d92e0

7 years agoAdd RadioIndication for Radio VTS test
sqian [Mon, 17 Jul 2017 18:10:58 +0000 (11:10 -0700)]
Add RadioIndication for Radio VTS test

Fix 1.1 radio folder bug

Bug: 38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415
Merged-In: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415

7 years agoMerge "Add RadioIndication for Radio VTS test" into oc-dr1-dev
Shuo Qian [Mon, 17 Jul 2017 17:27:30 +0000 (17:27 +0000)]
Merge "Add RadioIndication for Radio VTS test" into oc-dr1-dev
am: 7e26812206

Change-Id: I81f2ad1d6acc99918ab09cefad55b142aaaed399

7 years agoMerge "Add RadioIndication for Radio VTS test" into oc-dr1-dev
Shuo Qian [Mon, 17 Jul 2017 17:23:24 +0000 (17:23 +0000)]
Merge "Add RadioIndication for Radio VTS test" into oc-dr1-dev

7 years agoAdd RadioIndication for Radio VTS test
sqian [Wed, 12 Jul 2017 19:37:07 +0000 (12:37 -0700)]
Add RadioIndication for Radio VTS test

Fix 1.1 radio folder bug

Bug: 38499208
Test: run vts
Change-Id: I6d39ce258d5318ce06fc7c99dad4caf0a3e35415

7 years agoMerge "Added protections to RenderScript VTS class teardown." am: 80002c1ff3 am:...
Michael Butler [Fri, 14 Jul 2017 22:54:58 +0000 (22:54 +0000)]
Merge "Added protections to RenderScript VTS class teardown." am: 80002c1ff3 am: 06f79dbd05
am: 88d9fda69a

Change-Id: I5610aa46a612acbd3b854de9721fd4c204a2f5f0

7 years agoMerge "Added protections to RenderScript VTS class teardown." am: 80002c1ff3
Michael Butler [Fri, 14 Jul 2017 22:50:56 +0000 (22:50 +0000)]
Merge "Added protections to RenderScript VTS class teardown." am: 80002c1ff3
am: 06f79dbd05

Change-Id: Iaab1d98a8096204be8f8153f53074cb772f0e809

7 years agoMerge "Added protections to RenderScript VTS class teardown."
Michael Butler [Fri, 14 Jul 2017 22:46:57 +0000 (22:46 +0000)]
Merge "Added protections to RenderScript VTS class teardown."
am: 80002c1ff3

Change-Id: I55d1b0432e87068913a0e40cb72717a3a034b1e7

7 years agoMerge "Added protections to RenderScript VTS class teardown."
Treehugger Robot [Fri, 14 Jul 2017 22:38:38 +0000 (22:38 +0000)]
Merge "Added protections to RenderScript VTS class teardown."

7 years agoInterface for configureRpcThreadpool tests am: 16a0437ab3 am: d19838d2c4
Timur Iskhakov [Fri, 14 Jul 2017 21:13:50 +0000 (21:13 +0000)]
Interface for configureRpcThreadpool tests am: 16a0437ab3 am: d19838d2c4
am: 6c0b3bee3c

Change-Id: I94d513c5052cdd7b59a8a675fa401da21765f39d

7 years agoInterface for configureRpcThreadpool tests am: 16a0437ab3
Timur Iskhakov [Fri, 14 Jul 2017 21:10:52 +0000 (21:10 +0000)]
Interface for configureRpcThreadpool tests am: 16a0437ab3
am: d19838d2c4

Change-Id: Iec5730a1eb1d5c0efb14e3be9fca3e33e192d042

7 years agoMerge "supplicant(vts): Remove dependency on libwifi_hal" into oc-dr1-dev
Roshan Pius [Fri, 14 Jul 2017 20:48:46 +0000 (20:48 +0000)]
Merge "supplicant(vts): Remove dependency on libwifi_hal" into oc-dr1-dev
am: be3cb04f37

Change-Id: I69f176ee7b671e1d1f942372cd47b3ae8abd258f

7 years agoAdded protections to RenderScript VTS class teardown.
Michael Butler [Tue, 11 Jul 2017 05:49:35 +0000 (22:49 -0700)]
Added protections to RenderScript VTS class teardown.

If RenderScript HIDL server does not exist or cannot be opened,
currently it results in a nullptr dereference when the VTS test is
torn down. This CL adds a check before the cleanup.

Test: mm -j40
Bug: 63711002
Change-Id: I11a226a78b31444e7b198b2ff1dfa3794963caa0

7 years agoMerge "supplicant(vts): Remove dependency on libwifi_hal" into oc-dr1-dev
TreeHugger Robot [Fri, 14 Jul 2017 20:38:43 +0000 (20:38 +0000)]
Merge "supplicant(vts): Remove dependency on libwifi_hal" into oc-dr1-dev

7 years agoInterface for configureRpcThreadpool tests
Timur Iskhakov [Fri, 14 Jul 2017 20:16:20 +0000 (20:16 +0000)]
Interface for configureRpcThreadpool tests
am: 16a0437ab3

Change-Id: Ie8c58380704d5a007566491e53d415ee5e14bbc1

7 years agosupplicant(vts): Remove dependency on libwifi_hal
Roshan Pius [Fri, 14 Jul 2017 18:32:25 +0000 (11:32 -0700)]
supplicant(vts): Remove dependency on libwifi_hal

libwifi_hal is a vendor component, so these are not allowed to be used
in the VTS tests. Use the vendor HAL for the required initializations
instead since that is the flow used by framework anyway (setup the wifi
chip using vendor hal and then use wpa_supplicant for connections).

Bug: 63704014
Bug: 33241851
Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalWifiSupplicantV1_0Target -l INFO

Change-Id: I396d8311253e2b2493f9bb901731937019d30164

7 years agoMerge "Add powerHintAsync functionality" into oc-dr1-dev
Philip Cuadra [Fri, 14 Jul 2017 17:07:37 +0000 (17:07 +0000)]
Merge "Add powerHintAsync functionality" into oc-dr1-dev
am: 35197b7ab2

Change-Id: I2723058f6c0723b9e875a458a63302a90f26de1d

7 years agoMerge "Add powerHintAsync functionality" into oc-dr1-dev
Philip Cuadra [Fri, 14 Jul 2017 17:02:21 +0000 (17:02 +0000)]
Merge "Add powerHintAsync functionality" into oc-dr1-dev

7 years agoMerge "Print test information to the target device's logcat" into oc-dr1-dev
Pawin Vongmasa [Fri, 14 Jul 2017 04:42:19 +0000 (04:42 +0000)]
Merge "Print test information to the target device's logcat" into oc-dr1-dev
am: 4bd2ed2323

Change-Id: I3443699f72f8d43f93f6dde2683a9eadaeba5e73

7 years agoMerge "Print test information to the target device's logcat" into oc-dr1-dev
TreeHugger Robot [Fri, 14 Jul 2017 04:37:32 +0000 (04:37 +0000)]
Merge "Print test information to the target device's logcat" into oc-dr1-dev

7 years agoFix some VTS for 2017 devices
sqian [Mon, 10 Jul 2017 18:12:38 +0000 (11:12 -0700)]
Fix some VTS for 2017 devices

- sendDeviceState
- setIndicationFilter

Mentioned in b/63148938
- getNeighboringCids

Add Request_not_support for Apis mentioned in Bugs:
 - 62989786
 - 62986286
 - 62987946

Test: run vts
Bug: 63130111
Bug: 63148938
Bug: 62989786
Bug: 62986286
Bug: 62987946
Change-Id: Ib51f67d403bb27f409018a98c07d6aa6aa6d19f8
Merged-In: Ib51f67d403bb27f409018a98c07d6aa6aa6d19f8

7 years agoInterface for configureRpcThreadpool tests
Timur Iskhakov [Fri, 7 Jul 2017 20:28:56 +0000 (13:28 -0700)]
Interface for configureRpcThreadpool tests

Test: links, compiles
Change-Id: I58996c4eeba5889c73407b1d71f03638b23d73d1
Merged-In: I58996c4eeba5889c73407b1d71f03638b23d73d1

7 years agoAdd powerHintAsync functionality
Philip Cuadra [Tue, 11 Jul 2017 22:26:53 +0000 (15:26 -0700)]
Add powerHintAsync functionality

Add an async version of powerHint called powerHintAsync.

Bug: 62377008
Test: Take systrace, confirm powerHint is now an async HIDL transaction

Change-Id: I7c4d850ef17c909977675771d6c2b8a3fa1609d2

7 years agoMerge "Add an empty 1.1 ISap interface." into oc-dr1-dev
Amit Mahajan [Thu, 13 Jul 2017 18:04:05 +0000 (18:04 +0000)]
Merge "Add an empty 1.1 ISap interface." into oc-dr1-dev
am: 48d56695ce

Change-Id: Ia615da9856af21d45fd10c175bbb3a357b7378bd

7 years agoMerge "Add an empty 1.1 ISap interface." into oc-dr1-dev
Amit Mahajan [Thu, 13 Jul 2017 17:47:48 +0000 (17:47 +0000)]
Merge "Add an empty 1.1 ISap interface." into oc-dr1-dev

7 years agoMerge "wifi(implementation): Set/Reset TX power limit" into oc-dr1-dev
Roshan Pius [Thu, 13 Jul 2017 16:27:27 +0000 (16:27 +0000)]
Merge "wifi(implementation): Set/Reset TX power limit" into oc-dr1-dev
am: 3ecafe9c97

Change-Id: I7b3ba569c144ffd12270c71a91c6b10c6427344e

7 years agoMerge "wifi(implementation): Set/Reset TX power limit" into oc-dr1-dev
TreeHugger Robot [Thu, 13 Jul 2017 16:23:28 +0000 (16:23 +0000)]
Merge "wifi(implementation): Set/Reset TX power limit" into oc-dr1-dev

7 years agoRemove configstore from the list of O-MR1 HALs.
Steven Moreland [Wed, 12 Jul 2017 22:17:53 +0000 (22:17 +0000)]
Remove configstore from the list of O-MR1 HALs.
am: dc6e5d1b6a

Change-Id: Iff0987a2517cba30fbd26f3743571828eb8139b9

7 years agoAdd an empty 1.1 ISap interface.
Amit Mahajan [Wed, 12 Jul 2017 17:17:36 +0000 (10:17 -0700)]
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

7 years agoMerge "Configstore HAL is down-revisioned to 1.0" into oc-dr1-dev
Sundong Ahn [Wed, 12 Jul 2017 02:26:17 +0000 (02:26 +0000)]
Merge "Configstore HAL is down-revisioned to 1.0" into oc-dr1-dev
am: 58599633fe  -s ours

Change-Id: I521117b8c2eb6f6870c26a9adca47be46d97804d

7 years agoRemove configstore from the list of O-MR1 HALs.
Steven Moreland [Wed, 12 Jul 2017 02:26:06 +0000 (19:26 -0700)]
Remove configstore from the list of O-MR1 HALs.

This interface was removed.

Test: none
Bug: 63440035
Change-Id: I984b4553f5e31d9b3926f4b3d2abc891909fcb51

7 years agoConfigstore HAL is down-revisioned to 1.0
Sundong Ahn [Wed, 12 Jul 2017 02:23:29 +0000 (02:23 +0000)]
Configstore HAL is down-revisioned to 1.0
am: a54e67a28e  -s ours

Change-Id: If3b0d2ddee7d2193d641ff524cc80672c0569f71

7 years agoMerge "Configstore HAL is down-revisioned to 1.0" into oc-dr1-dev
TreeHugger Robot [Wed, 12 Jul 2017 02:18:16 +0000 (02:18 +0000)]
Merge "Configstore HAL is down-revisioned to 1.0" into oc-dr1-dev

7 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

7 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

7 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

7 years agowifi(implementation): Set/Reset TX power limit
Roshan Pius [Tue, 11 Jul 2017 15:59:29 +0000 (08:59 -0700)]
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

7 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

7 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

7 years agoConfigstore HAL is down-revisioned to 1.0
Sundong Ahn [Mon, 10 Jul 2017 04:56:10 +0000 (13:56 +0900)]
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

7 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

7 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)

7 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

7 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

7 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

7 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

7 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()"

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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)"

7 years agoPrint test information to the target device's logcat
Pawin Vongmasa [Thu, 22 Jun 2017 00:55:41 +0000 (17:55 -0700)]
Print test information to the target device's logcat

Test: make vts -j99 && \
vts-tradefed run commandAndExit vts \
--skip-all-system-status-check --primary-abi-only \
--skip-preconditions --module VtsHalMediaOmxV1_0Test -l INFO

Bug: 62885431
Change-Id: I71bfa9c5ff4825259c7452ad7ac40fef87103b5f

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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)

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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