Commit graph

283 commits

Author SHA1 Message Date
Roshan Pius
2c5b934d9f Merge changes from topic 'rename_wifi_hal' am: 73e6598317 am: 5a225ae795
am: f0f7b191b9

Change-Id: Id9b7ff5d87c9cfbdb00f5d4fa1ec5abf5772656f
2016-10-05 23:46:38 +00:00
Roshan Pius
a426a73015 wifi(interface): Rename interface to iface am: 271f2c2d9c am: e12a119446
am: ce0a353057

Change-Id: Iab7545e245b4a98b6de634d7a84bfa2dc5fa184d
2016-10-05 23:46:37 +00:00
Roshan Pius
67ee122643 wifi(interface): Add/Correct docstring params am: 6f31d92e59 am: f5e1b72fac
am: b6f186979e

Change-Id: I01df532a22090b4bf145a94d5d0430b71b85b910
2016-10-05 23:46:36 +00:00
Roshan Pius
4ddf4c89f0 wifi: Add implementation of driver/firmware memory dumps am: cdb77f3cf2 am: 7397e8b933
am: a809cf5962

Change-Id: I1ac08cfdbb4d82dc193cdf56c62e16bfe045491a
2016-10-05 23:46:34 +00:00
Roshan Pius
e265691e35 wifi: Add Implementation of IWifiChip.requestChipDebugInfo am: 4b26c832ed am: 28c1a422f2
am: de19b57f66

Change-Id: I00b91a57e6efd79c788221b12c28d0b4fac53a73
2016-10-05 23:46:33 +00:00
Roshan Pius
af3a2e5ae3 wifi: Use hal_tool & if_tool am: 908a69a53a am: 01f430f31f
am: 765f95005c

Change-Id: Ie6728a5197abad4f95ab48e46fdbfd2ad98e90b7
2016-10-05 23:46:32 +00:00
Roshan Pius
fcf91b089f wifi: Restructure wifi legacy HAL implementation am: aabe575536 am: e9301b4c57
am: 79ddd9f48b

Change-Id: I93a382c92584867f827edde2da0e15c90d329cab
2016-10-05 23:46:31 +00:00
Roshan Pius
223e4e9676 wifi: Change namespace am: 79a9975d07 am: 162f178af9
am: 578db6c82d

Change-Id: I506bdc66a86b373d521e70be01efe98275ecdca9
2016-10-05 23:46:30 +00:00
Roshan Pius
73738f504d wifi: Move legacy HAL implementation am: 3c4e8a358c am: 2e5f1858e4
am: 092f22ac3d

Change-Id: Iaae8ddbcaaa38b6b95d76acad94737e0ff9da250
2016-10-05 23:46:29 +00:00
Roshan Pius
f0f7b191b9 Merge changes from topic 'rename_wifi_hal' am: 73e6598317
am: 5a225ae795

Change-Id: Ie4550fa038c6455b007c694a7626c842ec0991bc
2016-10-05 23:43:38 +00:00
Roshan Pius
ce0a353057 wifi(interface): Rename interface to iface am: 271f2c2d9c
am: e12a119446

Change-Id: I84582766bb6a223caf09ea3caa9174bf801edcdb
2016-10-05 23:43:37 +00:00
Roshan Pius
b6f186979e wifi(interface): Add/Correct docstring params am: 6f31d92e59
am: f5e1b72fac

Change-Id: I214eb40e37891ad60be3087e93cb1f9ba2810e84
2016-10-05 23:43:36 +00:00
Roshan Pius
a809cf5962 wifi: Add implementation of driver/firmware memory dumps am: cdb77f3cf2
am: 7397e8b933

Change-Id: Iae551ba503f1222cca8c871ddf0d9a659ae539e2
2016-10-05 23:43:35 +00:00
Roshan Pius
de19b57f66 wifi: Add Implementation of IWifiChip.requestChipDebugInfo am: 4b26c832ed
am: 28c1a422f2

Change-Id: I066124216ed6c2795dbb71897cee542abecd4d68
2016-10-05 23:43:34 +00:00
Roshan Pius
765f95005c wifi: Use hal_tool & if_tool am: 908a69a53a
am: 01f430f31f

Change-Id: Ie879313418dd97a3a09c234f322d8e980ddc4200
2016-10-05 23:43:33 +00:00
Roshan Pius
79ddd9f48b wifi: Restructure wifi legacy HAL implementation am: aabe575536
am: e9301b4c57

Change-Id: I274dba8a79186f58284688ad7c5b9762d93aec0d
2016-10-05 23:43:31 +00:00
Roshan Pius
578db6c82d wifi: Change namespace am: 79a9975d07
am: 162f178af9

Change-Id: I7b6357236b1c2f06e9b4bdbc3459b0dde176d441
2016-10-05 23:43:30 +00:00
Roshan Pius
092f22ac3d wifi: Move legacy HAL implementation am: 3c4e8a358c
am: 2e5f1858e4

Change-Id: I0d1192a37b1ec7a9328cff5e73b2abd031f1f3e3
2016-10-05 23:43:29 +00:00
Roshan Pius
5a225ae795 Merge changes from topic 'rename_wifi_hal'
am: 73e6598317

Change-Id: I57f299c01135271fa6fbb16d30d3ccf62c415b33
2016-10-05 23:39:04 +00:00
Roshan Pius
e12a119446 wifi(interface): Rename interface to iface
am: 271f2c2d9c

Change-Id: I623c387824deba3e883cf68c032a897ebcac907a
2016-10-05 23:39:02 +00:00
Roshan Pius
f5e1b72fac wifi(interface): Add/Correct docstring params
am: 6f31d92e59

Change-Id: Icf70fe64c660ec05d48054fe7ac01caccef65240
2016-10-05 23:39:01 +00:00
Roshan Pius
7397e8b933 wifi: Add implementation of driver/firmware memory dumps
am: cdb77f3cf2

Change-Id: I11fb9cc47f84a49b4a836da28266089f9971768c
2016-10-05 23:39:00 +00:00
Roshan Pius
28c1a422f2 wifi: Add Implementation of IWifiChip.requestChipDebugInfo
am: 4b26c832ed

Change-Id: I9c5f107d0978ee71a415e12fbb11efa8f616ead4
2016-10-05 23:38:59 +00:00
Roshan Pius
01f430f31f wifi: Use hal_tool & if_tool
am: 908a69a53a

Change-Id: I8b5260f1f02124ba71fb52b306f29f43d1d11d96
2016-10-05 23:38:58 +00:00
Roshan Pius
e9301b4c57 wifi: Restructure wifi legacy HAL implementation
am: aabe575536

Change-Id: I1414455e7a64efbfe1556a3e0e74370d54db340f
2016-10-05 23:38:56 +00:00
Roshan Pius
162f178af9 wifi: Change namespace
am: 79a9975d07

Change-Id: I00ad528928fdb6fad22dacb7658ce9dbf5817a2b
2016-10-05 23:38:55 +00:00
Roshan Pius
2e5f1858e4 wifi: Move legacy HAL implementation
am: 3c4e8a358c

Change-Id: I9b91ce2502601d2b3181b17a31273309ddfcf27c
2016-10-05 23:38:54 +00:00
Treehugger Robot
73e6598317 Merge changes from topic 'rename_wifi_hal'
* changes:
  wifi(interface): Rename interface to iface
  wifi(interface): Add/Correct docstring params
  wifi: Add implementation of driver/firmware memory dumps
  wifi: Add Implementation of IWifiChip.requestChipDebugInfo
  wifi: Use hal_tool & if_tool
  wifi: Restructure wifi legacy HAL implementation
  wifi: Change namespace
  wifi: Move legacy HAL implementation
2016-10-05 23:35:12 +00:00
Yifan Hong
6e9668b88e Add test for vec<vec<T>> as a return value. am: 223b82a07d am: b364daa90e
am: d43170e537

Change-Id: I594ceaf8e1d7e7ace0a570b928f6218fa7c9b4d5
2016-10-05 23:01:26 +00:00
Yifan Hong
d43170e537 Add test for vec<vec<T>> as a return value. am: 223b82a07d
am: b364daa90e

Change-Id: Id2e518a2d3cc84957060465d634f3c95263879e8
2016-10-05 22:58:57 +00:00
Yifan Hong
b364daa90e Add test for vec<vec<T>> as a return value.
am: 223b82a07d

Change-Id: I95ad44aed3a42ad1d82e2f3e1b03da18012f0c6c
2016-10-05 22:51:19 +00:00
Yifan Hong
c5be5aca63 Add test for missing package name for FQName lookup.
Bug: 31705664

Test: `cd system/tools/hidl && mma`
Change-Id: If3568f1d1e77ad97ccfce5eac5938048f3852560
2016-10-05 15:50:28 -07:00
Yifan Hong
223b82a07d Add test for vec<vec<T>> as a return value.
Bug: 31955917

Test: hidl_test
Change-Id: I9ae7f9b04126261210cb4621266676727877d92f
2016-10-05 14:12:30 -07:00
Steven Moreland
c5e08ba085 Merge "Revert "Revert "nfc: update default implementation to match style.""" am: 67f700350a am: 4484643519
am: 3313147682

Change-Id: Id5fe149c05b38408318b0c57ec47b0fe9d7f01f4
2016-10-05 17:33:39 +00:00
Steven Moreland
ad04de7f13 Revert "Revert "nfc: reflect style guide."" am: 106bc9d27a am: 22fa3244c7
am: afc722acbe

Change-Id: Iba48516670b8a996d7f30d26c7903a2638bf7620
2016-10-05 17:33:38 +00:00
Steven Moreland
3313147682 Merge "Revert "Revert "nfc: update default implementation to match style.""" am: 67f700350a
am: 4484643519

Change-Id: Id4f363bfd90ce712df23a8028007d02cdd68ebbf
2016-10-05 17:30:41 +00:00
Steven Moreland
afc722acbe Revert "Revert "nfc: reflect style guide."" am: 106bc9d27a
am: 22fa3244c7

Change-Id: I5bd5967521395f9979ebe7944960bea69840b444
2016-10-05 17:30:40 +00:00
Roshan Pius
271f2c2d9c wifi(interface): Rename interface to iface
The HIDL objects are called "interface", so rename the wifi interface to
iface to distinguish between them better.

This is especially needed in the follow up CL.

Bug: 31943042
Test: mmm -j32 hardware/interfaces/wifi/1.0/
Change-Id: I3bc34930f75159d26321c0e071af9084d0585508
2016-10-05 10:30:24 -07:00
Roshan Pius
6f31d92e59 wifi(interface): Add/Correct docstring params
Changes in the CL:
1. Add missing docstring params in the HIDL interface.
2. Reword some method docs. Occurences of "will" is replaced
by "must" (based on comments received on supplicant HIDL interface:
go/aog/275115).
3. Add onFailure callbacks for all the methods and added docstrings for
them.

Bug: 31352200
Test: mmma -j32 hardware/interfaces/wifi/1.0
Change-Id: Ib7152625851023d6244f742bb77a8fdc0829e00d
2016-10-05 10:30:15 -07:00
Steven Moreland
4484643519 Merge "Revert "Revert "nfc: update default implementation to match style."""
am: 67f700350a

Change-Id: I383cbfde9f5812fa0af02cc6419d25aea08ca4d5
2016-10-05 17:28:09 +00:00
Steven Moreland
22fa3244c7 Revert "Revert "nfc: reflect style guide.""
am: 106bc9d27a

Change-Id: I0d29f4064a8b4fc84fe5d3a4d09d94ad9854cccb
2016-10-05 17:28:08 +00:00
Treehugger Robot
67f700350a Merge "Revert "Revert "nfc: update default implementation to match style.""" 2016-10-05 17:22:30 +00:00
Roshan Pius
cdb77f3cf2 wifi: Add implementation of driver/firmware memory dumps
Bug: 31352200
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I25d42cfd4c2b1ea7e63bdc036f37f81aed93c565
2016-10-05 09:22:06 -07:00
Roshan Pius
4b26c832ed wifi: Add Implementation of IWifiChip.requestChipDebugInfo
Bug: 31352200
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: Id0c02e37dac66de6f830785881cb67f113c0fb19
2016-10-05 09:21:07 -07:00
Steven Moreland
22be21e864 Revert "Revert "nfc: update default implementation to match style.""
This reverts commit 3768be324b.

Change-Id: Ifecd3ac227af14b49eba83c1126d51996ce3b8f5
2016-10-05 15:46:37 +00:00
Steven Moreland
106bc9d27a Revert "Revert "nfc: reflect style guide.""
This reverts commit 69bb15e06e.

Change-Id: Icd6ac819606c83e1518c4b6252f6416f55e618fd
2016-10-05 15:46:21 +00:00
Roshan Pius
908a69a53a wifi: Use hal_tool & if_tool
Changes in the CL:
1. Currently |WifiNative.cpp|, uses |hal_tool| to initialize the
function table and |if_tool| to set the interface up when |startHAL|
method is invoked. Use the same sequence in the HIDL'ized HAL.
2. Remove the assertion if the function table initialization fails. This
will result in a failure indication on starting the HAL now.

Bug: 31352200
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I268845ed62158b6a2ff36659f0bb15c4100a7222
2016-10-04 18:36:25 -07:00
Roshan Pius
aabe575536 wifi: Restructure wifi legacy HAL implementation
Restructured the existing code to create a new class called
|WifiLegacyHal|. This class will be used as a wrapper to invoke
all the legacy HAL functions and handle the "C" style callbacks.

Bug: 31936700
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I63e8543f49886f8446101320a97d1e96e30d1035
2016-10-04 18:36:22 -07:00
Yifan Hong
e409df1e55 Add test for referring to nested types. am: 61db854465 am: a30e27f697
am: c799177c3e

Change-Id: I16e6fa76a3c810df40e93a06ccac799f7c8207ad
2016-10-04 21:18:09 +00:00
Yifan Hong
c799177c3e Add test for referring to nested types. am: 61db854465
am: a30e27f697

Change-Id: I47800ef8ff8d6aa53580f09cfa9417c41b6f3098
2016-10-04 21:12:13 +00:00