Commit graph

1681 commits

Author SHA1 Message Date
Steven Moreland
f5368cd58c bluetooth: remove warnings
am: 90fc274838

Change-Id: Ia9ddb703658dc9da438b6b5bc94c97c1f932e0ec
2017-03-09 02:04:10 +00:00
Steven Moreland
3b2e8921a0 update-makefiles.sh: wifi
am: 853a9b5feb

Change-Id: Ic9def045892473ed9d265559d8341485eb8a10d9
2017-03-09 02:04:07 +00:00
Steven Moreland
90fc274838 bluetooth: remove warnings
Remove unused variables and commented out some unused APIs.

Test: pass
Change-Id: Ic191997d7db25277776417fd0069241ee01529e0
2017-03-08 16:21:35 -08:00
Steven Moreland
853a9b5feb update-makefiles.sh: wifi
Test: pass
Change-Id: If43aa789381ed43120e0a075587a89c0076c8433
2017-03-08 15:33:31 -08:00
Shuo Qian
e8b7bbd3cb Merge "Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis"
am: bcfabe7cb4

Change-Id: I0d9c20fcc193c4551b0e56f3d0f0e73eaf58012a
2017-03-08 22:06:20 +00:00
Shuo Qian
bcfabe7cb4 Merge "Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis" 2017-03-08 22:03:12 +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
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
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
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
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
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
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
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
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
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
857fb76af1 Merge changes I5c32ab58,Ie480f9d6
am: 5a0706d429

Change-Id: I6834ea8dd31f12934abf71d406a4f1eb7c460dae
2017-03-03 20:49:37 +00:00
Roshan Pius
5a0706d429 Merge changes I5c32ab58,Ie480f9d6
* changes:
  wifi(implementation): Clear all structs before conversion
  wifi(implementation): Use strlen for size of ssid
2017-03-03 20:46:33 +00:00
Greg Hartman
19de6f7815 Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests""
am: b59f873ab9

Change-Id: I7ec22003c490258a4e6d713174310e45d9576f9a
2017-03-02 23:42:53 +00:00
Greg Hartman
b59f873ab9 Merge "Revert "Move android.hardware.benchmarks into android.hardware.tests"" 2017-03-02 23:40:02 +00:00
Michael Rosenfeld
8b34b1a547 Revert "Move android.hardware.benchmarks into android.hardware.tests"
This reverts commit c8f7d73720.

Change-Id: I957cd686468aa618014a95c0510b162956df9bf7
2017-03-02 22:28:23 +00:00
Roshan Pius
590744b1c1 wifi(implementation): Clear all structs before conversion
Bug: 35445613
Test: Integration tests
Change-Id: I5c32ab580588f4521291ac8cb05ee42ce6e5bf31
2017-03-02 14:21:20 -08:00
Hridya Valsaraju
36ec5ebe3a Merge "Move android.hardware.benchmarks into android.hardware.tests"
am: 533ab025d0

Change-Id: If5750f2e0319f2abbf74a6629a3f2090cb36daab
2017-03-02 22:15:47 +00:00
Treehugger Robot
533ab025d0 Merge "Move android.hardware.benchmarks into android.hardware.tests" 2017-03-02 22:11:06 +00:00
Jack Yu
df1a8ec04e 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
2017-03-01 23:56:21 -08:00