OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoMerge "Minor changes to telephony error codes in types.hal" am: 044e84cc8a
Sanket Padawe [Tue, 3 Jan 2017 22:56:05 +0000 (22:56 +0000)]
Merge "Minor changes to telephony error codes in types.hal" am: 044e84cc8a
am: 455f722a8f

Change-Id: I3efd4decbbeb46777c6546bba6c8f52a30669705

7 years agoMerge "Minor changes to telephony error codes in types.hal"
Sanket Padawe [Tue, 3 Jan 2017 22:48:02 +0000 (22:48 +0000)]
Merge "Minor changes to telephony error codes in types.hal"
am: 044e84cc8a

Change-Id: I8bba4f54e80e1706df9d21f3ac3820bc9c145466

7 years agoMerge "Minor changes to telephony error codes in types.hal"
Treehugger Robot [Tue, 3 Jan 2017 22:39:21 +0000 (22:39 +0000)]
Merge "Minor changes to telephony error codes in types.hal"

7 years agoMerge "Make update-makefiles.sh exit if any of the hidl invocations fail" am: 11dc298105
Enrico Granata [Tue, 3 Jan 2017 19:07:46 +0000 (19:07 +0000)]
Merge "Make update-makefiles.sh exit if any of the hidl invocations fail" am: 11dc298105
am: 3e07d42ba3

Change-Id: Id6f07d7d10cc9a9a5928057b0621914ff18e1454

7 years agoMerge "Make update-makefiles.sh exit if any of the hidl invocations fail"
Enrico Granata [Tue, 3 Jan 2017 18:59:44 +0000 (18:59 +0000)]
Merge "Make update-makefiles.sh exit if any of the hidl invocations fail"
am: 11dc298105

Change-Id: I667587a7ff0139373d2430ec4d6e0cbd810437c7

7 years agoMerge "Make update-makefiles.sh exit if any of the hidl invocations fail"
Enrico Granata [Tue, 3 Jan 2017 18:54:04 +0000 (18:54 +0000)]
Merge "Make update-makefiles.sh exit if any of the hidl invocations fail"

7 years agoMerge "Templatize MQDescriptor" am: 61666e16bb
Hridya Valsaraju [Tue, 3 Jan 2017 18:36:17 +0000 (18:36 +0000)]
Merge "Templatize MQDescriptor" am: 61666e16bb
am: 28cbdf965f

Change-Id: I32ca566eb6908ba8b2cc3bb8509dad8761bdeb3f

7 years agoMerge "Templatize MQDescriptor"
Hridya Valsaraju [Tue, 3 Jan 2017 18:28:45 +0000 (18:28 +0000)]
Merge "Templatize MQDescriptor"
am: 61666e16bb

Change-Id: Ib423003d7b0fefeb1bec3d566f1635c446687cab

7 years agoMerge "Templatize MQDescriptor"
Hridya Valsaraju [Tue, 3 Jan 2017 18:17:08 +0000 (18:17 +0000)]
Merge "Templatize MQDescriptor"

7 years agoMinor changes to telephony error codes in types.hal
Sanket Padawe [Tue, 3 Jan 2017 07:45:22 +0000 (23:45 -0800)]
Minor changes to telephony error codes in types.hal

Test: Basic build test.
Change-Id: I26227551794729d6643ec63d4a39bc0090240a52

7 years agoFix wifi/bluetooth threadpool usage. am: 4faa7f5b27
Martijn Coenen [Fri, 30 Dec 2016 12:41:17 +0000 (12:41 +0000)]
Fix wifi/bluetooth threadpool usage. am: 4faa7f5b27
am: 7699b7d666

Change-Id: I33769bbb50a9fdab92af6ca183022cf8c6e135d5

7 years agoFix wifi/bluetooth threadpool usage.
Martijn Coenen [Fri, 30 Dec 2016 12:33:14 +0000 (12:33 +0000)]
Fix wifi/bluetooth threadpool usage.
am: 4faa7f5b27

Change-Id: I431dbf4f17953ba4012a5b2e55ec890223f8571a

7 years agoFix wifi/bluetooth threadpool usage.
Martijn Coenen [Wed, 28 Dec 2016 16:08:07 +0000 (17:08 +0100)]
Fix wifi/bluetooth threadpool usage.

Bug: 31226656
Test: mma, hidl_test
Change-Id: I3f30f32392714ed653498828172165e511f847e7

7 years agoTemplatize MQDescriptor
Hridya Valsaraju [Tue, 27 Dec 2016 20:40:01 +0000 (12:40 -0800)]
Templatize MQDescriptor

Bug: 33948735
Test: FMQ unit tests and benchmarks

Merged-In: I5c3beff2c6a69e151e0cb11af299956638cc441b
Change-Id: I5c3beff2c6a69e151e0cb11af299956638cc441b

7 years agobluetooth: Find the device's Bluetooth address am: 6a7d622264
Myles Watson [Fri, 30 Dec 2016 02:54:32 +0000 (02:54 +0000)]
bluetooth: Find the device's Bluetooth address am: 6a7d622264
am: f89e0d9280

Change-Id: I307541926fa1fd8bc756dac86ac3acec7dec7429

7 years agobluetooth: Find the device's Bluetooth address
Myles Watson [Fri, 30 Dec 2016 02:46:33 +0000 (02:46 +0000)]
bluetooth: Find the device's Bluetooth address
am: 6a7d622264

Change-Id: I4fb90149fa1003f58e7fa1ee4d9274a9e1337dbe

7 years agoMinor fixes in IRadioIndication.hal am: d7c7e641ef
Amit Mahajan [Fri, 30 Dec 2016 01:37:41 +0000 (01:37 +0000)]
Minor fixes in IRadioIndication.hal am: d7c7e641ef
am: 49b6dcb9d6

Change-Id: I58d5695e242a38fd3b434a521cfc16e977efec02

7 years agobluetooth: Find the device's Bluetooth address
Myles Watson [Thu, 13 Oct 2016 22:45:02 +0000 (15:45 -0700)]
bluetooth: Find the device's Bluetooth address

Test: bluetooth_hidl_hal_test
Change-Id: I5353aaef3f8c5db75e424a8e1b242b08d5a96c6e

7 years agoMinor fixes in IRadioIndication.hal
Amit Mahajan [Fri, 30 Dec 2016 01:30:12 +0000 (01:30 +0000)]
Minor fixes in IRadioIndication.hal
am: d7c7e641ef

Change-Id: I4cd01b8982a4349652430a8be6f587638b719ade

7 years agoMinor fixes in IRadioIndication.hal
Amit Mahajan [Thu, 29 Dec 2016 01:30:04 +0000 (17:30 -0800)]
Minor fixes in IRadioIndication.hal

Test: none
Bug: 32020264
Change-Id: Ib8540a444c4b98ff033a8e2c519dd25e9b853c57

7 years agoMerge "Clean up some fields and APIs in telephony HIDL interface." am: 4ba8b469d7
Sanket Padawe [Thu, 29 Dec 2016 22:44:13 +0000 (22:44 +0000)]
Merge "Clean up some fields and APIs in telephony HIDL interface." am: 4ba8b469d7
am: 1ac8fac9da

Change-Id: I45cb98d4886996b4cef92f08f289f6ec9d8f0561

7 years agoMerge "Clean up some fields and APIs in telephony HIDL interface."
Sanket Padawe [Thu, 29 Dec 2016 22:36:18 +0000 (22:36 +0000)]
Merge "Clean up some fields and APIs in telephony HIDL interface."
am: 4ba8b469d7

Change-Id: If040bb85e2d7d58fc94b9366021c303d6176a546

7 years agoMerge "Clean up some fields and APIs in telephony HIDL interface."
Treehugger Robot [Thu, 29 Dec 2016 22:28:46 +0000 (22:28 +0000)]
Merge "Clean up some fields and APIs in telephony HIDL interface."

7 years agoAdd default Bluetooth HAL implementation am: 89ba5284e3
Andre Eisenbach [Thu, 29 Dec 2016 21:17:42 +0000 (21:17 +0000)]
Add default Bluetooth HAL implementation am: 89ba5284e3
am: 1ebe923911

Change-Id: I7165ca1451fe74319d87481ad8ca6964f19b57b2

7 years agoAdd default Bluetooth HAL implementation
Andre Eisenbach [Thu, 29 Dec 2016 21:11:35 +0000 (21:11 +0000)]
Add default Bluetooth HAL implementation
am: 89ba5284e3

Change-Id: If3b45b7aeacb27892c2c71a5670ae75237588a40

7 years agoAdd default Bluetooth HAL implementation
Andre Eisenbach [Thu, 13 Oct 2016 22:45:02 +0000 (15:45 -0700)]
Add default Bluetooth HAL implementation

Also added initial target-side functional test.

Test: bluetooth_hidl_hal_test
Bug: 31972505
Change-Id: I1f574a5b2b53d7fbf65dbb4e1aaa5f8b6c5a9448

7 years agoAdd test method to IBaz. am: 73f99f6e1f
Martijn Coenen [Thu, 29 Dec 2016 09:12:24 +0000 (09:12 +0000)]
Add test method to IBaz. am: 73f99f6e1f
am: a0cf52d74b

Change-Id: Ia0f2e41af436995e2627a211c8e619f9adb1afed

7 years agoAdd test method to IBaz.
Martijn Coenen [Thu, 29 Dec 2016 09:04:51 +0000 (09:04 +0000)]
Add test method to IBaz.
am: 73f99f6e1f

Change-Id: I82d4a39bb510cb3cf588eb0a78b7846faf910011

7 years agoClean up some fields and APIs in telephony HIDL interface.
Sanket Padawe [Thu, 29 Dec 2016 00:04:10 +0000 (16:04 -0800)]
Clean up some fields and APIs in telephony HIDL interface.

Bug: 32020264
Test: Basic build test.
Change-Id: I1493d5b26ef678be14e71db7d6f93a9bfad52980

7 years agoAdd test method to IBaz.
Martijn Coenen [Tue, 27 Dec 2016 15:21:52 +0000 (16:21 +0100)]
Add test method to IBaz.

For testing death recipients.

Test: mma, hidl_test_java
Bug: 31632518
Change-Id: Ib359c790f68132484fbcd1a5522f45b99d1131f8

7 years agoMinor updates to ISap hal. am: fff290faa0
Amit Mahajan [Wed, 28 Dec 2016 07:09:00 +0000 (07:09 +0000)]
Minor updates to ISap hal. am: fff290faa0
am: 1203d4130c

Change-Id: I2ef76b4db8d24371aeae81a3c674e73607ebfcb0

7 years agoMinor updates to ISap hal.
Amit Mahajan [Wed, 28 Dec 2016 07:01:58 +0000 (07:01 +0000)]
Minor updates to ISap hal.
am: fff290faa0

Change-Id: Id5ac86d2cdafedfebb6976201b2c3cf44f27ec18

7 years agoMinor updates to ISap hal.
Amit Mahajan [Thu, 15 Dec 2016 16:54:12 +0000 (08:54 -0800)]
Minor updates to ISap hal.

Test: none
Bug: 32020264
Change-Id: I1cfb21cb4e30e71de6418aaaa9e13d8b2746d7b7

7 years agoMerge "Add a method to test EventFlag configuration and usage" am: ac7f1d21e8
Hridya Valsaraju [Thu, 22 Dec 2016 22:08:10 +0000 (22:08 +0000)]
Merge "Add a method to test EventFlag configuration and usage" am: ac7f1d21e8
am: adbae29ef1

Change-Id: Id9e61c930e70073c7c543fb29d07a4c8c0d763f4

7 years agoMerge "Add a method to test EventFlag configuration and usage"
Hridya Valsaraju [Thu, 22 Dec 2016 22:02:39 +0000 (22:02 +0000)]
Merge "Add a method to test EventFlag configuration and usage"
am: ac7f1d21e8

Change-Id: I061799a54ef569453f6c771458acc3a31546b3fa

7 years agoMake update-makefiles.sh exit if any of the hidl invocations fail
Enrico Granata [Thu, 22 Dec 2016 19:42:13 +0000 (11:42 -0800)]
Make update-makefiles.sh exit if any of the hidl invocations fail

This makes it easier for the user to discover that one (or more) of
their source files contain errors

Test: ran the script
Change-Id: Ibdb1f363d934605f47ca7df0d56bb387a47f7482

7 years agoMerge "Add a method to test EventFlag configuration and usage"
Treehugger Robot [Thu, 22 Dec 2016 21:55:06 +0000 (21:55 +0000)]
Merge "Add a method to test EventFlag configuration and usage"

7 years agoAdd a method to test EventFlag configuration and usage
Hridya Valsaraju [Thu, 15 Dec 2016 17:14:13 +0000 (09:14 -0800)]
Add a method to test EventFlag configuration and usage

Bug: 31223612 33295104

Test: FMQ unit tests.

Change-Id: Idbddd38730edd0ec14c37d3cb5e67f78705c3d4a

7 years agoMerge "Add test for Java GC for binder objects." am: eb0db2c920
Yifan Hong [Wed, 21 Dec 2016 18:27:12 +0000 (18:27 +0000)]
Merge "Add test for Java GC for binder objects." am: eb0db2c920
am: b96d0d1f68

Change-Id: I86d4ba6a9869fd2e0441a7daa823f8758811c2cd

7 years agoMerge "Add test for Java GC for binder objects."
Yifan Hong [Wed, 21 Dec 2016 18:22:12 +0000 (18:22 +0000)]
Merge "Add test for Java GC for binder objects."
am: eb0db2c920

Change-Id: I0e86df487d113d1ff5138732d766c9b67f9e4441

7 years agoMerge "Add test for Java GC for binder objects."
Yifan Hong [Wed, 21 Dec 2016 18:17:18 +0000 (18:17 +0000)]
Merge "Add test for Java GC for binder objects."

7 years agoMerge "Remove length arg from transmit() in IR HAL" am: 9b37defc5d
Connor O'Brien [Tue, 20 Dec 2016 20:55:25 +0000 (20:55 +0000)]
Merge "Remove length arg from transmit() in IR HAL" am: 9b37defc5d
am: f8d00e309e

Change-Id: I4329e73f0773f0b6fa1e6f96dab549c7e8fce025

7 years agoMerge "Remove length arg from transmit() in IR HAL"
Connor O'Brien [Tue, 20 Dec 2016 18:51:42 +0000 (18:51 +0000)]
Merge "Remove length arg from transmit() in IR HAL"
am: 9b37defc5d

Change-Id: Ia9993df13cfc73dec4ae5587996c2bd3dde8a34c

7 years agoMerge "Remove length arg from transmit() in IR HAL"
Connor O'Brien [Tue, 20 Dec 2016 18:28:46 +0000 (18:28 +0000)]
Merge "Remove length arg from transmit() in IR HAL"

7 years agoAdd test for Java GC for binder objects.
Yifan Hong [Tue, 20 Dec 2016 02:02:56 +0000 (18:02 -0800)]
Add test for Java GC for binder objects.

Test: hidl_test_java

Bug: 33042939
Change-Id: I87d9de63834c617a568f7d1795c901fdd4c6f8e0

7 years agoMerge "wifi(vts): Add framework for gtests" am: 0849baccc4
Roshan Pius [Tue, 20 Dec 2016 01:24:31 +0000 (01:24 +0000)]
Merge "wifi(vts): Add framework for gtests" am: 0849baccc4
am: 5dd791bdc8

Change-Id: If3abee4a9d782b5aaf71ac50f13471889fc84fd8

7 years agoMerge "wifi(vts): Add framework for gtests"
Roshan Pius [Tue, 20 Dec 2016 01:16:23 +0000 (01:16 +0000)]
Merge "wifi(vts): Add framework for gtests"
am: 0849baccc4

Change-Id: I953505f699499a3490e5838964a3cff6dc3dcb11

7 years agoMerge "wifi(vts): Add framework for gtests"
Treehugger Robot [Tue, 20 Dec 2016 01:07:32 +0000 (01:07 +0000)]
Merge "wifi(vts): Add framework for gtests"

7 years agoRemove length arg from transmit() in IR HAL
Connor O'Brien [Mon, 19 Dec 2016 23:55:12 +0000 (15:55 -0800)]
Remove length arg from transmit() in IR HAL

The length argument is not necessary since the pattern is
passed to transmit() as a hidl_vec, so remove it.

Test: Built and called new transmit() function.
Merged-in: I4bee4557c2cca6562a43df5e22a7d6b846f20bb4
Change-Id: I4bee4557c2cca6562a43df5e22a7d6b846f20bb4
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoMerge "Test for echoed interfaces." am: f5f75be7b6
Yifan Hong [Mon, 19 Dec 2016 22:40:19 +0000 (22:40 +0000)]
Merge "Test for echoed interfaces." am: f5f75be7b6
am: a175fa4b4a

Change-Id: I6039b13c23d3b24d2f03e1e9a8208e9b4216cfb2

7 years agoMerge "Test for echoed interfaces."
Yifan Hong [Mon, 19 Dec 2016 22:36:20 +0000 (22:36 +0000)]
Merge "Test for echoed interfaces."
am: f5f75be7b6

Change-Id: Iffd4804b7cda031bde0c3bf556dee6696dd4f149

7 years agoMerge "Test for echoed interfaces."
Yifan Hong [Mon, 19 Dec 2016 22:32:56 +0000 (22:32 +0000)]
Merge "Test for echoed interfaces."

7 years agosupplicant(interface): Remove unused params am: e663f83a91
Roshan Pius [Sat, 17 Dec 2016 02:27:44 +0000 (02:27 +0000)]
supplicant(interface): Remove unused params am: e663f83a91
am: a94ccaab75

Change-Id: I84dabb2841bcec63a2933bb35cfb540f4b0bda09

7 years agosupplicant(interface): Remove unused params
Roshan Pius [Sat, 17 Dec 2016 02:19:13 +0000 (02:19 +0000)]
supplicant(interface): Remove unused params
am: e663f83a91

Change-Id: I80bda25bfb374ee2ae2e36035bced7055fcaf10c

7 years agowifi(vts): Add framework for gtests
Roshan Pius [Wed, 7 Dec 2016 02:59:15 +0000 (18:59 -0800)]
wifi(vts): Add framework for gtests

These tests don't do much currently other than assert that we can
configure the chip in the required modes and create all the iface
objects.
The |wifi_hidl_test_utils| contains all helper functions that will be
shared across the different test fixtures.

Bug: 33459306
Test: adb root && adb remount && adb push
out/target/product/angler/data/nativetest/wifi_hidl_test/wifi_hidl_test
/data/ && adb shell /data/wifi_hidl_test

Change-Id: Iaea8e264ab1ef9113f375d7f56acab851aff21aa

7 years agowifi: Add remaining capability flags from legacy HAL am: a2d369dd03
Roshan Pius [Sat, 17 Dec 2016 00:05:38 +0000 (00:05 +0000)]
wifi: Add remaining capability flags from legacy HAL am: a2d369dd03
am: 228e755d9b

Change-Id: I33254a6eb64c92328f56216a91c5c02ae8ee8591

7 years agowifi: Debug ring buffer data collection am: 48185b2a2d
Roshan Pius [Sat, 17 Dec 2016 00:05:33 +0000 (00:05 +0000)]
wifi: Debug ring buffer data collection am: 48185b2a2d
am: 06db08cfae

Change-Id: I67e8c74ba33ef7fc5bbe14c2a4bcc315220514b5

7 years agosupplicant(interface): Remove unused params
Roshan Pius [Fri, 16 Dec 2016 23:32:27 +0000 (15:32 -0800)]
supplicant(interface): Remove unused params

Theese params in flushService & configureExtListen are unused.

Bug: 33705000
Test: Compiles
Change-Id: I38ff75af32951274100d1d60a5fdfa6aa101cb50

7 years agowifi: Add remaining capability flags from legacy HAL
Roshan Pius [Fri, 16 Dec 2016 23:50:31 +0000 (23:50 +0000)]
wifi: Add remaining capability flags from legacy HAL
am: a2d369dd03

Change-Id: I06bcca888df395b0a4adb3a2c913f983b5ac9578

7 years agowifi: Debug ring buffer data collection
Roshan Pius [Fri, 16 Dec 2016 23:50:30 +0000 (23:50 +0000)]
wifi: Debug ring buffer data collection
am: 48185b2a2d

Change-Id: Ia692dbe8f96a3a580460153468951215828bfb65

7 years agoTest for echoed interfaces.
Yifan Hong [Mon, 28 Nov 2016 20:52:28 +0000 (12:52 -0800)]
Test for echoed interfaces.

Test: hidl_test

Bug: 33173166

Change-Id: I0b8b8553b7d3f7b1800d0970a9fc17d01084dfcf

7 years agowifi: Add remaining capability flags from legacy HAL
Roshan Pius [Fri, 16 Dec 2016 06:38:00 +0000 (22:38 -0800)]
wifi: Add remaining capability flags from legacy HAL

While there,
1. Remove the _SUPPORTED flag from all the capabailities to make it
consistent.
2. Correct the docstring for |create*Iface|.

Bug: 33673826
Test: Compiles
Change-Id: I26f6de3d681dec133b51ba5dd7f21a29c92ea238

7 years agowifi: Debug ring buffer data collection
Roshan Pius [Fri, 16 Dec 2016 03:10:30 +0000 (19:10 -0800)]
wifi: Debug ring buffer data collection

Implementation of the debug ring buffer data collection mechanism.
Changed the interface to pass the raw bytes sent by the driver. This
will be captured as is into the bugreport.

Note: Please see the associated bug on why this data is not being parsed.

Also,
Fixed a bug in the legacy HAL API for retrieving ring buffer status.

Bug: 33638159
Test: Compiles
Change-Id: I9d8f400142b1be4fbf8c85679e8a52d6af17b09e

7 years agowifi: Add chip level callbacks am: 2c06a3f8c8
Roshan Pius [Fri, 16 Dec 2016 21:29:24 +0000 (21:29 +0000)]
wifi: Add chip level callbacks am: 2c06a3f8c8
am: 41669e8d2d

Change-Id: Ic3056f884311252144e0616aeb99dddfcf788441

7 years agoWifiLegacyHal: Add missing ring buffer callback dereg am: adc87cbab9
Roshan Pius [Fri, 16 Dec 2016 21:29:23 +0000 (21:29 +0000)]
WifiLegacyHal: Add missing ring buffer callback dereg am: adc87cbab9
am: 64a392629d

Change-Id: Ia89b500191255b3b0b3b59d290b09833d641dfc6

7 years agowifi: Add support for alert handler am: 203cb031df
Roshan Pius [Fri, 16 Dec 2016 21:29:21 +0000 (21:29 +0000)]
wifi: Add support for alert handler am: 203cb031df
am: 81d75dad2d

Change-Id: Ibe8b43a864074f988fdf9772c7f1a6cc15a0ceab

7 years agowifi: Add chip level callbacks
Roshan Pius [Fri, 16 Dec 2016 21:20:53 +0000 (21:20 +0000)]
wifi: Add chip level callbacks
am: 2c06a3f8c8

Change-Id: If54547bc793d7a10981520400497a77c1bc81f03

7 years agoWifiLegacyHal: Add missing ring buffer callback dereg
Roshan Pius [Fri, 16 Dec 2016 21:20:52 +0000 (21:20 +0000)]
WifiLegacyHal: Add missing ring buffer callback dereg
am: adc87cbab9

Change-Id: I232749aaee8128f522d5624b1ecd756808e05c18

7 years agowifi: Add support for alert handler
Roshan Pius [Fri, 16 Dec 2016 21:20:51 +0000 (21:20 +0000)]
wifi: Add support for alert handler
am: 203cb031df

Change-Id: I1e53cc8a6e087c4bd7d49abd407a8536d8e71df5

7 years agowifi: Add chip level callbacks
Roshan Pius [Fri, 16 Dec 2016 01:51:40 +0000 (17:51 -0800)]
wifi: Add chip level callbacks

The following new notifications are added:
1. onChipReconfigureFailre - Invoked if there is an error during
configuration.
2. onIfaceAdded - Invoked on addition of an iface.
3. onIfaceRemoved - Invoked on removal of an iface.

Bug: 33679304
Bug: 33038823
Test: Gtests
Change-Id: Id3fa19420d1e1e8d209ec88a1fbd36a64afb5252

7 years agoWifiLegacyHal: Add missing ring buffer callback dereg
Roshan Pius [Thu, 15 Dec 2016 02:02:56 +0000 (18:02 -0800)]
WifiLegacyHal: Add missing ring buffer callback dereg

Still figuring out how to send this data over the HIDL callback. Adding
this missing wrapper in legacy hal for now.

Bug:33638159
Test: Compiles
Change-Id: Ifce06a796d54e10c582b9896425899a45162a45f

7 years agowifi: Add support for alert handler
Roshan Pius [Thu, 15 Dec 2016 01:41:20 +0000 (17:41 -0800)]
wifi: Add support for alert handler

This is a debug mechanism provided for vendors to inform the framework
about the occurence of any fatal events.

Bug: 33620898
Test: Compiles
Change-Id: Ib6ac322131796792f66f87237a62eb8f5a013433

7 years agowifi: Port over O features to HIDL am: 26801cb4ce
Roshan Pius [Fri, 16 Dec 2016 19:50:14 +0000 (19:50 +0000)]
wifi: Port over O features to HIDL am: 26801cb4ce
am: b4642fc46e

Change-Id: I520b383e76cf62aebca2037e613534cd7d83f4a2

7 years agowifi: Port over O features to HIDL
Roshan Pius [Fri, 16 Dec 2016 19:40:38 +0000 (19:40 +0000)]
wifi: Port over O features to HIDL
am: 26801cb4ce

Change-Id: I0f2810797098ee186bce25db8d55cbf201b983bb

7 years agosupplicant(interface): Add support for DRIVER commands am: 3f050c1a0f
Roshan Pius [Fri, 16 Dec 2016 05:51:58 +0000 (05:51 +0000)]
supplicant(interface): Add support for DRIVER commands am: 3f050c1a0f
am: 2255fd62d6

Change-Id: If60341a5b1193d81d30785da5c35d1d2810f7fe9

7 years agowifi: Port over O features to HIDL
Roshan Pius [Tue, 13 Dec 2016 22:25:45 +0000 (14:25 -0800)]
wifi: Port over O features to HIDL

Porting over the 3 new features added to legacy HAL for O to HIDL
interface:
1. Firmware roaming control.
2. Scan randomizations support.
3. Probe IE whitelisting for privacy enhancements.

Bug:32638647
Test: Compiles
Change-Id: Ia4666e3824186bbcfb8599b337eee7c81f256503

7 years agosupplicant(interface): Add support for DRIVER commands
Roshan Pius [Fri, 16 Dec 2016 05:44:56 +0000 (05:44 +0000)]
supplicant(interface): Add support for DRIVER commands
am: 3f050c1a0f

Change-Id: If537ea8832b2fa881cfc04fc719b06f211af344d

7 years agosupplicant(interface): Add support for DRIVER commands
Roshan Pius [Wed, 14 Dec 2016 16:06:58 +0000 (08:06 -0800)]
supplicant(interface): Add support for DRIVER commands

These were legacy commands added to wpa_supplicant specifically for
android when the vendor HAL did not exist. These string commands are
passed as passthough to the driver by wpa_supplicant. Instead of adding
a single method to pass through these strings. Add separate methods for
each "DRIVER xxx" command that we currently used in Android framework.

Bug: 32699292
Test: Compiles
Change-Id: I8b62b3250496fa996bb97b4af0ba570a3d345cc3

7 years agoRevert "Fix tests for using IBase instead of IBinder." am: 0dbb9903cd
Martijn Coenen [Thu, 15 Dec 2016 23:22:08 +0000 (23:22 +0000)]
Revert "Fix tests for using IBase instead of IBinder." am: 0dbb9903cd
am: 666a5dcafe

Change-Id: Ia1010cf130fc9b0103a4ce7c97c53dbf7a4cca36

7 years agoRevert "Fix tests for using IBase instead of IBinder."
Martijn Coenen [Thu, 15 Dec 2016 22:43:48 +0000 (22:43 +0000)]
Revert "Fix tests for using IBase instead of IBinder."
am: 0dbb9903cd

Change-Id: Ifdb24673d0b1b1a208076f692f0431541589af0a

7 years agoRevert "Fix tests for using IBase instead of IBinder."
Martijn Coenen [Thu, 15 Dec 2016 20:34:38 +0000 (21:34 +0100)]
Revert "Fix tests for using IBase instead of IBinder."

This reverts commit 1d747311b3aa3d208aedf3dfce97d134d57db723.
Bug: 33173166
Test: builds, hidl_test

7 years agoMerge "Add new RadioError in telephony hidl interface." am: 441f2fda32
Sanket Padawe [Wed, 14 Dec 2016 20:22:21 +0000 (20:22 +0000)]
Merge "Add new RadioError in telephony hidl interface." am: 441f2fda32
am: dd27f94c93

Change-Id: I18a3a3857c069be478b137e6c395ce04e108bbc4

7 years agoMerge "Add new RadioError in telephony hidl interface."
Sanket Padawe [Wed, 14 Dec 2016 20:15:00 +0000 (20:15 +0000)]
Merge "Add new RadioError in telephony hidl interface."
am: 441f2fda32

Change-Id: I383acd4561f4e3c3a15e8fc5359cb0efbbe36170

7 years agoMerge "Add new RadioError in telephony hidl interface."
Sanket Padawe [Wed, 14 Dec 2016 20:03:51 +0000 (20:03 +0000)]
Merge "Add new RadioError in telephony hidl interface."

7 years agoMerge "Update makefiles for Java package path." am: 698b6a9614
Yifan Hong [Wed, 14 Dec 2016 03:55:38 +0000 (03:55 +0000)]
Merge "Update makefiles for Java package path." am: 698b6a9614
am: 1f8c3cd2f2

Change-Id: Id21817bcae944e930ef094d683fecc83cf6e6098

7 years agoMerge "Update makefiles for Java package path."
Yifan Hong [Wed, 14 Dec 2016 03:49:32 +0000 (03:49 +0000)]
Merge "Update makefiles for Java package path."
am: 698b6a9614

Change-Id: I57d2eb340433ef462a73aaad9d0b969d7c3456b1

7 years agoMerge "Update makefiles for Java package path."
Treehugger Robot [Wed, 14 Dec 2016 03:43:57 +0000 (03:43 +0000)]
Merge "Update makefiles for Java package path."

7 years agosupplicant(interface): Add network param getters am: 118598a8db
Roshan Pius [Wed, 14 Dec 2016 03:34:54 +0000 (03:34 +0000)]
supplicant(interface): Add network param getters am: 118598a8db
am: c9420bb452

Change-Id: Ic0152b476cadf8263c470266adb7aac5c07df8ed

7 years agosupplicant(interface): Add 2 sta iface callbacks am: d11fc7eace
Roshan Pius [Wed, 14 Dec 2016 03:34:53 +0000 (03:34 +0000)]
supplicant(interface): Add 2 sta iface callbacks am: d11fc7eace
am: 93a2465630

Change-Id: If54e1668d9c460cfa30993e3eb4c54ffd4592781

7 years agosupplicant(interface): Add network param getters
Roshan Pius [Wed, 14 Dec 2016 03:28:24 +0000 (03:28 +0000)]
supplicant(interface): Add network param getters
am: 118598a8db

Change-Id: Ie7518ffb089b0e1f603720b001ea611f60d81091

7 years agosupplicant(interface): Add 2 sta iface callbacks
Roshan Pius [Wed, 14 Dec 2016 03:28:22 +0000 (03:28 +0000)]
supplicant(interface): Add 2 sta iface callbacks
am: d11fc7eace

Change-Id: I44b3e4e537867177062749cb455d0efcc9f63b73

7 years agoUpdate makefiles for Java package path.
Yifan Hong [Tue, 13 Dec 2016 00:05:23 +0000 (16:05 -0800)]
Update makefiles for Java package path.

use V1_0 instead of 1.0.

Bug: 33554192

Test: hidl_test_java
Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3

7 years agowifi: Add legacy HAL stubs am: e73a506912
Roshan Pius [Wed, 14 Dec 2016 01:31:19 +0000 (01:31 +0000)]
wifi: Add legacy HAL stubs am: e73a506912
am: 809642e314

Change-Id: I5c53e4101aff6fb33c4ee8d8723be8c31b3ccc76

7 years agowifi: Add support for removing iface am: 8b55e6f475
Roshan Pius [Wed, 14 Dec 2016 01:31:18 +0000 (01:31 +0000)]
wifi: Add support for removing iface am: 8b55e6f475
am: bb2dad47bb

Change-Id: I78e303881210cf8ecdc0d2d96e9c04b862e2a4ca

7 years agowifi: Fixes in WifiLegacyHal am: 11f930321b
Roshan Pius [Wed, 14 Dec 2016 01:31:16 +0000 (01:31 +0000)]
wifi: Fixes in WifiLegacyHal am: 11f930321b
am: d2d3498a4d

Change-Id: I0877544904311d37a883e5776d3fe9ba2e2d4068

7 years agowifi: Add legacy HAL stubs
Roshan Pius [Wed, 14 Dec 2016 01:24:48 +0000 (01:24 +0000)]
wifi: Add legacy HAL stubs
am: e73a506912

Change-Id: Ide7b6bfe4bf8a7bb0aa34911631bd698310cfda0

7 years agowifi: Add support for removing iface
Roshan Pius [Wed, 14 Dec 2016 01:24:46 +0000 (01:24 +0000)]
wifi: Add support for removing iface
am: 8b55e6f475

Change-Id: I403f1173636f520790d041155f8a3b8a9a06197d

7 years agowifi: Fixes in WifiLegacyHal
Roshan Pius [Wed, 14 Dec 2016 01:24:45 +0000 (01:24 +0000)]
wifi: Fixes in WifiLegacyHal
am: 11f930321b

Change-Id: I4f4ae5fabdb364ffacd3c0bf1eb48548b5a646b6

7 years agosupplicant(interface): Add network param getters
Roshan Pius [Tue, 13 Dec 2016 21:39:27 +0000 (13:39 -0800)]
supplicant(interface): Add network param getters

These getters are needed for migration of network configs from
wpa_supplicant to the new config store.

Bug: 31497348
Test: Compiles
Change-Id: I970ea3ca070a3bb7344bc51664159ce0e95a18db

7 years agosupplicant(interface): Add 2 sta iface callbacks
Roshan Pius [Mon, 12 Dec 2016 21:04:25 +0000 (13:04 -0800)]
supplicant(interface): Add 2 sta iface callbacks

Add callbacks for:
1. Disconnection from the currently connected network.
2. Association rejection from the AP.

Bug: 33416261
Test: Compiles
Change-Id: Ifde45bf7db353f399bd7dc291af0d069f8387e3b