Commit graph

1777 commits

Author SHA1 Message Date
Etan Cohen
733015b56e Merge "[WIFI][HIDL] Add device-based feature flag support" am: 48b4ce2e99
am: d15376f05c

Change-Id: If13d2a7e8993d93f23082fcd4ccf2732aaacba6f
2017-03-11 19:08:08 +00:00
Etan Cohen
d15376f05c Merge "[WIFI][HIDL] Add device-based feature flag support"
am: 48b4ce2e99

Change-Id: I74d285740511b9e8604a9bac5bcc8ab54688c0d8
2017-03-11 19:04:09 +00:00
Etan Cohen
48b4ce2e99 Merge "[WIFI][HIDL] Add device-based feature flag support" 2017-03-11 18:57:41 +00:00
Roshan Pius
53c158606b wifi(implementation): Add null checks for RTT result am: 78cfef9f0c
am: 841ba1b367

Change-Id: Id2ce5421a1d4ae08fbedb6983477c80542e90001
2017-03-11 07:00:59 +00:00
Roshan Pius
841ba1b367 wifi(implementation): Add null checks for RTT result
am: 78cfef9f0c

Change-Id: I9a58ca156d3e2f61fda8346d39b8de355302690f
2017-03-11 06:56:59 +00:00
Roshan Pius
78cfef9f0c 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
2017-03-11 05:41:59 +00:00
Yuexi Ma
649a2c13d7 Merge "Change vts target base test class name" am: 4f4fdaf664
am: a8239094f4

Change-Id: If6245264c41f92dc6f89a0bfd6001db07e211de4
2017-03-10 21:07:23 +00:00
Yuexi Ma
a8239094f4 Merge "Change vts target base test class name"
am: 4f4fdaf664

Change-Id: Id82295a163c4abbd0b9fc1ac8fde12ebd9a43030
2017-03-10 21:03:52 +00:00
Yuexi Ma
4f4fdaf664 Merge "Change vts target base test class name" 2017-03-10 20:58:04 +00:00
Myles Watson
0eb1c4a753 Bluetooth: Power off after closing the UART am: 66a4ca3c92
am: a62b176c5c

Change-Id: I18c58eb31b35b8f589134541babff80194232bbe
2017-03-10 19:17:14 +00:00
Myles Watson
a62b176c5c Bluetooth: Power off after closing the UART
am: 66a4ca3c92

Change-Id: Iccea3216281ddb5e6ccd608d9743c49dca21293a
2017-03-10 19:12:43 +00:00
Etan Cohen
c57004008a [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
2017-03-10 10:07:16 -08:00
Myles Watson
66a4ca3c92 Bluetooth: Power off after closing the UART
Bug: 36084266
Test: angler & marlin switch users (Toggle Bluetooth under load)
Change-Id: I1e0c34e334d11b9dcf9df62cbde3d5556c537bd7
2017-03-10 09:27:23 -08:00
Yuexi Ma
6b8720110b Change vts target base test class name
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I38ae6cc940d0f17bb3352f360efdf9c70697c76b
2017-03-10 00:42:13 -08:00
Roshan Pius
b005b3ae2d Merge changes If83c1cbe,I12ad2665 am: cdca05557d
am: 3b815eee2a

Change-Id: I3fe19d41a610b80fcb28e0db4f1264770b1659f3
2017-03-10 01:23:30 +00:00
Roshan Pius
3b815eee2a Merge changes If83c1cbe,I12ad2665
am: cdca05557d

Change-Id: Ifc3dbe11f88ceb83d77f0334894f739bbc64e1c9
2017-03-10 01:21:09 +00:00
Roshan Pius
cdca05557d Merge changes If83c1cbe,I12ad2665
* changes:
  wifi(implementation): Move out clearing on stop complete
  wifi(vts): Some IWifiChip/IWifiStaIface tests
2017-03-10 01:16:48 +00:00
Roshan Pius
46b6454d2f 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
2017-03-09 23:22:09 +00:00
Etan Cohen
17ea7d9060 Merge "[AWARE] Relocate ranging field in legacy HAL - match in HIDL impl" am: 255cdb29a0
am: 556b385fa4

Change-Id: I2aed12f7984f14a01fef071c23282153931680aa
2017-03-09 23:21:29 +00:00
Etan Cohen
556b385fa4 Merge "[AWARE] Relocate ranging field in legacy HAL - match in HIDL impl"
am: 255cdb29a0

Change-Id: I2221282979fdf9b93495650fb82a0b8bfc9d4146
2017-03-09 23:18:28 +00:00
Etan Cohen
255cdb29a0 Merge "[AWARE] Relocate ranging field in legacy HAL - match in HIDL impl" 2017-03-09 23:13:29 +00:00
Sanket Padawe
452a9dff53 Merge "Add VTS for voice telephony apis." am: 6b8077be1b
am: 89f6259553

Change-Id: I5f7611d361abe225a5141639c7527da1a55e9bf4
2017-03-09 21:54:46 +00:00
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
a6a12995e5 Bluetooth: Protect callbacks during shutdown am: 9ef1f71982
am: d222c44873

Change-Id: I1516a786e6c9a561f419f9dceadb5a21f75f840f
2017-03-09 20:36:46 +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
Roshan Pius
3819e4193e 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
2017-03-09 09:33:55 -08:00
Steven Moreland
a6de4ca892 Add hidl_default and make modules use hidl_default. am: 691a455b9f
am: 7c9f5c35d8

Change-Id: I8398871171d2480875c1009a13a2f40df7b5f309
2017-03-09 02:06:50 +00:00
Steven Moreland
43fa10b2e6 IBaz: remove unused function am: dc611e5df9
am: 1035d17739

Change-Id: I7fabbeda5c3e2236d8e661a64466324755740e86
2017-03-09 02:06:48 +00:00
Steven Moreland
834960b5b6 renderscript: fix unused variable warning am: 96d2e3e9df
am: 92cdf32602

Change-Id: I3938de6f466652b260b7db3fd3dd527ab89e3514
2017-03-09 02:06:45 +00:00
Steven Moreland
f3571b800a Ir test: remove warnings am: c8942d898b
am: 90ad6f6c74

Change-Id: I8960cc81d305686b75cd94e5b3a3961712a24194
2017-03-09 02:06:43 +00:00
Steven Moreland
b76a130f3d bluetooth: remove warnings am: 90fc274838
am: f5368cd58c

Change-Id: I5453112982dc9a16091b51b8c5d8a59483e769d9
2017-03-09 02:06:40 +00:00
Steven Moreland
d39ce5a930 update-makefiles.sh: wifi am: 853a9b5feb
am: 3b2e8921a0

Change-Id: Ide04126c9d884a25f82daebba94bf18cdf0d8198
2017-03-09 02:06:38 +00: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
6d41084d60 Merge "Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis" am: bcfabe7cb4
am: e8b7bbd3cb

Change-Id: Ic3abf510134375c50379fdd2b31e103f4f436c6a
2017-03-08 22:09:21 +00: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