Commit graph

173 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
c799177c3e Add test for referring to nested types. am: 61db854465
am: a30e27f697

Change-Id: I47800ef8ff8d6aa53580f09cfa9417c41b6f3098
2016-10-04 21:12:13 +00:00
Yifan Hong
a30e27f697 Add test for referring to nested types.
am: 61db854465

Change-Id: Ie4a21561afd882184fe0d9aa1c2772b5849222f7
2016-10-04 21:10:15 +00:00
Roshan Pius
79a9975d07 wifi: Change namespace
Move the implementation to "android::hardware::wifi:V1_0::implementation"
namespace.
This is following the style guidelines in NFC HIDL
implementation(go/aog/279421).

While there,
Run checkstyle to correct formatting issues.

Bug:31936700
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I5600a60a0041b3318ed9289823ec335a8ed8a83d
2016-10-04 13:23:20 -07:00
Roshan Pius
3c4e8a358c wifi: Move legacy HAL implementation
Changes in the CL:
1. Move the legacy HAL implementation from
"frameworks/opt/net/wifi/wifi_hal_legacy" to
"hardware/interfaces/wifi/1.0/default".
2. Renamed the .rc file and the module name in makefile to
conform to the HIDL style guide.

Files renamed from:
wifi_hal_service.cpp/h -> wifi.cpp/h
wifi_chip_service.cpp/h -> wifi_chip.cpp/h
main.cpp -> service

Bug: 31821133
Test: mmma -j32 hardware/interfaces/wifi/1.0/default
Change-Id: I5e65e2fdb5596346bde6963588031dcea42d633a
2016-10-04 13:10:25 -07:00
Yifan Hong
61db854465 Add test for referring to nested types.
Bug: 31821285

Test: `make hidl_test && adb sync && adb shell hidl_test`
Change-Id: Iae030baa5bbe6e890512b494a0b657163c6a99a6
2016-10-04 10:40:55 -07:00
Martijn Coenen
99af2885ee Merge "Revert "nfc: reflect style guide."" am: ea4b569fee
am: a2bdc9d012

Change-Id: Idbf1e89939936e3d62df7f565388a9a92922ccc2
2016-10-04 16:49:56 +00:00
Steven Moreland
c01b2939c9 Revert "nfc: update default implementation to match style." am: 3768be324b
am: a9f5e70913

Change-Id: Ie64fbc8d4975684e11e9eda797470ea780dffc55
2016-10-04 16:49:09 +00:00
Steven Moreland
d61bc26a53 Revert "nfc: reflect style guide." am: 69bb15e06e
am: 523f7fc318

Change-Id: Ic87635f8f4136f9384a0486267bbccc1c1afd5f1
2016-10-04 16:49:08 +00:00
Martijn Coenen
a2bdc9d012 Merge "Revert "nfc: reflect style guide.""
am: ea4b569fee

Change-Id: Ic814a2ff70dfca6f4268771750cbfedc7b116dc7
2016-10-04 16:48:28 +00:00
Steven Moreland
a9f5e70913 Revert "nfc: update default implementation to match style."
am: 3768be324b

Change-Id: I51ae622cd0ebc906b0b9ff11f5567869181d3879
2016-10-04 16:47:40 +00:00
Steven Moreland
523f7fc318 Revert "nfc: reflect style guide."
am: 69bb15e06e

Change-Id: Ic511eb65f2a43a981e44d5df5c9c74c48d66bd26
2016-10-04 16:47:39 +00:00
Martijn Coenen
ea4b569fee Merge "Revert "nfc: reflect style guide."" 2016-10-04 16:44:14 +00:00
Steven Moreland
3768be324b Revert "nfc: update default implementation to match style."
This reverts commit 6b6381cb58.

Change-Id: I2891a4ea774ad0047d9f99074fe773808dae0f7c
2016-10-04 16:37:11 +00:00
Steven Moreland
69bb15e06e Revert "nfc: reflect style guide."
This reverts commit e0c416a6f2.

Change-Id: I3fec772343d88a29225aef61bb549fef8ac9b797
2016-10-04 16:36:21 +00:00
Steven Moreland
974574da1a Merge changes from topic 'nfc-style' am: 1d4862a6c2
am: e7476a95f5

Change-Id: I19a9f6db1356b4643c4e340173ef3bdedef9388f
2016-10-04 14:39:58 +00:00
Steven Moreland
e7476a95f5 Merge changes from topic 'nfc-style'
am: 1d4862a6c2

Change-Id: Ic1339a30f4122f3c1abbcc852cbd38a1b750c36c
2016-10-04 14:38:31 +00:00
Steven Moreland
cd1981c475 nfc: update default implementation to match style. am: 6b6381cb58
am: 36108aadd4

Change-Id: Iac25d37c46c04aa18357c77ace08c810f67ccf72
2016-10-04 14:38:03 +00:00
Steven Moreland
7988bc0f40 nfc: reflect style guide. am: e0c416a6f2
am: ae83f47dd1

Change-Id: I26a3c72524732fa39c815023113bda778ad3a2e8
2016-10-04 14:38:02 +00:00
Steven Moreland
36108aadd4 nfc: update default implementation to match style.
am: 6b6381cb58

Change-Id: Idaf00ade4652d5f38bd8fbbd85e841a4d1cb684d
2016-10-04 14:36:33 +00:00
Steven Moreland
ae83f47dd1 nfc: reflect style guide.
am: e0c416a6f2

Change-Id: I931b59e9ed4d017ba09f8d82c4de87f39b0fc9e7
2016-10-04 14:36:32 +00:00
Steven Moreland
1d4862a6c2 Merge changes from topic 'nfc-style'
* changes:
  nfc: update default implementation to match style.
  nfc: reflect style guide.
2016-10-04 14:33:43 +00:00
Steven Moreland
6a02ac55f3 Auto hardware/interfaces/Android.bp am: 7b66dd9b23
am: 723aa3a593

Change-Id: Ibf5201426779673179c021bb36968dc000c6350d
2016-10-04 00:12:41 +00:00
Steven Moreland
723aa3a593 Auto hardware/interfaces/Android.bp
am: 7b66dd9b23

Change-Id: Id242473c4c9e417a5629b6ff1522988b9738f7b9
2016-10-04 00:10:42 +00:00
Steven Moreland
7b66dd9b23 Auto hardware/interfaces/Android.bp
Bug: 31909444
Test: make various interfaces, mma -j
Change-Id: Ie2de39572e482415b5279110586a0cb7e5220c8e
2016-10-03 13:55:42 -07:00
Steven Moreland
6b6381cb58 nfc: update default implementation to match style.
Test: make android.hardware.nfc@1.0-impl
Change-Id: Ib76d663fcf28816bd2ba57f5fbd5ae0033b620f5
2016-10-03 08:54:46 -07:00
Steven Moreland
e0c416a6f2 nfc: reflect style guide.
Test: make android.hardware.nfc@1.0
Change-Id: I60c1589492752753c362dc9766ebc7776b5e6e6e
2016-10-03 08:54:29 -07:00
Dan Willemsen
1eb7fbfb41 Convert to Android.bp am: 242b34edd5
am: 129b540ebe

Change-Id: I0997826bfe5506356f4431a27bd6fde4e8b83099
2016-09-30 19:42:45 +00:00