OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Add methods to test flavor of FMQ supporting unsynchronized writes."
Hridya Valsaraju [Wed, 26 Oct 2016 16:48:05 +0000 (16:48 +0000)]
Merge "Add methods to test flavor of FMQ supporting unsynchronized writes."
am: a6b44aad97

Change-Id: If8a756b37e29b1946642d8e6eb1dada22f04fb50

7 years agoMerge "Add methods to test flavor of FMQ supporting unsynchronized writes."
Treehugger Robot [Wed, 26 Oct 2016 16:37:18 +0000 (16:37 +0000)]
Merge "Add methods to test flavor of FMQ supporting unsynchronized writes."

7 years agoStop all these merge conflicts.
Steven Moreland [Wed, 26 Oct 2016 14:12:55 +0000 (14:12 +0000)]
Stop all these merge conflicts.
am: 7a4f118c48

Change-Id: I79e95b1a378b3bb27d71747c0e8a8440f9d00c02

7 years agoStop all these merge conflicts.
Steven Moreland [Tue, 25 Oct 2016 22:45:19 +0000 (15:45 -0700)]
Stop all these merge conflicts.

Test: mma -j64
Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609

7 years agoUse hidl_string conversion constructor as test.
Steven Moreland [Tue, 25 Oct 2016 03:38:56 +0000 (03:38 +0000)]
Use hidl_string conversion constructor as test.
am: 54813ed7c6

Change-Id: Ic01e8b269f8bfeace73b316683e27af237664c1a

7 years agoUse hidl_string conversion constructor as test.
Steven Moreland [Mon, 24 Oct 2016 17:46:43 +0000 (10:46 -0700)]
Use hidl_string conversion constructor as test.

Test: hidl_test
Change-Id: I626c40e1a3121e4f41ba9f612efc7321f7c03f85

7 years agoMerge "boot: use defaultPassthroughServiceImplementation"
Steven Moreland [Mon, 24 Oct 2016 18:06:22 +0000 (18:06 +0000)]
Merge "boot: use defaultPassthroughServiceImplementation"
am: da32114e26

Change-Id: I6e9a58b0ff2dc98a646c366b33ce12f2bb2ddaa9

7 years agoMerge "boot: use defaultPassthroughServiceImplementation"
Treehugger Robot [Mon, 24 Oct 2016 18:00:16 +0000 (18:00 +0000)]
Merge "boot: use defaultPassthroughServiceImplementation"

7 years agohidl_test: move duplicated code to shared lib
Yifan Hong [Mon, 24 Oct 2016 17:30:50 +0000 (17:30 +0000)]
hidl_test: move duplicated code to shared lib
am: 30dc3dee3c

Change-Id: If1baa33693339adeabe4a74079ae5450382ef4f4

7 years agohidl_test: move duplicated code to shared lib
Yifan Hong [Mon, 17 Oct 2016 18:38:15 +0000 (11:38 -0700)]
hidl_test: move duplicated code to shared lib

Test: hidl_test

Change-Id: Ia68b78d44d68a6b254c686afe64faf7cc89510d7

7 years agoMerge "Add implementation for hwbinder benchmark service."
Zhuoyao Zhang [Mon, 24 Oct 2016 16:58:48 +0000 (16:58 +0000)]
Merge "Add implementation for hwbinder benchmark service."
am: 382a80fd8b

Change-Id: I0e9f7acdb46e456beb00d108e8af8a1713fcae4d

7 years agoMerge "Add implementation for hwbinder benchmark service."
Zhuoyao Zhang [Mon, 24 Oct 2016 16:52:48 +0000 (16:52 +0000)]
Merge "Add implementation for hwbinder benchmark service."

7 years agoUpdate headers (for export shared lib headers)
Steven Moreland [Sat, 22 Oct 2016 05:54:40 +0000 (05:54 +0000)]
Update headers (for export shared lib headers)
am: ce9779412a

Change-Id: Id9f6a98fa646794cfd644725b6a184f875b4b9ae

7 years agoMerge "wifi: Removing reference to IServiceManager.h."
Steven Moreland [Sat, 22 Oct 2016 00:32:50 +0000 (00:32 +0000)]
Merge "wifi: Removing reference to IServiceManager.h."
am: dbe086ff7d

Change-Id: I5b5c1423325792e448f89ebbac6c3549a725ba27

7 years agoUpdate headers (for export shared lib headers)
Steven Moreland [Fri, 21 Oct 2016 20:40:54 +0000 (13:40 -0700)]
Update headers (for export shared lib headers)

Test: mma -j64
Bug: 32337293
Change-Id: I93e7cab90efac407525a1a5f2ad30f816a530e17

7 years agoMerge "wifi: Removing reference to IServiceManager.h."
Treehugger Robot [Sat, 22 Oct 2016 00:26:42 +0000 (00:26 +0000)]
Merge "wifi: Removing reference to IServiceManager.h."

7 years agoRemoved overloaded functions from IFoo.hal.
Steven Moreland [Sat, 22 Oct 2016 00:22:51 +0000 (00:22 +0000)]
Removed overloaded functions from IFoo.hal.
am: 6b9bae82ee

Change-Id: Ia4e74d6e22c22b2750fd0e4c63377a7e2325d806

7 years agoRemoved overloaded functions from IFoo.hal.
Steven Moreland [Wed, 19 Oct 2016 17:52:54 +0000 (10:52 -0700)]
Removed overloaded functions from IFoo.hal.

Bug: 31758541
Test: hidl_test
Change-Id: Ic92cf9996357a8aa9b3785540784c686887032e0

7 years agoAdd implementation for hwbinder benchmark service.
Zhuoyao Zhang [Fri, 21 Oct 2016 17:19:59 +0000 (10:19 -0700)]
Add implementation for hwbinder benchmark service.

Bug:32279499
Test: make android.hardware.tests.libhwbinder@1.0-impl
Change-Id: I75056afa32b8189020608779ec495659ea35ed48

7 years agoboot: use defaultPassthroughServiceImplementation
Steven Moreland [Fri, 21 Oct 2016 19:40:38 +0000 (12:40 -0700)]
boot: use defaultPassthroughServiceImplementation

Bug: 32282345
Test: make
Change-Id: Ifb479c665aa4e37881c86152d43f4f1f88983133

7 years agowifi: Removing reference to IServiceManager.h.
Steven Moreland [Fri, 21 Oct 2016 19:35:26 +0000 (12:35 -0700)]
wifi: Removing reference to IServiceManager.h.

Bug: 32313592
Test: make

Change-Id: If1b842c563b5934b58fb328c2f2315c42ae6fc06

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 agoAdd methods to test flavor of FMQ supporting unsynchronized writes.
Hridya Valsaraju [Fri, 14 Oct 2016 23:48:01 +0000 (16:48 -0700)]
Add methods to test flavor of FMQ supporting unsynchronized writes.

Test: Built and ran the unit tests.
Bug: 31223183

Change-Id: Ib0c52c4d17d31a24f4c5f5cd96547bcfae673725

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