OSDN Git Service

android-x86/hardware-interfaces.git
7 years agowifi: Add legacy HAL stubs am: e73a506912 am: 809642e314 am: eaae75c683
Roshan Pius [Wed, 14 Dec 2016 01:44:51 +0000 (01:44 +0000)]
wifi: Add legacy HAL stubs am: e73a506912 am: 809642e314 am: eaae75c683
am: 72adcb7385

Change-Id: Id92c8c1e229e5583a4d1eb00f0128dc852332c93

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

Change-Id: If6ddcd33982095066621802f5c382ec6824e480e

7 years agowifi: Fixes in WifiLegacyHal am: 11f930321b am: d2d3498a4d am: 6cc0c1def5
Roshan Pius [Wed, 14 Dec 2016 01:44:47 +0000 (01:44 +0000)]
wifi: Fixes in WifiLegacyHal am: 11f930321b am: d2d3498a4d am: 6cc0c1def5
am: 8e8f7b2308

Change-Id: I29d858c5347e8003497767b9db2c2d2b1fda2d73

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

Change-Id: I2cfd8f574f39377ee669c953eb2ac221197b0b5b

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

Change-Id: Ic9ef427f6b8d56d2f9fdd98c4bdfc75f1010f31e

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

Change-Id: I78c13686807c4e72cf976f7f45b796a421e55435

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 agowifi: Add legacy HAL stubs
Roshan Pius [Mon, 12 Dec 2016 16:53:34 +0000 (08:53 -0800)]
wifi: Add legacy HAL stubs

This is a port of all the existing stub functions from HalTool. Will
deprecate and remove HalTool once framework switches over to HIDL.
These stubs are important because the vendor implementations don't fill
a function pointer in the table (when |init_wifi_vendor_hal_func_table| is
invoked) if they don't implement that feature.

Bug: 33540636
Test: Gtests
Change-Id: Ia41c4faa30b517731a162f3999d64a3f2c34e058

7 years agowifi: Add support for removing iface
Roshan Pius [Fri, 9 Dec 2016 20:05:12 +0000 (12:05 -0800)]
wifi: Add support for removing iface

This is needed to support dynamically switching between ifaces
within the same mode.

While there, correct couple of nits:
1. Pass std::string to the |get*IfaceInternal| methods. This makes the
name comparison easier.
2. Update the docstring of |get*Iface| in IWifiChip.hal to indicate that
we'll return ERROR_INVALID_ARGS if the iface name is wrong.

Bug: 33040049
Test: Compiles
Change-Id: I53584013283a10bf109f1c2ffb6136c44f11ed29

7 years agoMerge "Revert "Revert "Update makefiles for Java package path."""
Yifan Hong [Tue, 13 Dec 2016 22:20:50 +0000 (22:20 +0000)]
Merge "Revert "Revert "Update makefiles for Java package path."""

7 years agoRevert "Revert "Update makefiles for Java package path.""
Yifan Hong [Tue, 13 Dec 2016 22:20:16 +0000 (22:20 +0000)]
Revert "Revert "Update makefiles for Java package path.""

This reverts commit a8789f27cb89496675483b83c76f271474085d62.

Change-Id: I69980b580a556188ba868bb096ae1590b01759f5

7 years agoMerge "Revert "Update makefiles for Java package path.""
Yifan Hong [Tue, 13 Dec 2016 22:19:22 +0000 (22:19 +0000)]
Merge "Revert "Update makefiles for Java package path.""

7 years agoRevert "Update makefiles for Java package path."
Yifan Hong [Tue, 13 Dec 2016 22:18:34 +0000 (22:18 +0000)]
Revert "Update makefiles for Java package path."

This reverts commit ab0792ccdc52958b9bd524e7025d5e38ea0bb0d6.

Change-Id: I47fc272d9fa8875e3d7ccb10cb748c738fbf8135

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

use V1_0 instead of 1.0.

Bug: 33554192

Test: mma
Change-Id: I7ed425d0c44a5fdc900f9dc8b925ba712501b3ba

7 years agowifi: Fixes in WifiLegacyHal
Roshan Pius [Fri, 9 Dec 2016 18:26:17 +0000 (10:26 -0800)]
wifi: Fixes in WifiLegacyHal

Changes:
1. Add |is_started_| flag in WifiLegacyHal to ignore stop/start
requests when they're already in the same state.
2. Detach the event loop thread and remove the class member storing
the thread handle.

While there,
1. Cleanup some logs to better help debug issues.
2. Also fixed the wrong method name used in WifiModeController.

Bug: 33480898
Test: Gtests run successfully.
Change-Id: I913f656206a2ca7a79fb316501c256fcdc32aed9

7 years agoMerge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7 am: b2a40ee3b6...
Connor O'Brien [Tue, 13 Dec 2016 21:23:02 +0000 (21:23 +0000)]
Merge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7 am: b2a40ee3b6 am: 9a51a0d3d7
am: 04efbdad74

Change-Id: I67cd1ce97b485ce500ecbc94ee76471aa66f58da

7 years agoMerge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7 am: b2a40ee3b6
Connor O'Brien [Tue, 13 Dec 2016 21:14:36 +0000 (21:14 +0000)]
Merge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7 am: b2a40ee3b6
am: 9a51a0d3d7

Change-Id: I45dda264b22c588ab887a2c2e4ff352834d83a42

7 years agoMerge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7
Connor O'Brien [Tue, 13 Dec 2016 21:08:30 +0000 (21:08 +0000)]
Merge "Add android.hardware.consumerir@1.0 service." am: 3bee82f5d7
am: b2a40ee3b6

Change-Id: I4c3c440a53ba8385aabaad3c705a23672ea801cf

7 years agoMerge "Add android.hardware.consumerir@1.0 service."
Connor O'Brien [Tue, 13 Dec 2016 21:02:30 +0000 (21:02 +0000)]
Merge "Add android.hardware.consumerir@1.0 service."
am: 3bee82f5d7

Change-Id: Ic073c5e68c57ea0aecf64f7d2f032bdefcc73c61

7 years agoMerge "Update test for method name and result name." am: e8d4931930 am: 7f49aa4b75...
Yifan Hong [Tue, 13 Dec 2016 20:58:52 +0000 (20:58 +0000)]
Merge "Update test for method name and result name." am: e8d4931930 am: 7f49aa4b75 am: c32a29210e
am: fc5c67533c

Change-Id: Ia9820692a4f1caec2f78e7077e7c0b989d579003

7 years agoMerge "Add android.hardware.consumerir@1.0 service."
Connor O'Brien [Tue, 13 Dec 2016 20:53:59 +0000 (20:53 +0000)]
Merge "Add android.hardware.consumerir@1.0 service."

7 years agoMerge "Update test for method name and result name." am: e8d4931930 am: 7f49aa4b75
Yifan Hong [Tue, 13 Dec 2016 20:48:59 +0000 (20:48 +0000)]
Merge "Update test for method name and result name." am: e8d4931930 am: 7f49aa4b75
am: c32a29210e

Change-Id: I4ed4ee8df3dcf2342cb1343402eab4d0b06fc411

7 years agoMerge "Update makefiles for Java package path."
TreeHugger Robot [Tue, 13 Dec 2016 20:46:04 +0000 (20:46 +0000)]
Merge "Update makefiles for Java package path."

7 years agoMerge "Update test for method name and result name." am: e8d4931930
Yifan Hong [Tue, 13 Dec 2016 20:42:59 +0000 (20:42 +0000)]
Merge "Update test for method name and result name." am: e8d4931930
am: 7f49aa4b75

Change-Id: Idd05a347009a81f6a0cb2c2445733cacbee4b2e4

7 years agoMerge "Update test for method name and result name."
Yifan Hong [Tue, 13 Dec 2016 20:36:30 +0000 (20:36 +0000)]
Merge "Update test for method name and result name."
am: e8d4931930

Change-Id: I61011d8caae8aafddff018338746b08c8012f543

7 years agoMerge "Update test for method name and result name."
Treehugger Robot [Tue, 13 Dec 2016 20:30:37 +0000 (20:30 +0000)]
Merge "Update test for method name and result name."

7 years agoMerge "Add consumerir HIDL default implementation" am: ac430dba09 am: e09bb06994...
Connor O'Brien [Tue, 13 Dec 2016 19:35:18 +0000 (19:35 +0000)]
Merge "Add consumerir HIDL default implementation" am: ac430dba09 am: e09bb06994 am: 86b187c4d5
am: 5276609319

Change-Id: Iaca2419a93564e17f032356be7cf434bb77345b6

7 years agoMerge "consumerir: define the consumerir HIDL interface" am: 8af27124a3 am: efe941587...
Connor O'Brien [Tue, 13 Dec 2016 19:35:06 +0000 (19:35 +0000)]
Merge "consumerir: define the consumerir HIDL interface" am: 8af27124a3 am: efe941587a am: 29e40a79cb
am: 9ac2bb4345

Change-Id: Ia704021826a16a75b0c8eb7206d7c775b216f671

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 agoMerge "Add script to generate all *-base.h's."
TreeHugger Robot [Tue, 13 Dec 2016 19:31:02 +0000 (19:31 +0000)]
Merge "Add script to generate all *-base.h's."

7 years agoMerge "Add consumerir HIDL default implementation" am: ac430dba09 am: e09bb06994
Connor O'Brien [Tue, 13 Dec 2016 19:25:34 +0000 (19:25 +0000)]
Merge "Add consumerir HIDL default implementation" am: ac430dba09 am: e09bb06994
am: 86b187c4d5

Change-Id: Ib0e0198d88088bd0b9cece60e5e20d18048e6efa

7 years agoMerge "consumerir: define the consumerir HIDL interface" am: 8af27124a3 am: efe941587a
Connor O'Brien [Tue, 13 Dec 2016 19:25:24 +0000 (19:25 +0000)]
Merge "consumerir: define the consumerir HIDL interface" am: 8af27124a3 am: efe941587a
am: 29e40a79cb

Change-Id: Icaa9cb81ae312ce85957b14e683b2305714bfee8

7 years agoMerge "Add consumerir HIDL default implementation" am: ac430dba09
Connor O'Brien [Tue, 13 Dec 2016 19:19:34 +0000 (19:19 +0000)]
Merge "Add consumerir HIDL default implementation" am: ac430dba09
am: e09bb06994

Change-Id: Iee3e4e60e03b58be2929413a69ec151f1048b1b5

7 years agoMerge "consumerir: define the consumerir HIDL interface" am: 8af27124a3
Connor O'Brien [Tue, 13 Dec 2016 19:19:23 +0000 (19:19 +0000)]
Merge "consumerir: define the consumerir HIDL interface" am: 8af27124a3
am: efe941587a

Change-Id: I124c545dcb96efc60e7c6262cf6fc8412a5de5f9

7 years agoMerge "Add consumerir HIDL default implementation"
Connor O'Brien [Tue, 13 Dec 2016 19:13:35 +0000 (19:13 +0000)]
Merge "Add consumerir HIDL default implementation"
am: ac430dba09

Change-Id: I51c54f9fbd8fb0f5e523cc2223817aefb2644839

7 years agoMerge "consumerir: define the consumerir HIDL interface"
Connor O'Brien [Tue, 13 Dec 2016 19:13:23 +0000 (19:13 +0000)]
Merge "consumerir: define the consumerir HIDL interface"
am: 8af27124a3

Change-Id: I19d0881d172de053efa8243f9af9740a8f8ade64

7 years agoMerge "Add consumerir HIDL default implementation"
Connor O'Brien [Tue, 13 Dec 2016 19:07:09 +0000 (19:07 +0000)]
Merge "Add consumerir HIDL default implementation"

7 years agoMerge "consumerir: define the consumerir HIDL interface"
Connor O'Brien [Tue, 13 Dec 2016 19:06:57 +0000 (19:06 +0000)]
Merge "consumerir: define the consumerir HIDL interface"

7 years agoUpdate test for method name and result name.
Yifan Hong [Mon, 12 Dec 2016 18:34:57 +0000 (10:34 -0800)]
Update test for method name and result name.

Test: compiles

Bug: 33277700

Change-Id: I40de6f09da8d8bf9d03516bfb7a65a54d01fa18a

7 years agoAdd test for eliding bitfield returns. am: 8b54c22992 am: 3b353f7905 am: 42dcb27402
Yifan Hong [Tue, 13 Dec 2016 01:32:55 +0000 (01:32 +0000)]
Add test for eliding bitfield returns. am: 8b54c22992 am: 3b353f7905 am: 42dcb27402
am: 9efa6c79a3

Change-Id: I952aab1189c69bc5c97b3646fd9b246bf8c12738

7 years agoAdd test for eliding bitfield returns. am: 8b54c22992 am: 3b353f7905
Yifan Hong [Tue, 13 Dec 2016 01:26:25 +0000 (01:26 +0000)]
Add test for eliding bitfield returns. am: 8b54c22992 am: 3b353f7905
am: 42dcb27402

Change-Id: I1a6024cbe0cae19d934740e658c4ee7793783091

7 years agoAdd test for eliding bitfield returns. am: 8b54c22992
Yifan Hong [Tue, 13 Dec 2016 01:20:24 +0000 (01:20 +0000)]
Add test for eliding bitfield returns. am: 8b54c22992
am: 3b353f7905

Change-Id: I9688f47c38bc68cf77b00eb2e88e934173d269a4

7 years agoAdd test for eliding bitfield returns.
Yifan Hong [Tue, 13 Dec 2016 01:14:54 +0000 (01:14 +0000)]
Add test for eliding bitfield returns.
am: 8b54c22992

Change-Id: I0ab1dd95cfb9d3a5b5837e4edb406fa1ba605a11

7 years agoMerge "Add coverage flags to VTS light test."
Ryan Campbell [Tue, 13 Dec 2016 00:52:52 +0000 (00:52 +0000)]
Merge "Add coverage flags to VTS light test."

7 years agoAdd test for eliding bitfield returns.
Yifan Hong [Mon, 12 Dec 2016 23:30:49 +0000 (15:30 -0800)]
Add test for eliding bitfield returns.

Test: mma

Bug: 33298401
Change-Id: I9e50c20b29215664040183bcdfee6b6902c00e3d

7 years agoMerge changes Idde2f3b7,I5b25d334,I69db530e am: 0f13397eb3 am: f3ba8d1d74 am: 14154da69c
Roshan Pius [Mon, 12 Dec 2016 23:26:17 +0000 (23:26 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e am: 0f13397eb3 am: f3ba8d1d74 am: 14154da69c
am: b15ba73aee

Change-Id: I8f54f5cf046bd048122ff4defdb6bac236cd6404

7 years agowifi: Disallow iface creation based on mode am: 073d5b9fdc am: 7a3f643fa3 am: e4645fabb5
Roshan Pius [Mon, 12 Dec 2016 23:26:15 +0000 (23:26 +0000)]
wifi: Disallow iface creation based on mode am: 073d5b9fdc am: 7a3f643fa3 am: e4645fabb5
am: 2b0a250146

Change-Id: Ib439b9535383dbb29b6fef8c4dbb7823f7559af4

7 years agosupplicant(interface): Correct ANQP enum value/type am: e3f25f1d0f am: 5e9cdc5a4c...
Roshan Pius [Mon, 12 Dec 2016 23:26:12 +0000 (23:26 +0000)]
supplicant(interface): Correct ANQP enum value/type am: e3f25f1d0f am: 5e9cdc5a4c am: 143d569d60
am: 060fb5adcf

Change-Id: Idf07ea179eb5e16acd5cea1686f2ecb12b9a6922

7 years agosupplicant(interface): Minor fixes in P2P iface am: 282a0b35b8 am: fea79e33ba am...
Roshan Pius [Mon, 12 Dec 2016 23:26:10 +0000 (23:26 +0000)]
supplicant(interface): Minor fixes in P2P iface am: 282a0b35b8 am: fea79e33ba am: d6717d1e7b
am: 7b7324f047

Change-Id: I2dfb2162333aa0f04db0cbcb16095349089f1a7e

7 years agoMerge changes Idde2f3b7,I5b25d334,I69db530e am: 0f13397eb3 am: f3ba8d1d74
Roshan Pius [Mon, 12 Dec 2016 23:20:15 +0000 (23:20 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e am: 0f13397eb3 am: f3ba8d1d74
am: 14154da69c

Change-Id: Ib4d65a007783a5c203590ca83c7323e8b4055965

7 years agowifi: Disallow iface creation based on mode am: 073d5b9fdc am: 7a3f643fa3
Roshan Pius [Mon, 12 Dec 2016 23:20:13 +0000 (23:20 +0000)]
wifi: Disallow iface creation based on mode am: 073d5b9fdc am: 7a3f643fa3
am: e4645fabb5

Change-Id: I424888df4a07c2291dbc82f557b586dbcad3dc73

7 years agosupplicant(interface): Correct ANQP enum value/type am: e3f25f1d0f am: 5e9cdc5a4c
Roshan Pius [Mon, 12 Dec 2016 23:20:12 +0000 (23:20 +0000)]
supplicant(interface): Correct ANQP enum value/type am: e3f25f1d0f am: 5e9cdc5a4c
am: 143d569d60

Change-Id: Iacd81197f30372a06084947c2c353b9d80dcd3a3

7 years agosupplicant(interface): Minor fixes in P2P iface am: 282a0b35b8 am: fea79e33ba
Roshan Pius [Mon, 12 Dec 2016 23:20:10 +0000 (23:20 +0000)]
supplicant(interface): Minor fixes in P2P iface am: 282a0b35b8 am: fea79e33ba
am: d6717d1e7b

Change-Id: Ia27cdf68390ff3c5a6bf3e0ec6e550de83b760a2

7 years agoMerge changes Idde2f3b7,I5b25d334,I69db530e am: 0f13397eb3
Roshan Pius [Mon, 12 Dec 2016 23:14:19 +0000 (23:14 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e am: 0f13397eb3
am: f3ba8d1d74

Change-Id: I38e4beff83a45a0769b82dc6cfb847a6be6c6558

7 years agowifi: Disallow iface creation based on mode am: 073d5b9fdc
Roshan Pius [Mon, 12 Dec 2016 23:14:18 +0000 (23:14 +0000)]
wifi: Disallow iface creation based on mode am: 073d5b9fdc
am: 7a3f643fa3

Change-Id: Ia98f1e34ffeff9cc103be79999298b1fbd6680f1

7 years agosupplicant(interface): Correct ANQP enum value/type am: e3f25f1d0f
Roshan Pius [Mon, 12 Dec 2016 23:14:16 +0000 (23:14 +0000)]
supplicant(interface): Correct ANQP enum value/type am: e3f25f1d0f
am: 5e9cdc5a4c

Change-Id: Icba47abc968dc2791b1c74708694078d968ea5d3

7 years agosupplicant(interface): Minor fixes in P2P iface am: 282a0b35b8
Roshan Pius [Mon, 12 Dec 2016 23:14:15 +0000 (23:14 +0000)]
supplicant(interface): Minor fixes in P2P iface am: 282a0b35b8
am: fea79e33ba

Change-Id: I8aaaf420441f976686d1d65cf5096de4f9f824e3

7 years agoMerge changes Idde2f3b7,I5b25d334,I69db530e
Roshan Pius [Mon, 12 Dec 2016 23:09:12 +0000 (23:09 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e
am: 0f13397eb3

Change-Id: I361ec7ed81f470b321778b66dce1e6b741fe3f8f

7 years agowifi: Disallow iface creation based on mode
Roshan Pius [Mon, 12 Dec 2016 23:09:11 +0000 (23:09 +0000)]
wifi: Disallow iface creation based on mode
am: 073d5b9fdc

Change-Id: I5478cbfca44a12af66ce2f5fbb815fb09f776708

7 years agosupplicant(interface): Correct ANQP enum value/type
Roshan Pius [Mon, 12 Dec 2016 23:09:09 +0000 (23:09 +0000)]
supplicant(interface): Correct ANQP enum value/type
am: e3f25f1d0f

Change-Id: I81b09891222f9c074cfac345c904343f8a70e4e5

7 years agosupplicant(interface): Minor fixes in P2P iface
Roshan Pius [Mon, 12 Dec 2016 23:09:07 +0000 (23:09 +0000)]
supplicant(interface): Minor fixes in P2P iface
am: 282a0b35b8

Change-Id: Ifc8d6299b5e011b6a6081eb5545743c77893eae7

7 years agoMerge changes Idde2f3b7,I5b25d334,I69db530e
Treehugger Robot [Mon, 12 Dec 2016 22:58:27 +0000 (22:58 +0000)]
Merge changes Idde2f3b7,I5b25d334,I69db530e

* changes:
  wifi: Disallow iface creation based on mode
  supplicant(interface): Correct ANQP enum value/type
  supplicant(interface): Minor fixes in P2P iface

7 years agoAdd check to update-makefiles.sh. am: 13b5d8034e am: c7e7688625 am: 75f17806a4
Steven Moreland [Mon, 12 Dec 2016 21:33:40 +0000 (21:33 +0000)]
Add check to update-makefiles.sh. am: 13b5d8034e am: c7e7688625 am: 75f17806a4
am: c1b86905a4

Change-Id: I1dafab1af271946de30a9d162398552ee495e5e4

7 years agoAdd check to update-makefiles.sh. am: 13b5d8034e am: c7e7688625
Steven Moreland [Mon, 12 Dec 2016 21:27:39 +0000 (21:27 +0000)]
Add check to update-makefiles.sh. am: 13b5d8034e am: c7e7688625
am: 75f17806a4

Change-Id: I61aa97b8d5269e588d7a31c2164f8e05d7905b1a

7 years agoAdd check to update-makefiles.sh. am: 13b5d8034e
Steven Moreland [Mon, 12 Dec 2016 21:21:08 +0000 (21:21 +0000)]
Add check to update-makefiles.sh. am: 13b5d8034e
am: c7e7688625

Change-Id: I4b66a5a83b4bfd002b3ef3d70cb40cc73069e350

7 years agoAdd check to update-makefiles.sh.
Steven Moreland [Mon, 12 Dec 2016 21:15:07 +0000 (21:15 +0000)]
Add check to update-makefiles.sh.
am: 13b5d8034e

Change-Id: I798bde83bbf2e11cc3a04b9262b38c66ea8d7631

7 years agoAdd android.hardware.consumerir@1.0 service.
Connor O'Brien [Sat, 3 Dec 2016 00:34:24 +0000 (16:34 -0800)]
Add android.hardware.consumerir@1.0 service.

Test: make android.hardware.consumerir@1.0-service
Change-Id: Ife45f98836d4d5a3b40d26f21d43e1903fdb8fb3
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoAdd consumerir HIDL default implementation
Connor O'Brien [Sat, 3 Dec 2016 00:22:51 +0000 (16:22 -0800)]
Add consumerir HIDL default implementation

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

Test: make android.hardware.consumerir@1.0-impl
Change-Id: Idc4b0a67cf936645b699c24504e9fab219b1ffbe
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoconsumerir: define the consumerir HIDL interface
Connor O'Brien [Sat, 3 Dec 2016 00:21:25 +0000 (16:21 -0800)]
consumerir: define the consumerir HIDL interface

Change-Id: Ifa8632915f8c5bb15da5f379202f5ddf2e08c09a
Signed-off-by: Connor O'Brien <connoro@google.com>
7 years agoAdd coverage flags to VTS light test.
Ryan Campbell [Mon, 12 Dec 2016 18:56:28 +0000 (10:56 -0800)]
Add coverage flags to VTS light test.

Build test with coverage flags to support coverage measurement
at test time.

Test: pass
Bug: 32022457
Change-Id: Ia12f202900ecc243e43ed472c8609c2c7ccc3b4d

7 years agoAdd script to generate all *-base.h's.
Steven Moreland [Mon, 12 Dec 2016 17:44:30 +0000 (09:44 -0800)]
Add script to generate all *-base.h's.

In order to resolve b/31800672, we added a target to hidl,
-Lexport-headers, which creates a C compatible header file that targets
can link against to get access to hidl constants without having to link
against the hidl code directly. However, these files are (for some
reason) not generated at build time. Until they are, this file can be
used to update and keep track of them.

Bug: 32883144
Test: ran script
Change-Id: Ib07433f98c4152ca34b48789dcb117eb262241cb

7 years agoAdd check to update-makefiles.sh.
Steven Moreland [Mon, 12 Dec 2016 17:24:10 +0000 (09:24 -0800)]
Add check to update-makefiles.sh.

Now that we also have packages like android.hidl.base which reside in
system/libhidl/transport which are read in by hidl-gen (see
-randroid.hidl:system/libhidl/transport in the same file), we can
display a pretty warning message if they are missing.

We'll have to remember to update this after b/33276472.

Test: ran update-makefiles.sh
Change-Id: Ia3e3183dd5139cf3a8d1bf7bd25c201d1b098c79

7 years agoMerge "Treble HAL interfaces for drm+crypto"
Jeff Tinker [Sat, 10 Dec 2016 15:32:10 +0000 (15:32 +0000)]
Merge "Treble HAL interfaces for drm+crypto"

7 years agoTreble HAL interfaces for drm+crypto
Jeff Tinker [Fri, 2 Dec 2016 02:12:56 +0000 (18:12 -0800)]
Treble HAL interfaces for drm+crypto

b/32815560

Tests: Make completes successfully

Change-Id: Id65cfef95094ccd9a9e95fa567651f94b66aaa51

7 years agoMerge "Update for colliding names in arguments and results."
TreeHugger Robot [Sat, 10 Dec 2016 03:28:05 +0000 (03:28 +0000)]
Merge "Update for colliding names in arguments and results."

7 years agowifi: Disallow iface creation based on mode
Roshan Pius [Fri, 9 Dec 2016 03:10:06 +0000 (19:10 -0800)]
wifi: Disallow iface creation based on mode

Based on the mode configured, limit the iface creation.

Note: Support for iface removal will be added in a follow up CL which
should help us use P2P or NAN iface dynamically.

Bug: 31997422
Test: Compiles
Change-Id: Idde2f3b749264d542d5d6608b0b2c5aa8103ade6

7 years agosupplicant(interface): Correct ANQP enum value/type
Roshan Pius [Thu, 8 Dec 2016 21:20:05 +0000 (13:20 -0800)]
supplicant(interface): Correct ANQP enum value/type

Correct the HS20 subtype & Anqp Info ID enum value/type to match
what is used in wpa_supplicant core.

Bug: 33493298
Test: Compiles
Change-Id: I5b25d334271c39d977e2990c643f4a2b01872f1a

7 years agosupplicant(interface): Minor fixes in P2P iface
Roshan Pius [Thu, 8 Dec 2016 19:08:14 +0000 (11:08 -0800)]
supplicant(interface): Minor fixes in P2P iface

Fixing couple of issues found in the interface during implementation.
1. WpsProvisionMethod::KEYPAD is not used in wpa_supplicant core. It is
only used inside Android framework. So, remove them.
2. Added |setDisallowedFrequencies| method.
3. Changed the pin type to string from vector of bytes because that is
used by Android framework and wpa_supplicant.

Bug: 31497295
Test: Compiles
Change-Id: I69db530e23c2d3af907c3a5c824cf8291cf12c35

7 years agoUpdate for colliding names in arguments and results.
Yifan Hong [Fri, 9 Dec 2016 22:26:58 +0000 (14:26 -0800)]
Update for colliding names in arguments and results.

Test: compiles

Bug: 33277700
Change-Id: I0c1a62fdea3617a06120f548105f778e011cb576

7 years agoMerge "Fixing logging in Vehicle HAL, code clean up"
TreeHugger Robot [Fri, 9 Dec 2016 21:25:01 +0000 (21:25 +0000)]
Merge "Fixing logging in Vehicle HAL, code clean up"

7 years agoFixing logging in Vehicle HAL, code clean up
Pavel Maltsev [Mon, 5 Dec 2016 19:03:52 +0000 (11:03 -0800)]
Fixing logging in Vehicle HAL, code clean up

Test: this just refactoring, verified existing tests still passing

Change-Id: I70ad3928f9fe6b2f6c677b4d6848f263f3c25d11
Fix: b/33297409

7 years agoMake audiohal service 'oneshot' to avoid double restart on crash
Mikhail Naganov [Thu, 8 Dec 2016 00:34:18 +0000 (16:34 -0800)]
Make audiohal service 'oneshot' to avoid double restart on crash

audioserver receives a change that makes it to crash once it
detects that audiohal server has crashed (because audioflinger
can't gracefully restore the state of the audio system).

As audioserver.rc file prescribes restaring the audiohal on
audioserver restart, there is no need to rely on the init process
to restart the audiohal. Moreover, asking the init process to do
that causes a double restart of the audiohal service if it crashes.

Test: kill audio-hal process, watch dmesg and logcat
Change-Id: Iac4cc79cdc1a3debd2b9cfcdf42f11451d7ce24c

7 years agoMerge "audiohal: Do not log if EINVAL is received from get_presentation_position"
Mikhail Naganov [Fri, 9 Dec 2016 16:36:23 +0000 (16:36 +0000)]
Merge "audiohal: Do not log if EINVAL is received from get_presentation_position"

7 years agowifi: Reset internal callback pointers on failure am: 7a41d9d59f am: 3a41df3ffb am...
Roshan Pius [Fri, 9 Dec 2016 02:21:19 +0000 (02:21 +0000)]
wifi: Reset internal callback pointers on failure am: 7a41d9d59f am: 3a41df3ffb am: 2c800a1fc3
am: b17ec10613

Change-Id: I19b04b55bc77239cbd5f3f51f52ca6c9b355a17e

7 years agowifi: Add support for RSSI monitoring am: d476754bc0 am: 7ee5aaa8d5 am: 4bb0a3abaa
Roshan Pius [Fri, 9 Dec 2016 02:21:17 +0000 (02:21 +0000)]
wifi: Add support for RSSI monitoring am: d476754bc0 am: 7ee5aaa8d5 am: 4bb0a3abaa
am: faeea72196

Change-Id: I8b6398e805e723f2be4774c0ee1b88fdf2fd5ee1

7 years agowifi: Add method implementations in IWifiRttController am: e3f72ff344 am: 55e445fbd4...
Roshan Pius [Fri, 9 Dec 2016 02:21:16 +0000 (02:21 +0000)]
wifi: Add method implementations in IWifiRttController am: e3f72ff344 am: 55e445fbd4 am: 14e73a88e6
am: 658a2724ed

Change-Id: I80c48e769a03dda88854af3f21ce6019d02aaafe

7 years agowifi: Add method implementations in IWifiStaIface am: 970f031170 am: 9d0c9663e0 am...
Roshan Pius [Fri, 9 Dec 2016 02:21:14 +0000 (02:21 +0000)]
wifi: Add method implementations in IWifiStaIface am: 970f031170 am: 9d0c9663e0 am: 043991fd8d
am: 34ff9a0833

Change-Id: I68827dd6eeec0ce089f47867c34acd733d8812e5

7 years agowifi: Add logger method implementations in IWifiChip am: e2d0ab52ea am: 54e14629b4...
Roshan Pius [Fri, 9 Dec 2016 02:21:13 +0000 (02:21 +0000)]
wifi: Add logger method implementations in IWifiChip am: e2d0ab52ea am: 54e14629b4 am: 6e72e641bb
am: 3a76c3692c

Change-Id: Ifeedcfb09f6baf34646d659e4df10f2ff7065462

7 years agowifi: Gscan struct conversion changes am: 881d1f7823 am: 97871355a1 am: d4059858f5
Roshan Pius [Fri, 9 Dec 2016 02:21:12 +0000 (02:21 +0000)]
wifi: Gscan struct conversion changes am: 881d1f7823 am: 97871355a1 am: d4059858f5
am: 59dcb415ca

Change-Id: Ie07dde468072b5f0ccfd995da90e780e20e8fcb7

7 years agowifi: Add some more missing struct conversions am: f72df2e186 am: 6197b96c25 am:...
Roshan Pius [Fri, 9 Dec 2016 02:21:10 +0000 (02:21 +0000)]
wifi: Add some more missing struct conversions am: f72df2e186 am: 6197b96c25 am: 74079dd9fc
am: ac51ad2ecd

Change-Id: I9ead45545de9a18b91be41bda356abb0ee728fce

7 years agowifi: Remove unused methods in IWifiRttController am: 824e475cd1 am: e272814d13 am...
Roshan Pius [Fri, 9 Dec 2016 02:21:09 +0000 (02:21 +0000)]
wifi: Remove unused methods in IWifiRttController am: 824e475cd1 am: e272814d13 am: ab7a780433
am: 23fc1e72a1

Change-Id: Ie6a09d4d738643e1eee01d09119ab7d7065b65d0

7 years agowifi: Add RTT structure conversion methods am: 3fae9c82a0 am: ca2c7d355f am: 9f1f7fafae
Roshan Pius [Fri, 9 Dec 2016 02:21:08 +0000 (02:21 +0000)]
wifi: Add RTT structure conversion methods am: 3fae9c82a0 am: ca2c7d355f am: 9f1f7fafae
am: 9fd4ca7ac8

Change-Id: I10c45514661003dfa4c05d1ca09c806b400530a7

7 years agowifi: Convert packet fate structures from legacy to HIDL am: 32d0ca967a am: 9ef46f44f...
Roshan Pius [Fri, 9 Dec 2016 02:21:07 +0000 (02:21 +0000)]
wifi: Convert packet fate structures from legacy to HIDL am: 32d0ca967a am: 9ef46f44fb am: bb9d055fe3
am: 3bfe270309

Change-Id: Ia9efb22cb2834db3f9736a22d7c3f5cc98adac5a

7 years agowifi: Begin NAN iface methods implementation am: f5f51fd039 am: 66fd78f1ae am: 98220e807b
Roshan Pius [Fri, 9 Dec 2016 02:21:05 +0000 (02:21 +0000)]
wifi: Begin NAN iface methods implementation am: f5f51fd039 am: 66fd78f1ae am: 98220e807b
am: 7301eca5e8

Change-Id: Iabe40124d9685a5b52d40a59a7f574891f966053

7 years agowifi: Reset internal callback pointers on failure am: 7a41d9d59f am: 3a41df3ffb
Roshan Pius [Fri, 9 Dec 2016 02:15:51 +0000 (02:15 +0000)]
wifi: Reset internal callback pointers on failure am: 7a41d9d59f am: 3a41df3ffb
am: 2c800a1fc3

Change-Id: I6cc3f1929a944b097a7119fccba4679f55007e37