OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc...
Hridya Valsaraju [Thu, 16 Feb 2017 02:06:29 +0000 (02:06 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc am: f869630d3b
am: 02bcec2054

Change-Id: I7f19f01e1434b507af6af5fa41b58617018f8b3e

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc
Hridya Valsaraju [Thu, 16 Feb 2017 02:02:54 +0000 (02:02 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ." am: 02f3f834fc
am: f869630d3b

Change-Id: I3f32ced1c079671db27be1e8d63af620d5bbc440

7 years agoMerge "Modify method to get MQDescriptor for unsynchronized FMQ."
Hridya Valsaraju [Thu, 16 Feb 2017 01:58:57 +0000 (01:58 +0000)]
Merge "Modify method to get MQDescriptor for unsynchronized FMQ."
am: 02f3f834fc

Change-Id: I1ecbf5eee1c298405c3385e320a61577fafdb18e

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 am: 90f321722c am: c5aeaa22fc
mukesh agrawal [Wed, 15 Feb 2017 22:42:51 +0000 (22:42 +0000)]
wifi(vts): simplify HIDL calls am: 90f321722c am: c5aeaa22fc
am: 39d8cb99a4

Change-Id: Ic9f63abc2e508f8dfef5520d3e6aec4e54e58853

7 years agowifi(vts): simplify HIDL calls am: 90f321722c
mukesh agrawal [Wed, 15 Feb 2017 22:38:38 +0000 (22:38 +0000)]
wifi(vts): simplify HIDL calls am: 90f321722c
am: c5aeaa22fc

Change-Id: I8ed6215038c2d04dcfde349f651e54d0589366c2

7 years agowifi(vts): simplify HIDL calls
mukesh agrawal [Wed, 15 Feb 2017 22:31:08 +0000 (22:31 +0000)]
wifi(vts): simplify HIDL calls
am: 90f321722c

Change-Id: Ideb1faa2adfc47831e5e4b94b9961c7e91702b18

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 agoMerge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b432
Etan Cohen [Wed, 15 Feb 2017 15:05:07 +0000 (15:05 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4 am: 224d83b432
am: a0e225ec89

Change-Id: Ic43f3be2129e6e6da66850486123a39e48bee571

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4
Etan Cohen [Wed, 15 Feb 2017 15:01:36 +0000 (15:01 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage" am: 751dc694a4
am: 224d83b432

Change-Id: I59901d50215f7362f5769b4c9ae8225921e6d643

7 years agoMerge "[AWARE] Correct comment on Discovery Window usage"
Etan Cohen [Wed, 15 Feb 2017 14:58:06 +0000 (14:58 +0000)]
Merge "[AWARE] Correct comment on Discovery Window usage"
am: 751dc694a4

Change-Id: I96a0b00713d01cb4a587a8ba44833c2a5f1a2cf0

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" am: 8cd0125d2e am: 6439f344ad
Dan Willemsen [Wed, 15 Feb 2017 05:17:30 +0000 (05:17 +0000)]
Merge "Remove --coverage in Android.bp" am: 8cd0125d2e am: 6439f344ad
am: b7046d211d

Change-Id: I29044eba5da1c72a5e8a14d97617a1d1db3b0adc

7 years agoMerge "Remove --coverage in Android.bp" am: 8cd0125d2e
Dan Willemsen [Wed, 15 Feb 2017 05:14:30 +0000 (05:14 +0000)]
Merge "Remove --coverage in Android.bp" am: 8cd0125d2e
am: 6439f344ad

Change-Id: I8a5f2071751984ff0ce400968d49781b247a5977

7 years agoMerge "Remove --coverage in Android.bp"
Dan Willemsen [Wed, 15 Feb 2017 05:11:30 +0000 (05:11 +0000)]
Merge "Remove --coverage in Android.bp"
am: 8cd0125d2e

Change-Id: I64c14bbb96b132b3b26d6d61a11e4c8cf84bd161

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" am: b835ea3f11 am: 028ce01354
Myles Watson [Tue, 14 Feb 2017 02:20:43 +0000 (02:20 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11 am: 028ce01354
am: 4bbcb8f41e

Change-Id: Id503d07ba2adeef890882df2f686635abc7749d9

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11
Myles Watson [Tue, 14 Feb 2017 02:18:43 +0000 (02:18 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT" am: b835ea3f11
am: 028ce01354

Change-Id: Ia432ecc1676f926a157eb6b978990c19814f2aa4

7 years agoMerge "Bluetooth: Add CHECK and move ASSERT"
Myles Watson [Tue, 14 Feb 2017 02:16:43 +0000 (02:16 +0000)]
Merge "Bluetooth: Add CHECK and move ASSERT"
am: b835ea3f11

Change-Id: I37ab797a98e3b126771de6aa6104b65dd3cab55a

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 agoMove hidl shims to the vendor partition. am: 46c0b94992 am: 0a9133b271
Steven Moreland [Tue, 14 Feb 2017 01:19:15 +0000 (01:19 +0000)]
Move hidl shims to the vendor partition. am: 46c0b94992 am: 0a9133b271
am: 0c5f363811

Change-Id: Icdf33f1473013ecba1d70ebcb1d85641024b3213

7 years agoMove hidl shims to the vendor partition. am: 46c0b94992
Steven Moreland [Tue, 14 Feb 2017 01:17:16 +0000 (01:17 +0000)]
Move hidl shims to the vendor partition. am: 46c0b94992
am: 0a9133b271

Change-Id: Ibe01a4a070c612b86fb31c0543695df5da924624

7 years agoMove hidl shims to the vendor partition.
Steven Moreland [Tue, 14 Feb 2017 01:15:08 +0000 (01:15 +0000)]
Move hidl shims to the vendor partition.
am: 46c0b94992

Change-Id: I9f508ce24e07a1d78eac3bea94a21a45a8b2cd81

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 am: 3646298ab6 am: b853615e6e
Roshan Pius [Mon, 13 Feb 2017 21:38:54 +0000 (21:38 +0000)]
Merge changes Ieee26013,I275bba11,I7e7258e7,I88111181 am: 3646298ab6 am: b853615e6e
am: f404487631

Change-Id: I29a4bb5ff276182e2864a29daabec396c2df8ee0

7 years agoMerge changes Ieee26013,I275bba11,I7e7258e7,I88111181 am: 3646298ab6
Roshan Pius [Mon, 13 Feb 2017 21:36:24 +0000 (21:36 +0000)]
Merge changes Ieee26013,I275bba11,I7e7258e7,I88111181 am: 3646298ab6
am: b853615e6e

Change-Id: Id42bcb5657613884386b1b978d6931511425c49e

7 years agoMerge changes Ieee26013,I275bba11,I7e7258e7,I88111181
Roshan Pius [Mon, 13 Feb 2017 21:33:59 +0000 (21:33 +0000)]
Merge changes Ieee26013,I275bba11,I7e7258e7,I88111181
am: 3646298ab6

Change-Id: Ica61adc41d15404f2998002f4c950a0b3ddc8296

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." am: 248e3932fe am: 848e5db57f
Zhuoyao Zhang [Mon, 13 Feb 2017 19:17:51 +0000 (19:17 +0000)]
Merge "Update vts files on aosp." am: 248e3932fe am: 848e5db57f
am: 832e7bd89a

Change-Id: If86e71c6f1d99c3a4cd37adf320c2598621c30e9

7 years agoMerge "Update vts files on aosp." am: 248e3932fe
Zhuoyao Zhang [Mon, 13 Feb 2017 19:15:20 +0000 (19:15 +0000)]
Merge "Update vts files on aosp." am: 248e3932fe
am: 848e5db57f

Change-Id: Ie29071455c9ca3cf1a7293972347cbc6c9a9f9f1

7 years agoMerge "Update vts files on aosp."
Zhuoyao Zhang [Mon, 13 Feb 2017 19:12:36 +0000 (19:12 +0000)]
Merge "Update vts files on aosp."
am: 248e3932fe

Change-Id: I147799a7b93d100a5340aa0150540f6b6142e72e

7 years agoMerge "Add missing response function." am: 6267062af5 am: b3e6021641
Amit Mahajan [Mon, 13 Feb 2017 19:09:54 +0000 (19:09 +0000)]
Merge "Add missing response function." am: 6267062af5 am: b3e6021641
am: 63ab2b318b

Change-Id: I4c499d60c5ac213fe6d351dce98f4d587d6bccdf

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." am: 6267062af5
Amit Mahajan [Mon, 13 Feb 2017 19:06:53 +0000 (19:06 +0000)]
Merge "Add missing response function." am: 6267062af5
am: b3e6021641

Change-Id: I0ee6a5540ccbd40c6c11b4f42b8d6cae26629da4

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

Change-Id: I47995ad80fe34a54a7346a92957a3d3219842188

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" am: 96518722ee am: 189e70056b
Etan Cohen [Sat, 11 Feb 2017 04:47:01 +0000 (04:47 +0000)]
Merge "[WIFI] Update VTS generated file" am: 96518722ee am: 189e70056b
am: 7a93784f05

Change-Id: Iee6d5141fd406484b789be5d4387251851ca8312

7 years agoMerge "[WIFI] Update VTS generated file" am: 96518722ee
Etan Cohen [Sat, 11 Feb 2017 04:44:53 +0000 (04:44 +0000)]
Merge "[WIFI] Update VTS generated file" am: 96518722ee
am: 189e70056b

Change-Id: I8e825299c906dc23383bf6ea8d9758aff40a043c

7 years agoMerge "[WIFI] Update VTS generated file"
Etan Cohen [Sat, 11 Feb 2017 04:42:01 +0000 (04:42 +0000)]
Merge "[WIFI] Update VTS generated file"
am: 96518722ee

Change-Id: I7b5b59f05b422d8f453fe89162908f4340b211a6

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" am: 10569b1bb4 am: dbaff93416
Etan Cohen [Sat, 11 Feb 2017 01:07:31 +0000 (01:07 +0000)]
Merge "[AWARE] Update capabilties" am: 10569b1bb4 am: dbaff93416
am: 95e7e5a098

Change-Id: I6022b5763984280d148804d0364bd4cf89bf45f6

7 years agoMerge "[AWARE] Update capabilties" am: 10569b1bb4
Etan Cohen [Sat, 11 Feb 2017 01:05:02 +0000 (01:05 +0000)]
Merge "[AWARE] Update capabilties" am: 10569b1bb4
am: dbaff93416

Change-Id: I874de1d8668ea0df50d0c84357469e719841c4f8

7 years agoMerge "[AWARE] Update capabilties"
Etan Cohen [Sat, 11 Feb 2017 01:02:32 +0000 (01:02 +0000)]
Merge "[AWARE] Update capabilties"
am: 10569b1bb4

Change-Id: Ica1d8beff6fd7063751cc9b22c841038a2cfa510

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." am: ea8ff054fa am: af52b48490
Yifan Hong [Fri, 10 Feb 2017 23:44:42 +0000 (23:44 +0000)]
Merge "Add tests for minor version upgrade enforcement." am: ea8ff054fa am: af52b48490
am: 2e14b7cc0f

Change-Id: Ia0c520eb080e02b0b51d86b0c8f88da2cbe1c429

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

Change-Id: Idad63da1d39457f14bdbf3e087d36d7fd1fe5f6c

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

Change-Id: I6538ac98fa28f6f9c08d45a2cedfb8764acbc9ef

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" am: 11cea0d4a3...
Etan Cohen [Fri, 10 Feb 2017 23:23:17 +0000 (23:23 +0000)]
Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3 am: a80d8de804
am: 98bd5591b6

Change-Id: Ibba393e4d34084234e44b667b072338257d61984

7 years agoMerge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042 am: d57bae0f76
Etan Cohen [Fri, 10 Feb 2017 23:23:05 +0000 (23:23 +0000)]
Merge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042 am: d57bae0f76
am: 07d3618832

Change-Id: I070cac8b02ff1d6d03c4d8329ca7d2d5f390cda2

7 years agoMerge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656 am: a4cd134e93
Etan Cohen [Fri, 10 Feb 2017 23:22:44 +0000 (23:22 +0000)]
Merge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656 am: a4cd134e93
am: bf0091ffef

Change-Id: I75f722915a2c7ec367fb0d73e413f7e57081739b

7 years agoMerge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3
Etan Cohen [Fri, 10 Feb 2017 23:21:16 +0000 (23:21 +0000)]
Merge "[AWARE] Add support for Subscribe Service ID List Attribute" am: 11cea0d4a3
am: a80d8de804

Change-Id: I103c555c1d9580d056800a1d1e28ef9b27780b2d

7 years agoMerge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042
Etan Cohen [Fri, 10 Feb 2017 23:21:06 +0000 (23:21 +0000)]
Merge "[AWARE] Add support for SDEA.ServiceInfo field" am: 97c3540042
am: d57bae0f76

Change-Id: Ib55c7df302c9c3b01ae36ce52dce0470ff4f0cf1

7 years agoMerge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656
Etan Cohen [Fri, 10 Feb 2017 23:20:41 +0000 (23:20 +0000)]
Merge "[AWARE] Update HIDL to match spec and add comments" am: 66dcae0656
am: a4cd134e93

Change-Id: Icec27c2da9e2d5facded4db478fa0ef08309457e

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

Change-Id: I4ab614028e59c0ae2effab6cc7e1b65172bb3335

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

Change-Id: Ic47df91fd4e2a8dc72d9a825079a8cfa3f633444

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

Change-Id: I2b22e9c2cc879db26eaa85ba3a1e486da609abb8

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" am: ff14eb32cd am...
Etan Cohen [Fri, 10 Feb 2017 02:58:04 +0000 (02:58 +0000)]
Merge "[AWARE] Modify the discovery session handle to uint8_t" am: ff14eb32cd am: b4df78f006
am: 2ec9fbf47b

Change-Id: I5411cf3059ea7a387fe0bb4a4959865b5c6bf5bf

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

Change-Id: Ia73c39281f851b5a5697b5045635f1b61a50fe39

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

Change-Id: I5db49744cb78e623e3b1ff2e65d67af69d5b0ed0

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 agoUse filegroup as genrule srcs. am: 06da29ffae am: 5b43e2caa8
Tri Vo [Fri, 10 Feb 2017 02:33:59 +0000 (02:33 +0000)]
Use filegroup as genrule srcs. am: 06da29ffae am: 5b43e2caa8
am: 831bfd746c

Change-Id: Idbcc92c359f63bf8c583d5c7e7e7092f60b3fe17

7 years agoUse filegroup as genrule srcs. am: 06da29ffae
Tri Vo [Fri, 10 Feb 2017 02:31:59 +0000 (02:31 +0000)]
Use filegroup as genrule srcs. am: 06da29ffae
am: 5b43e2caa8

Change-Id: Ibdba96f3269734b0e1bf71ae3cd510c0dca236f0

7 years agoUse filegroup as genrule srcs.
Tri Vo [Fri, 10 Feb 2017 02:29:29 +0000 (02:29 +0000)]
Use filegroup as genrule srcs.
am: 06da29ffae

Change-Id: Idbea2593c1b5af5f6b7d19c3e28331ccd5452076

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

7 years agoUse filegroup as genrule srcs.
Tri Vo [Wed, 8 Feb 2017 18:53:06 +0000 (10:53 -0800)]
Use filegroup as genrule srcs.

Test: mmma hardware/interfaces -j64
Change-Id: If282ed5f4a87045d169fcea7ad648b046a5f1cfb

7 years agoUpdated makefiles am: 0574bacb2a am: f9c87639bf
Andreas Huber [Fri, 10 Feb 2017 01:08:40 +0000 (01:08 +0000)]
Updated makefiles am: 0574bacb2a am: f9c87639bf
am: bf7b779b40

Change-Id: Ia6a63af414a7dff8800647adbdc361c868536ab6

7 years ago[AWARE] Remove support for vendor-specific attributes am: ccb1562771 am: 218305083f
Etan Cohen [Fri, 10 Feb 2017 01:08:11 +0000 (01:08 +0000)]
[AWARE] Remove support for vendor-specific attributes am: ccb1562771 am: 218305083f
am: ef3d29aa0a

Change-Id: I9bf98e0bf9f8ec0980ff42f2c6da0f54ab7aac3d

7 years agoUpdated makefiles am: 0574bacb2a
Andreas Huber [Fri, 10 Feb 2017 01:06:54 +0000 (01:06 +0000)]
Updated makefiles am: 0574bacb2a
am: f9c87639bf

Change-Id: I1e636d6723879f965f8e45d996776fed85819e54

7 years agoUpdated makefiles
Andreas Huber [Fri, 10 Feb 2017 01:04:53 +0000 (01:04 +0000)]
Updated makefiles
am: 0574bacb2a

Change-Id: I275da932e31f1b22f900965fd5fb18ed8465f3a0

7 years ago[AWARE] Remove support for vendor-specific attributes am: ccb1562771
Etan Cohen [Fri, 10 Feb 2017 01:02:40 +0000 (01:02 +0000)]
[AWARE] Remove support for vendor-specific attributes am: ccb1562771
am: 218305083f

Change-Id: I2250d934cb9ea1b75aebfeb08436fadb7919364b

7 years agoUpdated makefiles
Andreas Huber [Thu, 9 Feb 2017 18:06:41 +0000 (10:06 -0800)]
Updated makefiles

Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.

Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672

7 years ago[AWARE] Remove support for vendor-specific attributes
Etan Cohen [Fri, 10 Feb 2017 00:56:45 +0000 (00:56 +0000)]
[AWARE] Remove support for vendor-specific attributes
am: ccb1562771

Change-Id: I0c90ff4438e60402aedf06be3e664c8e72fa445f

7 years ago[AWARE] Modify the discovery session handle to uint8_t
Etan Cohen [Thu, 9 Feb 2017 18:05:59 +0000 (10:05 -0800)]
[AWARE] Modify the discovery session handle to uint8_t

Match the NAN protocol.

Bug: 35040192
Test: unit tests + integration (sl4a) tests
Change-Id: I9b39d184708c6e000bd4d84f97659f20d7ec75fd

7 years ago[AWARE] Remove support for vendor-specific attributes
Etan Cohen [Thu, 9 Feb 2017 17:35:35 +0000 (09:35 -0800)]
[AWARE] Remove support for vendor-specific attributes

Vendor-specific attribute support API is not fully functional or
thought out. The Tx portion is working but the Rx portion requires
additional configuration to prevent spamming the framework with all
vendor-specific attributes.

Remove until full solution is designed.

Bug: 35193235
Test: unit tests and integration (sl4a) tests.
Change-Id: I31a601af3b2c1f9f736130ce00abf73c55ac086a

7 years agoBluetooth: Disable low power managerment on Hal->close() am: f60aeb4462 am: 886dcecc89
Andre Eisenbach [Wed, 8 Feb 2017 05:04:43 +0000 (05:04 +0000)]
Bluetooth: Disable low power managerment on Hal->close() am: f60aeb4462 am: 886dcecc89
am: ddde24fd6c

Change-Id: I1b8f5707aa465afd84171f05e690c284938d1f0b

7 years agoBluetooth: Disable low power managerment on Hal->close() am: f60aeb4462
Andre Eisenbach [Wed, 8 Feb 2017 05:01:42 +0000 (05:01 +0000)]
Bluetooth: Disable low power managerment on Hal->close() am: f60aeb4462
am: 886dcecc89

Change-Id: Ifc4f5a8f2f5c285ba02960ac591c453b9e91d7d8

7 years agoBluetooth: Disable low power managerment on Hal->close()
Andre Eisenbach [Wed, 8 Feb 2017 04:58:43 +0000 (04:58 +0000)]
Bluetooth: Disable low power managerment on Hal->close()
am: f60aeb4462

Change-Id: Id8e2c0f84f79433b1dddaecd3c6aa69f446090b4

7 years agoBluetooth: Disable low power managerment on Hal->close()
Andre Eisenbach [Wed, 8 Feb 2017 04:28:32 +0000 (20:28 -0800)]
Bluetooth: Disable low power managerment on Hal->close()

This ensures the vendor library can release any wakelocks held and
perform any additional cleanup steps as necessary.

Change-Id: Ibfeac161109162ac375eef9c20f147f0506de602
Fixes: 35097918
Test: manual; disable Bluetooth, monitor wakelocks

7 years agoMerge "Remove vts driver/profiler build rules." am: 0f7a0678af am: 3b5f6dad56
Tri Vo [Wed, 8 Feb 2017 00:21:22 +0000 (00:21 +0000)]
Merge "Remove vts driver/profiler build rules." am: 0f7a0678af am: 3b5f6dad56
am: 468446f91b

Change-Id: I0a6566867fe511349c5fe4ed9fb230df2d3511d5

7 years agoMerge "Remove vts driver/profiler build rules." am: 0f7a0678af
Tri Vo [Wed, 8 Feb 2017 00:18:22 +0000 (00:18 +0000)]
Merge "Remove vts driver/profiler build rules." am: 0f7a0678af
am: 3b5f6dad56

Change-Id: I46ddb6789f2b74ea6702784be61ed95529742900

7 years agoMerge "Remove vts driver/profiler build rules."
Tri Vo [Wed, 8 Feb 2017 00:15:22 +0000 (00:15 +0000)]
Merge "Remove vts driver/profiler build rules."
am: 0f7a0678af

Change-Id: I77f5d1433cb538dba734bc592929102f426a2d40