OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Adds tests to verify proper marshaling of vectors of interface types."
Andreas Huber [Fri, 21 Oct 2016 18:51:23 +0000 (18:51 +0000)]
Merge "Adds tests to verify proper marshaling of vectors of interface types."
am: 7eb1f89133

Change-Id: I42b2469227e846655da325fcef6220b6b3900b81

7 years agoMerge "Adds tests to verify proper marshaling of vectors of interface types."
Treehugger Robot [Fri, 21 Oct 2016 18:36:48 +0000 (18:36 +0000)]
Merge "Adds tests to verify proper marshaling of vectors of interface types."

7 years agoMerge "Use defaultPassthroughServiceImplementation for nfc."
Steven Moreland [Thu, 20 Oct 2016 21:45:09 +0000 (21:45 +0000)]
Merge "Use defaultPassthroughServiceImplementation for nfc."
am: 5bc16ac370

Change-Id: I57ab9d0d1104ad316ae8a5a642a710559a7c4823

7 years agoMerge "Use defaultPassthroughServiceImplementation for nfc."
Treehugger Robot [Thu, 20 Oct 2016 21:30:49 +0000 (21:30 +0000)]
Merge "Use defaultPassthroughServiceImplementation for nfc."

7 years agoMerge changes from topic 'boot-control-hal'
Connor O'Brien [Thu, 20 Oct 2016 17:55:57 +0000 (17:55 +0000)]
Merge changes from topic 'boot-control-hal'
am: f50aa9464f

Change-Id: I0f139fe08524d54328f2a3540f6683d65288743f

7 years agoAdd android.hardware.boot_control@1.0 service.
Connor O'Brien [Thu, 20 Oct 2016 17:55:56 +0000 (17:55 +0000)]
Add android.hardware.boot_control@1.0 service.
am: cd0d29d4af

Change-Id: I34544b1146acd6ee320ce9b1fb4f2abf13a0b474

7 years agoAdd boot_control HIDL default implementation
Connor O'Brien [Thu, 20 Oct 2016 17:55:56 +0000 (17:55 +0000)]
Add boot_control HIDL default implementation
am: fe25fd88c8

Change-Id: I60ea7f46a7cd2499814f5636460f9be0651c89c3

7 years agoboot_control: Define the boot_control HIDL interface.
Alex Deymo [Thu, 20 Oct 2016 17:55:55 +0000 (17:55 +0000)]
boot_control: Define the boot_control HIDL interface.
am: 6e0c0102ae

Change-Id: I98108a67a785a1866dd0c75a057632bcd63a0a74

7 years agoMerge changes from topic 'boot-control-hal'
Connor O'Brien [Thu, 20 Oct 2016 17:47:36 +0000 (17:47 +0000)]
Merge changes from topic 'boot-control-hal'

* changes:
  Add android.hardware.boot_control@1.0 service.
  Add boot_control HIDL default implementation
  boot_control: Define the boot_control HIDL interface.

7 years agoAdds tests to verify proper marshaling of vectors of interface types.
Andreas Huber [Wed, 19 Oct 2016 21:10:55 +0000 (14:10 -0700)]
Adds tests to verify proper marshaling of vectors of interface types.

Bug: 30570663
Test: hidl_test
Change-Id: I1e4d1f826773abbde6b9019eb6af90ac64007e38

7 years agoUse defaultPassthroughServiceImplementation for nfc.
Steven Moreland [Wed, 19 Oct 2016 19:45:53 +0000 (12:45 -0700)]
Use defaultPassthroughServiceImplementation for nfc.

Bug: 32282345
Test: nfc
Change-Id: I4f45a3d4b91ccee2fcd0ca8fe599e090129a02e3

7 years agoAdd android.hardware.boot_control@1.0 service.
Connor O'Brien [Mon, 10 Oct 2016 21:41:35 +0000 (14:41 -0700)]
Add android.hardware.boot_control@1.0 service.

Bug: 31864052
Change-Id: I982077d71a81c0bc8d081f0cc7e83180b97f2b87
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoAdd boot_control HIDL default implementation
Connor O'Brien [Mon, 10 Oct 2016 19:31:37 +0000 (12:31 -0700)]
Add boot_control HIDL default implementation

Create basic implementation that passes commands
through to the old HAL implementation.

Bug: 31864052
Test: Ran and compared output to old implementation
Change-Id: I01f4450dc3a1893e13b8fb325ea40cf9c98297be
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoboot_control: Define the boot_control HIDL interface.
Alex Deymo [Sat, 1 Oct 2016 02:00:40 +0000 (19:00 -0700)]
boot_control: Define the boot_control HIDL interface.

Bug: 31864052
Merged-In: I9222b140ff51c4d3846b86b03719e2c8e9b7fe47
Change-Id: I9222b140ff51c4d3846b86b03719e2c8e9b7fe47

7 years agoMerge "Adds a test to verify proper marshaling of vectors of arrays in Java"
Andreas Huber [Wed, 19 Oct 2016 19:39:05 +0000 (19:39 +0000)]
Merge "Adds a test to verify proper marshaling of vectors of arrays in Java"
am: f7ad111d72

Change-Id: Idb06fa9a5ffcab7be438894ee3a49e037333d295

7 years agoMerge "Adds a test to verify proper marshaling of vectors of arrays in Java"
Andreas Huber [Wed, 19 Oct 2016 19:30:28 +0000 (19:30 +0000)]
Merge "Adds a test to verify proper marshaling of vectors of arrays in Java"

7 years agohidl_test: Fix failing tests.
Yifan Hong [Wed, 19 Oct 2016 16:56:29 +0000 (16:56 +0000)]
hidl_test: Fix failing tests.
am: 9517f9c871

Change-Id: Ic03760dac7098cec0481cabc5fb297e6dd2045f0

7 years agoadd default implementation to android.hardware.tests.foo/bar/pointer@1.0
Yifan Hong [Wed, 19 Oct 2016 16:56:29 +0000 (16:56 +0000)]
add default implementation to android.hardware.tests.foo/bar/pointer@1.0
am: d5b5b2ecea

Change-Id: Ida5994d3b153d4b2989fc89acd0d02ddf8361a91

7 years agoAdds a test to verify proper marshaling of vectors of arrays in Java
Andreas Huber [Tue, 18 Oct 2016 20:52:38 +0000 (13:52 -0700)]
Adds a test to verify proper marshaling of vectors of arrays in Java

Bug: 32180328
Test: hidl_test_java
Change-Id: I756ce1d2ce35b7a3a63c6dbafba90e9765d61f64

7 years agoMerge "Revert "Remove test for overloaded function.""
Steven Moreland [Tue, 18 Oct 2016 18:45:13 +0000 (18:45 +0000)]
Merge "Revert "Remove test for overloaded function.""
am: 45ca9939a0

Change-Id: Ie40c94a2e3271f4aaf4b36caf8f91fc0a0d3b24d

7 years agohidl_test: Fix failing tests.
Yifan Hong [Thu, 13 Oct 2016 18:21:56 +0000 (11:21 -0700)]
hidl_test: Fix failing tests.

Test: The following succeeds.
croot && cd hardware/interfaces
mma
croot && cd system/tools/hidl
mma
adb shell /data/nativetest64/hidl_test/hidl_test

Bug: 31819198

Change-Id: I40c2338d09d5e80b9bad2d918b7b8c3f2709f434

7 years agoadd default implementation to android.hardware.tests.foo/bar/pointer@1.0
Yifan Hong [Thu, 6 Oct 2016 20:50:49 +0000 (13:50 -0700)]
add default implementation to android.hardware.tests.foo/bar/pointer@1.0

Test: hidl_test
Test: mma

Merged-In: I808423c040099354513db0ad108210fcec17c8a7
Change-Id: I808423c040099354513db0ad108210fcec17c8a7

7 years agoMerge "Revert "Remove test for overloaded function.""
Steven Moreland [Tue, 18 Oct 2016 18:34:03 +0000 (18:34 +0000)]
Merge "Revert "Remove test for overloaded function.""

7 years agoRevert "Remove test for overloaded function."
Steven Moreland [Tue, 18 Oct 2016 18:32:49 +0000 (18:32 +0000)]
Revert "Remove test for overloaded function."

This reverts commit 93800287fb5cf07657d9056bbcdd3f96ce432433.

Change-Id: I95b0aeb64eaf9938c6558e5817bd79c3f2e5496e

7 years agoMerge "Remove test for overloaded function."
Steven Moreland [Tue, 18 Oct 2016 18:00:10 +0000 (18:00 +0000)]
Merge "Remove test for overloaded function."
am: 51a703aea4

Change-Id: Ia0d05fa4441468306634a378215004558263e859

7 years agoMerge "Remove test for overloaded function."
Treehugger Robot [Tue, 18 Oct 2016 17:45:27 +0000 (17:45 +0000)]
Merge "Remove test for overloaded function."

7 years agoAdd test for single letter IDs.
Yifan Hong [Tue, 18 Oct 2016 16:38:30 +0000 (16:38 +0000)]
Add test for single letter IDs.
am: deb0cfcea3

Change-Id: I3c54eca195b17610a0d8fd22dfbbb001277da1db

7 years agoRemove test for overloaded function.
Steven Moreland [Tue, 18 Oct 2016 00:53:09 +0000 (17:53 -0700)]
Remove test for overloaded function.

Bug: 31758541
Test: hidl_test
Change-Id: Ib02d9e8531ea2b7ec36bf8785e6827cfa45b53ba

7 years agoAdd test for single letter IDs.
Yifan Hong [Mon, 17 Oct 2016 23:57:51 +0000 (16:57 -0700)]
Add test for single letter IDs.

Test: mma

Bug: 32068694
Change-Id: I56659715beaadd8ebb3b9f36558e7ebcdb3e4d27

7 years agoMerge changes from topic 'nfc-style'
Steven Moreland [Mon, 17 Oct 2016 16:10:06 +0000 (16:10 +0000)]
Merge changes from topic 'nfc-style'
am: e397b73792

Change-Id: I7227c4bc4746aef1f64421132070dfce94d1a7c6

7 years agonfc: update default implementation to match style.
Steven Moreland [Mon, 17 Oct 2016 16:01:31 +0000 (16:01 +0000)]
nfc: update default implementation to match style.
am: a74426d691

Change-Id: I51be72680aeec03e058a583d07264fa0f92f00ee

7 years agonfc: reflect style guide.
Steven Moreland [Mon, 17 Oct 2016 16:01:30 +0000 (16:01 +0000)]
nfc: reflect style guide.
am: cffe8d5df4

Change-Id: I6991218ae568bce90e528fd56fbc66693ad94d71

7 years agoMerge changes from topic 'nfc-style'
Treehugger Robot [Mon, 17 Oct 2016 15:57:16 +0000 (15:57 +0000)]
Merge changes from topic 'nfc-style'

* changes:
  nfc: update default implementation to match style.
  nfc: reflect style guide.

7 years agoModify return values of read/write/config methods to bool
Hridya Valsaraju [Sat, 15 Oct 2016 01:44:24 +0000 (01:44 +0000)]
Modify return values of read/write/config methods to bool
am: 954515f73a

Change-Id: I55725cb778a9563f2b04d569eeb81bcd8fb245d3

7 years agoModify return values of read/write/config methods to bool
Hridya Valsaraju [Tue, 27 Sep 2016 20:43:57 +0000 (13:43 -0700)]
Modify return values of read/write/config methods to bool

Modify return values of read/write/config methods to bool
for the FMQ unit tests and benchmarks.

Bug: 31780470
Test: Built and ran existing FMQ unit tests and benchmarks

Change-Id: I2b7c9cf073f0c1a2908d48552e258ce21240ae64

7 years agonfc: update default implementation to match style.
Steven Moreland [Mon, 26 Sep 2016 19:41:23 +0000 (12:41 -0700)]
nfc: update default implementation to match style.

Test: make android.hardware.nfc@1.0-impl
Change-Id: I00357d40df1a6b2289f86b33d7a5833e358884d6

7 years agonfc: reflect style guide.
Steven Moreland [Mon, 26 Sep 2016 19:40:29 +0000 (12:40 -0700)]
nfc: reflect style guide.

Test: make android.hardware.nfc@1.0
Change-Id: I19b5c5a8b7e6345152441be149349933774b3de0

7 years agoMerge "Cleanup nfc service code." am: a91254d196 am: 8c2e2ce86d
Steven Moreland [Fri, 14 Oct 2016 07:57:11 +0000 (07:57 +0000)]
Merge "Cleanup nfc service code." am: a91254d196 am: 8c2e2ce86d
am: 79d81c4413

Change-Id: I8e569a47820801212ff45aae8cfbd72ca4af6707

7 years agoMerge "Cleanup nfc service code." am: a91254d196
Steven Moreland [Fri, 14 Oct 2016 07:49:48 +0000 (07:49 +0000)]
Merge "Cleanup nfc service code." am: a91254d196
am: 8c2e2ce86d

Change-Id: Iec0e3d87ce30625fb5d574817a43e67f51d0a60a

7 years agoMerge "Cleanup nfc service code."
Steven Moreland [Fri, 14 Oct 2016 07:46:18 +0000 (07:46 +0000)]
Merge "Cleanup nfc service code."
am: a91254d196

Change-Id: I5bb71ea5f876bc44519200fc6e640f5cd5b61ebb

7 years agoMerge "Cleanup nfc service code."
Treehugger Robot [Fri, 14 Oct 2016 07:42:18 +0000 (07:42 +0000)]
Merge "Cleanup nfc service code."

7 years agoAdd Bluetooth HAL definition am: acfbd25247 am: 97e5e07f44
Myles Watson [Thu, 13 Oct 2016 22:51:49 +0000 (22:51 +0000)]
Add Bluetooth HAL definition am: acfbd25247 am: 97e5e07f44
am: 51adf98706

Change-Id: Ie1370c4b0ba1526dab4b8fd3c61166ed756cdb9f

7 years agoAdd Bluetooth HAL definition am: acfbd25247
Myles Watson [Thu, 13 Oct 2016 22:48:41 +0000 (22:48 +0000)]
Add Bluetooth HAL definition am: acfbd25247
am: 97e5e07f44

Change-Id: I1e6f52a16b0018a7f5a53a8d6af9154e37c623ee

7 years agoAdd Bluetooth HAL definition
Myles Watson [Thu, 13 Oct 2016 22:46:41 +0000 (22:46 +0000)]
Add Bluetooth HAL definition
am: acfbd25247

Change-Id: I6af87217e138df95815178c0fd9c78102cac0a77

7 years agoAdd Bluetooth HAL definition
Myles Watson [Mon, 12 Sep 2016 17:58:42 +0000 (10:58 -0700)]
Add Bluetooth HAL definition

Test: compiles
Bug: 31972505
Change-Id: I7608b0814c9ca697b21c9e115cfcd81ab1364892

7 years agoCleanup nfc service code.
Steven Moreland [Thu, 13 Oct 2016 16:33:18 +0000 (09:33 -0700)]
Cleanup nfc service code.

Test: mma
Change-Id: Ie65c5bfde292107bec567a297e86eebf5cd7fa41

7 years agoMerge "Added test for overloading." am: a3ba3c359c am: 51eac9ecae
Steven Moreland [Wed, 12 Oct 2016 00:31:56 +0000 (00:31 +0000)]
Merge "Added test for overloading." am: a3ba3c359c am: 51eac9ecae
am: 0a94cf6e57

Change-Id: I79d7bc756e7f973155bfe31d06fafd9260f66850

7 years agoMerge "Added test for overloading." am: a3ba3c359c
Steven Moreland [Wed, 12 Oct 2016 00:25:41 +0000 (00:25 +0000)]
Merge "Added test for overloading." am: a3ba3c359c
am: 51eac9ecae

Change-Id: I4e57905a1d5d22759021db4412f44b635da6e494

7 years agoMerge "Added test for overloading."
Steven Moreland [Wed, 12 Oct 2016 00:19:07 +0000 (00:19 +0000)]
Merge "Added test for overloading."
am: a3ba3c359c

Change-Id: I4deea63a5191b3ca8191a59b4c48aef2c2318a54

7 years agoMerge "Added test for overloading."
Treehugger Robot [Tue, 11 Oct 2016 23:24:46 +0000 (23:24 +0000)]
Merge "Added test for overloading."

7 years agoAdded test for overloading.
Steven Moreland [Thu, 6 Oct 2016 22:05:35 +0000 (15:05 -0700)]
Added test for overloading.

Test: make, hidl_test
Bug: 31758541
Change-Id: Ia0fdad2f0b0155065a7dec5526ab5d14a9ec1f52

7 years agowifi: Invoke failure callbacks am: f243631af8 am: de95c70497
Roshan Pius [Tue, 11 Oct 2016 21:02:33 +0000 (21:02 +0000)]
wifi: Invoke failure callbacks am: f243631af8 am: de95c70497
am: 77b9999d20

Change-Id: Ib16c793e965993b184ee8825533164a889beb354

7 years agowifi: Add WifiRttController object am: 5926828728 am: 6de20076a3
Roshan Pius [Tue, 11 Oct 2016 21:02:32 +0000 (21:02 +0000)]
wifi: Add WifiRttController object am: 5926828728 am: 6de20076a3
am: 495ffe9bcb

Change-Id: I1707ca5f7f07236b94115e28e645ba7acce3e5f6

7 years agowifi: Add Iface related method implementations in WifiChip am: 35d958c43f am: 11cbff5cee
Roshan Pius [Tue, 11 Oct 2016 21:02:30 +0000 (21:02 +0000)]
wifi: Add Iface related method implementations in WifiChip am: 35d958c43f am: 11cbff5cee
am: 757938287e

Change-Id: I120d1ed4bdb6913b7230b0e2f62629e0c9f5ffb3

7 years agowifi: Add the various iface object implementation am: 3e2d671a4c am: 6179a92b9a
Roshan Pius [Tue, 11 Oct 2016 21:02:29 +0000 (21:02 +0000)]
wifi: Add the various iface object implementation am: 3e2d671a4c am: 6179a92b9a
am: 53046195bf

Change-Id: I14d64f7dd2e74a4519500285612aa444d3139665

7 years agowifi: Remove "Wlan" prefix from wifi_legacy_hal public methods am: ab5c471b0b am...
Roshan Pius [Tue, 11 Oct 2016 21:02:27 +0000 (21:02 +0000)]
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods am: ab5c471b0b am: 638c7d6fa4
am: 06c0ff2343

Change-Id: I20fa6972e27ebf89e5ef6432bb256bd82ddc4f8b

7 years agowifi: Add support for multiple chips in IWifi am: cd566bddd7 am: f7702fcfba
Roshan Pius [Tue, 11 Oct 2016 21:02:26 +0000 (21:02 +0000)]
wifi: Add support for multiple chips in IWifi am: cd566bddd7 am: f7702fcfba
am: e8ff1680f0

Change-Id: I0eb3749ab1f13348c289fba7b4e7f43e8a49574a

7 years agowifi(interface): Add RTT Controller object am: fcbf923d3a am: 83090ab624
Roshan Pius [Tue, 11 Oct 2016 21:02:24 +0000 (21:02 +0000)]
wifi(interface): Add RTT Controller object am: fcbf923d3a am: 83090ab624
am: c3b023d51a

Change-Id: Ifcf25a429a4af5c180d2d02c10bc6c1cb41630c5

7 years agowifi(interface): Add Iface objects am: adcfba4b09 am: 68e09f0c35
Roshan Pius [Tue, 11 Oct 2016 21:02:23 +0000 (21:02 +0000)]
wifi(interface): Add Iface objects am: adcfba4b09 am: 68e09f0c35
am: bd0cd30d0d

Change-Id: I842340fb3b4a56c6fdd0d6a0cfbf99a4219386d8

7 years agowifi: Invoke failure callbacks am: f243631af8
Roshan Pius [Tue, 11 Oct 2016 20:56:47 +0000 (20:56 +0000)]
wifi: Invoke failure callbacks am: f243631af8
am: de95c70497

Change-Id: Id208c0abe50766311e7597f47a943873b78fdbb6

7 years agowifi: Add WifiRttController object am: 5926828728
Roshan Pius [Tue, 11 Oct 2016 20:56:46 +0000 (20:56 +0000)]
wifi: Add WifiRttController object am: 5926828728
am: 6de20076a3

Change-Id: I42573cf460d4a73e07ef57afdd32f59393eb0890

7 years agowifi: Add Iface related method implementations in WifiChip am: 35d958c43f
Roshan Pius [Tue, 11 Oct 2016 20:56:44 +0000 (20:56 +0000)]
wifi: Add Iface related method implementations in WifiChip am: 35d958c43f
am: 11cbff5cee

Change-Id: I0d48778f5eb4be3ece745082b79cffa8f69a4ae8

7 years agowifi: Add the various iface object implementation am: 3e2d671a4c
Roshan Pius [Tue, 11 Oct 2016 20:56:43 +0000 (20:56 +0000)]
wifi: Add the various iface object implementation am: 3e2d671a4c
am: 6179a92b9a

Change-Id: I1bfed5ab6fe2e765abfdcde1b81e1127e1c964f6

7 years agowifi: Remove "Wlan" prefix from wifi_legacy_hal public methods am: ab5c471b0b
Roshan Pius [Tue, 11 Oct 2016 20:56:41 +0000 (20:56 +0000)]
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods am: ab5c471b0b
am: 638c7d6fa4

Change-Id: I8f2d397c50478cb65af8fae8d99fe8c76f2c8b21

7 years agowifi: Add support for multiple chips in IWifi am: cd566bddd7
Roshan Pius [Tue, 11 Oct 2016 20:56:40 +0000 (20:56 +0000)]
wifi: Add support for multiple chips in IWifi am: cd566bddd7
am: f7702fcfba

Change-Id: If6ca4867325da53ffe88f95d7046539cb903cd1c

7 years agowifi(interface): Add RTT Controller object am: fcbf923d3a
Roshan Pius [Tue, 11 Oct 2016 20:56:39 +0000 (20:56 +0000)]
wifi(interface): Add RTT Controller object am: fcbf923d3a
am: 83090ab624

Change-Id: I229a08b8283a26b64244b4876e773f995c2d9062

7 years agowifi(interface): Add Iface objects am: adcfba4b09
Roshan Pius [Tue, 11 Oct 2016 20:56:37 +0000 (20:56 +0000)]
wifi(interface): Add Iface objects am: adcfba4b09
am: 68e09f0c35

Change-Id: I49a49e23c72ecd54c0283d9291a1c983bb86e745

7 years agowifi: Invoke failure callbacks
Roshan Pius [Tue, 11 Oct 2016 20:49:10 +0000 (20:49 +0000)]
wifi: Invoke failure callbacks
am: f243631af8

Change-Id: Ida5787f25b0ab8cfb7a42b7d02f39871771c27d2

7 years agowifi: Add WifiRttController object
Roshan Pius [Tue, 11 Oct 2016 20:49:09 +0000 (20:49 +0000)]
wifi: Add WifiRttController object
am: 5926828728

Change-Id: I9d4b29916e3873b7ddba4dbf32fa51c1ceab8c91

7 years agowifi: Add Iface related method implementations in WifiChip
Roshan Pius [Tue, 11 Oct 2016 20:49:08 +0000 (20:49 +0000)]
wifi: Add Iface related method implementations in WifiChip
am: 35d958c43f

Change-Id: Id9009dd7b246940de52fbefeb251944d9106b8e5

7 years agowifi: Add the various iface object implementation
Roshan Pius [Tue, 11 Oct 2016 20:49:07 +0000 (20:49 +0000)]
wifi: Add the various iface object implementation
am: 3e2d671a4c

Change-Id: Ibd2223e329f8fd6c00a8782581abe3d428012a60

7 years agowifi: Remove "Wlan" prefix from wifi_legacy_hal public methods
Roshan Pius [Tue, 11 Oct 2016 20:49:06 +0000 (20:49 +0000)]
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods
am: ab5c471b0b

Change-Id: I6cad5d5a233c26aee4a8a9667354a8dfad958e82

7 years agowifi: Add support for multiple chips in IWifi
Roshan Pius [Tue, 11 Oct 2016 20:49:04 +0000 (20:49 +0000)]
wifi: Add support for multiple chips in IWifi
am: cd566bddd7

Change-Id: I474546e49179f63a1e65dd6f5281c21441f5228d

7 years agowifi(interface): Add RTT Controller object
Roshan Pius [Tue, 11 Oct 2016 20:49:03 +0000 (20:49 +0000)]
wifi(interface): Add RTT Controller object
am: fcbf923d3a

Change-Id: I511b158bf8bafb7dd54fec18941e35b14cec380f

7 years agowifi(interface): Add Iface objects
Roshan Pius [Tue, 11 Oct 2016 20:49:02 +0000 (20:49 +0000)]
wifi(interface): Add Iface objects
am: adcfba4b09

Change-Id: I429ea70427a09948ded4089856bda67303b6b075

7 years agowifi: Invoke failure callbacks
Roshan Pius [Fri, 7 Oct 2016 16:21:42 +0000 (09:21 -0700)]
wifi: Invoke failure callbacks

Invoke the failure callbacks for |requestChipDebugInfo|,
|requestDriverDebugDump| and |requestFirmwareDebugDump| methods.

Bug: 32014425
Test: Compiles
Change-Id: I49b8ae93fe846df6d9663b10d2a70eb89bd00931

7 years agowifi: Add WifiRttController object
Roshan Pius [Fri, 7 Oct 2016 03:23:47 +0000 (20:23 -0700)]
wifi: Add WifiRttController object

Create the WifiRttController object and add the createRttController
method in WifiChip.

Bug: 31991232
Test: Compiles
Change-Id: I34649097c96488c660bef5acceac1a6478f80dca

7 years agowifi: Add Iface related method implementations in WifiChip
Roshan Pius [Thu, 6 Oct 2016 23:47:38 +0000 (16:47 -0700)]
wifi: Add Iface related method implementations in WifiChip

Add the iface creation/retrieval/list method implementations in WifiChip.
WifiChip does not yet support the chip mode configuration. So, all
|createIface| method calls succeed today. Once the mode configuration
changes are in place, we will deny iface creation requests depending on
the iface combination supported in the current mode.

The iface objects are all invalidated and deleted on mode switches and
when HAL is stopped.

While there,
Change the |callbacks_| member to std::vector instead of std::set. We
don't really need a set to store the list of callbacks.

Bug: 31943042
Test: Compiles
Change-Id: Ic94864c8b11aabbe569b5157d68d6056364a3c4c

7 years agowifi: Add the various iface object implementation
Roshan Pius [Thu, 6 Oct 2016 20:16:23 +0000 (13:16 -0700)]
wifi: Add the various iface object implementation

This CL adds the implementation classes for the various iface HIDL
interfaces defined. These classes implement the
|getName| & |getType| methods in the Iface HIDL interface.

Integration of these objects with WifiChip class is implemented in the
next CL.

Bug: 31943042
Test: Compiles
Change-Id: I219afd6441e15c76cf7c61f7bcd2b3568dba2b98

7 years agowifi: Remove "Wlan" prefix from wifi_legacy_hal public methods
Roshan Pius [Thu, 6 Oct 2016 21:37:15 +0000 (14:37 -0700)]
wifi: Remove "Wlan" prefix from wifi_legacy_hal public methods

All the legacy HAL API's in the function table uses the "wlan0"
interface handle for the various operations. But, this is an internal
detail that should be abstracted inside WifiLegacyHal class. So, rename
the public methods to remove the "Wlan" prefix from them.

Also, add methods to fetch the iface names to use for the various types
of HAL.

Bug: 31943042
Test: Compiles
Change-Id: I35a6cdea0ad7cff295d33c0245953258129fba43

7 years agowifi: Add support for multiple chips in IWifi
Roshan Pius [Mon, 10 Oct 2016 15:03:42 +0000 (08:03 -0700)]
wifi: Add support for multiple chips in IWifi

The modified HIDL interface supports multiple chip instances on the
device. Modify the |IWifi| interface implementation to support the new
methods.

NOTE: The legacy HAL implementation will continue to only expose 1 chip.

While there,
Change the |callbacks_| member to std::vector instead of std::set. We
don't really need a set to store the list of callbacks.

Bug: 32003988
Test: Compiles
Change-Id: I31e704100f716e223095890279bdf93d2a04377e

7 years agowifi(interface): Add RTT Controller object
Roshan Pius [Thu, 6 Oct 2016 18:08:17 +0000 (11:08 -0700)]
wifi(interface): Add RTT Controller object

Create a RTT controller object to use for initiating all the RTT related
HAL opertations.
Since we don't want to fix the iface on which to initiate RTT operations,
these methods will be rooted in a new standalone object |RttController|.
Framework can decide to intiate an instance of |RttController| on a
specified iface or let the implementation pick one.

Bug: 31991232
Test: Interface compiles.
Change-Id: I65f7a7babd72db26ce6549f572abd9ef73700c82

7 years agowifi(interface): Add Iface objects
Roshan Pius [Wed, 5 Oct 2016 17:19:06 +0000 (10:19 -0700)]
wifi(interface): Add Iface objects

Create a child object under IWifiChip to represent each interface
within the chip. Each iface object has a |type| & |ifname| which should
help us uniquely identify them. This should help us expose methods that
are applicable only to a specific interface type.

While there,
Assign a unique id to every chip on the device.
Add IWifi.listChipIds() to retrieve the list of chip Id's avaiable on the
device. IWifi.getChip() will now use the provided Id to retrieve the
corresponding IWifiChip object(because HIDL language doesn't support
vec<HIDL objects>).

Bug: 31943042
Bug: 32003988
Test: Interface compiles (not implementation)
Change-Id: I723007566ca4220362c02d0f452753fee4e31fce

7 years agoMerge "Initial version of radio hal" am: 2078f22513 am: 969b65155d
Amit Mahajan [Tue, 11 Oct 2016 00:14:17 +0000 (00:14 +0000)]
Merge "Initial version of radio hal" am: 2078f22513 am: 969b65155d
am: 19b61a0520

Change-Id: I3a0f5ac240377b711dd686d512a056c897dd6dd0

7 years agoMerge "Initial version of radio hal" am: 2078f22513
Amit Mahajan [Tue, 11 Oct 2016 00:08:58 +0000 (00:08 +0000)]
Merge "Initial version of radio hal" am: 2078f22513
am: 969b65155d

Change-Id: Ie663469d6cc4103893d675b4bb52668dc701c18a

7 years agoMerge "Initial version of radio hal"
Amit Mahajan [Tue, 11 Oct 2016 00:02:18 +0000 (00:02 +0000)]
Merge "Initial version of radio hal"
am: 2078f22513

Change-Id: I6ad9850af03e79c6be37fbc3d717c2f882812c4d

7 years agoMerge "Initial version of radio hal"
Treehugger Robot [Mon, 10 Oct 2016 23:53:10 +0000 (23:53 +0000)]
Merge "Initial version of radio hal"

7 years agoInitial version of radio hal
Amit Mahajan [Fri, 12 Aug 2016 22:25:10 +0000 (15:25 -0700)]
Initial version of radio hal

Test: No build issues. Unused interface; nothing to test yet.

Bug: 32020264
Change-Id: Ie57eb43b777dadbc0b0350f2e33227be3f1d65f1

7 years agoMerge "Add test for importing a single type." am: a543fe6ab0 am: ccdc46999a
Yifan Hong [Mon, 10 Oct 2016 20:10:59 +0000 (20:10 +0000)]
Merge "Add test for importing a single type." am: a543fe6ab0 am: ccdc46999a
am: 91c349e395

Change-Id: Ic90328c30bd9d4c2c020e4d1243aacc7ae4ff550

7 years agoMerge "Add test for importing a single type." am: a543fe6ab0
Yifan Hong [Mon, 10 Oct 2016 20:04:30 +0000 (20:04 +0000)]
Merge "Add test for importing a single type." am: a543fe6ab0
am: ccdc46999a

Change-Id: I249ed97a6c000d655d1273b59a69b5cf4f1d4567

7 years agoMerge "Add test for importing a single type."
Yifan Hong [Mon, 10 Oct 2016 19:59:00 +0000 (19:59 +0000)]
Merge "Add test for importing a single type."
am: a543fe6ab0

Change-Id: Iada329b14b66825933f6b42b9eb259584276b9cd

7 years agoMerge "Add test for importing a single type."
Yifan Hong [Mon, 10 Oct 2016 19:49:45 +0000 (19:49 +0000)]
Merge "Add test for importing a single type."

7 years agoAdd test for fixing 0XFF (upper X) am: e312006887 am: 55c8f5979f
Yifan Hong [Sat, 8 Oct 2016 10:51:32 +0000 (10:51 +0000)]
Add test for fixing 0XFF (upper X) am: e312006887 am: 55c8f5979f
am: 034159b44a

Change-Id: I45d2de1de6dbb2e4d20dcb84a7a4b2aff57f2d50

7 years agoAdd test for fixing 0XFF (upper X) am: e312006887
Yifan Hong [Sat, 8 Oct 2016 10:47:01 +0000 (10:47 +0000)]
Add test for fixing 0XFF (upper X) am: e312006887
am: 55c8f5979f

Change-Id: I0d97d1541096f645bdefe4e27107e1f8aa42611e

7 years agoAdd test for fixing 0XFF (upper X)
Yifan Hong [Sat, 8 Oct 2016 10:42:31 +0000 (10:42 +0000)]
Add test for fixing 0XFF (upper X)
am: e312006887

Change-Id: I8aa7620f3acb68008ddd56c45d8cc2af596b310e

7 years agoAdd test for importing a single type.
Yifan Hong [Wed, 5 Oct 2016 19:15:51 +0000 (12:15 -0700)]
Add test for importing a single type.

Test: `cd system/tools/hidl && mma`

Bug: 31821285

Change-Id: I0be97b16b84f76b64c09f9dc52709416601cbbdf

7 years agoAdd test for fixing 0XFF (upper X)
Yifan Hong [Fri, 7 Oct 2016 23:32:57 +0000 (16:32 -0700)]
Add test for fixing 0XFF (upper X)

Bug: 31983995

Test: make android.hardware.tests.expression@1.0
Change-Id: I05bed0164c5cc988843a60d1efc8f5aeb4986b9b

7 years agoMerge "Revert "Revert "Revert "nfc: reflect style guide."""" am: 13e19421b3 am: 56fb3...
Steven Moreland [Thu, 6 Oct 2016 03:03:53 +0000 (03:03 +0000)]
Merge "Revert "Revert "Revert "nfc: reflect style guide."""" am: 13e19421b3 am: 56fb3ee908
am: d0b8606d27

Change-Id: Id44b3d7226ebe9f18ba39ec3d35c8914be8ade14

7 years agoRevert "Revert "Revert "nfc: update default implementation to match style.""" am...
Steven Moreland [Thu, 6 Oct 2016 03:03:16 +0000 (03:03 +0000)]
Revert "Revert "Revert "nfc: update default implementation to match style.""" am: 6d4d412617 am: b947073aad
am: 4d0bf24497

Change-Id: If444fe433f9e6034c33227a73b869b6cb6feda6f

7 years agoRevert "Revert "Revert "nfc: reflect style guide.""" am: 20ea4ea288 am: 77f08aaff0
Steven Moreland [Thu, 6 Oct 2016 03:03:14 +0000 (03:03 +0000)]
Revert "Revert "Revert "nfc: reflect style guide.""" am: 20ea4ea288 am: 77f08aaff0
am: a8896cc16e

Change-Id: Iaa4cd7b87ab3905d345345e100d6ee51e38f7871