OSDN Git Service
Roshan Pius [Fri, 18 Nov 2016 01:18:19 +0000 (01:18 +0000)]
wifi: Add APF/feature-set wrappers in WifiLegacyHal
am:
0a47c187b9
Change-Id: Idaa8f4932d44cde5ba4a69919e3833027782281c
Roshan Pius [Fri, 18 Nov 2016 01:18:18 +0000 (01:18 +0000)]
wifi: Move legacy hal types to a new namespace (2/2)
am:
6cedc97e95
Change-Id: I7c999625fb5a39d2568f39189905a67f9366d078
Roshan Pius [Fri, 18 Nov 2016 01:18:17 +0000 (01:18 +0000)]
wifi: Move legacy hal types to a new namespace (1/2)
am:
955542e9a2
Change-Id: I83e0e783077d2e3dd8103d494192c2652665977c
Roshan Pius [Fri, 28 Oct 2016 17:23:00 +0000 (10:23 -0700)]
wifi: Add APF/feature-set wrappers in WifiLegacyHal
Add wrappers for retrieving the feature set supported by the device &
APF functionality.
Bug:
31991459
Test: Compiles
Change-Id: I34b8896a21e34f688374750faefd589eca2a4de1
Roshan Pius [Thu, 17 Nov 2016 02:43:37 +0000 (02:43 +0000)]
wifi: Changes to WifiLegacy Hal
am:
511cc493e3
Change-Id: I2b78178e06ba7dbc0929ac8e0dc2c2a40443dfe6
Roshan Pius [Thu, 17 Nov 2016 00:57:06 +0000 (00:57 +0000)]
wifi: Remove passthrough mode
am:
23f9f30344
Change-Id: I54fe1971eb19c9e8e756f001424d28fe72189f0c
Roshan Pius [Thu, 17 Nov 2016 00:57:05 +0000 (00:57 +0000)]
wifi: Stub implementation of WifiNanIface methods
am:
0c92d446a2
Change-Id: I8be74c7b452e1a2fc36e86a55e1d8e749b3cdb70
Roshan Pius [Thu, 17 Nov 2016 00:57:03 +0000 (00:57 +0000)]
wifi: Stub implementation of WifiRttController methods
am:
7913f5e49d
Change-Id: I45a075986e47dd3ed6feb5735c1fc8e396bf3ad0
Roshan Pius [Thu, 17 Nov 2016 00:57:02 +0000 (00:57 +0000)]
wifi: Stub implementation of WifiStaIface methods
am:
a04ba3fcb8
Change-Id: Ie61978114eb86f11e3e8f56e15a6d4293bbf4c88
Roshan Pius [Thu, 17 Nov 2016 00:57:01 +0000 (00:57 +0000)]
wifi: Stub implementation of WifiChip methods
am:
7d08d7a16d
Change-Id: If81d1003542b4131448c11df5a3e7c00a6c00fab
Roshan Pius [Thu, 17 Nov 2016 00:57:00 +0000 (00:57 +0000)]
wifi: Use hidl_return_util functions in Iface/Rtt
am:
907d4a234d
Change-Id: I224f3edf8aefe3e47e1604b457e5aa57b9c7a301
Roshan Pius [Thu, 17 Nov 2016 00:56:59 +0000 (00:56 +0000)]
wifi: Use hidl_return_util functions in WifiChip
am:
3c86852a2e
Change-Id: I69b20794be77270122718960ce8771ce1f451d40
Roshan Pius [Thu, 17 Nov 2016 00:56:58 +0000 (00:56 +0000)]
wifi: Helper functions for invoking hidl cont callbacks
am:
5647665827
Change-Id: Id86ad2d1bf0a711622a5c1300437b027d08790d3
Roshan Pius [Thu, 17 Nov 2016 00:56:57 +0000 (00:56 +0000)]
wifi: Make methods deliver status synchronously (3/3)
am:
734fea0d98
Change-Id: I749781becee892317f741ca561ee825546870163
Roshan Pius [Thu, 17 Nov 2016 00:56:56 +0000 (00:56 +0000)]
wifi: Make methods deliver status synchronously (2/3)
am:
5c05546fc9
Change-Id: Icd12fff4544ffadd62cd8a040a37a6542b829695
Roshan Pius [Thu, 17 Nov 2016 00:56:55 +0000 (00:56 +0000)]
wifi: Make methods deliver status synchronously (1/3)
am:
503582ed94
Change-Id: I868296a715c673937a1ce17100b392ef02b3d196
Roshan Pius [Thu, 17 Nov 2016 00:56:53 +0000 (00:56 +0000)]
wifi: Rename failure_reason_util to wifi_status_util
am:
1922482a5c
Change-Id: I32955402c44c8d4f6a961241d412efaeba508374
Roshan Pius [Thu, 17 Nov 2016 00:56:52 +0000 (00:56 +0000)]
wifi(interface): Add status for all methods
am:
02caa1b821
Change-Id: I96bd199b2d739d5371b9f0cd761440df7cdc6eb3
Roshan Pius [Thu, 17 Nov 2016 00:56:49 +0000 (00:56 +0000)]
wifi(interface): Add wifi host debug wake up reason stats
am:
e0724f98b0
Change-Id: Ife791e5b1ca8046713a202e49b0a426b2c9abcae
Roshan Pius [Thu, 17 Nov 2016 00:56:48 +0000 (00:56 +0000)]
wifi(interface): Add wifi debug packet fate related interface
am:
fe9ad36cb2
Change-Id: I63b0ff50906590a4af3b1854c89cd47ea12506cb
Roshan Pius [Thu, 17 Nov 2016 00:56:47 +0000 (00:56 +0000)]
wifi(interface): Add wifi debug ring buffer related interface
am:
e3a02b07b6
Change-Id: I1cac68e450cc87b8674ca00120964bf9dfcc0a9f
Roshan Pius [Thu, 17 Nov 2016 00:56:46 +0000 (00:56 +0000)]
wifi(interface): Move all StaIface types to types.hal
am:
5e25466ebf
Change-Id: I2815c82897e31ea35fd6d0ae3e2e3feb20e750b6
Roshan Pius [Thu, 17 Nov 2016 00:56:45 +0000 (00:56 +0000)]
wifi(interface): Fix compilation failure
am:
e03f736ca0
Change-Id: I687c4da68d93a7657991eb92cecb3f4e4c4d4986
Roshan Pius [Thu, 17 Nov 2016 00:56:44 +0000 (00:56 +0000)]
wifi(interface): Rtt controller HIDL interface
am:
18eec81adc
Change-Id: Idb2a967fe289216ad5e37a4f04ac15be7a97c215
Roshan Pius [Thu, 17 Nov 2016 00:56:43 +0000 (00:56 +0000)]
wifi(interface): NAN HIDL interface
am:
120f94c594
Change-Id: I22788dd6cd85b18c06c7bca7de53e5c1fabf5d1f
Roshan Pius [Thu, 17 Nov 2016 00:56:42 +0000 (00:56 +0000)]
wifi(interface): Link layer stats collection
am:
18680b7aff
Change-Id: Id21f5179208d3b5671541747894fdd875d43d8f0
Roshan Pius [Thu, 17 Nov 2016 00:56:41 +0000 (00:56 +0000)]
wifi(interface): Make methods synchronous
am:
a52dc7322d
Change-Id: Iee14349de899301b1b8b7ee8b1b0e24d61f5ac2c
Roshan Pius [Thu, 17 Nov 2016 00:56:40 +0000 (00:56 +0000)]
wifi(interface): Add status for every method
am:
1f9073cfcb
Change-Id: Ic839dad94f04d974f49f67ffd125ac302a9b4fea
Roshan Pius [Thu, 17 Nov 2016 00:56:38 +0000 (00:56 +0000)]
wifi(interface): Add gscan/apf related API's
am:
7b77747bb5
Change-Id: Ib5efe1acd06649e65c88a3721e455725b2206778
Roshan Pius [Fri, 28 Oct 2016 17:11:17 +0000 (10:11 -0700)]
wifi: Move legacy hal types to a new namespace (2/2)
Changes in HIDL interface obejcts to use the new namespace for legacy
HAL.
Bug:
32242225
Test: Compiles
Change-Id: I7d0e9cee8656bd779a24d9eaede415317dceaf9b
Roshan Pius [Fri, 28 Oct 2016 16:42:44 +0000 (09:42 -0700)]
wifi: Move legacy hal types to a new namespace (1/2)
To prevent typename conflicts between the types in
"hardware_legacy/wifi_hal.h" and the HIDL interface,
Move all the legacy HAL types under a separate namespace (legacy_hal).
This is especially needed for Nan data types. Some of the typenames are
exactly the same in the legacy HAL header file and the HIDL interface.
Related changes,
Remove the use of |HalTool| class. This causes compilation failures
because it tries to include wifi_hal.h as well (but, that is now wrapped
inside a namespace).
Bug:
32242225
Test: Compiles
Change-Id: I937877798b81aea280d1797833745ae97fb02dc9
Roshan Pius [Fri, 28 Oct 2016 16:54:26 +0000 (09:54 -0700)]
wifi: Changes to WifiLegacy Hal
Changes in the CL:
a. Removed the usage of wifi_status_util in WifiLegacyHal. The
|legacyErrorToString| log will be done in the HIDL object. This is to
remove any reference of |WifiStatus|
b. Moved the cleanup of function pointers to a separate helper function
|invalidate|.
c. Moved static constants out of WifiLegacyHal class.
Bug:
32505551
Test: Compiles
Change-Id: I9dc3900c40cf30de2c0a4376d4de2b08076e2b5f
Roshan Pius [Mon, 24 Oct 2016 20:33:51 +0000 (13:33 -0700)]
wifi: Remove passthrough mode
Wifi HAL is not going to support HIDL passthrough mode. So, remove the
target definition.
Bug:
32376894
Test: Compiles
Change-Id: I43740541f576746826d75c6ac48a11bb2a619227
Roshan Pius [Fri, 28 Oct 2016 00:38:53 +0000 (17:38 -0700)]
wifi: Stub implementation of WifiNanIface methods
Bug:
31991076
Test: Compiles
Change-Id: Ia3723a14af20176c08e6e466e8b55bb32c8f9d41
Roshan Pius [Fri, 28 Oct 2016 00:09:30 +0000 (17:09 -0700)]
wifi: Stub implementation of WifiRttController methods
Bug:
31991232
Test: Compiles
Change-Id: I90f803ae19746ef844280cd8df96987e350f8a3f
Roshan Pius [Thu, 27 Oct 2016 21:36:26 +0000 (14:36 -0700)]
wifi: Stub implementation of WifiStaIface methods
Bug:
32221997
Bug:
31991459
Test: Compiles
Change-Id: Iefc68958befc549fd9100b29f84cb6e6d73efe95
Roshan Pius [Thu, 27 Oct 2016 21:35:05 +0000 (14:35 -0700)]
wifi: Stub implementation of WifiChip methods
Bug:
32221997
Test: Compiles
Change-Id: I627a05ce17d8b0e87101f395c3b3d6c10d3c440c
Roshan Pius [Thu, 27 Oct 2016 19:48:12 +0000 (12:48 -0700)]
wifi: Use hidl_return_util functions in Iface/Rtt
Modify the WifiIface & WifiRttController methods to the use the new helper
functions.
Bug:
32337072
Test: Compiles
Change-Id: I8ce5450f3012ea3ad699db3c780c0bf985492aad
Roshan Pius [Thu, 27 Oct 2016 19:43:49 +0000 (12:43 -0700)]
wifi: Use hidl_return_util functions in WifiChip
Modify the WifiChip methods to the use the new helper functions.
Also,
1. Modify the WifiLegacyHal.requestDriverMemoryDump &
WifiLegacyHal.requestDriverMemoryDump to return a vector of |uint8_t|
instead of |char| to avoid unnecessary typecasting in the HIDL methods.
2. Remove |createHidlVecOfIfaceNames| helper function as most of the
necessary conversion should be handled by hidl_vec/hidl_string
constructors.
Bug:
32337072
Test: Compiles
Change-Id: Ic0b7aa2a5a078e53d5bc5bef18995a3cc0f548a1
Roshan Pius [Wed, 26 Oct 2016 21:43:05 +0000 (14:43 -0700)]
wifi: Helper functions for invoking hidl cont callbacks
The helper functions are used to invoke an internal method which
implements the functionality and then invoke the HIDL callback
with the return values.
HIDL's auto-generated code uses on-stack callbacks to return
non-primitive/multiple values from HIDL methods. This is unwieldy and
the implementation of the method's functionality gets mixed up with the
semantics of handling these callbacks. This tries to hide the semantics
of HIDL auto-generated code from the functionality.
Converted all IWifi methods to use these new helper functions.
Bug:
32337072
Test: Compiles
Change-Id: I57cbafcc2ecb52ec5055f4bd80bc064bd438b850
Roshan Pius [Tue, 11 Oct 2016 15:30:28 +0000 (08:30 -0700)]
wifi: Make methods deliver status synchronously (3/3)
Make all the |IWifiIface|/|IWifiRttController| HIDL interface
methods return a synchronous status code. Change from using the event
callbacks to the synchronous callbacks for delivering status.
While there,
Use the default std::string to hidl_string constructor in status
callbacks.
Bug:
32056230
Bug:
32061909
Test: Compiles
Change-Id: Ifa06a11afb085bfd6684f7b997fb730d192018ea
Roshan Pius [Tue, 11 Oct 2016 15:27:27 +0000 (08:27 -0700)]
wifi: Make methods deliver status synchronously (2/3)
Make all the |IWifiChip| HIDL interface methods return a synchronous
status code. Change from using the event callbacks to the synchronous
callbacks for delivering status.
While there,
1. Use std::tie to retrive values out of the legacy HAL functions returning
a pair.
2. Use the std::vector to hidl_vec constructor for returning vector of
ifnames.
Bug:
32056230
Bug:
32061909
Test: Compiles
Change-Id: Iac27521be17cd9852df04ad7d412e09160a08d33
Roshan Pius [Tue, 11 Oct 2016 15:25:30 +0000 (08:25 -0700)]
wifi: Make methods deliver status synchronously (1/3)
Make the following |IWifi| HIDL interface methods return a synchronous
status code:
a) start()
b) stop()
The other methods in this interface do not have a failure case and hence
not returning a status code.
This changes the nature of event callbacks registered for each
interface. Previously, every operation's status was sent to all the
registered event callbacks. Now, only the caller is notified of the
operation's status via the passed synchronous callbacks. The event
callbacks are now used to broadcast only important state changes/events.
Bug:
32056230
Bug:
32061909
Test: Compiles
Change-Id: I95dc3fa139ac3ac7500d81e9e0dbc4f4de04e127
Roshan Pius [Tue, 11 Oct 2016 15:21:46 +0000 (08:21 -0700)]
wifi: Rename failure_reason_util to wifi_status_util
The HIDL interface now returns a |WifiStatus| instance to indicate the
status of any operation. This is replacing the existing asynchronous
delivery of success or failure (using |FailureReason| instance).
Rename the existing util class to |wifi_status_util| and add a couple of
methods to create a |WifiStatus| instance with empty description.
Bug:
32056230
Test: Compiles
Change-Id: I8488f7cd7d6ad6bd7a0c3c82a7ef83299d877d45
Roshan Pius [Wed, 26 Oct 2016 22:56:17 +0000 (15:56 -0700)]
wifi(interface): Add status for all methods
Add missing status returns for a few HIDL methods. This is to keep the
interface consistent.
Bug:
32146455
Test: update_makefile.sh
Change-Id: Ia66fe4d00e884e5ce1e1906db77bb5ffdaebffdd
Roshan Pius [Thu, 20 Oct 2016 16:33:26 +0000 (09:33 -0700)]
wifi(interface): Add wifi host debug wake up reason stats
These stats are used to determine if the device is being woken up
frequently by the wlan chipset. The stats structure describe all the
various resons for which the host was woken up by the wlan chipset
(firmware).
Bug:
32221997
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: Id52915348fef0283affcd834c6f1db5055e54ace
Roshan Pius [Wed, 19 Oct 2016 23:45:12 +0000 (16:45 -0700)]
wifi(interface): Add wifi debug packet fate related interface
The packet fate debug mechanism is used to track the state of all the
packets transmitted/received during the association process.
Also,
Add the various debug capabilities in the respective interfaces.
All ring buffer, driver/firmware dump, etc related capabilities are in
IWifiChip object.
The packet fate capability is exposed in IWifiStaIface object.
Bug:
32221997
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: Ic6bf49d682b70a1cdcd18c69fc25a544921bd548
Roshan Pius [Wed, 19 Oct 2016 19:31:01 +0000 (12:31 -0700)]
wifi(interface): Add wifi debug ring buffer related interface
The debug ring buffers is a purely debug mechanism to let the driver
report debug info like connection events, power events, etc to the
framework.
The framework used to previously dump out the raw byte stream in
the bugreport and the vendors had some tools to parse out the data.
This is now being changed to provide the framework with the
internal ring buffer structs to ease parsing this data in framework
itself. This will eventually be used in the new wifilogd daemon.
Bug:
32221997
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I2c90662cfa9d07ae6fc72198a286338dbaacbfc2
Roshan Pius [Wed, 26 Oct 2016 17:10:48 +0000 (10:10 -0700)]
wifi(interface): Move all StaIface types to types.hal
Some of these structs are used in the debug framework and hence needs to
live in types.hal. Add a |Sta| prefix to differentiate them from other
types similar to what is done for Nan and Rtt types.
Bug:
31991459
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: Idc49b28447609c4334b0a086481c404c06a63fea
Roshan Pius [Fri, 14 Oct 2016 21:53:43 +0000 (14:53 -0700)]
wifi(interface): Fix compilation failure
Changes in the CL:
a) Unions are not allowed in the HIDL generated code that is going to be
used in java.
b) Few RTT constants were defined twice in the legacy rtt.h. One set
as enums, the other set as #define's. Remove the duplicated values in
the HIDL interface.
Bug:
31991076
Bug:
31991232
Test: mmm -j32 hardware/interfaces/wifi/1.0/
Change-Id: I03db70c7b89c0be53a7754ab8b34a19ad2c6e536
Roshan Pius [Fri, 14 Oct 2016 18:29:30 +0000 (11:29 -0700)]
wifi(interface): Rtt controller HIDL interface
Bug:
31991232
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I53b95e85ee8a71bcb0494420913c9511f87908c0
Roshan Pius [Thu, 13 Oct 2016 18:48:42 +0000 (11:48 -0700)]
wifi(interface): NAN HIDL interface
Interface is mostly a replication of the wifi_nan.h HAL header file.
1. All the methods are in |IWifiNanIface|.
2. Moved all the callbacks to |IWifiNanIfaceEventCallback.hal|.
2. Moved all the data types to |types.hal|.
3. Changed all the variable size arrays to vecs.
Bug:
31991076
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I2af0b0003cf30a0f2bfdcb56b69c492cf831745b
Roshan Pius [Wed, 12 Oct 2016 15:25:48 +0000 (08:25 -0700)]
wifi(interface): Link layer stats collection
Add HIDL methods for STA iface link layer stats.
While there,
Add the missing gscan API for fetching a list of channels for a given
band.
Bug:
31991459
Test: Compiles
Change-Id: I5d448eb823faae4e8f5c25f746cf59e70df454cf
Roshan Pius [Mon, 10 Oct 2016 18:53:07 +0000 (11:53 -0700)]
wifi(interface): Make methods synchronous
Having all the HIDL methods asynchronous, makes it hard for the
calling code to keep track of the operation status/result.
There are some operations which will generate asynchronous results (like
bgscan), convert all the other methods to synchronous methods.
The |EventCallback| objects will now just broadcast important events
(needed for other clients to listen for state changes). This will no
longer be used to send responses to every command sent to the HAL.
Bug:
32061909
Test: `./hardware/interfaces/update-makefiles.sh`
Change-Id: Id2433f4c8e028268dd027cdeb239ba4082b157b5
Roshan Pius [Mon, 10 Oct 2016 17:32:22 +0000 (10:32 -0700)]
wifi(interface): Add status for every method
Add a status parameter for every HIDL interface object method which can
possibly become invalid. This should help inform the caller that the
object being used is stale/invalid now.
While there,
Rename |CommandFailureReson| to |FailureReasonCode|.
NOTE: |FailureReason| will continue to indicate any errors during the
processing of the command via the corresponding |onFailure| callback.
Bug:
32056230
Test: Compiles
Change-Id: I2ec5af3075221e483579410f344bcedd6bf17a93
Roshan Pius [Fri, 7 Oct 2016 20:15:59 +0000 (13:15 -0700)]
wifi(interface): Add gscan/apf related API's
Changes in the CL:
1. Add gscan/APF related API's to |IWifiStaIface|.
2. Add a new callback HIDL interface (|IWifiStaIfaceEventCallback)
for all callbacks received from |IWifiStaIface|.
Bug:
31991459
Test: Compiles
Change-Id: Id9f2ded9e20bee393ab53d84efa814d52704cd2c
Roshan Pius [Wed, 16 Nov 2016 19:00:29 +0000 (19:00 +0000)]
supplicant(interface): Fix compilation failure
am:
9e01c51793
Change-Id: Ib0fa885cb256ca000ca04e3bface3690bbd6f1fc
Roshan Pius [Wed, 16 Nov 2016 18:29:37 +0000 (10:29 -0800)]
supplicant(interface): Fix compilation failure
The generated code uses the variable |code| internally.
Bug:
31116047
Test: mmm -j32 hardware/interfaces/wifi/supplicant/1.0/
Change-Id: Ic6d0c9a198a026460f67fa4920b8003a304f6727
Roshan Pius [Wed, 16 Nov 2016 17:32:37 +0000 (17:32 +0000)]
Merge "supplicant(interface): Add support for Hotspot 2.0"
am:
06a3daad19
Change-Id: I6784df7d3dcc34483f4b7c681d64d4d4e76c9fc0
Roshan Pius [Wed, 16 Nov 2016 17:24:12 +0000 (17:24 +0000)]
Merge "supplicant(interface): Add support for Hotspot 2.0"
Roshan Pius [Wed, 9 Nov 2016 17:55:42 +0000 (09:55 -0800)]
supplicant(interface): Add support for Hotspot 2.0
HIDL interface to
a) Initiate ANQP queries & icon queries for hotspot 2.0
b) Add callbacks for the reception of WNM frames (hotspot
remediation, deauth imminent notice).
Bug:
31116047
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: Ib3353f04b493f50c6415d1f3475efa957d921540
Connor O'Brien [Thu, 10 Nov 2016 20:40:54 +0000 (20:40 +0000)]
Merge "Run boot HAL service as root"
am:
72882f05ec
Change-Id: I524ad08c38268fb37d51a1006b72c263bf9b2cd5
Connor O'Brien [Thu, 10 Nov 2016 20:23:00 +0000 (20:23 +0000)]
Merge "Run boot HAL service as root"
Sanket Padawe [Thu, 10 Nov 2016 00:05:40 +0000 (00:05 +0000)]
Merge "Extend Telephony HIDL interface to include unsolicited RIL commands."
am:
d91322ea43
Change-Id: I47481fb3f145fe5e53649716b989dd4120556518
Treehugger Robot [Wed, 9 Nov 2016 23:58:36 +0000 (23:58 +0000)]
Merge "Extend Telephony HIDL interface to include unsolicited RIL commands."
Sanket Padawe [Wed, 9 Nov 2016 22:21:31 +0000 (14:21 -0800)]
Extend Telephony HIDL interface to include unsolicited RIL commands.
Bug:
32020264
Test: No test, only interface.
Change-Id: I242cfd3cffb43531025da37d079d7a68b55d7ca3
Roshan Pius [Wed, 9 Nov 2016 18:09:08 +0000 (18:09 +0000)]
Merge "supplicant(interface): Support P2P operations"
am:
849d24ccbf
Change-Id: I869c9f455430aa8ed890c35030bdace596f1ef1f
Roshan Pius [Wed, 9 Nov 2016 18:01:55 +0000 (18:01 +0000)]
Merge "supplicant(interface): Support P2P operations"
Yifan Hong [Wed, 9 Nov 2016 07:33:27 +0000 (07:33 +0000)]
Update Android.bp to reexport dependent packages.
am:
1eb8f1cc1f
Change-Id: I21e266b83a89a1858d6c5f7fab6592bac5c95b30
Yifan Hong [Mon, 7 Nov 2016 22:40:40 +0000 (14:40 -0800)]
Update Android.bp to reexport dependent packages.
b/
32710416
Test: mma
Change-Id: Iaca7300c366c2c9e860a29e6a111248d315cc5b4
Connor O'Brien [Wed, 9 Nov 2016 00:14:55 +0000 (16:14 -0800)]
Run boot HAL service as root
The service must run as root to access block devices required by
the existing implementation.
Test: bootctl is-slot-bootable 1
Change-Id: I882cba8ad24943781d5c447b67518acc03efc9a8
Signed-off-by: Connor O'Brien <connoro@google.com>
Roshan Pius [Mon, 7 Nov 2016 18:29:48 +0000 (10:29 -0800)]
supplicant(interface): Support P2P operations
Add methods for all the P2P related operations. This is a subset of P2P
functionalities exposed by wpa_supplicant used in the Android codebase
currently.
While there,
Add missing |FAILURE_ARGS_INVALID| status code in the setter methods in
ISupplicantStaNetwork.hal
Bug:
31497295
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I657ef6deaa6203bcf890c43f98a32f6230962d04
Colin Cross [Mon, 7 Nov 2016 20:39:02 +0000 (20:39 +0000)]
Merge "Support genrules with multiple tools"
am:
5222c47773
Change-Id: I2953299775fa7fbc5149ebfcc271d2d2b3cf06ff
Colin Cross [Mon, 7 Nov 2016 20:28:25 +0000 (20:28 +0000)]
Merge "Support genrules with multiple tools"
Colin Cross [Fri, 4 Nov 2016 22:02:42 +0000 (15:02 -0700)]
Support genrules with multiple tools
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.
Bug:
31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
(cherry picked from commit
b785f5b82ef2efa62ca9d7288cfff64c178080b0)
Roshan Pius [Fri, 4 Nov 2016 23:36:50 +0000 (23:36 +0000)]
Merge "supplicant(interface): Remove "wpa_supplicant""
am:
22373cb4b8
Change-Id: Ieeaf40cb870aec8ff420e2f99f64f732129b3993
Treehugger Robot [Fri, 4 Nov 2016 23:30:45 +0000 (23:30 +0000)]
Merge "supplicant(interface): Remove "wpa_supplicant""
Sanket Padawe [Fri, 4 Nov 2016 17:41:44 +0000 (17:41 +0000)]
Merge "Extend HIDL interface for Radio (RIL)."
am:
37c96a54e5
Change-Id: I71ff598c869ce9a1c2c9ea1ee6be993a49687abb
Sanket Padawe [Fri, 4 Nov 2016 17:34:36 +0000 (17:34 +0000)]
Merge "Extend HIDL interface for Radio (RIL)."
Sanket Padawe [Thu, 3 Nov 2016 23:46:32 +0000 (16:46 -0700)]
Extend HIDL interface for Radio (RIL).
+ All remaining solicited requests to radio covered.
Test: No test for the interface.
Bug:
32020264
Change-Id: I1ee21c01ec9676919a0e88dadc3be2e21a3459a5
Yifan Hong [Thu, 3 Nov 2016 22:14:05 +0000 (22:14 +0000)]
Merge "Fix test for array size orders."
am:
139b69077f
Change-Id: Id48b54f7958088397ba60511d3b2d3388749ba8c
Treehugger Robot [Thu, 3 Nov 2016 22:07:24 +0000 (22:07 +0000)]
Merge "Fix test for array size orders."
Yifan Hong [Thu, 3 Nov 2016 19:21:06 +0000 (19:21 +0000)]
hidl_test: do not use Return for app errors.
am:
1f4fbc0793
Change-Id: I94c6383d004c9f70e015308556a84b076f3a983c
Roshan Pius [Thu, 3 Nov 2016 16:37:57 +0000 (09:37 -0700)]
supplicant(interface): Remove "wpa_supplicant"
sed -i "s/wpa_supplicant/the supplicant/g" *.hal
Bug:
32602594
Test: Compiles
Change-Id: Id905cabba29359db8727c131fb64357dfbb104cd
Yifan Hong [Wed, 2 Nov 2016 23:50:01 +0000 (16:50 -0700)]
hidl_test: do not use Return for app errors.
Test: hidl_test
Bug:
31348667
Change-Id: Icc7e926bbb886b040fdea0ff9dee8bedad0860e7
Yifan Hong [Wed, 2 Nov 2016 20:29:13 +0000 (13:29 -0700)]
Fix test for array size orders.
Test: hidl_test
Test: hidl_test_java
Bug:
31438033
Change-Id: I100d7ed6dac24005fa1a5c46a3e09aa062d957f7
Roshan Pius [Wed, 2 Nov 2016 17:27:33 +0000 (17:27 +0000)]
wpa_supplicant(interface): Remove create/remove iface methods from HIDL
am:
7c636f8149
Change-Id: Idde2ff2456c043364282aca341bd377257ea135e
Roshan Pius [Wed, 2 Nov 2016 17:27:32 +0000 (17:27 +0000)]
wpa_supplicant(interface): Add iface/network type
am:
39f588f8ed
Change-Id: I820458d45d5d4bd06ad5a9c0c24d1dce0716ba76
Roshan Pius [Wed, 2 Nov 2016 00:03:55 +0000 (17:03 -0700)]
wpa_supplicant(interface): Remove create/remove iface methods from HIDL
Use a new struct(IfaceInfo) to list and get iface objects from the root.
Bug:
32577464
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I912d37f62767980e7f88de5b4439425276de50f8
Roshan Pius [Mon, 31 Oct 2016 21:51:27 +0000 (14:51 -0700)]
wpa_supplicant(interface): Add iface/network type
Add separate types of Iface/Network object for STA (station mode) and
P2P mode ifaces and associated networks. These expose very different
functionality and exposing 2 different types of objects makes the
interface cleaner.
Although, they're still represented via the same struct for both types
in the wpa_supplicant core.
Bug:
32553421
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I41601a650709429c65014cb7adaf6cb9ab03787e
Steven Moreland [Wed, 2 Nov 2016 00:48:34 +0000 (00:48 +0000)]
Merge "Running update-makefiles for fixed spacing."
am:
8766c010ba
Change-Id: Ib6b97636483bea8d025040b0f8c522efe09c2aaf
Treehugger Robot [Wed, 2 Nov 2016 00:44:15 +0000 (00:44 +0000)]
Merge "Running update-makefiles for fixed spacing."
Yifan Hong [Wed, 2 Nov 2016 00:21:35 +0000 (00:21 +0000)]
Add test for null native_handle_t*.
am:
688bb1e2c6
Change-Id: Ib5c725860ea463aca8ba66aeb14fae70f7b5206e
Yifan Hong [Thu, 27 Oct 2016 20:18:43 +0000 (13:18 -0700)]
Add test for null native_handle_t*.
Test: hidl_test
Bug:
30814137
Change-Id: Ic52a4c588e2fde3859a0ae8c098e5cb60a87efe8
Steven Moreland [Tue, 1 Nov 2016 20:04:54 +0000 (13:04 -0700)]
Running update-makefiles for fixed spacing.
Test: pass
Change-Id: I4dcaf70b1c014f3ecf685d4884601be6f17ee51d
Martijn Coenen [Tue, 1 Nov 2016 18:36:12 +0000 (18:36 +0000)]
Add method to IFoo for testing NULL interfaces.
am:
b7307d5c8a
Change-Id: I616b1d96b27bdf9ae8488ddff75573eb871244b5
Martijn Coenen [Thu, 27 Oct 2016 09:51:46 +0000 (11:51 +0200)]
Add method to IFoo for testing NULL interfaces.
Bug:
32410513
Test: mma, hidl_test
Change-Id: I791c3a95e670a859e5e494ead987d2a93f5047a5
Amit Mahajan [Tue, 1 Nov 2016 02:20:53 +0000 (02:20 +0000)]
Merge "Initial version of BT SAP hal."
am:
0d4bc82111
Change-Id: Id143c1559a3e83822b95e1d09ec98362fcebe559
Amit Mahajan [Tue, 1 Nov 2016 02:17:56 +0000 (02:17 +0000)]
Merge "Initial version of BT SAP hal."
Yifan Hong [Mon, 31 Oct 2016 14:18:17 +0000 (14:18 +0000)]
Add interface methods for testing vec<handle>.
am:
ebfa633103
Change-Id: Ida7b3d9706744a7a1d5178d85fb2c8cabeca4a1f