OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoBluetooth: Protect callbacks during shutdown am: 9ef1f71982
Myles Watson [Thu, 9 Mar 2017 20:36:46 +0000 (20:36 +0000)]
Bluetooth: Protect callbacks during shutdown am: 9ef1f71982
am: d222c44873

Change-Id: I1516a786e6c9a561f419f9dceadb5a21f75f840f

7 years agoBluetooth: Protect callbacks during shutdown
Myles Watson [Thu, 9 Mar 2017 20:34:16 +0000 (20:34 +0000)]
Bluetooth: Protect callbacks during shutdown
am: 9ef1f71982

Change-Id: I12d75f2262ed199e42fa014d5c6c5f0270de2e18

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 hidl_default and make modules use hidl_default. am: 691a455b9f
Steven Moreland [Thu, 9 Mar 2017 02:06:50 +0000 (02:06 +0000)]
Add hidl_default and make modules use hidl_default. am: 691a455b9f
am: 7c9f5c35d8

Change-Id: I8398871171d2480875c1009a13a2f40df7b5f309

7 years agoIBaz: remove unused function am: dc611e5df9
Steven Moreland [Thu, 9 Mar 2017 02:06:48 +0000 (02:06 +0000)]
IBaz: remove unused function am: dc611e5df9
am: 1035d17739

Change-Id: I7fabbeda5c3e2236d8e661a64466324755740e86

7 years agorenderscript: fix unused variable warning am: 96d2e3e9df
Steven Moreland [Thu, 9 Mar 2017 02:06:45 +0000 (02:06 +0000)]
renderscript: fix unused variable warning am: 96d2e3e9df
am: 92cdf32602

Change-Id: I3938de6f466652b260b7db3fd3dd527ab89e3514

7 years agoIr test: remove warnings am: c8942d898b
Steven Moreland [Thu, 9 Mar 2017 02:06:43 +0000 (02:06 +0000)]
Ir test: remove warnings am: c8942d898b
am: 90ad6f6c74

Change-Id: I8960cc81d305686b75cd94e5b3a3961712a24194

7 years agobluetooth: remove warnings am: 90fc274838
Steven Moreland [Thu, 9 Mar 2017 02:06:40 +0000 (02:06 +0000)]
bluetooth: remove warnings am: 90fc274838
am: f5368cd58c

Change-Id: I5453112982dc9a16091b51b8c5d8a59483e769d9

7 years agoupdate-makefiles.sh: wifi am: 853a9b5feb
Steven Moreland [Thu, 9 Mar 2017 02:06:38 +0000 (02:06 +0000)]
update-makefiles.sh: wifi am: 853a9b5feb
am: 3b2e8921a0

Change-Id: Ide04126c9d884a25f82daebba94bf18cdf0d8198

7 years agoAdd hidl_default and make modules use hidl_default.
Steven Moreland [Thu, 9 Mar 2017 02:04:18 +0000 (02:04 +0000)]
Add hidl_default and make modules use hidl_default.
am: 691a455b9f

Change-Id: Icf44e98abe3893bb624614e7c4e51bd6835160a6

7 years agoIBaz: remove unused function
Steven Moreland [Thu, 9 Mar 2017 02:04:16 +0000 (02:04 +0000)]
IBaz: remove unused function
am: dc611e5df9

Change-Id: I1c5bd774f9510b68f575de2d4151c1bd138805ce

7 years agorenderscript: fix unused variable warning
Steven Moreland [Thu, 9 Mar 2017 02:04:14 +0000 (02:04 +0000)]
renderscript: fix unused variable warning
am: 96d2e3e9df

Change-Id: Iae4c8be1c4cb9c51942f83ebf8e422768041fb61

7 years agoIr test: remove warnings
Steven Moreland [Thu, 9 Mar 2017 02:04:12 +0000 (02:04 +0000)]
Ir test: remove warnings
am: c8942d898b

Change-Id: If05ab50ee59807ac17792f738bb5a59e214c6fbd

7 years agobluetooth: remove warnings
Steven Moreland [Thu, 9 Mar 2017 02:04:10 +0000 (02:04 +0000)]
bluetooth: remove warnings
am: 90fc274838

Change-Id: Ia9ddb703658dc9da438b6b5bc94c97c1f932e0ec

7 years agoupdate-makefiles.sh: wifi
Steven Moreland [Thu, 9 Mar 2017 02:04:07 +0000 (02:04 +0000)]
update-makefiles.sh: wifi
am: 853a9b5feb

Change-Id: Ic9def045892473ed9d265559d8341485eb8a10d9

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:09:21 +0000 (22:09 +0000)]
Merge "Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis" am: bcfabe7cb4
am: e8b7bbd3cb

Change-Id: Ic3abf510134375c50379fdd2b31e103f4f436c6a

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

Change-Id: I0d9c20fcc193c4551b0e56f3d0f0e73eaf58012a

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" am: 4da1a8bf52
Roshan Pius [Wed, 8 Mar 2017 21:32:32 +0000 (21:32 +0000)]
Merge "supplicant(interface): Add support for get/set raw psk" am: 4da1a8bf52
am: cb5c9a51a8

Change-Id: I99a42be43b2a70108064275ef2248ad076dc3e79

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

Change-Id: I6cb5cbaa3555f91a2ea977fc65610410b79c9985

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 agoMerge "Bring multi-channel transport into the glorious new age" am: a15a9bbadf
Zach Johnson [Wed, 8 Mar 2017 17:58:06 +0000 (17:58 +0000)]
Merge "Bring multi-channel transport into the glorious new age" am: a15a9bbadf
am: 2296cfbe55

Change-Id: I1bbce71248b4005433b5cc7351bc8fbce426325e

7 years agoMerge "Bring multi-channel transport into the glorious new age"
Zach Johnson [Wed, 8 Mar 2017 17:55:38 +0000 (17:55 +0000)]
Merge "Bring multi-channel transport into the glorious new age"
am: a15a9bbadf

Change-Id: Iec27272215b8e11041c221ad9d338e8011052ae3

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" am: f297caedd7
Roshan Pius [Wed, 8 Mar 2017 02:57:50 +0000 (02:57 +0000)]
Merge "wifi: Fetch the gscan bucket idx from request" am: f297caedd7
am: 3f08d19f90

Change-Id: I01abda5debed55f8e980578b7a36f8a402627ee3

7 years agosupplicant(interface): Add timedOut param in assoc reject am: 7bf6dc8193
Roshan Pius [Wed, 8 Mar 2017 02:57:14 +0000 (02:57 +0000)]
supplicant(interface): Add timedOut param in assoc reject am: 7bf6dc8193
am: 91c12e3ce6

Change-Id: I42cf5f23e423d90e396cbb6032e13ec862657c7d

7 years agoMerge "wifi: Fetch the gscan bucket idx from request"
Roshan Pius [Wed, 8 Mar 2017 02:55:48 +0000 (02:55 +0000)]
Merge "wifi: Fetch the gscan bucket idx from request"
am: f297caedd7

Change-Id: I3255643eec01d0a6283b247fef5cf934aa0f2d6f

7 years agosupplicant(interface): Add timedOut param in assoc reject
Roshan Pius [Wed, 8 Mar 2017 02:55:14 +0000 (02:55 +0000)]
supplicant(interface): Add timedOut param in assoc reject
am: 7bf6dc8193

Change-Id: Id3baec3ea5a222d67f06d5e51a5d45ac8d26a2c3

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()" am: 09258a2afb
Roshan Pius [Wed, 8 Mar 2017 00:46:58 +0000 (00:46 +0000)]
Merge "wifi(implementation): Clear the chip immediately on IWifi.stop()" am: 09258a2afb
am: dc74684b36

Change-Id: Ib234d4f0e8b2ec1c15286878cdc173367b64b520

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

Change-Id: I992e5519459b274bc0666ee2776b4ba3b5767afe

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" am: 96b3cce92c
Hridya Valsaraju [Wed, 8 Mar 2017 00:09:56 +0000 (00:09 +0000)]
Merge "Move FMQ tests to hardware/interfaces" am: 96b3cce92c
am: 35b5786cd7

Change-Id: Ic58fe49fb0ebe482f591174d8594ab9956e0b2f6

7 years agoMerge "Move FMQ tests to hardware/interfaces"
Hridya Valsaraju [Wed, 8 Mar 2017 00:07:25 +0000 (00:07 +0000)]
Merge "Move FMQ tests to hardware/interfaces"
am: 96b3cce92c

Change-Id: I951fc763614f1f39a622c864d1a999c4a584fced

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" am: 1143a3fec6
Myles Watson [Tue, 7 Mar 2017 17:39:06 +0000 (17:39 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am: 1143a3fec6
am: 14d63bfc76

Change-Id: I992a89661832064ec1ec3a8128acc3c51421ba79

7 years agoMerge "wifi(implementation): Allow wifi hal to access gps" am: fd3f9ea031
Roshan Pius [Tue, 7 Mar 2017 17:35:58 +0000 (17:35 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps" am: fd3f9ea031
am: d1d0f1c24e

Change-Id: Ic6b54a979fac2c64cbefe39cdb2d1034c2454e5f

7 years agoMerge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
Myles Watson [Tue, 7 Mar 2017 17:32:23 +0000 (17:32 +0000)]
Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
am: 1143a3fec6

Change-Id: Ib0f1a7f2a87eb82896d69501b5c33bbddebdf154

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:29:18 +0000 (17:29 +0000)]
Merge "wifi(implementation): Allow wifi hal to access gps"
am: fd3f9ea031

Change-Id: Ia776e9d3af9158f2ffd6d1d285d56a12a7ee909b

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" am: eed21780a1
Ruchi Kandoi [Tue, 7 Mar 2017 17:11:58 +0000 (17:11 +0000)]
Merge "Add Test cases to Nfc VTS" am: eed21780a1
am: 8c3a44084c

Change-Id: I6a7eae8ecdcc9e67f563b2674c39124f423af4ca

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

Change-Id: I6d42d2e5fc0691469f561b26444798d84e243042

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 agoMerge "Removed the deprecated screen state API" am: c438414190
Jack Yu [Tue, 7 Mar 2017 02:45:50 +0000 (02:45 +0000)]
Merge "Removed the deprecated screen state API" am: c438414190
am: 243047c574

Change-Id: If29c615413ae327bd5423c0b97fd4873e04881d7

7 years agoMerge "Removed the deprecated screen state API"
Jack Yu [Tue, 7 Mar 2017 02:43:33 +0000 (02:43 +0000)]
Merge "Removed the deprecated screen state API"
am: c438414190

Change-Id: Idde6a83cd75012b96e911b01d1993a3b6ca73973

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 [Tue, 7 Mar 2017 00:24:04 +0000 (00:24 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" am: 38f2a8495f
am: ca72971fea

Change-Id: I539fd6adbae57a17c33b7503ca34f8d2e67178b5

7 years agoMerge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
Hridya Valsaraju [Tue, 7 Mar 2017 00:22:04 +0000 (00:22 +0000)]
Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
am: 38f2a8495f

Change-Id: I85c6f7b8494d70c30ccdc222760e45964230c347

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" am: 89145d5849
Etan Cohen [Mon, 6 Mar 2017 16:54:23 +0000 (16:54 +0000)]
Merge "[AWARE] VTS baseline" am: 89145d5849
am: 8d875546a3

Change-Id: Ib0629ffee37feb9ed1311a7bcdf31b57a5912791

7 years agoMerge "[AWARE] VTS baseline"
Etan Cohen [Mon, 6 Mar 2017 16:50:56 +0000 (16:50 +0000)]
Merge "[AWARE] VTS baseline"
am: 89145d5849

Change-Id: If4b0b17e1c5867835ec412f7e063f45c52bc4e97

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 am: 5a0706d429
Roshan Pius [Fri, 3 Mar 2017 20:52:34 +0000 (20:52 +0000)]
Merge changes I5c32ab58,Ie480f9d6 am: 5a0706d429
am: 857fb76af1

Change-Id: Ie8acf90170a48239ab7e21175606f6091199db4a

7 years agoMerge changes I5c32ab58,Ie480f9d6
Roshan Pius [Fri, 3 Mar 2017 20:49:37 +0000 (20:49 +0000)]
Merge changes I5c32ab58,Ie480f9d6
am: 5a0706d429

Change-Id: I6834ea8dd31f12934abf71d406a4f1eb7c460dae

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"" am...
Greg Hartman [Thu, 2 Mar 2017 23:44:52 +0000 (23:44 +0000)]
Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" am: b59f873ab9
am: 19de6f7815

Change-Id: I1cc467152a0308b877a261a89480eef6e09e38cf

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

Change-Id: I7ec22003c490258a4e6d713174310e45d9576f9a

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" am: 533ab025d0
Hridya Valsaraju [Thu, 2 Mar 2017 22:20:55 +0000 (22:20 +0000)]
Merge "Move android.hardware.benchmarks into android.hardware.tests" am: 533ab025d0
am: 36ec5ebe3a

Change-Id: I1694e4bf70d0886322be38d2757c2af62d9d6dcb

7 years agoMerge "Move android.hardware.benchmarks into android.hardware.tests"
Hridya Valsaraju [Thu, 2 Mar 2017 22:15:47 +0000 (22:15 +0000)]
Merge "Move android.hardware.benchmarks into android.hardware.tests"
am: 533ab025d0

Change-Id: If5750f2e0319f2abbf74a6629a3f2090cb36daab

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. am: 77c3822d6d
Sanket Padawe [Wed, 1 Mar 2017 21:11:21 +0000 (21:11 +0000)]
Fix build warnings in radio vts. am: 77c3822d6d
am: f681d777e8

Change-Id: I0a1c0708259fd31195d396e9d22f5d5bd0db43b1

7 years agoFix build warnings in radio vts.
Sanket Padawe [Wed, 1 Mar 2017 21:07:48 +0000 (21:07 +0000)]
Fix build warnings in radio vts.
am: 77c3822d6d

Change-Id: I1253f6ceb8bb14de9048cee915284683c9054d7f

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" am: 51ec76ab14
Sooraj Sasindran [Wed, 1 Mar 2017 18:10:49 +0000 (18:10 +0000)]
Merge "Cell location information in registration info" am: 51ec76ab14
am: 8bc5787e99

Change-Id: I59fdb056c43c36a8a52753f9293603576d56c343

7 years agoMerge "Cell location information in registration info"
Sooraj Sasindran [Wed, 1 Mar 2017 18:08:25 +0000 (18:08 +0000)]
Merge "Cell location information in registration info"
am: 51ec76ab14

Change-Id: Ie0492e6600b89cf6b4067e3544e7f06f64e236fc

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)." am: 8d91af1096
Sanket Padawe [Wed, 1 Mar 2017 18:06:02 +0000 (18:06 +0000)]
Merge "VTS for icc radio hal Apis (patch 2)." am: 8d91af1096
am: 5b6e1c5bec

Change-Id: Ic642f8c962a40d16b157745073bc81928f248d1c

7 years agoMerge "VTS for icc radio hal Apis (patch 2)."
Sanket Padawe [Wed, 1 Mar 2017 18:04:04 +0000 (18:04 +0000)]
Merge "VTS for icc radio hal Apis (patch 2)."
am: 8d91af1096

Change-Id: Ie36b5708dadc6f81628fad15351c747a90e066c1

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" am: 8e779c50e3
Jack Yu [Wed, 1 Mar 2017 04:27:56 +0000 (04:27 +0000)]
Merge "Fixed that type of data call response status" am: 8e779c50e3
am: 81fc3ccc4d

Change-Id: Ide135b2bede06f2798d0a7fcbc923e3f6a37b30a

7 years agoMerge "Fixed that type of data call response status"
Jack Yu [Wed, 1 Mar 2017 04:25:31 +0000 (04:25 +0000)]
Merge "Fixed that type of data call response status"
am: 8e779c50e3

Change-Id: Id38a866b13256b86d49b8a7cb0b9871cd9282d51

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 am: 8c0c8e9aa0
Roshan Pius [Wed, 1 Mar 2017 01:23:47 +0000 (01:23 +0000)]
wifi: Few minor interface changes am: 8c0c8e9aa0
am: 90cc1c0869

Change-Id: I03875194e322c6d068e31e1ed82a526c33aca48f

7 years agowifi: Few minor interface changes
Roshan Pius [Wed, 1 Mar 2017 01:21:48 +0000 (01:21 +0000)]
wifi: Few minor interface changes
am: 8c0c8e9aa0

Change-Id: Ib7fe78f075202f6206204210f31f24e82322b268