Commit graph

11 commits

Author SHA1 Message Date
Sohani Rao
15ed448e49 Wifi Offload HAL: Improve VTS tests for scanConfig
Configure scans with test parameters from the Offload HAL service.

Bug: 36865676
Test: VTS tests
Change-Id: Iec5a3e837f9a2e2cf285b079a4630ff273727679
2017-07-26 11:29:37 -07:00
Sohani Rao
452ed3039c Offload HAL HIDL: Add return values to synchronous calls
Enhance the HIDL interface to return values indicating the status of the
operation requested by the API.

Bug: 32842314
Test: VTS
Change-Id: I9a75e2524c0256d5da405d5b1b5919d5342deebf
2017-06-08 13:45:29 -07:00
Steven Moreland
f04fdeb83e Update internal makefiles.
These makefiles are not in dev topic branches
or AOSP currently so they were not updated. This
update adds hidl-generated-module defaults.

Test: pass
Change-Id: Ie52c54877d795bf5358aa600e6d1a13a4f166d25
2017-06-05 17:47:36 -07:00
Steven Moreland
320b5134b5 Update makefiles.
Note cleanspec required because of b/38205169 (genrule
doesn't delete output files before building, so when
removing some, they get stale).

Test: power vts test compiles
Change-Id: Ie7ef0fc3d943a75fe898238cf861fb7f99f4146b
Fixes: 35813011
2017-05-12 13:09:49 -07:00
Steven Moreland
2cd0d42d72 Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 10:17:28 -07:00
Sohani Rao
1c8a118b30 Merge "Add Error callback from Offload HAL" 2017-04-14 16:58:54 +00:00
Andreas Huber
e6e54801c1 Changed the naming scheme for Treble java libraries (both static and dynamic)
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java

Bug: 37207894
Test: make
Change-Id: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 14:28:05 -07:00
Sohani Rao
69d5025e27 Add Error callback from Offload HAL
Error callback to report errors in Offload HAL service. Included VTS
tests to verify these callbacks are invoked.

Bug: 32842314
Test: Unit tests
Change-Id: I389b28b6ed5db7782ce6425beae67f5bdc2cf4aa
2017-04-12 18:52:25 -07:00
Sohani Rao
55adb1b68c VTS for Wifi Offload HAL
Basic VTS test suite for Wifi Offload HAL
Cherry pick from 00dd5147c4f9a4cdff941b2eed12e1d5844bef86
Bug: 32842314
Bug: 36865676
Change-Id: I702b9d90164f21104a915003b9496fbf4dd969c0
Test: adb shell /data/VtsHalWifiOffloadV1_0TargetTest
2017-04-04 14:26:24 -07:00
Sohani Rao
b3c3f8c1df Offload HAL update makefiles
Update make files to build Offload HAL binary

Bug: 32842314
Test: Unit tests, check if Wifi Offload HAL service is running
Change-Id: I5da649247fc234fc2555453cf1eac83a14ae496e
2017-04-04 14:26:10 -07:00
Sohani Rao
63f17c0449 Define Wifi Offload HAL HIDL interface
This interface defines the interaction of the Wifi framework with the
new HAL module that will offload disconnected PNO scans when screen is
off. For details of the overall design, refer to this document:
https://docs.google.com/a/google.com/document/d/13OmqquTnRXTRnyWbtfpc1Ib7YY411EwjNW3njzJ5KyM/edit?usp=sharing
Cherry pick from 7ac4a32e6eca71fcf1a86991654af747d38928ad
Bug: 32842314
Change-Id: I01e1952458d58b9233f18fc0450491fc7c48e6e1
Test: Unit tests, Mannual Wifi turn on
2017-04-04 14:25:58 -07:00