mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Fix VtsHalWifiV1_0Host#WifiStaIfaceHidlTest.SetScanningMacOui fail
1. snip the VtsHalWifiV1_0Host#WifiStaIfaceHidlTest.SetScanningMacOui test
if SCAN_RAND capability is not supported on dut device
Test: execute VtsHalWifiV1_0TargetTest of VTS test
Bug: 129735587
Change-Id: I825e1df11c958b3b2476880c6c6f7b8ee7b292bf
Signed-off-by: hayun Kim <hayun.kim.lge.corp-partner.google.com>
This commit is contained in:
@@ -249,6 +249,11 @@ TEST_F(WifiStaIfaceHidlTest, EnableNDOffload) {
|
||||
* code.
|
||||
*/
|
||||
TEST_F(WifiStaIfaceHidlTest, SetScanningMacOui) {
|
||||
if (!isCapabilitySupported(
|
||||
IWifiStaIface::StaIfaceCapabilityMask::SCAN_RAND)) {
|
||||
// No-op if SetScanningMacOui is not supported.
|
||||
return;
|
||||
}
|
||||
const android::hardware::hidl_array<uint8_t, 3> kOui{
|
||||
std::array<uint8_t, 3>{{0x10, 0x22, 0x33}}};
|
||||
EXPECT_EQ(WifiStatusCode::SUCCESS,
|
||||
|
||||
Reference in New Issue
Block a user