OSDN Git Service

android-x86/hardware-interfaces.git
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 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 "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: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"
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"
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."
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"
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 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.
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
Andreas Huber [Fri, 10 Feb 2017 01:04:53 +0000 (01:04 +0000)]
Updated makefiles
am: 0574bacb2a

Change-Id: I275da932e31f1b22f900965fd5fb18ed8465f3a0

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

7 years agoMerge "Remove vts driver/profiler build rules."
Treehugger Robot [Wed, 8 Feb 2017 00:12:23 +0000 (00:12 +0000)]
Merge "Remove vts driver/profiler build rules."

7 years agoHIDL change for Android O RIL update
Jack Yu [Mon, 6 Feb 2017 22:46:07 +0000 (22:46 +0000)]
HIDL change for Android O RIL update
am: ed7ef81069

Change-Id: I855a9c8aea86975ec1c78cc1e38e2b0e5962d628

7 years agoHIDL change for Android O RIL update
Jack Yu [Tue, 24 Jan 2017 19:56:52 +0000 (11:56 -0800)]
HIDL change for Android O RIL update

1. Added two new API for screen state replacement.
2. Data call API refactoring work.

bug: 201250373222413532223897322499263028209630173958,
33653220
Test: Telephony sanity tests and unit tests

Merged-In: I6b266637914a85bd57c6a055c52c8ff4ced17e1f
Change-Id: I342b99bed8663d107052e791ac97949b34f7dd99

7 years agoRemove vts driver/profiler build rules.
Tri Vo [Mon, 6 Feb 2017 17:59:51 +0000 (09:59 -0800)]
Remove vts driver/profiler build rules.

Generate filegroups for .hal files so that driver/profiler build rules
can migrate to another project.

Bug: 34893894
Test: mmma hardware/interfaces -j32
Change-Id: Iefc98a6df16706fbb798bc32405fe8ff0c3de450

7 years agoMerge "Bluetooth: Generate a random address"
Myles Watson [Mon, 6 Feb 2017 18:11:30 +0000 (18:11 +0000)]
Merge "Bluetooth: Generate a random address"
am: 812f8ad3ab

Change-Id: I141ce9c018c7b781759ed2c773f286b328cdb4e9

7 years agoMerge "Bluetooth: Generate a random address"
Treehugger Robot [Mon, 6 Feb 2017 18:07:12 +0000 (18:07 +0000)]
Merge "Bluetooth: Generate a random address"

7 years agoBluetooth: Generate a random address
Myles Watson [Fri, 3 Feb 2017 23:17:54 +0000 (15:17 -0800)]
Bluetooth: Generate a random address

If a device does not have a factory address set, generate one.

Since this is a bug, add a warning.

Bug: 34952761
Test: Pixel C Bluetooth turns on and off
Change-Id: Icd2ef5c40f0ef6ad93effd9dd662b4b79d3eb0f6

7 years agomove VTS stub files and non-functional tests (aosp)
Keun Soo Yim [Sat, 4 Feb 2017 06:45:28 +0000 (06:45 +0000)]
move VTS stub files and non-functional tests (aosp)
am: 5d6712c7e1

Change-Id: I1a21eba2c653161cb745d383749c539aae15f3be

7 years agomove VTS stub files and non-functional tests (aosp)
Keun Soo Yim [Fri, 3 Feb 2017 21:50:29 +0000 (13:50 -0800)]
move VTS stub files and non-functional tests (aosp)

Test: mma
Bug: 34976004
Merged-In: Id9c88a9778fba49f0841a474aa067d271f14e207
Change-Id: Id9c88a9778fba49f0841a474aa067d271f14e207

7 years agoMerge changes Ic4fcbb22,I1be8a18d
Myles Watson [Fri, 3 Feb 2017 18:29:45 +0000 (18:29 +0000)]
Merge changes Ic4fcbb22,I1be8a18d
am: b19f11d09d

Change-Id: I666a015519db1221eaa6f2523b8a11653e5991f2

7 years agoBluetooth: Use AsyncFdWatcher for power management
Myles Watson [Fri, 3 Feb 2017 18:29:44 +0000 (18:29 +0000)]
Bluetooth: Use AsyncFdWatcher for power management
am: beb13b45c0

Change-Id: I6e0c5fa73ee8c3c920dd56dad5e97edcc321020c

7 years agoBluetooth: AsyncFdWatcher: Refactor timeout lock
Myles Watson [Fri, 3 Feb 2017 18:29:43 +0000 (18:29 +0000)]
Bluetooth: AsyncFdWatcher: Refactor timeout lock
am: eba1312c86

Change-Id: I7941c96144b32482683c9b30c4bd99418db14869

7 years agoMerge "Bluetooth: Free memory from transmit_cb commands"
Myles Watson [Fri, 3 Feb 2017 18:29:33 +0000 (18:29 +0000)]
Merge "Bluetooth: Free memory from transmit_cb commands"
am: 559ae1585b

Change-Id: Ib4224beec441ef48d2a7815344f877150decb7c0

7 years agoMerge changes Ic4fcbb22,I1be8a18d
Treehugger Robot [Fri, 3 Feb 2017 18:24:23 +0000 (18:24 +0000)]
Merge changes Ic4fcbb22,I1be8a18d

* changes:
  Bluetooth: Use AsyncFdWatcher for power management
  Bluetooth: AsyncFdWatcher: Refactor timeout lock

7 years agoMerge "Bluetooth: Free memory from transmit_cb commands"
Treehugger Robot [Fri, 3 Feb 2017 18:24:09 +0000 (18:24 +0000)]
Merge "Bluetooth: Free memory from transmit_cb commands"

7 years agoMerge "Support driver/profiler for all hals."
Zhuoyao Zhang [Fri, 3 Feb 2017 00:46:39 +0000 (00:46 +0000)]
Merge "Support driver/profiler for all hals."
am: a0ff9aca7a

Change-Id: I15c0dfb56548ab7945f2bdb85b7c22a9e5f73075

7 years agoMerge "Support driver/profiler for all hals."
Zhuoyao Zhang [Fri, 3 Feb 2017 00:43:02 +0000 (00:43 +0000)]
Merge "Support driver/profiler for all hals."

7 years agoBluetooth: Use AsyncFdWatcher for power management
Myles Watson [Thu, 26 Jan 2017 18:47:27 +0000 (10:47 -0800)]
Bluetooth: Use AsyncFdWatcher for power management

Implement low power mode using timeouts from the interface.

Test: Boots, Bluetooth turns on/off,
      Instrumented bt_vendor library shows power management
      calls.
Change-Id: Ic4fcbb222f24b66c13f3797b14475d278c49fbc6

7 years agoBluetooth: AsyncFdWatcher: Refactor timeout lock
Myles Watson [Thu, 2 Feb 2017 18:47:36 +0000 (10:47 -0800)]
Bluetooth: AsyncFdWatcher: Refactor timeout lock

Allow timeouts to change the timeout.
Add a unit test for this.

Test: Unit tests pass, Bluetooth starts and stops.
Change-Id: I1be8a18dd74a312175ec9c27de37213272650e8e

7 years agoBluetooth: Free memory from transmit_cb commands
Myles Watson [Wed, 1 Feb 2017 18:46:16 +0000 (10:46 -0800)]
Bluetooth: Free memory from transmit_cb commands

Test: Bluetooth starts and stops
Change-Id: I540fcc77f9bae0178db325b7014f2b839d4ad77d

7 years agoMerge "wifi: Add scanning mac oui setter"
Roshan Pius [Thu, 2 Feb 2017 19:41:24 +0000 (19:41 +0000)]
Merge "wifi: Add scanning mac oui setter"
am: fc5a779766

Change-Id: I6531cee9a0b5aeb645f28877919a50b06ee1c6a8

7 years agoMerge "wifi: Add scanning mac oui setter"
Treehugger Robot [Thu, 2 Feb 2017 19:28:06 +0000 (19:28 +0000)]
Merge "wifi: Add scanning mac oui setter"

7 years agoSupport driver/profiler for all hals.
Zhuoyao Zhang [Thu, 2 Feb 2017 04:53:21 +0000 (20:53 -0800)]
Support driver/profiler for all hals.

* Update the make file to generate driver/profiler for hals.

Test: mma
Change-Id: I2a91d913b05beb8e1ecf28a205852f848ef1f5ee

7 years agovts files for radio hal
Yuexi Ma [Thu, 2 Feb 2017 01:22:01 +0000 (01:22 +0000)]
vts files for radio hal
am: faad7891fb

Change-Id: I20b2ded113957974de68b5ea2544bfc997f5ae81

7 years agovts files for radio hal
Yuexi Ma [Fri, 6 Jan 2017 21:52:46 +0000 (13:52 -0800)]
vts files for radio hal

Merged-In:I8bce0b3ce4874442638e4967b4b88fcd60497729
Test: mma
Change-Id: I8bce0b3ce4874442638e4967b4b88fcd60497729
(cherry picked from commit 689c6fb1b542dad521272d8c2b8ff823c5b7c062)

7 years agowifi: Add scanning mac oui setter
Roshan Pius [Wed, 1 Feb 2017 21:09:08 +0000 (13:09 -0800)]
wifi: Add scanning mac oui setter

Bug: 34886995
Test: Compiles
Change-Id: I55d4cf55d1832f27de975f97c2e739012ddacc28

7 years agoMerge "Wi-Fi/NAN HAL/service fixups"
Etan Cohen [Wed, 1 Feb 2017 05:37:22 +0000 (05:37 +0000)]
Merge "Wi-Fi/NAN HAL/service fixups"
am: 7f1c9647b8

Change-Id: I9cf88ab989a4365c15cc3a48aa446e1452e3efe0

7 years agoMerge "Wi-Fi/NAN HAL/service fixups"
Etan Cohen [Wed, 1 Feb 2017 05:33:16 +0000 (05:33 +0000)]
Merge "Wi-Fi/NAN HAL/service fixups"

7 years agoWi-Fi/NAN HAL/service fixups
Etan Cohen [Mon, 30 Jan 2017 21:28:37 +0000 (13:28 -0800)]
Wi-Fi/NAN HAL/service fixups

Fixes related to debugging during integration with
framework. Changes are due to errors in original
definition.

Bug: 32315992
Test: integration (sl4a) tests
Change-Id: I5c427e4d0f8677a611eb6d9abfa641a7f8406e31

7 years agoBluetooth: Move AsyncFdWatcher tests to the device
Myles Watson [Tue, 31 Jan 2017 20:35:44 +0000 (20:35 +0000)]
Bluetooth: Move AsyncFdWatcher tests to the device
am: b43a5b2435

Change-Id: I2b2f98eb96e2a0c8583a5177686f9099ee5102cd

7 years agoBluetooth: Move AsyncFdWatcher tests to the device
Myles Watson [Tue, 31 Jan 2017 20:20:44 +0000 (12:20 -0800)]
Bluetooth: Move AsyncFdWatcher tests to the device

Darwin builds were breaking.

Test: compile, unit tests pass
Change-Id: Ia00f590fe56211e25dff8d3138ebd93a306cf2c6

7 years agoBluetooth: Add a timeout in async_fd_watcher
Myles Watson [Tue, 31 Jan 2017 19:26:39 +0000 (19:26 +0000)]
Bluetooth: Add a timeout in async_fd_watcher
am: 7d42dcad6e

Change-Id: I0086b5ca130b11b296d3fe839c1e099ed4044425

7 years agoBluetooth: Add a timeout in async_fd_watcher
Myles Watson [Wed, 25 Jan 2017 00:51:39 +0000 (16:51 -0800)]
Bluetooth: Add a timeout in async_fd_watcher

Add a timeout to the select call and a callback.
Add unit tests for async_fd_watcher.

Test: unit tests pass
Change-Id: I0076fd52e79aac0d2a9fcceb90aae318d5f0757b

7 years agoMerge "wifi: Fixing Nits"
Roshan Pius [Tue, 31 Jan 2017 01:10:36 +0000 (01:10 +0000)]
Merge "wifi: Fixing Nits"
am: 76cf857403

Change-Id: I4cfc3ba7771106a4efb801d5a9d40b4ae2cd4088

7 years agoMerge "wifi: Fixing Nits"
Treehugger Robot [Tue, 31 Jan 2017 01:05:50 +0000 (01:05 +0000)]
Merge "wifi: Fixing Nits"

7 years agoBluetooth: Make Send() send a complete packet
Myles Watson [Tue, 31 Jan 2017 00:44:29 +0000 (00:44 +0000)]
Bluetooth: Make Send() send a complete packet
am: df765eab60

Change-Id: I742da2de02c1205ced2c9c62a28dba22d9060520

7 years agoBluetooth: Make Send() send a complete packet
Myles Watson [Mon, 30 Jan 2017 17:07:37 +0000 (09:07 -0800)]
Bluetooth: Make Send() send a complete packet

Add the packet type to Send() so that it is called once per packet.

Test: Bluetooth starts/stops and scans
Change-Id: I2ef9c5f9a85d3227d4ff181b6a6931f239f75049

7 years agoBluetooth: Check for waiting HAL callbacks
Myles Watson [Tue, 31 Jan 2017 00:33:11 +0000 (00:33 +0000)]
Bluetooth: Check for waiting HAL callbacks
am: a7d33b3636

Change-Id: Id68578c65b30f92c010ec266e04d2f0a21a9d6a8

7 years agoBluetooth: Use fixed-size preambles
Myles Watson [Tue, 31 Jan 2017 00:33:10 +0000 (00:33 +0000)]
Bluetooth: Use fixed-size preambles
am: 71390182c6

Change-Id: I764ed03fcefd7d9f224962d01669001cb6f4d73b

7 years agoBluetooth: Clean up some messages
Myles Watson [Tue, 31 Jan 2017 00:32:58 +0000 (00:32 +0000)]
Bluetooth: Clean up some messages
am: 8ffcbc7797

Change-Id: I77827f09ee695fc71c87350919a54b13d2a8158f

7 years agowifi: Fixing Nits
Roshan Pius [Thu, 26 Jan 2017 01:44:42 +0000 (17:44 -0800)]
wifi: Fixing Nits

Changes in the CL to fix bugs found while integrating
with framework:
1. Added IWifiApIface.setCountryCode()
Bug: 34682168
2. Fixed documentation nits in .hal files.
Bug: 34468218
3. Changed roaming state enum values.
Bug: 34715231
4. Added log for EBUSY in legacyErrorToString()
Bug: 34715469
5. Remove "-Wno-unused parameter" from Android.mk
Bug: 34611289
6. Remove the erroneous |onFailure| callback invocation in wifi.cpp.
7. Add null terminations to strings passed to legacy HAL API's
8. Remove unused |IWifiStaIface.stopDebugPacketFateMonitoring|.

Test: Compiles
Change-Id: If3a3e2f360a378c59dc56b8bbe3a0c6d400b3bd8

7 years agoBluetooth: Check for waiting HAL callbacks
Myles Watson [Tue, 24 Jan 2017 17:09:58 +0000 (09:09 -0800)]
Bluetooth: Check for waiting HAL callbacks

Test: Bluetooth boots, turns on/off
Change-Id: Iad2f359a78c9acbf0fe44740ed0813de462ce57c

7 years agoBluetooth: Use fixed-size preambles
Myles Watson [Tue, 24 Jan 2017 21:34:59 +0000 (13:34 -0800)]
Bluetooth: Use fixed-size preambles

Test: Bluetooth turns on/off finds devices in Settings
Change-Id: Id640f3dbde3f53b31ce62eccf59bbc8d25130388

7 years agoBluetooth: Clean up some messages
Myles Watson [Fri, 20 Jan 2017 18:09:38 +0000 (10:09 -0800)]
Bluetooth: Clean up some messages

Use Info for low-frequency messages.
Print hex for characters.

Test: Bluetooth turns on/off
Change-Id: If1fe20a71287cc91c2a7225488e5d44c7ee4ecee

7 years agoMerge "Include what you use."
Dan Albert [Sat, 28 Jan 2017 01:27:54 +0000 (01:27 +0000)]
Merge "Include what you use."
am: c6ce733d24

Change-Id: I2a032e8ed6d10a02a96bc241cbe8805df73265f1

7 years agoMerge "Include what you use."
Treehugger Robot [Sat, 28 Jan 2017 01:25:53 +0000 (01:25 +0000)]
Merge "Include what you use."

7 years agoFixed typos and incorrect types
Jack Yu [Sat, 28 Jan 2017 00:49:04 +0000 (00:49 +0000)]
Fixed typos and incorrect types
am: f346766c0c

Change-Id: I1f768df471c89783b783684d77fa8f5c6f47b476

7 years agoMerge "Removed TODOs from radio hal."
Sanket Padawe [Sat, 28 Jan 2017 00:48:52 +0000 (00:48 +0000)]
Merge "Removed TODOs from radio hal."
am: c5447fce20

Change-Id: Ib97124740651fbbe7c8dfb205129bbcc7f6ef04f

7 years agoFixed typos and incorrect types
Jack Yu [Fri, 20 Jan 2017 23:36:56 +0000 (15:36 -0800)]
Fixed typos and incorrect types

Fixed typos, incorrect types for bitmap, and comment
alignment.

Test: Build
Merged-In: I51a99fa71877cfe168ee2cf31de702f36f57d013
Change-Id: I51a99fa71877cfe168ee2cf31de702f36f57d013

7 years agoMerge "Removed TODOs from radio hal."
Treehugger Robot [Sat, 28 Jan 2017 00:44:35 +0000 (00:44 +0000)]
Merge "Removed TODOs from radio hal."

7 years agoInclude what you use.
Dan Albert [Thu, 26 Jan 2017 23:33:15 +0000 (15:33 -0800)]
Include what you use.

Test: mm
Bug: http://b/34740564
Change-Id: I75cf88b79faf68764f1223e39595d0320d7b682a

7 years agoMerge "Increase the timeout for NfcHidlTargetProfilingTest."
Zhuoyao Zhang [Thu, 26 Jan 2017 03:55:45 +0000 (03:55 +0000)]
Merge "Increase the timeout for NfcHidlTargetProfilingTest."
am: 6d88fc9a6a

Change-Id: Ib6c2cd2bce720180ff2365b936e07bd217a265dd

7 years agoMerge "Increase the timeout for NfcHidlTargetProfilingTest."
Zhuoyao Zhang [Thu, 26 Jan 2017 03:52:06 +0000 (03:52 +0000)]
Merge "Increase the timeout for NfcHidlTargetProfilingTest."

7 years agoIncrease the timeout for NfcHidlTargetProfilingTest.
Zhuoyao Zhang [Wed, 25 Jan 2017 23:44:45 +0000 (15:44 -0800)]
Increase the timeout for NfcHidlTargetProfilingTest.

* Given there's still test failue due to timeout:
  https://android-vts-internal.googleplex.com/show_table?testName=NfcHidlTargetProfilingTest,
  increased the limit to 25m.

Test: run vts -m NfcHidlTargetProfilingTest
Change-Id: Ie5fee6a399281ec538e6724207916908bb8da4d0

7 years agoMerge "supplicant(interface): Add the new radio work methods"
Roshan Pius [Wed, 25 Jan 2017 21:18:52 +0000 (21:18 +0000)]
Merge "supplicant(interface): Add the new radio work methods"
am: 4aceb63bc7

Change-Id: If222b06393c5ea32b39cb8737a9cfd00a6e1cc3c

7 years agoMerge "supplicant(interface): Add the new radio work methods"
Treehugger Robot [Wed, 25 Jan 2017 21:15:21 +0000 (21:15 +0000)]
Merge "supplicant(interface): Add the new radio work methods"

7 years agoMerge "NFC: Update VTS test"
Ruchi Kandoi [Wed, 25 Jan 2017 18:18:08 +0000 (18:18 +0000)]
Merge "NFC: Update VTS test"
am: 3bce41d5ec

Change-Id: Id275ca5ed4dbcc0f0644e632cd31231f47998309

7 years agoMerge "NFC: Update VTS test"
Ruchi Kandoi [Wed, 25 Jan 2017 18:10:12 +0000 (18:10 +0000)]
Merge "NFC: Update VTS test"