Commit graph

1777 commits

Author SHA1 Message Date
Roshan Pius
b8af857a0c Merge "supplicant(interface): Add support for get/set raw psk" am: 4da1a8bf52
am: cb5c9a51a8

Change-Id: I99a42be43b2a70108064275ef2248ad076dc3e79
2017-03-08 21:32:32 +00:00
Roshan Pius
cb5c9a51a8 Merge "supplicant(interface): Add support for get/set raw psk"
am: 4da1a8bf52

Change-Id: I6cb5cbaa3555f91a2ea977fc65610410b79c9985
2017-03-08 21:30:11 +00:00
Roshan Pius
4da1a8bf52 Merge "supplicant(interface): Add support for get/set raw psk" 2017-03-08 21:25:01 +00:00
Etan Cohen
5b804210ae [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
2017-03-08 11:44:01 -08:00
Zach Johnson
4e504164c1 Merge "Bring multi-channel transport into the glorious new age" am: a15a9bbadf
am: 2296cfbe55

Change-Id: I1bbce71248b4005433b5cc7351bc8fbce426325e
2017-03-08 17:58:06 +00:00
Zach Johnson
2296cfbe55 Merge "Bring multi-channel transport into the glorious new age"
am: a15a9bbadf

Change-Id: Iec27272215b8e11041c221ad9d338e8011052ae3
2017-03-08 17:55:38 +00:00
Treehugger Robot
a15a9bbadf Merge "Bring multi-channel transport into the glorious new age" 2017-03-08 17:49:42 +00:00
Roshan Pius
cbafd53fbc supplicant(interface): Add support for get/set raw psk
Bug: 36013886
Test: Compiles
Change-Id: I2e90e3f6533d2271144404a3de3b19854b001c2f
2017-03-08 08:04:30 -08:00
Roshan Pius
b7cffe3266 Merge "wifi: Fetch the gscan bucket idx from request" am: f297caedd7
am: 3f08d19f90

Change-Id: I01abda5debed55f8e980578b7a36f8a402627ee3
2017-03-08 02:57:50 +00:00
Roshan Pius
f75584ca66 supplicant(interface): Add timedOut param in assoc reject am: 7bf6dc8193
am: 91c12e3ce6

Change-Id: I42cf5f23e423d90e396cbb6032e13ec862657c7d
2017-03-08 02:57:14 +00:00
Roshan Pius
3f08d19f90 Merge "wifi: Fetch the gscan bucket idx from request"
am: f297caedd7

Change-Id: I3255643eec01d0a6283b247fef5cf934aa0f2d6f
2017-03-08 02:55:48 +00:00
Roshan Pius
91c12e3ce6 supplicant(interface): Add timedOut param in assoc reject
am: 7bf6dc8193

Change-Id: Id3baec3ea5a222d67f06d5e51a5d45ac8d26a2c3
2017-03-08 02:55:14 +00:00
Treehugger Robot
f297caedd7 Merge "wifi: Fetch the gscan bucket idx from request" 2017-03-08 02:53:31 +00:00
Roshan Pius
7bf6dc8193 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
2017-03-08 01:22:23 +00:00
Roshan Pius
4cf4059cd9 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
2017-03-08 01:21:10 +00:00
Roshan Pius
547d5082cd Merge "wifi(implementation): Clear the chip immediately on IWifi.stop()" am: 09258a2afb
am: dc74684b36

Change-Id: Ib234d4f0e8b2ec1c15286878cdc173367b64b520
2017-03-08 00:46:58 +00:00
Roshan Pius
dc74684b36 Merge "wifi(implementation): Clear the chip immediately on IWifi.stop()"
am: 09258a2afb

Change-Id: I992e5519459b274bc0666ee2776b4ba3b5767afe
2017-03-08 00:42:27 +00:00
Roshan Pius
09258a2afb Merge "wifi(implementation): Clear the chip immediately on IWifi.stop()" 2017-03-08 00:33:44 +00:00
Hridya Valsaraju
56fbe8aef2 Merge "Move FMQ tests to hardware/interfaces" am: 96b3cce92c
am: 35b5786cd7

Change-Id: Ic58fe49fb0ebe482f591174d8594ab9956e0b2f6
2017-03-08 00:09:56 +00:00
Hridya Valsaraju
35b5786cd7 Merge "Move FMQ tests to hardware/interfaces"
am: 96b3cce92c

Change-Id: I951fc763614f1f39a622c864d1a999c4a584fced
2017-03-08 00:07:25 +00:00
Treehugger Robot
96b3cce92c Merge "Move FMQ tests to hardware/interfaces" 2017-03-08 00:01:29 +00:00
Roshan Pius
f12f1ee288 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
2017-03-07 23:24:16 +00:00
Zach Johnson
917efb1c0e 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
2017-03-07 22:16:24 +00:00
Shuoq
064ee51e07 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
2017-03-07 19:24:23 +00:00
Myles Watson
23a50f3906 Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" am: 1143a3fec6
am: 14d63bfc76

Change-Id: I992a89661832064ec1ec3a8128acc3c51421ba79
2017-03-07 17:39:06 +00:00
Roshan Pius
e2c6bb4207 Merge "wifi(implementation): Allow wifi hal to access gps" am: fd3f9ea031
am: d1d0f1c24e

Change-Id: Ic6b54a979fac2c64cbefe39cdb2d1034c2454e5f
2017-03-07 17:35:58 +00:00
Myles Watson
14d63bfc76 Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher"
am: 1143a3fec6

Change-Id: Ib0f1a7f2a87eb82896d69501b5c33bbddebdf154
2017-03-07 17:32:23 +00:00
Treehugger Robot
1143a3fec6 Merge "Bluetooth: Watch multiple FDs with AsyncFdWatcher" 2017-03-07 17:30:03 +00:00
Roshan Pius
d1d0f1c24e Merge "wifi(implementation): Allow wifi hal to access gps"
am: fd3f9ea031

Change-Id: Ia776e9d3af9158f2ffd6d1d285d56a12a7ee909b
2017-03-07 17:29:18 +00:00
Roshan Pius
fd3f9ea031 Merge "wifi(implementation): Allow wifi hal to access gps" 2017-03-07 17:24:32 +00:00
Ruchi Kandoi
4b0901e29b Merge "Add Test cases to Nfc VTS" am: eed21780a1
am: 8c3a44084c

Change-Id: I6a7eae8ecdcc9e67f563b2674c39124f423af4ca
2017-03-07 17:11:58 +00:00
Ruchi Kandoi
8c3a44084c Merge "Add Test cases to Nfc VTS"
am: eed21780a1

Change-Id: I6d42d2e5fc0691469f561b26444798d84e243042
2017-03-07 17:09:58 +00:00
Ruchi Kandoi
eed21780a1 Merge "Add Test cases to Nfc VTS" 2017-03-07 17:05:39 +00:00
Hridya Valsaraju
8a7086296c Move FMQ tests to hardware/interfaces
Test: FMQ unit tests pass
Bug: 32284445

Change-Id: I1daf563560d12fc7a4433ae98876331c37509980
2017-03-07 09:02:23 -08:00
Jack Yu
1fd613fedb Merge "Removed the deprecated screen state API" am: c438414190
am: 243047c574

Change-Id: If29c615413ae327bd5423c0b97fd4873e04881d7
2017-03-07 02:45:50 +00:00
Jack Yu
243047c574 Merge "Removed the deprecated screen state API"
am: c438414190

Change-Id: Idde6a83cd75012b96e911b01d1993a3b6ca73973
2017-03-07 02:43:33 +00:00
Roshan Pius
814b765a09 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
2017-03-06 17:18:48 -08:00
Ruchi Kandoi
3d7c5f974c 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>
2017-03-06 17:03:08 -08:00
Jack Yu
c438414190 Merge "Removed the deprecated screen state API" 2017-03-07 00:30:11 +00:00
Hridya Valsaraju
da8bf19fe4 Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" am: 38f2a8495f
am: ca72971fea

Change-Id: I539fd6adbae57a17c33b7503ca34f8d2e67178b5
2017-03-07 00:24:04 +00:00
Hridya Valsaraju
ca72971fea Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests"""
am: 38f2a8495f

Change-Id: I85c6f7b8494d70c30ccdc222760e45964230c347
2017-03-07 00:22:04 +00:00
Hridya Valsaraju
38f2a8495f Merge "Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""" 2017-03-06 21:21:17 +00:00
Etan Cohen
0bd07635e4 Merge "[AWARE] VTS baseline" am: 89145d5849
am: 8d875546a3

Change-Id: Ib0629ffee37feb9ed1311a7bcdf31b57a5912791
2017-03-06 16:54:23 +00:00
Etan Cohen
8d875546a3 Merge "[AWARE] VTS baseline"
am: 89145d5849

Change-Id: If4b0b17e1c5867835ec412f7e063f45c52bc4e97
2017-03-06 16:50:56 +00:00
Etan Cohen
89145d5849 Merge "[AWARE] VTS baseline" 2017-03-06 16:46:59 +00:00
Myles Watson
f3a3cb7a60 Bluetooth: Watch multiple FDs with AsyncFdWatcher
Test: AsyncFdWatcherSocketTest.WatchTwoFileDescriptors
Change-Id: I2444515541e9be01720341c693012a580b3cb04f
2017-03-04 00:40:14 +00:00
Etan Cohen
80054133dc [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
2017-03-03 15:30:47 -08:00
Hridya Valsaraju
0047809804 Revert "Revert "Move android.hardware.benchmarks into android.hardware.tests""
Test: built and ran FMQ benchmarks

This reverts commit 8b34b1a547.

Change-Id: I7d8884b9de97980b5bdb7a4355a61b00bbd396b4
2017-03-03 14:10:29 -08:00
Roshan Pius
2567e401e6 Merge changes I5c32ab58,Ie480f9d6 am: 5a0706d429
am: 857fb76af1

Change-Id: Ie8acf90170a48239ab7e21175606f6091199db4a
2017-03-03 20:52:34 +00:00
Roshan Pius
857fb76af1 Merge changes I5c32ab58,Ie480f9d6
am: 5a0706d429

Change-Id: I6834ea8dd31f12934abf71d406a4f1eb7c460dae
2017-03-03 20:49:37 +00:00