OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoRevert "Add capabilities for wifi_hal_legacy" am: b666cdae0f
Randy Pan [Thu, 27 Apr 2017 03:53:48 +0000 (03:53 +0000)]
Revert "Add capabilities for wifi_hal_legacy" am: b666cdae0f
am: 8b60a757ac

Change-Id: I40e08f5c56c34c85929aaf2404c92d05738ca407

7 years agoRevert "Add capabilities for wifi_hal_legacy"
Randy Pan [Thu, 27 Apr 2017 03:50:28 +0000 (03:50 +0000)]
Revert "Add capabilities for wifi_hal_legacy"
am: b666cdae0f

Change-Id: I870f99b5c9446f27663dd2ca72396f29667eb690

7 years agoMerge "USB: HIDL: V1_1 report accessory modes"
Thierry Strudel [Thu, 27 Apr 2017 03:28:07 +0000 (03:28 +0000)]
Merge "USB: HIDL: V1_1 report accessory modes"

7 years agoMerge "vehicle: respect result of registerAsService"
TreeHugger Robot [Thu, 27 Apr 2017 02:59:00 +0000 (02:59 +0000)]
Merge "vehicle: respect result of registerAsService"

7 years agoMerge changes from topic 'fix_configure_chip' into oc-dev am: 5eca115b68
Ningyuan Wang [Thu, 27 Apr 2017 01:24:16 +0000 (01:24 +0000)]
Merge changes from topic 'fix_configure_chip' into oc-dev am: 5eca115b68
am: 24e03c6303

Change-Id: Ie888172fe36ca78e218b4fdaaebd6c2ae592eddc

7 years agoRevert "Add capabilities for wifi_hal_legacy"
Randy Pan [Thu, 27 Apr 2017 01:19:44 +0000 (18:19 -0700)]
Revert "Add capabilities for wifi_hal_legacy"

This reverts commit 1addbeaa4672adae37ade6784d7a99b6bf1e0604.

It breaks WiFi connectivity on Fugu.

Bug: 37713566
Test: Able to connect to GoogleGuest on Fugu.

7 years agoMerge changes from topic 'fix_configure_chip' into oc-dev
Ningyuan Wang [Thu, 27 Apr 2017 01:13:52 +0000 (01:13 +0000)]
Merge changes from topic 'fix_configure_chip' into oc-dev
am: 5eca115b68

Change-Id: Ice788fc3d3c9226fa47df0b598927ea4a349332e

7 years agoMerge changes from topic 'fix_configure_chip' into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 00:56:34 +0000 (00:56 +0000)]
Merge changes from topic 'fix_configure_chip' into oc-dev

* changes:
  Fix configureChip() VTS test
  Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration

7 years agoMerge "stop bluetooth service while VTS test is running" into oc-dev am: 1f7fa63fbb
Keun Soo Yim [Thu, 27 Apr 2017 00:23:55 +0000 (00:23 +0000)]
Merge "stop bluetooth service while VTS test is running" into oc-dev am: 1f7fa63fbb
am: b6269d751a

Change-Id: I7d81ed845ab69400a69add88c66c58c6b5afa18d

7 years agoMerge "Update .hal file for fixing vts tests" into oc-dev am: 05935a7e06
Shuo Qian [Thu, 27 Apr 2017 00:23:37 +0000 (00:23 +0000)]
Merge "Update .hal file for fixing vts tests" into oc-dev am: 05935a7e06
am: e4f259f60c

Change-Id: I3d5ae8a4a04bd77ced2f81b289d7a733a8338124

7 years agoMerge "Fix Vts errors" into oc-dev am: 93d5836949
Shuo Qian [Thu, 27 Apr 2017 00:23:35 +0000 (00:23 +0000)]
Merge "Fix Vts errors" into oc-dev am: 93d5836949
am: 6ca560881c

Change-Id: I0a6d2eb8254df9785e16273ed300fba31bfa8a50

7 years agoMerge "stop bluetooth service while VTS test is running" into oc-dev
Keun Soo Yim [Wed, 26 Apr 2017 23:59:07 +0000 (23:59 +0000)]
Merge "stop bluetooth service while VTS test is running" into oc-dev
am: 1f7fa63fbb

Change-Id: I61f369ab2dea028bed2fdb57a81f0279916e906d

7 years agoMerge "Update .hal file for fixing vts tests" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:58:48 +0000 (23:58 +0000)]
Merge "Update .hal file for fixing vts tests" into oc-dev
am: 05935a7e06

Change-Id: If0c731b2e1485b580e78b378e1d8cdc6d69b766e

7 years agoMerge "Fix Vts errors" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:58:44 +0000 (23:58 +0000)]
Merge "Fix Vts errors" into oc-dev
am: 93d5836949

Change-Id: I9c3b7db8e75cf15f3231c60379bf0b1808cea972

7 years agoMerge "stop bluetooth service while VTS test is running" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 23:25:37 +0000 (23:25 +0000)]
Merge "stop bluetooth service while VTS test is running" into oc-dev

7 years agoMerge "Update .hal file for fixing vts tests" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:21:22 +0000 (23:21 +0000)]
Merge "Update .hal file for fixing vts tests" into oc-dev

7 years agoMerge "Fix Vts errors" into oc-dev
Shuo Qian [Wed, 26 Apr 2017 23:21:22 +0000 (23:21 +0000)]
Merge "Fix Vts errors" into oc-dev

7 years agoMerge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc...
Mikhail Naganov [Wed, 26 Apr 2017 23:01:27 +0000 (23:01 +0000)]
Merge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev am: 95344ba2f5
am: ccfcfd6ab5

Change-Id: I1ec93ffae619bc8b59216a8753626d315289e641

7 years agoMerge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev
Mikhail Naganov [Wed, 26 Apr 2017 22:57:58 +0000 (22:57 +0000)]
Merge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev
am: 95344ba2f5

Change-Id: Ie9b431099d21dd4120b85e35872366aa03bc61f2

7 years agoMerge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev
Mikhail Naganov [Wed, 26 Apr 2017 22:53:31 +0000 (22:53 +0000)]
Merge "audiohal: Fix handling of invalid arguments in 'debugDump' methods" into oc-dev

7 years agoMerge "RIL changes to allow the modem to query the framework for the key."
Pankaj Kanwar [Wed, 26 Apr 2017 22:33:27 +0000 (22:33 +0000)]
Merge "RIL changes to allow the modem to query the framework for the key."

7 years agoUSB: HIDL: V1_1 report accessory modes
Badhri Jagan Sridharan [Tue, 18 Apr 2017 00:16:25 +0000 (17:16 -0700)]
USB: HIDL: V1_1 report accessory modes

This CL extends the USB HAL interface to report audio
accessory and debug accessory modes.

Bug:36604276
Test: Manually test plugging analog audio headset.
Change-Id: I7e0f0268e61cedf0910e8d62f2a8d8b73ee6c3fb

7 years agoFix Vts errors
sqian [Thu, 13 Apr 2017 00:44:49 +0000 (17:44 -0700)]
Fix Vts errors

- Add REQUEST_NOT_SUPPORT into General Errors
- Add a util function to check General Errors
- Add a util function to check OEM Errors
- Changes to RIL command api tests based on the QC provided pdf
  to see if the errors from vts-web can be fixed

Test: Manual
Bug: 35671595
Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f

7 years agoFix configureChip() VTS test
Ningyuan Wang [Fri, 21 Apr 2017 16:54:07 +0000 (09:54 -0700)]
Fix configureChip() VTS test

Bug: 36562856
Bug: 37446050
Test: compile, vts test pass

Change-Id: I99ee0336d9cc11329de560daf26216ac15e5a0a9

7 years agoUpdate .hal file for fixing vts tests
sqian [Wed, 26 Apr 2017 01:00:34 +0000 (18:00 -0700)]
Update .hal file for fixing vts tests

- update 'voice' and 'sms' based on QC pdf file
- remove GENERIC_FAILURE still there
- fix duplicate error code

Note, current.txt updated only because this interface
has not been released as of the time of this CL.

Test: Manual
Bug: 35671595
Change-Id: I83831c222cb0d157d0aa06e48cf0a177ab0ecf31

7 years agovehicle: respect result of registerAsService
Steven Moreland [Wed, 26 Apr 2017 18:42:24 +0000 (11:42 -0700)]
vehicle: respect result of registerAsService

Test: works with https://android-review.googlesource.com/c/358172/
Change-Id: I73bb43f0759f4e396ededf4d8ef7f13711c13276

7 years agoMerge "Make BT HAL audio threads RT" into oc-dev am: 240371c7b2
Philip Cuadra [Wed, 26 Apr 2017 18:01:03 +0000 (18:01 +0000)]
Merge "Make BT HAL audio threads RT" into oc-dev am: 240371c7b2
am: 2470b1b033

Change-Id: I9f95b3aa21671689406cf01aeb6920ee3ff49639

7 years agoReturn ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration
Ningyuan Wang [Tue, 18 Apr 2017 21:20:41 +0000 (14:20 -0700)]
Return ERROR_NOT_SUPPORTED when configureChip() is used for reconfiguration

Bug: 36562856
Bug: 37446050
Test: compile, VTS test fail as expected
Change-Id: I895dd0d6e96b0d0a2b429c3a68be1f7c7e32a7e3

7 years agoMerge "Don't set hidl_string's buffer to nullptr"
Enrico Granata [Wed, 26 Apr 2017 17:21:14 +0000 (17:21 +0000)]
Merge "Don't set hidl_string's buffer to nullptr"

7 years agoMerge "Make BT HAL audio threads RT" into oc-dev
Philip Cuadra [Wed, 26 Apr 2017 17:07:13 +0000 (17:07 +0000)]
Merge "Make BT HAL audio threads RT" into oc-dev
am: 240371c7b2

Change-Id: Ia0eaedaa08a6bed4ba555e18fcff3a22c5b57b63

7 years agoMerge "Make BT HAL audio threads RT" into oc-dev
Philip Cuadra [Wed, 26 Apr 2017 16:52:00 +0000 (16:52 +0000)]
Merge "Make BT HAL audio threads RT" into oc-dev

7 years agoRIL changes to allow the modem to query the framework for the key.
pkanwar [Sun, 19 Mar 2017 17:49:01 +0000 (10:49 -0700)]
RIL changes to allow the modem to query the framework for the key.

BUG: 35606429
Test: manual
Change-Id: Ib1f5ee5f793f53901ad54bb6b6d4cb667dc720ab

7 years agoMerge "split availability command into request and response"
Asaf Rosenfeld [Wed, 26 Apr 2017 00:32:59 +0000 (00:32 +0000)]
Merge "split availability command into request and response"

7 years agoMake BT HAL audio threads RT
Philip Cuadra [Thu, 20 Apr 2017 23:02:48 +0000 (16:02 -0700)]
Make BT HAL audio threads RT

Bluetooth threads that are used in audio have deadline
requirements for glitchless playback.  Those threads need to be
scheduled as RT tasks to ensure that they can meet the deadline even if
there is high system load.  Use schedulerservice to request RT
scheduling.

Bug 37518404
Test:  play Bluetooth audio, check for RT with systrace
Change-Id: I043a97df3d2801922b54dcbf7c700ae11a48c217

7 years agoMerge "audiohal: Fix typos in comments, add missing comments" into oc-dev am: 3242e248c4
Mikhail Naganov [Tue, 25 Apr 2017 23:06:59 +0000 (23:06 +0000)]
Merge "audiohal: Fix typos in comments, add missing comments" into oc-dev am: 3242e248c4
am: c6985710cd

Change-Id: Ie59843b416b655a8da72b64c03b5870e9a72789e

7 years agoMerge changes from topic 'hals-should-use-mapper' into oc-dev am: 0a0e31c42d
Chia-I Wu [Tue, 25 Apr 2017 23:06:10 +0000 (23:06 +0000)]
Merge changes from topic 'hals-should-use-mapper' into oc-dev am: 0a0e31c42d
am: fd01e4649c

Change-Id: I0bd8a745aaffd198066a482625fe814d97982bf3

7 years agographics: clarify importBuffer and passthrough HALs am: ec74596af8
Chia-I Wu [Tue, 25 Apr 2017 23:06:05 +0000 (23:06 +0000)]
graphics: clarify importBuffer and passthrough HALs am: ec74596af8
am: 309534a6db

Change-Id: Ic92d37a7395007219323d8bbc239a4e64159b56b

7 years agoMerge "audiohal: Fix typos in comments, add missing comments" into oc-dev
Mikhail Naganov [Tue, 25 Apr 2017 22:36:45 +0000 (22:36 +0000)]
Merge "audiohal: Fix typos in comments, add missing comments" into oc-dev
am: 3242e248c4

Change-Id: I26dafab660c6c7680600c0f7c8f90fb3ee897150

7 years agoMerge changes from topic 'hals-should-use-mapper' into oc-dev
Chia-I Wu [Tue, 25 Apr 2017 22:36:03 +0000 (22:36 +0000)]
Merge changes from topic 'hals-should-use-mapper' into oc-dev
am: 0a0e31c42d

Change-Id: I0284ac97f01fcd6c0dbf749b5a93a8ba455f777f

7 years agographics: clarify importBuffer and passthrough HALs
Chia-I Wu [Tue, 25 Apr 2017 22:35:59 +0000 (22:35 +0000)]
graphics: clarify importBuffer and passthrough HALs
am: ec74596af8

Change-Id: Ia8b618a8ca6e75185938004bc1bb662bac8e8e8f

7 years agoMerge "audiohal: Fix typos in comments, add missing comments" into oc-dev
Mikhail Naganov [Tue, 25 Apr 2017 22:19:42 +0000 (22:19 +0000)]
Merge "audiohal: Fix typos in comments, add missing comments" into oc-dev

7 years agoMerge "Fix VtsHalDrmV1_0Target test failure" into oc-dev am: 1fd47b29b3
Jeff Tinker [Tue, 25 Apr 2017 22:18:06 +0000 (22:18 +0000)]
Merge "Fix VtsHalDrmV1_0Target test failure" into oc-dev am: 1fd47b29b3
am: e126cf8cc1

Change-Id: I47ee7ecc392a88e0f4ac3ea570e5a55947be9f09

7 years agoMerge changes from topic 'hals-should-use-mapper' into oc-dev
Chia-I Wu [Tue, 25 Apr 2017 22:12:56 +0000 (22:12 +0000)]
Merge changes from topic 'hals-should-use-mapper' into oc-dev

* changes:
  graphics: use mapper from the composer
  graphics: clarify importBuffer and passthrough HALs

7 years agostop bluetooth service while VTS test is running
Keun Soo Yim [Mon, 24 Apr 2017 21:49:30 +0000 (14:49 -0700)]
stop bluetooth service while VTS test is running

Test: run VTS HAL BT test
Bug: 37153328
Change-Id: I615d96daff496096122cd18158c205073f4623a6

7 years agoDon't set hidl_string's buffer to nullptr
Enrico Granata [Wed, 19 Apr 2017 00:59:52 +0000 (17:59 -0700)]
Don't set hidl_string's buffer to nullptr

Sending a null hidl_string from native code to Java is currently not
a supported operation and will cause a crash. As originally written,
shallowCopy would set a hidl_string to null as soon as a non-empty
stringValue was followed by an empty stringValue. Since freeze frames
come with a string value (the DTC) and live frames doesn't, this would
cause all diagnostics to crash while reading VehiclePropValue from parcel
immediately after dispatching a freeze frame. Fix by resetting empty strings
to a global non-null but zero length buffer.

Bug: 37435530
Test: diagnostic_injector.py
Change-Id: Ie79174dd7ab3d266f1e3addefa5ba9e2128ea9f8

7 years agoaudiohal: Fix handling of invalid arguments in 'debugDump' methods
Mikhail Naganov [Mon, 24 Apr 2017 17:44:08 +0000 (10:44 -0700)]
audiohal: Fix handling of invalid arguments in 'debugDump' methods

Add checks for validity of the passed in native handle.

Bug: 37590777
Change-Id: If906f0086c3442819e1844cc521215d5b74af015
Test: VTS
(cherry picked from commit 7bae6a0b635b142cfba9d4c4612e1e114f85b842)

7 years agographics: clarify importBuffer and passthrough HALs
Chia-I Wu [Fri, 21 Apr 2017 22:02:22 +0000 (15:02 -0700)]
graphics: clarify importBuffer and passthrough HALs

A buffer handle recieved from a HAL is by definition raw and needs
to be imported.  But because of passthrough HALs, such a raw handle
may have been imported already.  Explicitly specify that an
implementation must accept such a raw handle.

Bug: 37540361
Test: boots on angler, ryu and marlin
Change-Id: I5ecf526e59b27cc4a8f7f5d5ec27477da0946ece

7 years agographics: use mapper from the composer
Chia-I Wu [Thu, 20 Apr 2017 18:01:18 +0000 (11:01 -0700)]
graphics: use mapper from the composer

We must use the mapper HAL instead of gralloc0/gralloc1 from the
composer.

Bug: 37540361
Test: boots on marlin, angler, and ryu
Change-Id: I5a3ff6a025bf51a3507a4f33fa77e9506a6f1ec9

7 years agoMerge "Fix VtsHalDrmV1_0Target test failure" into oc-dev
Jeff Tinker [Tue, 25 Apr 2017 19:17:32 +0000 (19:17 +0000)]
Merge "Fix VtsHalDrmV1_0Target test failure" into oc-dev
am: 1fd47b29b3

Change-Id: I947939edad4fc89c4e58119581205874e17cfdbd

7 years agoMerge "Fix VtsHalDrmV1_0Target test failure" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 18:53:59 +0000 (18:53 +0000)]
Merge "Fix VtsHalDrmV1_0Target test failure" into oc-dev

7 years agosplit availability command into request and response
Asaf Rosenfeld [Tue, 25 Apr 2017 18:26:33 +0000 (11:26 -0700)]
split availability command into request and response

Test: verified all VMS tests
Bug: b/37074894
Change-Id: Ia4beb5a08982990b14ee71920714e0808c2bffa3

7 years agoMerge "Adding missing NI_TYPE for emergency SUPL" into oc-dev am: 12d67e3c7a
Wyatt Riley [Tue, 25 Apr 2017 18:15:47 +0000 (18:15 +0000)]
Merge "Adding missing NI_TYPE for emergency SUPL" into oc-dev am: 12d67e3c7a
am: ab3e767b88

Change-Id: I4b413866cbf6d0b888f9b67e0c5725cd0068ea91

7 years agoMerge "Adding missing NI_TYPE for emergency SUPL" into oc-dev
Wyatt Riley [Tue, 25 Apr 2017 18:04:30 +0000 (18:04 +0000)]
Merge "Adding missing NI_TYPE for emergency SUPL" into oc-dev
am: 12d67e3c7a

Change-Id: I4891c240fd6e73d0c3e4836a9286977b23f936b0

7 years agoaudiohal: Fix typos in comments, add missing comments
Mikhail Naganov [Tue, 25 Apr 2017 17:35:17 +0000 (10:35 -0700)]
audiohal: Fix typos in comments, add missing comments

These changes are in comments only, no ABI breaking changes.

Bug: 32238101
Test: make
Change-Id: Iead4ba01dae1a1c05d8fbed7f194182128e9e6ad

7 years agoChange bootHAL to early_hal class am: 092daf7fea am: 769907ef4e am: 3debb9dec8 ...
Wei Wang [Tue, 25 Apr 2017 17:53:18 +0000 (17:53 +0000)]
Change bootHAL to early_hal class am: 092daf7fea am: 769907ef4e am: 3debb9dec8  -s ours
am: f061a81435  -s ours

Change-Id: Ifacbebff2ce50df1065137ebbedc98a441cf1d93

7 years agoChange bootHAL to early_hal class am: 092daf7fea am: 769907ef4e
Wei Wang [Tue, 25 Apr 2017 17:45:58 +0000 (17:45 +0000)]
Change bootHAL to early_hal class am: 092daf7fea am: 769907ef4e
am: 3debb9dec8  -s ours

Change-Id: I9725a681541ced41ff98f8989b28520d819c2157

7 years agoChange bootHAL to early_hal class am: 092daf7fea
Wei Wang [Tue, 25 Apr 2017 17:44:29 +0000 (17:44 +0000)]
Change bootHAL to early_hal class am: 092daf7fea
am: 769907ef4e

Change-Id: Ifc68c969adadd0cab354c1f70d1ec164ca03665f

7 years agoChange bootHAL to early_hal class
Wei Wang [Tue, 25 Apr 2017 17:42:03 +0000 (17:42 +0000)]
Change bootHAL to early_hal class
am: 092daf7fea

Change-Id: I905d1a824c8e4904f748d9d9f3c66bb36136647e

7 years agoMerge "Adding missing NI_TYPE for emergency SUPL" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 17:40:55 +0000 (17:40 +0000)]
Merge "Adding missing NI_TYPE for emergency SUPL" into oc-dev

7 years agoMerge changes from topic 'fuguWifi' into oc-dev am: 0d0fb634ec
Randy Pan [Tue, 25 Apr 2017 17:23:40 +0000 (17:23 +0000)]
Merge changes from topic 'fuguWifi' into oc-dev am: 0d0fb634ec
am: d04ec801df

Change-Id: I47113c7cc6bb5cf95776ccb9e2b4384feff65896

7 years agoMerge changes from topic 'fuguWifi' into oc-dev
Randy Pan [Tue, 25 Apr 2017 17:20:51 +0000 (17:20 +0000)]
Merge changes from topic 'fuguWifi' into oc-dev
am: 0d0fb634ec

Change-Id: I2617fe15174d5ca808e48d21fd5d4f9ac0f99778

7 years agoMerge changes from topic 'fuguWifi' into oc-dev
Randy Pan [Tue, 25 Apr 2017 16:59:37 +0000 (16:59 +0000)]
Merge changes from topic 'fuguWifi' into oc-dev

* changes:
  Improve logger feature set handling
  Add capabilities for wifi_hal_legacy

7 years agoMerge "audiohal: Fix handling of invalid arguments in 'debugDump' methods"
Mikhail Naganov [Tue, 25 Apr 2017 16:39:22 +0000 (16:39 +0000)]
Merge "audiohal: Fix handling of invalid arguments in 'debugDump' methods"

7 years agoMerge "audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice"
Mikhail Naganov [Tue, 25 Apr 2017 16:37:19 +0000 (16:37 +0000)]
Merge "audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice"

7 years agoMerge "Finish adding manufacturer and model to device ID attestation" into oc-dev...
Bartosz Fabianowski [Tue, 25 Apr 2017 10:50:27 +0000 (10:50 +0000)]
Merge "Finish adding manufacturer and model to device ID attestation" into oc-dev am: 8fcab148c2
am: d7b16e14c2

Change-Id: I49df5ef418cf43e60de024fb087da03b8f9feaf0

7 years agoMerge "Finish adding manufacturer and model to device ID attestation" into oc-dev
Bartosz Fabianowski [Tue, 25 Apr 2017 10:47:57 +0000 (10:47 +0000)]
Merge "Finish adding manufacturer and model to device ID attestation" into oc-dev
am: 8fcab148c2

Change-Id: Ib568ef34a26d500e452887118338679388dfcf8e

7 years agoMerge "Finish adding manufacturer and model to device ID attestation" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 10:43:18 +0000 (10:43 +0000)]
Merge "Finish adding manufacturer and model to device ID attestation" into oc-dev

7 years agoMerge changes from topic 'o-usage64-2' into oc-dev am: 441c1cb7d7
Chris Forbes [Tue, 25 Apr 2017 04:27:24 +0000 (04:27 +0000)]
Merge changes from topic 'o-usage64-2' into oc-dev am: 441c1cb7d7
am: d350340340

Change-Id: I68fb3ba765ce0d55231e149a8b6a51fd42a19088

7 years agoMerge changes from topic 'o-usage64-2' into oc-dev
Chris Forbes [Tue, 25 Apr 2017 04:18:30 +0000 (04:18 +0000)]
Merge changes from topic 'o-usage64-2' into oc-dev
am: 441c1cb7d7

Change-Id: Ia157cdb20c55ed30f3b6de49be3b67b3410910d0

7 years agoMerge changes from topic 'o-usage64-2' into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 04:12:26 +0000 (04:12 +0000)]
Merge changes from topic 'o-usage64-2' into oc-dev

* changes:
  automotive: Adjust tests for libui gralloc flags change
  camera: Adjust for libui gralloc flags change

7 years agoMerge "wifi(implementation): Turn on DFS flag for STA" into oc-dev am: b09f65c4b1
Roshan Pius [Tue, 25 Apr 2017 03:15:27 +0000 (03:15 +0000)]
Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev am: b09f65c4b1
am: 612d3dbff6

Change-Id: I7bedce6982d092f47a9f97725b42d1e24933d725

7 years agoMerge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
Roshan Pius [Tue, 25 Apr 2017 03:13:27 +0000 (03:13 +0000)]
Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
am: b09f65c4b1

Change-Id: Iadceaaca523f9dc115fbbfc25f7dd169b11edc8a

7 years agoMerge "wifi(implementation): Turn on DFS flag for STA" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 03:08:51 +0000 (03:08 +0000)]
Merge "wifi(implementation): Turn on DFS flag for STA" into oc-dev

7 years agowifi(implementation): Turn on DFS flag for STA
Roshan Pius [Thu, 20 Apr 2017 06:11:07 +0000 (23:11 -0700)]
wifi(implementation): Turn on DFS flag for STA

DFS flag needs to be turned on in the legacy HAL for STA operations. So,
initialize this flag on creation of STA iface.
PS: Not adding an explicit HIDL API for this since there is no need to
toggle this from framework and since the HIDL API's are frozen now.

Bug: 36169790
Test: Verified the fix with regression tests: b/37528903.
Change-Id: I214097fcb399cef7fc0cbd2c278622fac259a3e3

7 years agoFix VtsHalDrmV1_0Target test failure
Jeff Tinker [Mon, 24 Apr 2017 23:29:01 +0000 (16:29 -0700)]
Fix VtsHalDrmV1_0Target test failure

DrmHalVendorFactoryTest.EmptyPluginUUIDNotSupported
was failing on 64 bit builds. The test was using
an uninitialized hidl_array as the empty UUID which
was incorrect. This change initializes the array
contents to null values.

Test: drm hal tests pass

bug: 37172151
Change-Id: I0acb86921f0daceba30fa7879980ce819db64a74

7 years agoChange bootHAL to early_hal class am: 9a4388cf28
Wei Wang [Mon, 24 Apr 2017 22:53:10 +0000 (22:53 +0000)]
Change bootHAL to early_hal class am: 9a4388cf28
am: 41ae5faaa0

Change-Id: I04538bb97769eb69b18b843db76ad373b1ce4ebf

7 years agoMerge "Fix test case for setSimCardPower radio api." am: 6287508ad3 am: 234940252b...
Sanket Padawe [Mon, 24 Apr 2017 22:52:58 +0000 (22:52 +0000)]
Merge "Fix test case for setSimCardPower radio api." am: 6287508ad3 am: 234940252b am: b93cc647e1  -s ours
am: dcc8a027f5  -s ours

Change-Id: Ia738282cf0fb520d0125beb54399a76a2402e44f

7 years agoMerge "Fix failing VTS test cases" into oc-dev am: d77a4a5585
Pavel Maltsev [Mon, 24 Apr 2017 22:52:27 +0000 (22:52 +0000)]
Merge "Fix failing VTS test cases" into oc-dev am: d77a4a5585
am: 0dbe46536b

Change-Id: I55813abb627487337b17c7e90e734687812f0485

7 years agoChange bootHAL to early_hal class
Wei Wang [Mon, 24 Apr 2017 17:13:31 +0000 (10:13 -0700)]
Change bootHAL to early_hal class

Bug: 37579828
Bug: 37543411
Test: marlin boots with wipe data
(cherry picked from commit 9a4388cf28d5f4804efa4fe0f6cc9485dea6839a)
Merged-In: Ifa508570455289efd58350562fadea5676c3bc67
Change-Id: Ifa508570455289efd58350562fadea5676c3bc67

7 years agoChange bootHAL to early_hal class
Wei Wang [Mon, 24 Apr 2017 21:06:06 +0000 (21:06 +0000)]
Change bootHAL to early_hal class
am: 9a4388cf28

Change-Id: I2091d717c8bd4ad6b2c6834fefcda3b9f3ad37e6

7 years agoMerge "Fix test case for setSimCardPower radio api." am: 6287508ad3 am: 234940252b
Sanket Padawe [Mon, 24 Apr 2017 19:49:58 +0000 (19:49 +0000)]
Merge "Fix test case for setSimCardPower radio api." am: 6287508ad3 am: 234940252b
am: b93cc647e1  -s ours

Change-Id: I9fca5e1ff1d3945a147ab53f3d4d76287123113b

7 years agoMerge "Fix test case for setSimCardPower radio api." am: 6287508ad3
Sanket Padawe [Mon, 24 Apr 2017 19:48:28 +0000 (19:48 +0000)]
Merge "Fix test case for setSimCardPower radio api." am: 6287508ad3
am: 234940252b

Change-Id: Ie8739196731304853f18172a730af8a7c11346e7

7 years agoMerge "Fix test case for setSimCardPower radio api."
Sanket Padawe [Mon, 24 Apr 2017 19:46:27 +0000 (19:46 +0000)]
Merge "Fix test case for setSimCardPower radio api."
am: 6287508ad3

Change-Id: Ief997bb839e00d11d3f4a88f842fbcb64721e950

7 years agoMerge "Fix failing VTS test cases" into oc-dev
Pavel Maltsev [Mon, 24 Apr 2017 19:41:53 +0000 (19:41 +0000)]
Merge "Fix failing VTS test cases" into oc-dev
am: d77a4a5585

Change-Id: I01f95ca5444957017d0ef47789c8355f98d475b8

7 years agoMerge "Fix test case for setSimCardPower radio api."
Sanket Padawe [Mon, 24 Apr 2017 19:39:14 +0000 (19:39 +0000)]
Merge "Fix test case for setSimCardPower radio api."

7 years agoChange bootHAL to early_hal class
Wei Wang [Mon, 24 Apr 2017 17:13:31 +0000 (10:13 -0700)]
Change bootHAL to early_hal class

Bug: 37579828
Bug: 37543411
Test: marlin boots with wipe data
Change-Id: Ifa508570455289efd58350562fadea5676c3bc67

7 years agoaudiohal: Fix handling of invalid arguments in 'debugDump' methods
Mikhail Naganov [Mon, 24 Apr 2017 17:44:08 +0000 (10:44 -0700)]
audiohal: Fix handling of invalid arguments in 'debugDump' methods

Add checks for validity of the passed in native handle.

Bug: 37590777
Change-Id: If906f0086c3442819e1844cc521215d5b74af015
Test: VTS

7 years agoMerge "Fix failing VTS test cases" into oc-dev
TreeHugger Robot [Mon, 24 Apr 2017 17:19:57 +0000 (17:19 +0000)]
Merge "Fix failing VTS test cases" into oc-dev

7 years agoaudiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice
Mikhail Naganov [Mon, 24 Apr 2017 16:29:22 +0000 (09:29 -0700)]
audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice

Check for possibly invalid values of IDevicesFactory::Device enum.

Bug: 37592306
Change-Id: I4a2300d3be9ab38e6c51ba8a3b5bbbb606a11c2b
Test: VTS

7 years agoAdding missing NI_TYPE for emergency SUPL
Wyatt Riley [Fri, 21 Apr 2017 13:52:42 +0000 (06:52 -0700)]
Adding missing NI_TYPE for emergency SUPL

Bug: 37409476
Test: Builds, and on Pixel, basic GPS & XTRA tests pass.
Partners & Pixel team running the SUPL emergency tests.

Change-Id: I6b23608e82dc1682d61a516ab5045d3b78b53cae

7 years agoautomotive: Adjust tests for libui gralloc flags change
Chris Forbes [Wed, 19 Apr 2017 23:09:51 +0000 (16:09 -0700)]
automotive: Adjust tests for libui gralloc flags change

Change-Id: Ia88d8fc664196eae7153ccfb755ea9c3d135fd0c
Bug: b/33350696
Test: Bullhead: booted to launcher, take photo, watch youtube

7 years agocamera: Adjust for libui gralloc flags change
Chris Forbes [Wed, 19 Apr 2017 23:09:26 +0000 (16:09 -0700)]
camera: Adjust for libui gralloc flags change

Change-Id: Ia09737c28a78a8a50a9f751ed2774299ecc3d58c
Bug: b/33350696
Test: Bullhead: booted to launcher, take photo, watch youtube

7 years agoFix test case for setSimCardPower radio api.
Sanket Padawe [Tue, 18 Apr 2017 00:05:01 +0000 (17:05 -0700)]
Fix test case for setSimCardPower radio api.

Bug: 35800570
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
Merged-in: I93e78c46971158cd14666931b527d8e268e0a39e

7 years agoFix failing VTS test cases
Pavel Maltsev [Thu, 20 Apr 2017 20:10:54 +0000 (13:10 -0700)]
Fix failing VTS test cases

Also, increase number of binder threads in VHAL for performance testing

Fix: b/37543801, b/36778517
Bug: b/36510399

Test: make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAutomotiveVehicleV2_0Host -l INFO && adb shell /data/nativetest64/android.hardware.automotive.vehicle@2.0-manager-unit-tests/android.hardware.automotive.vehicle@2.0-manager-unit-tests
Change-Id: I850c6be328f1a07ae3fda898a18137c76afe3115

7 years agoMerge "Clarifying comments and todos, update current.txt." into oc-dev am: f6470873f4
Wyatt Riley [Fri, 21 Apr 2017 15:46:39 +0000 (15:46 +0000)]
Merge "Clarifying comments and todos, update current.txt." into oc-dev am: f6470873f4
am: 6cedad005d

Change-Id: Ia5d83ddaaca9893ce0ba253263d2fc757f40c4d4

7 years agoMerge "Clarifying comments and todos, update current.txt." into oc-dev
Wyatt Riley [Fri, 21 Apr 2017 15:42:55 +0000 (15:42 +0000)]
Merge "Clarifying comments and todos, update current.txt." into oc-dev
am: f6470873f4

Change-Id: Iad1cbff7c4a787831f3f3ded7fbbeb3e8bae7453

7 years agoMerge "Clarifying comments and todos, update current.txt." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 15:39:25 +0000 (15:39 +0000)]
Merge "Clarifying comments and todos, update current.txt." into oc-dev

7 years agoMerge "audio hal: initialize audio patch handle" into oc-dev am: 9ba37420fe
Steve Paik [Fri, 21 Apr 2017 15:11:52 +0000 (15:11 +0000)]
Merge "audio hal: initialize audio patch handle" into oc-dev am: 9ba37420fe
am: df138ab23f

Change-Id: Iefcc74e6929a76c00b33e3065827094d5be84d6c

7 years agoMerge "audio hal: initialize audio patch handle" into oc-dev
Steve Paik [Fri, 21 Apr 2017 15:08:52 +0000 (15:08 +0000)]
Merge "audio hal: initialize audio patch handle" into oc-dev
am: 9ba37420fe

Change-Id: Ic8631db12087044b5ca71b5b676c2626305f7e7b

7 years agoMerge "audio hal: initialize audio patch handle" into oc-dev
Steve Paik [Fri, 21 Apr 2017 15:03:59 +0000 (15:03 +0000)]
Merge "audio hal: initialize audio patch handle" into oc-dev