AIDL test utils in order to avoid having
an ambigous function call.
aosp/2728874 adds a method of the same
name, which is causing pre-submit issues.
Bug: 297820612
Test: atest VtsHalHostapdTargetTest
Change-Id: Ie4da0a0037e7411e7908401f021b48246ea227bd
Merged-In: Ie4da0a0037e7411e7908401f021b48246ea227bd
(cherry picked from commit 94950dc20d)
AIDL test utils in order to avoid having
an ambigous function call.
aosp/2728874 adds a method of the same
name, which is causing pre-submit issues.
Bug: 297820612
Test: atest VtsHalHostapdTargetTest
Change-Id: Ie4da0a0037e7411e7908401f021b48246ea227bd
When VTS case kills supplicant in SetUp, Wi-Fi framework will trigger
recovery process and causes races between VTS and Wi-Fi framework.
Disable Wi-Fi framework using 'cmd wifi' in SetUp.
Bug: 297820612
Test: run vts -m VtsHalWifiHostapdV1_0TargetTest with new case
Change-Id: I5ea7f00cfebf79021185f66766454d053c973b31
* changes:
Skip AP and P2P tests in wifi_chip_aidl_test if those iface types cannot be created.
Add AIDL VTS helper method to check whether the specified iface type is supported.
After upgrading libc++, math.h happens to be included at the point
where this file tries to define NAN. Redefining a macro to a different
value is an error, but #undef'ing a macro is OK even if the macro isn't
actually defined.
Bug: b/175635923
Test: treehugger
Change-Id: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b
Merged-In: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b
After upgrading libc++, math.h happens to be included at the point
where this file tries to define NAN. Redefining a macro to a different
value is an error, but #undef'ing a macro is OK even if the macro isn't
actually defined.
Bug: b/175635923
Test: treehugger
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dd390faa2fcb49ce0e0ebc6ef180118ec370f957)
Merged-In: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b
Change-Id: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b
After adding ag/21179155, auto join flag is
not set for every p2p connect command. The tests
are passing an unknown peer MAC address to connect(). To
pass the tests, the connect should trigger a scan and
try to find this unknown mac address. So set join flag
to true to run the same scan logic.
Bug: 298310537
Bug: 268236829
Bug: 218608010
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: Id5baa0f599d11a3563780aae15ff3cea0407060c
Merged-In: Id5baa0f599d11a3563780aae15ff3cea0407060c
- Added API to check wifi chip supports AP interface
- Check AP support as a precondition for AP related TCs
Bug: 284925541
Test: atest VtsHalWifiApV1_5TargetTest
Change-Id: I1121d7b787ed972980bab0e05a52f3ca2f3d0a24
After upgrading libc++, math.h happens to be included at the point
where this file tries to define NAN. Redefining a macro to a different
value is an error, but #undef'ing a macro is OK even if the macro isn't
actually defined.
Bug: b/175635923
Test: treehugger
Change-Id: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b
the Hostapd AIDL VTS tests.
At the beginning of each test, we now:
1. Disable the Wifi framework, Hostapd, and Vendor HAL.
2. Enable the Hostapd and Vendor HAL.
At the end of each test, we now:
1. Disable the Hostapd and Vendor HAL.
2. Enable the Wifi framework.
Bug: 283402709
Test: atest VtsHalHostapdTargetTest --iterations 10
# Tested on both an Android T and U device.
# All tests passed in both cases.
Change-Id: I8b5e24ad44d13fad09d84f1b212e60ca8df3aa7e
Hostapd AIDL VTS tests.
Main purpose will be to enable/disable the
HALs and Wifi framework before and after
each test.
Bug: 283402709
Test: atest VtsHalHostapdTargetTest
Change-Id: Ib3ceca4ad25f472e1b75fa95661235c880a489fd
the event bitmask.
Comments on ag/24025770 suggest that the bit
shift will lead to undefined behavior for
event codes greater than 31.
Bug: 290318208
Test: atest VtsHalWifiNanIfaceTargetTest
# manually set some of the expected
# events codes to > 31 to verify that
# the bit shift works as expected
Change-Id: I09e11dac8acf90baf047e24cebe1d01970b1dc8a
the event bitmask.
Comments on ag/24025770 suggest that the bit
shift will lead to undefined behavior for
event codes greater than 31.
Bug: 290318208
Test: atest VtsHalWifiNanIfaceTargetTest
# manually set some of the expected
# events codes to > 31 to verify that
# the bit shift works as expected
Change-Id: I09e11dac8acf90baf047e24cebe1d01970b1dc8a
to better handle overlapping events.
Reimplementation of aosp/2473685 for
the AIDL VTS tests.
Bug: 290318208
Test: atest VtsHalWifiNanIfaceTargetTest
Change-Id: I1a0e6ab8dd529c10fcec8f26424a7181e7d91568
to better handle overlapping events.
Reimplementation of aosp/2473685 for
the AIDL VTS tests.
Bug: 290318208
Test: atest VtsHalWifiNanIfaceTargetTest
Change-Id: I1a0e6ab8dd529c10fcec8f26424a7181e7d91568
For Panel TV devices, the vendor can implemented TV specific mDNS
offload instead of APF in U. If TV specific mDNS offload is implemented.
MdnsOffloadManagerService will exist in the system ext partition. The
APF vts will be skipped if MdnsOffloadManagerService exist.
Bug: 283038712
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: If55ec42507460b9a2c6eee683d85b8109f2af236