Sanket Padawe
89f6259553
Merge "Add VTS for voice telephony apis."
...
am: 6b8077be1b
Change-Id: I40bcd56f02fe1c0a7641aec82065a518665473b1
2017-03-09 21:49:04 +00:00
Sanket Padawe
6b8077be1b
Merge "Add VTS for voice telephony apis."
2017-03-09 21:35:06 +00:00
Myles Watson
d222c44873
Bluetooth: Protect callbacks during shutdown
...
am: 9ef1f71982
Change-Id: I12d75f2262ed199e42fa014d5c6c5f0270de2e18
2017-03-09 20:34:16 +00:00
Myles Watson
9ef1f71982
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
2017-03-09 12:12:45 -08:00
Sanket Padawe
fe7c7a3a69
Add VTS for voice telephony apis.
...
Bug: 32022332
Test: vts
Change-Id: I94f86f48d0c227f00c84051d14e6116d0bf2d1b3
2017-03-09 12:01:17 -08:00
Steven Moreland
7c9f5c35d8
Add hidl_default and make modules use hidl_default.
...
am: 691a455b9f
Change-Id: Icf44e98abe3893bb624614e7c4e51bd6835160a6
2017-03-09 02:04:18 +00:00
Steven Moreland
1035d17739
IBaz: remove unused function
...
am: dc611e5df9
Change-Id: I1c5bd774f9510b68f575de2d4151c1bd138805ce
2017-03-09 02:04:16 +00:00
Steven Moreland
92cdf32602
renderscript: fix unused variable warning
...
am: 96d2e3e9df
Change-Id: Iae4c8be1c4cb9c51942f83ebf8e422768041fb61
2017-03-09 02:04:14 +00:00
Steven Moreland
90ad6f6c74
Ir test: remove warnings
...
am: c8942d898b
Change-Id: If05ab50ee59807ac17792f738bb5a59e214c6fbd
2017-03-09 02:04:12 +00:00
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
691a455b9f
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
2017-03-08 16:22:00 -08:00
Steven Moreland
dc611e5df9
IBaz: remove unused function
...
Test: pass
Change-Id: I5bc806b4780cfadd9f0c35df60c43203c90d7244
2017-03-08 16:22:00 -08:00
Steven Moreland
96d2e3e9df
renderscript: fix unused variable warning
...
Test: pass
Change-Id: I1f87c4430a908a41f7fd117de0d669420d508a69
2017-03-08 16:22:00 -08:00
Steven Moreland
c8942d898b
Ir test: remove warnings
...
Test: pass
Change-Id: If13d93872f0a6eae8914371f78a568f798fd5f93
2017-03-08 16:22:00 -08: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