OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Fixed that type of data call response status"
Jack Yu [Wed, 1 Mar 2017 04:22:36 +0000 (04:22 +0000)]
Merge "Fixed that type of data call response status"

7 years agowifi: Few minor interface changes
Roshan Pius [Fri, 24 Feb 2017 16:07:42 +0000 (08:07 -0800)]
wifi: Few minor interface changes

Changes in the CL:
1. Add the buckets scanned bitmask to bgscan.
2. exposed the legacy HAL constants for Bgscan in the HIDL interface.
3. Add a stop method for ring buffer logging.

Bug: 35752950
Bug: 33194311
Test: Compiles
Change-Id: Idb2031c33c5a237d7447410fb733f8e408a17288

7 years agoFixed that type of data call response status
Jack Yu [Tue, 28 Feb 2017 23:17:42 +0000 (15:17 -0800)]
Fixed that type of data call response status

Fixed the incorrect type for SetupDataCallResult.status.
Changed the type from int_32 to DataCallFailCause

Test: Telephony sanity tests
bug: 32224135
Change-Id: I152872a83f61a1829c67a4d7effed4ce4113087f

7 years agoMerge "Move baz default implementation to hardware/interfaces"
Treehugger Robot [Tue, 28 Feb 2017 21:10:32 +0000 (21:10 +0000)]
Merge "Move baz default implementation to hardware/interfaces"

7 years agoMerge "Add columns to namespace for vts target base test invocation"
Treehugger Robot [Tue, 28 Feb 2017 20:59:11 +0000 (20:59 +0000)]
Merge "Add columns to namespace for vts target base test invocation"

7 years agoAdd columns to namespace for vts target base test invocation
Yuexi Ma [Tue, 28 Feb 2017 19:24:48 +0000 (11:24 -0800)]
Add columns to namespace for vts target base test invocation

Test: make vts
Change-Id: Ia0284fbc11eadef572dd510bb5847160852bd517

7 years agoMerge "Added the roaming flag for data call APIs"
Jack Yu [Tue, 28 Feb 2017 20:47:01 +0000 (20:47 +0000)]
Merge "Added the roaming flag for data call APIs"

7 years agoMerge "[AWARE] Data-path negotiation update"
Etan Cohen [Tue, 28 Feb 2017 20:35:40 +0000 (20:35 +0000)]
Merge "[AWARE] Data-path negotiation update"

7 years agoMerge "change all vts hidl tests to use VtsHalHidlTargetBaseTest"
Yuexi Ma [Tue, 28 Feb 2017 18:15:17 +0000 (18:15 +0000)]
Merge "change all vts hidl tests to use VtsHalHidlTargetBaseTest"

7 years agoMerge "[AWARE] Data-path cipher API correction"
Etan Cohen [Tue, 28 Feb 2017 14:08:31 +0000 (14:08 +0000)]
Merge "[AWARE] Data-path cipher API correction"

7 years agochange all vts hidl tests to use VtsHalHidlTargetBaseTest
Yuexi Ma [Fri, 24 Feb 2017 21:17:02 +0000 (13:17 -0800)]
change all vts hidl tests to use VtsHalHidlTargetBaseTest

Bug: 33385836
Test: mma
Change-Id: I660d6e0fce6422d87d4b227273a77c95d20ed3f2

7 years agoAdded the roaming flag for data call APIs
Jack Yu [Thu, 23 Feb 2017 20:40:56 +0000 (12:40 -0800)]
Added the roaming flag for data call APIs

Added the roaming flag for supporting the old vendor
RIL. This parameter is just for backward compatibility
reason. The radio modem should not use it.

Test: Telephony sanity tests
bug: 32224135

Merged-In: Ibd3ba5b4c829c90bb6f65562c6c024c237a2c642
Change-Id: Ibd3ba5b4c829c90bb6f65562c6c024c237a2c642

7 years agoBluetooth: move to vendor partition.
Steven Moreland [Mon, 27 Feb 2017 16:58:08 +0000 (08:58 -0800)]
Bluetooth: move to vendor partition.

Bug: 35328775
Test: works in both binderized and passthrough modes
Merged-In: I18f21b53c2282e27342a58716475ae213a2837d4
Change-Id: I18f21b53c2282e27342a58716475ae213a2837d4

7 years agoMerge "Add tests for .equals and toString"
Treehugger Robot [Mon, 27 Feb 2017 18:43:27 +0000 (18:43 +0000)]
Merge "Add tests for .equals and toString"

7 years agoMove baz default implementation to hardware/interfaces
Hridya Valsaraju [Wed, 22 Feb 2017 18:51:01 +0000 (10:51 -0800)]
Move baz default implementation to hardware/interfaces

Test: hidl_test and hidl_java_test passes

Change-Id: Iaacfc3f203368ca674cbaddc6cdf06ddb8e34500

7 years ago[AWARE] Data-path negotiation update
Etan Cohen [Wed, 22 Feb 2017 20:54:20 +0000 (12:54 -0800)]
[AWARE] Data-path negotiation update

Data-path has two negotiation modes controlled during a
discovery session configuration as auto-accept or not (in
which case an event to framework is triggered).

Bug: 33552694
Test: unit tests and integration (sl4a) tests
Change-Id: I129ee48554daddb606bfd2c20ffdd867a6d998e0

7 years ago[AWARE] Data-path cipher API correction
Etan Cohen [Wed, 22 Feb 2017 20:54:20 +0000 (12:54 -0800)]
[AWARE] Data-path cipher API correction

Data-path security is configured using a specific cipher
type - corrected error which specified a set of cipher
types.

Bug: 33552694
Test: unit tests and integration (sl4a) tests
Change-Id: I2f2d21ebf68bd63906e60b5af76c8808864a1b46

7 years agoRemove viral dependency on libhwbinder.
Steven Moreland [Fri, 24 Feb 2017 19:20:04 +0000 (11:20 -0800)]
Remove viral dependency on libhwbinder.

find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh

Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6b0b5ae318422b7a9be17a19a79e039ffc0f9272

7 years agoMerge "Bluetooth: Make HciPacketizer reusable"
Treehugger Robot [Fri, 24 Feb 2017 01:44:15 +0000 (01:44 +0000)]
Merge "Bluetooth: Make HciPacketizer reusable"

7 years agoBluetooth: Make HciPacketizer reusable
Myles Watson [Thu, 23 Feb 2017 14:29:08 +0000 (06:29 -0800)]
Bluetooth: Make HciPacketizer reusable

Test: VtsHalBluetoothV1_0TargetTest passes
Change-Id: I480d156225af2a5dd879f47a897af0b01dab5663

7 years agoMerge "Bluetooth: deal with framework going away."
Martijn Coenen [Thu, 23 Feb 2017 19:35:29 +0000 (19:35 +0000)]
Merge "Bluetooth: deal with framework going away."

7 years agoMerge "Nfc: deal with the framework going away."
Treehugger Robot [Thu, 23 Feb 2017 19:35:02 +0000 (19:35 +0000)]
Merge "Nfc: deal with the framework going away."

7 years agoCreate separate interface for oem hook.
Amit Mahajan [Mon, 13 Feb 2017 23:04:36 +0000 (15:04 -0800)]
Create separate interface for oem hook.

Test: Basic telephony sanity
Bug: 32020264
Bug: 34344851
Merged-in: I8908ce0c6b380c8f4260703fa43125dc03d24dbc
Change-Id: I8908ce0c6b380c8f4260703fa43125dc03d24dbc

7 years agoNfc: deal with the framework going away.
Martijn Coenen [Thu, 23 Feb 2017 16:24:20 +0000 (17:24 +0100)]
Nfc: deal with the framework going away.

By calling close() when the framework client dies.

Bug: 35624326
Test: NFC HAL stays alive and works after com.android.nfc is killed
Change-Id: I91fcf6685783cd630a44d19b4cb99127a2c0e89b

7 years agoBluetooth: deal with framework going away.
Martijn Coenen [Thu, 23 Feb 2017 16:25:18 +0000 (17:25 +0100)]
Bluetooth: deal with framework going away.

Bug: 35624326
Test: Bluetooth HAL stays alive and works after com.android.bluetooth
is killed.

Change-Id: Id5b5a5b88cd35202e5737a0c99d28db9bebb4250

7 years ago[AWARE] Correct ranging specification documentation
Etan Cohen [Tue, 21 Feb 2017 22:31:06 +0000 (14:31 -0800)]
[AWARE] Correct ranging specification documentation

Bug: 33821639
Test: none - comment change
Change-Id: Ib2ba907a46c6cb34d37ca5eb6d3a22508fb7f17a

7 years agoMerge "wifi: Duplicate getValidChannelsForBand in AP iface"
Treehugger Robot [Thu, 23 Feb 2017 06:15:07 +0000 (06:15 +0000)]
Merge "wifi: Duplicate getValidChannelsForBand in AP iface"

7 years agoMerge "supplicant(interface): Add set/get for eap private key id"
Roshan Pius [Thu, 23 Feb 2017 03:13:54 +0000 (03:13 +0000)]
Merge "supplicant(interface): Add set/get for eap private key id"

7 years agowifi: Duplicate getValidChannelsForBand in AP iface
Roshan Pius [Wed, 22 Feb 2017 17:48:03 +0000 (09:48 -0800)]
wifi: Duplicate getValidChannelsForBand in AP iface

This functionality is needed even for AP iface. So, duplicate this
method.

Changes in the CL:
1. Add getValidChannelsForBand() in IWifiApIface.
2. Rename StaBackgroundScanBan to WifiBand to make it a more generic
name.
3. Change the existing method name in IWifiStaIface to match with the
one in IWifiApIface.

While there,
Fix indentation in hidl_callback_util.h

Bug: 35663149
Test: Compiles
Change-Id: Iaeb6c323e13eedf2f98de92fea77e327c76ffa5b

7 years agoAdd tests for .equals and toString
Yifan Hong [Thu, 23 Feb 2017 00:07:33 +0000 (16:07 -0800)]
Add tests for .equals and toString

Test: hidl_test
Test: hidl_test_java

Bug: 32834072
Bug: 33459772
Change-Id: Ic1a87529fe5f8c12f7bfbdc2fa668e66922e075f

7 years agoRemove .vts files.
Tri Vo [Wed, 22 Feb 2017 18:50:57 +0000 (10:50 -0800)]
Remove .vts files.

Test: mmma hardware/interfaces
Change-Id: I583aced174d4295cccfdf48b76502077fb16f9db

7 years agoUpdate makefiles.
Tri Vo [Wed, 22 Feb 2017 18:46:43 +0000 (10:46 -0800)]
Update makefiles.

Test: mmma hardware/interfaces
Change-Id: I501524fa3fbbaed9b71e5b9c3bbc8aa3c8c25896

7 years agosupplicant(interface): Add set/get for eap private key id
Roshan Pius [Wed, 22 Feb 2017 16:56:23 +0000 (08:56 -0800)]
supplicant(interface): Add set/get for eap private key id

"private_key" field is not used in Android, we instead use the "key_id"
field. So, change the setter to reflect that.

Bug: 35663125
Test: Compiles
Change-Id: I3c01365fd90fd79cac2b99f9b9fe0bbea2226b59

7 years agoBluetooth: Simplify started check
Myles Watson [Wed, 22 Feb 2017 00:53:34 +0000 (16:53 -0800)]
Bluetooth: Simplify started check

Test: Bluetooth starts/stops
Change-Id: Ib1777ac31d4a13d4221045fa3fa7d817a795f6f9

7 years agoMerge "Bluetooth: Export AsyncFdWatcher for reuse"
Treehugger Robot [Wed, 22 Feb 2017 04:06:51 +0000 (04:06 +0000)]
Merge "Bluetooth: Export AsyncFdWatcher for reuse"

7 years agoMerge "Bluetooth: Check the return value of initialize()"
Treehugger Robot [Wed, 22 Feb 2017 03:36:45 +0000 (03:36 +0000)]
Merge "Bluetooth: Check the return value of initialize()"

7 years agoBluetooth: Export AsyncFdWatcher for reuse
Myles Watson [Tue, 21 Feb 2017 21:27:01 +0000 (13:27 -0800)]
Bluetooth: Export AsyncFdWatcher for reuse

Test: Bluetooth starts/stops
Change-Id: I1dcd8684fd150b5eb27c75e5d7803070009e0bf5

7 years agoRemove .vts spec files.
Tri Vo [Fri, 17 Feb 2017 23:00:22 +0000 (15:00 -0800)]
Remove .vts spec files.

Test: mmma hardware/interfaces
Change-Id: Iabbcd336d37ceb58ea4cc649ee5c104424494513

7 years agoMerge "Update .vts files."
Treehugger Robot [Tue, 21 Feb 2017 23:28:42 +0000 (23:28 +0000)]
Merge "Update .vts files."

7 years agoMerge "[AWARE] Add service support for SDEA service info"
Etan Cohen [Tue, 21 Feb 2017 22:47:25 +0000 (22:47 +0000)]
Merge "[AWARE] Add service support for SDEA service info"

7 years agoUpdate .vts files.
Tri Vo [Tue, 21 Feb 2017 21:53:03 +0000 (13:53 -0800)]
Update .vts files.

Test: make vts
Change-Id: Ie8526df051b631797b9f9b75acbeab8807f904d7

7 years agoMerge changes from topic 'rs_hidl_impl'
Miao Wang [Tue, 21 Feb 2017 21:07:29 +0000 (21:07 +0000)]
Merge changes from topic 'rs_hidl_impl'

* changes:
  Fix mips-related build breakage.
  RenderScript HIDL HAL definition and server-side implementation.

7 years ago[AWARE] Add service support for SDEA service info
Etan Cohen [Fri, 17 Feb 2017 21:46:19 +0000 (13:46 -0800)]
[AWARE] Add service support for SDEA service info

Wire-up the SDEA service info (aka Extended Service Specific
Info) to the newly available legacy HAL.

Bug: 35193423
Test: integration (sl4a) tests
Change-Id: I2cbd82ecc4274c5137693dde34370f2b68646e19

7 years agoFix mips-related build breakage.
Stephen Hines [Fri, 17 Feb 2017 12:10:11 +0000 (04:10 -0800)]
Fix mips-related build breakage.

Bug: http://b/34396220
Test: Builds successfully.

MIPS targets predefine _mips to 1, which will conflict with the _mips
variable name that was being used in the HAL here. Rename it to _amips
instead, so that it won't conflict.

Merged-In: Id13f34b740959852dff600259e3405eb72d0983a
Change-Id: Id13f34b740959852dff600259e3405eb72d0983a

7 years agoRenderScript HIDL HAL definition and server-side implementation.
Miao Wang [Fri, 20 Jan 2017 18:30:38 +0000 (10:30 -0800)]
RenderScript HIDL HAL definition and server-side implementation.

Contains the definition and implementation of the HAL.

Bug: 34396220

Test: mm, all cts tests pass on bullhead and sailfish
Merged-In: Ic560efef34f647f441c32ba01ca29d83a3d98b69
Change-Id: Ic560efef34f647f441c32ba01ca29d83a3d98b69

7 years agoBluetooth: Check the return value of initialize()
Myles Watson [Fri, 17 Feb 2017 17:14:21 +0000 (09:14 -0800)]
Bluetooth: Check the return value of initialize()

Test: Test fails gracefully when initialize() fails
Change-Id: Iff7737ba911635e9974612d8d192b783cf3e213d

7 years ago[AWARE] Ranging as a service discovery constraint
Etan Cohen [Fri, 17 Feb 2017 21:06:55 +0000 (13:06 -0800)]
[AWARE] Ranging as a service discovery constraint

Ranging configuration modification: change from an
overall Aware configuration (remove from Enable/Config
structures) to a discovery session-specific configuration.

Bug: 33821639
Test: integrated (sl4a) tests
Change-Id: Ie5a8bb3701a5dd6186c15d2be16bca3ec7202f04

7 years agoMerge "[AWARE] Add capability info: max subscribe addresses"
Etan Cohen [Tue, 21 Feb 2017 05:47:02 +0000 (05:47 +0000)]
Merge "[AWARE] Add capability info: max subscribe addresses"

7 years agoMerge "wifi(implementation): Callback death handler"
Treehugger Robot [Sat, 18 Feb 2017 16:36:34 +0000 (16:36 +0000)]
Merge "wifi(implementation): Callback death handler"

7 years agoMerge "wpa_supplicant(interface): Add bssid to WNM callbacs"
Treehugger Robot [Sat, 18 Feb 2017 03:43:52 +0000 (03:43 +0000)]
Merge "wpa_supplicant(interface): Add bssid to WNM callbacs"

7 years agoUpdate the test binary and source file name.
Zhuoyao Zhang [Thu, 16 Feb 2017 22:58:55 +0000 (14:58 -0800)]
Update the test binary and source file name.

* To confirm with Vts naming convention.

Bug: 35273456
Test: mma
Change-Id: Ide6d9d15618e65d8cb74363f3a8acd52609cd0dd

7 years ago[AWARE] Add capability info: max subscribe addresses
Etan Cohen [Thu, 16 Feb 2017 21:02:43 +0000 (13:02 -0800)]
[AWARE] Add capability info: max subscribe addresses

Add capability to provide maximum number of subscribe
addresses that can be specified in a discovery session
configuration.

Bug: 34059183
Test: integration (sl4a) tests pass
Change-Id: I5aa875cf8f43a7ad215b52e2cf917dfbbb3b1195

7 years agoMerge "Fix build because of addition of new Radio API to VTS."
Sanket Padawe [Fri, 17 Feb 2017 02:26:01 +0000 (02:26 +0000)]
Merge "Fix build because of addition of new Radio API to VTS."

7 years agowpa_supplicant(interface): Add bssid to WNM callbacs
Roshan Pius [Fri, 17 Feb 2017 02:02:42 +0000 (18:02 -0800)]
wpa_supplicant(interface): Add bssid to WNM callbacs

Also,
Renamed the other HS2.0 callback param to |bssid|.

Bug: 35444886
Test: Compiles
Change-Id: Ic1b3f7c92fe2a9d25651c682534270e527506d88

7 years agoFix build because of addition of new Radio API to VTS.
Sanket Padawe [Fri, 17 Feb 2017 02:11:34 +0000 (18:11 -0800)]
Fix build because of addition of new Radio API to VTS.

Test: Tested build success. mma over hardware/interfaces/radio/1.0/vts

Change-Id: Ie4258573367c7448b1689010492c34e03124384d

7 years agoMerge "[AWARE] Update comments on transmit followup status codes"
Etan Cohen [Fri, 17 Feb 2017 01:58:06 +0000 (01:58 +0000)]
Merge "[AWARE] Update comments on transmit followup status codes"

7 years agoMerge "Added the new RIL request to set SIM power state"
Treehugger Robot [Fri, 17 Feb 2017 01:13:25 +0000 (01:13 +0000)]
Merge "Added the new RIL request to set SIM power state"

7 years agoMerge "wifi(implementation): Initialize flags before conversion"
Treehugger Robot [Fri, 17 Feb 2017 00:59:28 +0000 (00:59 +0000)]
Merge "wifi(implementation): Initialize flags before conversion"

7 years agoMerge "Seed CL for radio VTS."
Sanket Padawe [Thu, 16 Feb 2017 23:38:02 +0000 (23:38 +0000)]
Merge "Seed CL for radio VTS."

7 years agoAdded the new RIL request to set SIM power state
Jack Yu [Wed, 15 Feb 2017 23:31:34 +0000 (15:31 -0800)]
Added the new RIL request to set SIM power state

The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug: 32224755
Merged-In: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe
Change-Id: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe

7 years agoSeed CL for radio VTS.
Sanket Padawe [Tue, 7 Feb 2017 23:58:34 +0000 (15:58 -0800)]
Seed CL for radio VTS.

Test: VTS test succeeds
Bug: 32022332
Change-Id: I3127826cad4c97db9a8ff77bdb80ad1c848751c6

7 years agowifi(implementation): Initialize flags before conversion
Roshan Pius [Thu, 16 Feb 2017 20:43:17 +0000 (12:43 -0800)]
wifi(implementation): Initialize flags before conversion

There are a few flags which were not being reset before conversion in
hidl_struct_util.cpp. Fix those.

Bug: 35432118
Test: Compiles & tested with calling code changes.
Change-Id: If652ceed856cacf412f4dbf8eedbc351d04b6b89

7 years agosupplicant(interface): Add new EAP phase 2 type and NFC methods
Roshan Pius [Mon, 13 Feb 2017 21:19:38 +0000 (13:19 -0800)]
supplicant(interface): Add new EAP phase 2 type and NFC methods

These new EAP methods were recently added in b/34835771. Add HIDL
support for them.

Bug: 35270422
Bug: 35311730
Test: Compiles
Change-Id: I3488f5e49ff72fe1717a16c27ffbe45ac2a8ebf4

7 years ago[AWARE] Update comments on transmit followup status codes
Etan Cohen [Thu, 16 Feb 2017 16:29:35 +0000 (08:29 -0800)]
[AWARE] Update comments on transmit followup status codes

Fix documentation of transmit followup status codes.

Bug: 34888409
Test: builds (only comment changes)
Change-Id: I8c55c627a0ecac625cb574988b2b860070254527

7 years agoUpdate tests for enforcing minor version upgrade.
Yifan Hong [Wed, 15 Feb 2017 23:18:19 +0000 (15:18 -0800)]
Update tests for enforcing minor version upgrade.

Test: ./hardware/interfaces/update-makefiles.sh
Test: mma

Bug: 28825532

Change-Id: I1ae86f597f184d75ad5476b248e03248346b0c33

7 years agoMerge "update-makefiles.sh"
Steven Moreland [Thu, 16 Feb 2017 05:48:01 +0000 (05:48 +0000)]
Merge "update-makefiles.sh"

7 years agowifi(implementation): Callback death handler
Roshan Pius [Tue, 31 Jan 2017 21:13:28 +0000 (13:13 -0800)]
wifi(implementation): Callback death handler

Add a new utility to handle callback death notifications. The new class
HidlCallbackHandler will be used by all the HIDL interface objects to
manage callbacks. Any dead clients will automatically removed from the
cb list by the utility class.

Bug: 34840719
Test: Compiles
Test: Verified that the cbs are deleted on crashing the framework
manually
Change-Id: I0f7ba8b3ed717c2e8e8fbf744a2501d0ad2d48c8

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ."
Treehugger Robot [Thu, 16 Feb 2017 01:48:06 +0000 (01:48 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ."

7 years agowifi(vts): simplify HIDL calls
mukesh agrawal [Thu, 26 Jan 2017 03:43:08 +0000 (19:43 -0800)]
wifi(vts): simplify HIDL calls

Presently, the core of the Wifi test logic is
obscured by the boilerplate required to create
a callback.

This CL provides some utilities to simplify
the creation of a HIDL result callback, and
migrates existing Wifi code to use the new
utilities.

Along the way: add a .clang-format file, so
that I don't misformat code with 2-space
indents (the Google default).

Bug: 34817351
Test: vts-tradefed run commandAndExit vts --module=HalWifiHidlTargetTest
Change-Id: Id2c728f96c3369c74adc8dfce7228b0a15a0781e

7 years agoupdate-makefiles.sh
Steven Moreland [Wed, 15 Feb 2017 18:59:23 +0000 (10:59 -0800)]
update-makefiles.sh

There have been some changes to the way hidl-gen generates these and
some CLs got out of sync with hidl-gen.

Test: pass
Change-Id: I33c573499d5dd37de447902fd93929b80a5df371

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage"
Etan Cohen [Wed, 15 Feb 2017 14:52:51 +0000 (14:52 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage"

7 years agoMerge "Remove --coverage in Android.bp"
Treehugger Robot [Wed, 15 Feb 2017 05:08:16 +0000 (05:08 +0000)]
Merge "Remove --coverage in Android.bp"

7 years ago[AWARE] Correct comment on Discovery Window usage
Etan Cohen [Tue, 14 Feb 2017 21:51:11 +0000 (13:51 -0800)]
[AWARE] Correct comment on Discovery Window usage

Clarify that DW period specification on discovery session
does not override the overall system DW period specification
(if one is provided).

Bug: 35040192
Test: none - comment fix
Change-Id: Ia7c495f1cd50a4bce0ffbaf242e52bc4f110eef2

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT"
Treehugger Robot [Tue, 14 Feb 2017 02:09:59 +0000 (02:09 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT"

7 years agoModify method to get MQDescriptor for unsynchronized FMQ.
Hridya Valsaraju [Mon, 13 Feb 2017 22:38:26 +0000 (14:38 -0800)]
Modify method to get MQDescriptor for unsynchronized FMQ.

The modified method adds a new parameter specifying
if a new unsynchronized FMQ needs to be set up by the server
or if it is to return an MQDescriptor to
an unsynchronized FMQ that has already been configured
by the server(if one exists)

Bug: 35319190
Test: FMQ unit tests
Change-Id: I64a5b356a2761faaeeea6fdd2c3a7da9b60f0016

7 years agoMove hidl shims to the vendor partition.
Steven Moreland [Thu, 12 Jan 2017 21:33:16 +0000 (13:33 -0800)]
Move hidl shims to the vendor partition.

We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.

Bug: 34135607
Test: marlin persist.hal.binderization on/off

Merged-In: I3f86c77c147514fe470f08088a66de312ae32d4e
Change-Id: I3f86c77c147514fe470f08088a66de312ae32d4e

7 years agoMerge changes Ieee26013,I275bba11,I7e7258e7,I88111181
Roshan Pius [Mon, 13 Feb 2017 21:25:38 +0000 (21:25 +0000)]
Merge changes Ieee26013,I275bba11,I7e7258e7,I88111181

* changes:
  supplicant(interface): Remove redundant callbacks
  wifi(implementation): Copy the user complete callback by value
  wifi(implementation): Add status check for all cb invocation
  wifi(implementation): Add global lock

7 years agosupplicant(interface): Remove redundant callbacks
Roshan Pius [Fri, 27 Jan 2017 21:32:03 +0000 (13:32 -0800)]
supplicant(interface): Remove redundant callbacks

The information broadcast via these callbacks are already available via
other callbacks.

1. All of the onProvisionDiscovery* callback data can be retrieved via the
|onProvisionDiscoveryCompleted| callback.
2. OnAssociated & onConnected callbacks data can retrieved via the
onStateChanges callback.

Bug: 34221586
Test: ./hardware/interfaces/update-makefiles.sh

Change-Id: Ieee26013dfda7a9be41a80e98ff1537da16b3466

7 years agowifi(implementation): Copy the user complete callback by value
Roshan Pius [Thu, 2 Feb 2017 17:54:27 +0000 (09:54 -0800)]
wifi(implementation): Copy the user complete callback by value

The callback object may go out of scope by the time it's invoked. So,
make a copy of it. We're doing the same for the other user callbacks
received in this class.

Bug: 34930275
Test: Compiles
Change-Id: I275bba11ae8735a21514d871e8aa473f92f0fd7d

7 years agoBluetooth: Add CHECK and move ASSERT
Myles Watson [Mon, 13 Feb 2017 18:57:47 +0000 (10:57 -0800)]
Bluetooth: Add CHECK and move ASSERT

Test: bluetooth_hidl_hal_test passes
Change-Id: Ib857265204d39ffb54afc6f589fdc1b852362a97

7 years agoMerge "Update vts files on aosp."
Zhuoyao Zhang [Mon, 13 Feb 2017 19:09:47 +0000 (19:09 +0000)]
Merge "Update vts files on aosp."

7 years agoMerge "Add missing response function."
Amit Mahajan [Mon, 13 Feb 2017 19:00:19 +0000 (19:00 +0000)]
Merge "Add missing response function."

7 years agoUpdate vts files on aosp.
Zhuoyao Zhang [Tue, 24 Jan 2017 21:33:21 +0000 (13:33 -0800)]
Update vts files on aosp.

* Based on the latest hidl-gen and .hal files.

Test: mma
      make vts.

Change-Id: I4765450d985afd552fe720d91b9ab3422f5b7a47

7 years agowifi(implementation): Add status check for all cb invocation
Roshan Pius [Tue, 31 Jan 2017 01:07:42 +0000 (17:07 -0800)]
wifi(implementation): Add status check for all cb invocation

Bug: 34820508
Test: Compiles
Change-Id: I7e7258e782142bae7373fa0543e6c17184b043a9

7 years agowifi(implementation): Add global lock
Roshan Pius [Tue, 31 Jan 2017 00:40:50 +0000 (16:40 -0800)]
wifi(implementation): Add global lock

Add a global lock to address synchronization issues between the main
HIDL method servicing thread and the legacy HAL's event loop thread.

Also, added some documentation for the threading model used.

Bug: 34261034
Test: Compiles
Change-Id: I881111814ff5ebd601d6a4c85cf284b30ae47ed3

7 years agoMerge "[WIFI] Update VTS generated file"
Etan Cohen [Sat, 11 Feb 2017 04:38:05 +0000 (04:38 +0000)]
Merge "[WIFI] Update VTS generated file"

7 years ago[WIFI] Update VTS generated file
Etan Cohen [Sat, 11 Feb 2017 02:11:19 +0000 (18:11 -0800)]
[WIFI] Update VTS generated file

Large churn in files - seems to be mostly driven
by changes in generated code as opposed to HAL
changes.

Bug: 33459306
Test: build + vts-tradefed run commandAndExit vts --module=HalWifiHidlTargetTest
Change-Id: I1762a24108f9119dbc9c6807d6a2870f016a26d9

7 years agoAdd missing response function.
Amit Mahajan [Wed, 1 Feb 2017 01:00:26 +0000 (17:00 -0800)]
Add missing response function.

Test: None; only interface change.
Bug: 32020264
Merged-in: I28638f9371a6b09d72862a13a15d5f7e319d9337
Change-Id: I28638f9371a6b09d72862a13a15d5f7e319d9337

7 years agoMerge "[AWARE] Update capabilties"
Etan Cohen [Sat, 11 Feb 2017 00:58:35 +0000 (00:58 +0000)]
Merge "[AWARE] Update capabilties"

7 years agoMerge "Add tests for minor version upgrade enforcement."
Yifan Hong [Fri, 10 Feb 2017 23:38:01 +0000 (23:38 +0000)]
Merge "Add tests for minor version upgrade enforcement."

7 years agoMerge "[AWARE] Add support for Subscribe Service ID List Attribute"
Etan Cohen [Fri, 10 Feb 2017 23:12:14 +0000 (23:12 +0000)]
Merge "[AWARE] Add support for Subscribe Service ID List Attribute"

7 years agoMerge "[AWARE] Add support for SDEA.ServiceInfo field"
Etan Cohen [Fri, 10 Feb 2017 23:11:55 +0000 (23:11 +0000)]
Merge "[AWARE] Add support for SDEA.ServiceInfo field"

7 years agoMerge "[AWARE] Update HIDL to match spec and add comments"
Etan Cohen [Fri, 10 Feb 2017 23:11:36 +0000 (23:11 +0000)]
Merge "[AWARE] Update HIDL to match spec and add comments"

7 years ago[AWARE] Update capabilties
Etan Cohen [Fri, 10 Feb 2017 01:52:34 +0000 (17:52 -0800)]
[AWARE] Update capabilties

Update capability configuration to reflect added/remove fields:
- Added extendedServiceSpecificInfo
- Remove vendor-specific attribute (VSA)

Bug: 35193423
Bug: 35193235
Test: unit tests and integration (sl4a) tests
Change-Id: I0dad08ff9d16ea54f5db7303cc5f90e942f48037

7 years ago[AWARE] Add support for Subscribe Service ID List Attribute
Etan Cohen [Thu, 9 Feb 2017 20:55:23 +0000 (12:55 -0800)]
[AWARE] Add support for Subscribe Service ID List Attribute

Add HAL definition to support Subscribe Service ID List Attribute
inclusion in beacons. Until support is added in legacy HAL will not
be functional.

Rationale: enhances likelihood of being able to find the right service.

Bug: 35195516
Bug: 35040192
Test: unit tests & integration (sl4a) tests
Change-Id: I343266e3277c7351f29f6851cb1a9c1746cda6e8

7 years ago[AWARE] Add support for SDEA.ServiceInfo field
Etan Cohen [Thu, 9 Feb 2017 17:16:25 +0000 (09:16 -0800)]
[AWARE] Add support for SDEA.ServiceInfo field

Add support for SDEA.ServiceInfo as extended service
specific information field in all SDF-related APIs:
discovery (configure & match), message sending and
receiving.

Rationale: SDEA.ServiceInfo will form the basis for
upper layer discovery protocols on NAN (e.g. mDNS).
Even if not exposed to user-facing API will need to
have handle to be able to create adaptation layers.

Bug: 35193423
Bug: 35040192
Test: unit test and integration (sl4a) tests.
Change-Id: I3fc225952e93a134d5e58795281238829ed4b1ea

7 years ago[AWARE] Update HIDL to match spec and add comments
Etan Cohen [Thu, 9 Feb 2017 17:16:25 +0000 (09:16 -0800)]
[AWARE] Update HIDL to match spec and add comments

Update some HIDL names to match more closely the spec
naming convention. Add comments - whenever possible
provide reference to NAN spec.

Bug: 34985658
Bug: 35040192
Test: unit tests and integration (sl4a) tests
Change-Id: I957fb8a9814b3acaf8b710d397fe18b39f6a8c77

7 years agoRemove --coverage in Android.bp
Dan Willemsen [Fri, 10 Feb 2017 17:28:58 +0000 (09:28 -0800)]
Remove --coverage in Android.bp

It's no longer allowed now that Soong supports code coverage.

Bug: 32749731
Test: None
Change-Id: I09ef27983e0744543c3a6e1c0c73d69217dd582c

7 years agoMerge "[AWARE] Modify the discovery session handle to uint8_t"
Etan Cohen [Fri, 10 Feb 2017 02:48:42 +0000 (02:48 +0000)]
Merge "[AWARE] Modify the discovery session handle to uint8_t"

7 years agoAdd tests for minor version upgrade enforcement.
Yifan Hong [Fri, 3 Feb 2017 00:48:36 +0000 (16:48 -0800)]
Add tests for minor version upgrade enforcement.

Test: compiles
Test: add folder test/versioning/2.0 will make update-makefiles.sh to
fail.
Test: removing @2.3::IBar will let update-makefiles.sh to pass.
Test: Change @2.3::IBar to extend from @2.2::IFoo will let
update-makefiles.sh to fail.

Bug: 28825532
Change-Id: Iad1138b784505c903ab1049f08f6c07c38b777e1