Following ANAPIC Review:
onSuccess callback was returning only a single status code, CONFIGURATION_SENT.
Renamed the callback to onSuccessConfigSent and eliminated the status code.
Bug: 124459312
Test: atest DppManagerTest
Test: atest SupplicantStaIfaceHalTest
Test: act.py -c ../WifiDppConfig.json -tc WifiDppTest
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_2Host
Change-Id: I4d7c5732ded55902b1f235d40d3babe3be372bf7
There are compatibility issue with driver for P2P random MAC.
The framework needs to check driver capability first before enabling
P2P random MAC address feature.
Bug: 118904478
Test: vts - atest VtsHalWifiSupplicantP2pV1_2TargetTest
Test: manual test
* Enter WiFI Direct Page
* check the feature is enabled in logcat
* WifiP2pService: Supported feature: P2P MAC randomization
* check p2p0 MAC address is randomized.
Change-Id: I28e226e7d51e3d5e3e6013d3772e643c1df1ab54
This patch adds SHA256 key management definition
to be able to use more robust algorithm.
Test: Build with dependent CLs
Bug: 68787540
Signed-off-by: Daichi Ueura <daichi.ueura@sony.com>
Change-Id: I2233b9cb04488f6703f8fc3e6bb3a9188ed53ddc
(cherry-picked from commit 1a431a9e7c3ace89aabc738d9a19de2bb2aa57a5
Added new DPP API for initiator mode, and new callback interface for DPP
events.
Bug: 112197021
Test: tbd
Change-Id: I1dc8fbdf65b3670c5eefe7d0677a1958dcf6d990
New WiFi Direct APIs needs to support passing group configuration to
create a group or join a group without negotiation and WPS.
Bug: 64695709
Test: Group creation
* create a group with a configuration.
* join it as new Group Client.
* join it as legacy Wi-Fi STAs.
Test: Group joining
* create a group with configuration.
* join above group without negotiation and WPS.
Change-Id: I26f9627199869637fe9e9e5b78f0bf30f02501c3
Similar to how NAN specific tests were separated from wifi HAL VTS
test suite, separate out P2P specific tests in wpa_supplicant HAL VTS test
suite.
Changes in the CL:
a) Use the |gEnv->isP2pOn| flag to skip P2P tests in SupplicantHidlTest.
b) Seprare SupplicantP2pIfaceHidlTest into a new test module.
Bug: 73306751
Test: Ran VTS tests
vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_0Host -l INFO
vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_1Host -l INFO
vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantP2pV1_0Target -l INFO
Change-Id: I65de3ff5cde023bfba2ac3a6c38ff9ad680de8bc
Move KeyMgmt capability API from StaNetwork to StaIface, uprev
ISupplicant and ISupplicantStaIface to v1.2.
Bug: 112195778
Test: atest SupplicantStaIfaceHalTest SupplicantStaNetworkHalTest
Change-Id: Ia249c51faca528d420180e8e569aebb0d0a022ee
Create version 1.2. and add new interfaces for SAE and OWE, including
new key management types and API.
Bug: 112195778
Test: Unit tested
Change-Id: I9895d3a12c5b8953a04c6f1ebb24e06503e0ff9b
This Commit adds the tests for the ISupplicantStaIface for V1.1
Bug: 64612561
Test: Manual
Change-Id: Id5608d0f985004a22954f368ac0fa19886f7421d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
This commit modifies the onEapFailure call back to include the error code.
This enables the framework to react on the different errors reported by
the EAP methods.
Bug: 64612561
Test: Manual
Change-Id: I793b61b898df63f07dc2e40798a6d6761d8e259d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
This HIDL API is meant to terminate the HIDL service. On Pixel devices,
terminate will trigger the death of the corresponding daemon.
But, other OEM's may choose to do something else.
Bug: 71613595
Bug: 71613528
Test: Ran the VTS tests
Change-Id: I737458b5c49ecd5545be0dc7033092db9a35b089
This was previously present in the .rc files for the 1.0 HAL. For
devices running the 1.1 HAL, we'll now add the interfaces at init for
testing the 1.0 functionality.
Bug: 65711261
Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_0Target
-l INFO
Change-Id: I2137e9286c4496d7f8ddeb705c34b2d13b4ed3dc
These will be used to bring down the HIDL services (i.e kill the daemon)
when they're no longer needed.
Bug: 72394251
Test: ./hardware/interfaces/update-makefiles.sh
Change-Id: I99189efa6770ee5a1f1c8379598a9414d99bfe66
This reverts commit 8ac1971678.
Reason for revert: Didn't remove automotive changes from this CL.
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I1c660cffc8817ad0b33da9f6eceb3d88e7c48416
This test now statically links to libs not guaranteed to be on the
device.
Bug: 64040096
Test: compiles
Change-Id: I986e61835e641e15bdad0ff9571ee8ffa59b2a46
Removes redundant "java-static" target.
Note, targets aren't removed here which have internal
targets that depend on them.
Bug: 36376126
Test: pass
Change-Id: I830f02e5f219d2d58721132c358d2783c3942eac
Allow them to be static.
This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs
Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Merged-In: I1b2401fb273ab80819e3870aa71fe742269674ba
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
(cherry picked from commit 7206708528)
hwbinder.jar will be used instead of framework.jar on build-time, but
on runtime framework.jar will be used.
This is to cut the circular dependency when using configstore from
Android framework.
Bug: 35771640
Test: no test.
Change-Id: I04cab676c91d2ea423f5e2c1b2b9efa15e522f37
Allow them to be static.
This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs
Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
This is already done by the test harness on the host side. So, no need
to invoke this from within the gtest.
Bug: 63914399
Test: `make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalWifiSupplicantV1_0Target -l INFO`
Change-Id: I43edc03492bf5e03f9a4236265c43baa5efcd61d
(cherry picked from commit 145cce98b5)
Merged-Id: I43edc03492bf5e03f9a4236265c43baa5efcd61d
This is already done by the test harness on the host side. So, no need
to invoke this from within the gtest.
Bug: 63914399
Test: `make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalWifiSupplicantV1_0Target -l INFO`
Change-Id: I43edc03492bf5e03f9a4236265c43baa5efcd61d
libwifi_hal is a vendor component, so these are not allowed to be used
in the VTS tests. Use the vendor HAL for the required initializations
instead since that is the flow used by framework anyway (setup the wifi
chip using vendor hal and then use wpa_supplicant for connections).
Bug: 63704014
Bug: 33241851
Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
vts-tradefed run commandAndExit vts --skip-all-system-status-check
--primary-abi-only --skip-preconditions --module
VtsHalWifiSupplicantV1_0Target -l INFO
Change-Id: I396d8311253e2b2493f9bb901731937019d30164
android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Change-Id: I424371932af129bba9d58dcf8652c64297f35f05
This commit replaces libwifi-system with libwifi-system-iface because
libwifi-system is a framework-only library.
Bug: 37429084
Test: Sailfish builds, boots, and wifi works.
Change-Id: I2b7c68d60ee84d3dba7500d01323365a699e4ad4
**Note, hashes are being modified in place ONLY
because this interface has not yet been released
in a release of Android.
This adds additional information for setEapPhase2Method().
This also adds the missing error type for find(), stopFind(), and
reject().
Bug: 37254796
Test: compile
Change-Id: I35735a7ec6ca5d490219bb176f1d6c727432113f