OSDN Git Service

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

7 years agoMerge "Make setTimeLapseConfig take frequencies instead of periods." into oc-dev
Pawin Vongmasa [Fri, 21 Apr 2017 10:05:12 +0000 (10:05 +0000)]
Merge "Make setTimeLapseConfig take frequencies instead of periods." into oc-dev
am: 2200bb2e96

Change-Id: I5489dc6b3b3bc1acface3f6620b2d330bacf8309

7 years agoMerge "Make setTimeLapseConfig take frequencies instead of periods." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 09:58:42 +0000 (09:58 +0000)]
Merge "Make setTimeLapseConfig take frequencies instead of periods." into oc-dev

7 years agoMerge "media: Add getStopTimeOffsetUs in GraphicBufferSource." into oc-dev
Hangyu Kuang [Fri, 21 Apr 2017 04:50:51 +0000 (04:50 +0000)]
Merge "media: Add getStopTimeOffsetUs in GraphicBufferSource." into oc-dev
am: 17572138b5

Change-Id: Idecad293227a7251f008aa77002687187361a675

7 years agoMerge "media: Add getStopTimeOffsetUs in GraphicBufferSource." into oc-dev
TreeHugger Robot [Fri, 21 Apr 2017 04:46:44 +0000 (04:46 +0000)]
Merge "media: Add getStopTimeOffsetUs in GraphicBufferSource." into oc-dev

7 years agoMake setTimeLapseConfig take frequencies instead of periods.
Pawin Vongmasa [Thu, 20 Apr 2017 12:08:15 +0000 (05:08 -0700)]
Make setTimeLapseConfig take frequencies instead of periods.

Test: Manual use of Camera, Movies, Photos and YouTube apps.

Test: With CtsMediaTestCases.apk installed,
adb shell am instrument -e size small -w
'android.media.cts/android.support.test.runner.AndroidJUnitRunner'

Bug: 37302530
Change-Id: I63ba807955c2e2a7ec7f6ecc2d8a832f252c0c1b

7 years agomedia: Add getStopTimeOffsetUs in GraphicBufferSource.
Hangyu Kuang [Wed, 5 Apr 2017 18:32:31 +0000 (11:32 -0700)]
media: Add getStopTimeOffsetUs in GraphicBufferSource.

Test: Compiles
Bug: 35925528
Change-Id: Ie469e42c986211540880f04a5e47efc090817ba8

7 years agoAdd missing document for supplicant hal, current.txt.
Ningyuan Wang [Fri, 21 Apr 2017 00:15:52 +0000 (00:15 +0000)]
Add missing document for supplicant hal, current.txt.
am: 94a07c4cdc

Change-Id: I557a9b9af06785c30878af75cc35965ad3fc9a30

7 years agoaudio hal: initialize audio patch handle
Derek Chen [Mon, 3 Apr 2017 23:00:50 +0000 (19:00 -0400)]
audio hal: initialize audio patch handle

Initialize audio patch handle to avoid
uninitialized value causing validation
failure in vendor hal audio patch.

Bug: 36994757
Test: Initiate voice call, no audio heard from other end

Change-Id: I4cf57210432430af89109f605813645ff332bfbb

7 years agoAdd missing document for supplicant hal, current.txt.
Ningyuan Wang [Thu, 13 Apr 2017 22:40:26 +0000 (15:40 -0700)]
Add missing document for supplicant hal, current.txt.

**Note, hashes are being modified in place ONLY
because this interface has not yet been released
in a release of Android.

This adds additional information for setEapPhase2Method().
This also adds the missing error type for find(), stopFind(), and
reject().

Bug: 37254796
Test: compile
Change-Id: I35735a7ec6ca5d490219bb176f1d6c727432113f

7 years agoImprove logger feature set handling
Randy Pan [Thu, 20 Apr 2017 17:03:41 +0000 (10:03 -0700)]
Improve logger feature set handling

Some devices don't support querying logger feature set. In that
case set the logger feature set value to 0 instead of failing
the query for regular WiFi feature set.

Bug: 37105075
Bug: 37483427
Test: get battery stats on Fugu.
Change-Id: I3e162f8ddeaaa1965b41518592a253c6c90ddfa7

7 years agoAdd capabilities for wifi_hal_legacy
Randy Pan [Thu, 13 Apr 2017 17:00:34 +0000 (10:00 -0700)]
Add capabilities for wifi_hal_legacy

Bug: 37105075
Bug: 37483427
Test: Fugu Wifi VendorHal initializes successfully
Change-Id: If30aa641e42a9a4be435db97f36af4d172eb8ebe

7 years agoClarifying comments and todos, update current.txt.
Wyatt Riley [Tue, 18 Apr 2017 20:20:06 +0000 (13:20 -0700)]
Clarifying comments and todos, update current.txt.

**Note, hashes are being modified in place ONLY
because this interface has not yet been released
in a release of Android.

Updated comments for clarity nearby
some removed todo's on telephony APN
and GNSS demodulated satellite data bits.

Fixes: 34108918
Test: Built & run on Pixel, GPS & XTRA pass.

Change-Id: Ia67be4c4c095479bbbf001987c1629b57ca864a5

7 years agoRemove dependency of libhardware_legacy am: b422f16e23 am: 9d9fb91751
Hung-ying Tyan [Thu, 20 Apr 2017 04:20:59 +0000 (04:20 +0000)]
Remove dependency of libhardware_legacy am: b422f16e23 am: 9d9fb91751
am: f56965a9bc

Change-Id: Ic992d8c96fbafd42d5947986e4711ee2a9b3ae1f

7 years agoMove bluetooth test to vendor. am: 1c11c98d5e am: cee6374483
Steven Moreland [Thu, 20 Apr 2017 04:20:55 +0000 (04:20 +0000)]
Move bluetooth test to vendor. am: 1c11c98d5e am: cee6374483
am: e4ef4af4f9

Change-Id: Ic721420f6c21eff6909f14078f2dae7bf17f0c53

7 years agoFinish adding manufacturer and model to device ID attestation
Bartosz Fabianowski [Thu, 20 Apr 2017 02:47:40 +0000 (04:47 +0200)]
Finish adding manufacturer and model to device ID attestation

This is a follow-up to change I5a9fd839497976cdb1e44cbe4a2d5b7730732b4c,
where manufacturer and model were added to the set of attestable device
IDs.

Bug: 37522655
Test: GTS com.google.android.gts.security.DeviceIdAttestationHostTest

Change-Id: Ied4246f4fc490feb2093f04c268aab83c8e1326d

7 years agoRemove dependency of libhardware_legacy am: b422f16e23
Hung-ying Tyan [Thu, 20 Apr 2017 01:58:51 +0000 (01:58 +0000)]
Remove dependency of libhardware_legacy am: b422f16e23
am: 9d9fb91751

Change-Id: I288847bf7edbf892f9a7ec2201a7fde2972ce309

7 years agoMove bluetooth test to vendor. am: 1c11c98d5e
Steven Moreland [Thu, 20 Apr 2017 01:58:47 +0000 (01:58 +0000)]
Move bluetooth test to vendor. am: 1c11c98d5e
am: cee6374483

Change-Id: I335288b2451bd170d927711fa57c0aaa30dc2b30

7 years agoRemove dependency of libhardware_legacy
Hung-ying Tyan [Thu, 20 Apr 2017 01:47:12 +0000 (01:47 +0000)]
Remove dependency of libhardware_legacy
am: b422f16e23

Change-Id: Icc19ad6907a31bc00e3f1b10c8e1308142b379c5

7 years agoMove bluetooth test to vendor.
Steven Moreland [Thu, 20 Apr 2017 01:47:09 +0000 (01:47 +0000)]
Move bluetooth test to vendor.
am: 1c11c98d5e

Change-Id: I7924ffa291ec6ef40d48b4d4f4d164e2f2d154e9

7 years agoMerge "graphics: keep mapper valid during process termination" into oc-dev
Chia-I Wu [Wed, 19 Apr 2017 22:45:38 +0000 (22:45 +0000)]
Merge "graphics: keep mapper valid during process termination" into oc-dev
am: de173893c8

Change-Id: Ic21e817d39cc50eb6a2eb9bd4bf9262a5263536a

7 years agoRemove dependency of libhardware_legacy
Hung-ying Tyan [Sat, 15 Apr 2017 05:16:52 +0000 (13:16 +0800)]
Remove dependency of libhardware_legacy

It is not used by bluetooth and nfc services.
Bug: 33241851
Bug: 37305530
Test: built and tested on sailfish

(cherry picked from commit 593eeb7a4b0ea3af560dc4ada36237e786b0e039)

Change-Id: I599073296baa5eee72a1fce8caa4eb8352f66218
Merged-In: I599073296baa5eee72a1fce8caa4eb8352f66218

7 years agoMerge "graphics: keep mapper valid during process termination" into oc-dev
Chia-I Wu [Wed, 19 Apr 2017 22:41:07 +0000 (22:41 +0000)]
Merge "graphics: keep mapper valid during process termination" into oc-dev

7 years agoMove bluetooth test to vendor.
Steven Moreland [Thu, 13 Apr 2017 21:19:19 +0000 (14:19 -0700)]
Move bluetooth test to vendor.

The test is still built in data/nativetest64, but it must be marked as
vendor since it depends on vendor modules.

Also proprietary -> vendor.

Test: build with BOARD_VNDK_VERSION := current
Test: run test on internal marlin, passes
Bug: 33241851
(cherry picked from commit 2cfae52a2e479c1dc91caa2b0ae365718bb8e6fc)
Merged-In: I856838fe208a4cd038ea16d47f03f6278224b2ee
Change-Id: I856838fe208a4cd038ea16d47f03f6278224b2ee

7 years agoMerge "Add current.txt" into oc-dev
Steven Moreland [Wed, 19 Apr 2017 22:07:03 +0000 (22:07 +0000)]
Merge "Add current.txt" into oc-dev
am: 0d260797b4

Change-Id: I5e801e4dbb708cf4178000bf87ac92b4918f7928

7 years agoMerge "Add current.txt" into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 21:59:24 +0000 (21:59 +0000)]
Merge "Add current.txt" into oc-dev

7 years agographics: keep mapper valid during process termination
Chia-I Wu [Wed, 19 Apr 2017 18:03:00 +0000 (11:03 -0700)]
graphics: keep mapper valid during process termination

GraphicBufferMapper is valid during process termination.  IMapper
must stay valid as well.  It should not rely on global/static
objects that may have been destructed.

Bug: 37480313
Test: libgui_test
Change-Id: Icb8079153306f2465c26c0f1ce812895ad83f21b

7 years agoMerge "Audio primary hal: fix member function used before init" into oc-dev
Eric Laurent [Wed, 19 Apr 2017 17:49:16 +0000 (17:49 +0000)]
Merge "Audio primary hal: fix member function used before init" into oc-dev
am: 30f78a13b0

Change-Id: If2ce1de9bade109b6a6a70d15946f44559e6eea7

7 years agoMerge "Audio primary hal: fix member function used before init" into oc-dev
Eric Laurent [Wed, 19 Apr 2017 17:43:49 +0000 (17:43 +0000)]
Merge "Audio primary hal: fix member function used before init" into oc-dev

7 years agoAudio primary hal: fix member function used before init
Kevin Rocard [Wed, 19 Apr 2017 16:32:21 +0000 (09:32 -0700)]
Audio primary hal: fix member function used before init

prepare for write was refactor by Ib4170eb6a9f88f9352d0912083b43d600771bb8e
to use temporary variable in a rai pattern.
Nevertheless the member variable was still used too early in
prepareForRead resulting in a crash for capture.

Test: assistant, camcorder
Bug: 37492059

Change-Id: I08140834959c440798cd40700dd089adca2f3e40
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoAdd current.txt
Steven Moreland [Wed, 19 Apr 2017 05:27:41 +0000 (22:27 -0700)]
Add current.txt

Test: make all modules
Test: changing frozen module causes breakage
Test: chaging unfrozen module doesn't cause breakage
Bug: 34178341
Change-Id: Ie8e7f032ab607e0bb76c8515fba5ea0ea4e80ae9

7 years agoMerge "Fix test case for setSimCardPower radio api." into oc-dev
Sanket Padawe [Wed, 19 Apr 2017 03:07:27 +0000 (03:07 +0000)]
Merge "Fix test case for setSimCardPower radio api." into oc-dev
am: c10abf09f7

Change-Id: I619a75a39881d7f7b93a0aa4d3a9e6d8c19095be

7 years agoMerge "Fix test case for setSimCardPower radio api." into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 03:04:03 +0000 (03:04 +0000)]
Merge "Fix test case for setSimCardPower radio api." into oc-dev

7 years agoMerge changes from topic 'vts-audio-fix' into oc-dev
Kevin Rocard [Wed, 19 Apr 2017 01:03:01 +0000 (01:03 +0000)]
Merge changes from topic 'vts-audio-fix' into oc-dev
am: d7e88525a7

Change-Id: I2e07e075b294ab499703d51f2ef9bb5aa4319ecc

7 years agoMerge changes from topic 'vts-audio-fix' into oc-dev
TreeHugger Robot [Wed, 19 Apr 2017 00:44:33 +0000 (00:44 +0000)]
Merge changes from topic 'vts-audio-fix' into oc-dev

* changes:
  Audio HAL: Destroy EventFlag on failed prepareTo{write,read}
  Audio HAL: Check for buffer size overflow
  Audio HAL: Detect buffer memory allocation failure
  Audio HAL: Detect openDevice failure
  Audio HAL VTS: Fix documentation

7 years agoMerge "Use IBinder to identify callbacks in VHAL" into oc-dev
Pavel Maltsev [Tue, 18 Apr 2017 23:46:05 +0000 (23:46 +0000)]
Merge "Use IBinder to identify callbacks in VHAL" into oc-dev
am: 2e25e562fa

Change-Id: I611d49f9cf129a6888b8e2ec3ca79f5e9d3f7c22

7 years agoMerge "Use IBinder to identify callbacks in VHAL" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 23:23:09 +0000 (23:23 +0000)]
Merge "Use IBinder to identify callbacks in VHAL" into oc-dev

7 years agoUse IBinder to identify callbacks in VHAL
Pavel Maltsev [Wed, 12 Apr 2017 18:59:32 +0000 (11:59 -0700)]
Use IBinder to identify callbacks in VHAL

Right now there's no way to distinguish multiple clients, thus we cannot
associate IVehicleCallback from subscribe and unsubscribe method. As a
temporary solution we will use pointer to IBinder from underlying proxy
object until HILD will have some API to do that.

Test: verified unit tests run, checked that subsequent 'subscribe' calls
do not create new client objects in VHAL

Bug: b/37254245
Change-Id: I029564b7b03e4821287c2110d0929a5c4cbce0ce

7 years agoMerge "audio hal: explicitly import headers" into oc-dev
Steven Moreland [Tue, 18 Apr 2017 13:18:38 +0000 (13:18 +0000)]
Merge "audio hal: explicitly import headers" into oc-dev
am: 41c639f7bc

Change-Id: I26fc66602664aa4adc0aa8830082918c6911e39d

7 years agoMerge "audio hal: explicitly import headers" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 13:06:59 +0000 (13:06 +0000)]
Merge "audio hal: explicitly import headers" into oc-dev

7 years agoMerge "Write VTS target test for Configstore HAL" into oc-dev
Jae Shin [Tue, 18 Apr 2017 05:55:22 +0000 (05:55 +0000)]
Merge "Write VTS target test for Configstore HAL" into oc-dev
am: c45ef5f15a

Change-Id: Ic5cf98b1b63bffc0e25f4742815190a39e4a6665

7 years agoMerge "Write VTS target test for Configstore HAL" into oc-dev
TreeHugger Robot [Tue, 18 Apr 2017 05:49:41 +0000 (05:49 +0000)]
Merge "Write VTS target test for Configstore HAL" into oc-dev

7 years agoMerge "Add IScheduleTest for VTS libhwbinder scheduler test" into oc-dev
PO HUNG CHEN [Tue, 18 Apr 2017 02:25:36 +0000 (02:25 +0000)]
Merge "Add IScheduleTest for VTS libhwbinder scheduler test" into oc-dev
am: fdd891393c

Change-Id: I6f5a34844f9eb52b57134cf99e0b9af0240d92c0