OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "[WIFI][HIDL] Add device-based feature flag support"
Etan Cohen [Sat, 11 Mar 2017 18:57:40 +0000 (18:57 +0000)]
Merge "[WIFI][HIDL] Add device-based feature flag support"

7 years agowifi(implementation): Add null checks for RTT result
Roshan Pius [Sat, 11 Mar 2017 05:12:11 +0000 (21:12 -0800)]
wifi(implementation): Add null checks for RTT result

According to the legacy HAL header file, the LCI & LCR fields may not
always be populated. So, add null checks for them.

Bug: 36141536
Test: Compiles
Change-Id: Id2a5f5fd0eaf21b3a4d5cfcd26124c9fb6c90869

7 years agoMerge "Change vts target base test class name"
Yuexi Ma [Fri, 10 Mar 2017 20:58:03 +0000 (20:58 +0000)]
Merge "Change vts target base test class name"

7 years ago[WIFI][HIDL] Add device-based feature flag support
Etan Cohen [Thu, 9 Mar 2017 00:43:38 +0000 (16:43 -0800)]
[WIFI][HIDL] Add device-based feature flag support

Add mechanism to define feature support flags to
configure set of Wi-Fi features supported on a particular
device.

Bug: 32997844
Test: integration tests
Change-Id: Iffbf3ba237013f1030b24c0173641234a9c27e5c

7 years agoBluetooth: Power off after closing the UART
Myles Watson [Fri, 10 Mar 2017 17:10:51 +0000 (09:10 -0800)]
Bluetooth: Power off after closing the UART

Bug: 36084266
Test: angler & marlin switch users (Toggle Bluetooth under load)
Change-Id: I1e0c34e334d11b9dcf9df62cbde3d5556c537bd7

7 years agoChange vts target base test class name
Yuexi Ma [Fri, 10 Mar 2017 08:42:13 +0000 (00:42 -0800)]
Change vts target base test class name

Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I38ae6cc940d0f17bb3352f360efdf9c70697c76b

7 years agoMerge changes If83c1cbe,I12ad2665
Roshan Pius [Fri, 10 Mar 2017 01:16:48 +0000 (01:16 +0000)]
Merge changes If83c1cbe,I12ad2665

* changes:
  wifi(implementation): Move out clearing on stop complete
  wifi(vts): Some IWifiChip/IWifiStaIface tests

7 years agowifi(implementation): Move out clearing on stop complete
Roshan Pius [Thu, 9 Mar 2017 21:09:49 +0000 (13:09 -0800)]
wifi(implementation): Move out clearing on stop complete

Currently, we invoke WifiLegacyHal.invalidate() inside the
|on_stop_complete_internal_callback| std::function. |invalidate|
nulls out |on_stop_complete_internal_callback| inside it which might be
considered a violation since we're deleting the std::function object
as we're executing it.

Bug: 36095153
Test: Compiles, start/stop wifi multiple times.
Test: Verified that a crash is not seen in asan build.
Change-Id: If83c1cbee78a1b6eca12686fcc1ec1de67134f13

7 years agoMerge "[AWARE] Relocate ranging field in legacy HAL - match in HIDL impl"
Etan Cohen [Thu, 9 Mar 2017 23:13:29 +0000 (23:13 +0000)]
Merge "[AWARE] Relocate ranging field in legacy HAL - match in HIDL impl"

7 years agoMerge "Add VTS for voice telephony apis."
Sanket Padawe [Thu, 9 Mar 2017 21:35:05 +0000 (21:35 +0000)]
Merge "Add VTS for voice telephony apis."

7 years agoBluetooth: Protect callbacks during shutdown
Myles Watson [Thu, 9 Mar 2017 18:39:31 +0000 (10:39 -0800)]
Bluetooth: Protect callbacks during shutdown

- Hold the mutex during callbacks
- Disable power mode before deleting hci_

Bug: 36084266
Test: Switch users repeatedly (toggles Bluetooth)
Change-Id: I7e4d405e9028c3363c112a8b09c03b8aea652b7a

7 years agoAdd VTS for voice telephony apis.
Sanket Padawe [Thu, 9 Mar 2017 19:05:46 +0000 (11:05 -0800)]
Add VTS for voice telephony apis.

Bug: 32022332
Test: vts
Change-Id: I94f86f48d0c227f00c84051d14e6116d0bf2d1b3

7 years agowifi(vts): Some IWifiChip/IWifiStaIface tests
Roshan Pius [Fri, 9 Dec 2016 22:28:42 +0000 (14:28 -0800)]
wifi(vts): Some IWifiChip/IWifiStaIface tests

These tests basically just ensure that we can call the corresponding
API's successfully. More tests will be added in further CL's.

Bug: 33459306
Test: mmm -j32 hardware/interfaces/wifi/1.0/vts/functional/
&& adb push out/target/product/angler/data/nativetest64/
VtsHalWifiV1_0TargetTest/VtsHalWifiV1_0TargetTest /data/ &&
adb shell /data/VtsHalWifiV1_0TargetTest

Change-Id: I12ad26653993ce7167d007a887e7aff07fd0a5ce

7 years agoAdd hidl_default and make modules use hidl_default.
Steven Moreland [Wed, 8 Mar 2017 23:58:46 +0000 (15:58 -0800)]
Add hidl_default and make modules use hidl_default.

find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n    defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh

Test: no warnings
Bug: 35840847
Change-Id: I468b76893bf3f4b62ad610d1d9603bcb8797a702

7 years agoIBaz: remove unused function
Steven Moreland [Wed, 8 Mar 2017 23:55:57 +0000 (15:55 -0800)]
IBaz: remove unused function

Test: pass
Change-Id: I5bc806b4780cfadd9f0c35df60c43203c90d7244

7 years agorenderscript: fix unused variable warning
Steven Moreland [Wed, 8 Mar 2017 23:52:50 +0000 (15:52 -0800)]
renderscript: fix unused variable warning

Test: pass
Change-Id: I1f87c4430a908a41f7fd117de0d669420d508a69

7 years agoIr test: remove warnings
Steven Moreland [Wed, 8 Mar 2017 23:50:47 +0000 (15:50 -0800)]
Ir test: remove warnings

Test: pass
Change-Id: If13d93872f0a6eae8914371f78a568f798fd5f93

7 years agobluetooth: remove warnings
Steven Moreland [Wed, 8 Mar 2017 23:45:07 +0000 (15:45 -0800)]
bluetooth: remove warnings

Remove unused variables and commented out some unused APIs.

Test: pass
Change-Id: Ic191997d7db25277776417fd0069241ee01529e0

7 years agoupdate-makefiles.sh: wifi
Steven Moreland [Wed, 8 Mar 2017 23:33:31 +0000 (15:33 -0800)]
update-makefiles.sh: wifi

Test: pass
Change-Id: If43aa789381ed43120e0a075587a89c0076c8433

7 years agoMerge "Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis"
Shuo Qian [Wed, 8 Mar 2017 22:03:12 +0000 (22:03 +0000)]
Merge "Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis"

7 years agoMerge "supplicant(interface): Add support for get/set raw psk"
Roshan Pius [Wed, 8 Mar 2017 21:25:00 +0000 (21:25 +0000)]
Merge "supplicant(interface): Add support for get/set raw psk"

7 years ago[AWARE] Relocate ranging field in legacy HAL - match in HIDL impl
Etan Cohen [Wed, 8 Mar 2017 19:44:01 +0000 (11:44 -0800)]
[AWARE] Relocate ranging field in legacy HAL - match in HIDL impl

Relocate ranging report config in the legacy HAL. Match the correspoding
setting in the HIDL implementation (field itself not exposed).

Bug: 36065933
Test: integration (sl4a) tests
Change-Id: I651db9e8f63f8382706994d8b3b6cc266b77c73d

7 years agoMerge "Bring multi-channel transport into the glorious new age"
Treehugger Robot [Wed, 8 Mar 2017 17:49:41 +0000 (17:49 +0000)]
Merge "Bring multi-channel transport into the glorious new age"

7 years agosupplicant(interface): Add support for get/set raw psk
Roshan Pius [Tue, 7 Mar 2017 16:27:30 +0000 (08:27 -0800)]
supplicant(interface): Add support for get/set raw psk

Bug: 36013886
Test: Compiles
Change-Id: I2e90e3f6533d2271144404a3de3b19854b001c2f

7 years agoMerge "wifi: Fetch the gscan bucket idx from request"
Treehugger Robot [Wed, 8 Mar 2017 02:53:30 +0000 (02:53 +0000)]
Merge "wifi: Fetch the gscan bucket idx from request"

7 years agosupplicant(interface): Add timedOut param in assoc reject
Roshan Pius [Tue, 7 Mar 2017 19:23:19 +0000 (11:23 -0800)]
supplicant(interface): Add timedOut param in assoc reject

This is needed to indicate if the association failed due to a timeout
instead of AP explicitly rejecting us.

Bug: 34280407
Test: Compiles
Change-Id: Ib287ea8e45c28356bf9e3271962fc015761651fd

7 years agowifi: Fetch the gscan bucket idx from request
Roshan Pius [Tue, 7 Mar 2017 19:17:08 +0000 (11:17 -0800)]
wifi: Fetch the gscan bucket idx from request

We can't rely on the ordering of these buckets to populate their
indexes. So, send them explicitly from the caller.

Bug: 35989680
Test: Compiles
Change-Id: Ife09440935eb3526636c27bfdd40c37c69c7ade2

7 years agoMerge "wifi(implementation): Clear the chip immediately on IWifi.stop()"
Roshan Pius [Wed, 8 Mar 2017 00:33:43 +0000 (00:33 +0000)]
Merge "wifi(implementation): Clear the chip immediately on IWifi.stop()"

7 years agoMerge "Move FMQ tests to hardware/interfaces"
Treehugger Robot [Wed, 8 Mar 2017 00:01:29 +0000 (00:01 +0000)]
Merge "Move FMQ tests to hardware/interfaces"

7 years agowifi(implementation): Clear the chip immediately on IWifi.stop()
Roshan Pius [Tue, 7 Mar 2017 20:45:56 +0000 (12:45 -0800)]
wifi(implementation): Clear the chip immediately on IWifi.stop()

Currently, we wait for the legacy HAL callback to complete to clear and
invalidate the chip objects and it's derivatives. This may cause us to
access the wifi legacy HAL in a indeterminate state (as it's processing stop)
on subsequent HIDL calls.
So, clear up the chip object and derivatives immediately after we
process the stop to prevent any subsequent calls from sneaking in.

Also,
Added a couple of logs when wifi HAL is started/stopped to help debug
such issues later.

Bug: 36026601
Test: Turn on/off wifi and switch to softap mode multiple times.
Change-Id: Id5c2c9a90a335b2de4ae331ac8610b1a4e7875da

7 years agoBring multi-channel transport into the glorious new age
Zach Johnson [Mon, 27 Feb 2017 07:46:05 +0000 (23:46 -0800)]
Bring multi-channel transport into the glorious new age

Some devices still use MCT as their UART protocol, so
we need to bring it forward to the fresh new HAL.

Also, adding tests for H4 while I'm here.

Test: new unit tests pass and a device using MCT now
boots BT again \o/
Fixes: 34992730
Change-Id: Idb8e536a2779929ad8a0d4bac492c3011995cd79

7 years agoInitial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis
Shuoq [Tue, 28 Feb 2017 00:35:56 +0000 (16:35 -0800)]
Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis

Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 32022332

Change-Id: Ia630493e0501e75a5c327aab77d6a0af59587128

7 years agoMerge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
Treehugger Robot [Tue, 7 Mar 2017 17:30:02 +0000 (17:30 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"

7 years agoMerge "wifi(implementation): Allow wifi hal to access gps"
Roshan Pius [Tue, 7 Mar 2017 17:24:30 +0000 (17:24 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps"

7 years agoMerge "Add Test cases to Nfc VTS"
Ruchi Kandoi [Tue, 7 Mar 2017 17:05:39 +0000 (17:05 +0000)]
Merge "Add Test cases to Nfc VTS"

7 years agoMove FMQ tests to hardware/interfaces
Hridya Valsaraju [Mon, 6 Mar 2017 22:10:42 +0000 (14:10 -0800)]
Move FMQ tests to hardware/interfaces

Test: FMQ unit tests pass
Bug: 32284445

Change-Id: I1daf563560d12fc7a4433ae98876331c37509980

7 years agowifi(implementation): Allow wifi hal to access gps
Roshan Pius [Sat, 4 Mar 2017 12:38:42 +0000 (04:38 -0800)]
wifi(implementation): Allow wifi hal to access gps

Wifi Hal uses some gps components (LOWI) for gscans (location scans).
So, grant it gps group permission.

Denials:
03-03 16:56:03.845   623  6924 I QCALOG  : [MessageQ_Client] connecting
to server [/data/misc/location/mq/location-mq-s]
03-03 16:56:03.845   623  6924 E QCALOG  : [MessageQ_Client] connect
error: 13, [Permission denied]

Bug: 35959128
Test: Denials no longer seen.
Change-Id: Iddfddb46a585c7c15a26b1fa01889181e4a3cce1

7 years agoAdd Test cases to Nfc VTS
Ruchi Kandoi [Thu, 26 Jan 2017 01:08:35 +0000 (17:08 -0800)]
Add Test cases to Nfc VTS

- Call close() after close()
- Call open() after open()
- Call powerCycle() after close()
- Call preDiscover() after close()
- Call controlGranted() after close()
- Call coreInitialized() with different data

Test: VTS test passes
Bug: 32024301
Change-Id: I7cd986887ccbf2774d5eace9c975a9a55ee46364
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agoMerge "Removed the deprecated screen state API"
Jack Yu [Tue, 7 Mar 2017 00:30:11 +0000 (00:30 +0000)]
Merge "Removed the deprecated screen state API"

7 years agoMerge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
Hridya Valsaraju [Mon, 6 Mar 2017 21:21:17 +0000 (21:21 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""

7 years agoMerge "[AWARE] VTS baseline"
Etan Cohen [Mon, 6 Mar 2017 16:46:59 +0000 (16:46 +0000)]
Merge "[AWARE] VTS baseline"

7 years agoBluetooth: Watch multiple FDs with AsyncFdWatcher
Myles Watson [Thu, 2 Mar 2017 17:26:53 +0000 (09:26 -0800)]
Bluetooth: Watch multiple FDs with AsyncFdWatcher

Test: AsyncFdWatcherSocketTest.WatchTwoFileDescriptors
Change-Id: I2444515541e9be01720341c693012a580b3cb04f

7 years ago[AWARE] VTS baseline
Etan Cohen [Mon, 13 Feb 2017 21:59:07 +0000 (13:59 -0800)]
[AWARE] VTS baseline

Modified Wi-Fi test setup/tear-down to shutdown and start the
Android framework. The framework competes with the VTS to control
the HAL and so must be disabled for the duration of the test.

Added framework to support VTS testing with the Wi-Fi Aware (NAN)
interface.

Added all callback types (notifications, events) with ability to
wait for such callbacks.

Bug: 35276551
Test: gtest pass
Change-Id: I50847fccad457c2b225ba7f2e1760b4dbb4d363f

7 years agoRevert "Revert "Move android.hardware.benchmarks into android.hardware.tests""
Hridya Valsaraju [Fri, 3 Mar 2017 22:10:04 +0000 (14:10 -0800)]
Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""

Test: built and ran FMQ benchmarks

This reverts commit 8b34b1a547af33b7ae3b3a4013deb089c949a60b.

Change-Id: I7d8884b9de97980b5bdb7a4355a61b00bbd396b4

7 years agoMerge changes I5c32ab58,Ie480f9d6
Roshan Pius [Fri, 3 Mar 2017 20:46:32 +0000 (20:46 +0000)]
Merge changes I5c32ab58,Ie480f9d6

* changes:
  wifi(implementation): Clear all structs before conversion
  wifi(implementation): Use strlen for size of ssid

7 years agoMerge "Revert "Move android.hardware.benchmarks into android.hardware.tests""
Greg Hartman [Thu, 2 Mar 2017 23:40:01 +0000 (23:40 +0000)]
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests""

7 years agoRevert "Move android.hardware.benchmarks into android.hardware.tests"
Michael Rosenfeld [Thu, 2 Mar 2017 22:28:23 +0000 (22:28 +0000)]
Revert "Move android.hardware.benchmarks into android.hardware.tests"

This reverts commit c8f7d73720f783532ad0ef243b6593e97e6d5edc.

Change-Id: I957cd686468aa618014a95c0510b162956df9bf7

7 years agowifi(implementation): Clear all structs before conversion
Roshan Pius [Thu, 2 Mar 2017 15:24:41 +0000 (07:24 -0800)]
wifi(implementation): Clear all structs before conversion

Bug: 35445613
Test: Integration tests
Change-Id: I5c32ab580588f4521291ac8cb05ee42ce6e5bf31

7 years agoMerge "Move android.hardware.benchmarks into android.hardware.tests"
Treehugger Robot [Thu, 2 Mar 2017 22:11:04 +0000 (22:11 +0000)]
Merge "Move android.hardware.benchmarks into android.hardware.tests"

7 years agoRemoved the deprecated screen state API
Jack Yu [Thu, 2 Mar 2017 07:20:45 +0000 (23:20 -0800)]
Removed the deprecated screen state API

The screen state API was deprecated on O and should
not be added into the radio interace.

Test: Telephony sanity tests
bug: 32223897
Change-Id: Ieb2322113557be700aeae78346c969465e7a9dd3

7 years agowifi(implementation): Use strlen for size of ssid
Roshan Pius [Thu, 2 Mar 2017 03:31:14 +0000 (19:31 -0800)]
wifi(implementation): Use strlen for size of ssid

Looks like the legacy hal uses a null termination for indicating the
size of ssid.

While there,
Use the helper function to convert wifi band from hidl to legacy.

Bug: 35765841
Test: Integration tests pass now.
Change-Id: Ie480f9d6735a21c5ccedfc68bfde5f0d920dcdc9

7 years agoFix build warnings in radio vts.
Sanket Padawe [Wed, 1 Mar 2017 18:51:56 +0000 (10:51 -0800)]
Fix build warnings in radio vts.

Test: tested that no warnings show up.
Bug: 32022332
Change-Id: I7ecc2955c13827769733976c2498d8f8484284ea

7 years agoMerge "Cell location information in registration info"
Sooraj Sasindran [Wed, 1 Mar 2017 18:06:17 +0000 (18:06 +0000)]
Merge "Cell location information in registration info"

7 years agoMerge "VTS for icc radio hal Apis (patch 2)."
Sanket Padawe [Wed, 1 Mar 2017 17:54:49 +0000 (17:54 +0000)]
Merge "VTS for icc radio hal Apis (patch 2)."

7 years agoCell location information in registration info
Sooraj Sasindran [Tue, 7 Feb 2017 23:41:26 +0000 (15:41 -0800)]
Cell location information in registration info

The data registration and voice registration states contain
large swaths of location information. While it seemed at first
blush we could remove that information, having synchronized
knowledge of when a registration has resulted in a cell change
provides valuable infomation. Cleanup registration response
using the same cell location structure that is being used
elsewhere in the interface to ensure that this method
always keeps sufficiently up-to-date information, without the
need to increasingly bloat it.

Test: Verified with updated qcril

Merged-In: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e
Change-Id: Ib00063b6c3eed04da3f413c9dc1bcdff4750140e

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 agoVTS for icc radio hal Apis (patch 2).
Sanket Padawe [Thu, 23 Feb 2017 20:31:09 +0000 (12:31 -0800)]
VTS for icc radio hal Apis (patch 2).

Test: vts
Change-Id: I24a08f82bcca5bd48c268d72c75059e614931ea0

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 agoMove android.hardware.benchmarks into android.hardware.tests
Hridya Valsaraju [Mon, 27 Feb 2017 23:11:05 +0000 (15:11 -0800)]
Move android.hardware.benchmarks into android.hardware.tests

Test: Ran FMQ benchmarks.

Bug: 35015612
Change-Id: Ic25e51051779b296ada5f02bc0c3258bff507ca3

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