/hardware/interfaces/wifi/aidl/vts/functional/ |
D | wifi_chip_aidl_test.cpp | 53 wifi_chip_ = getWifiChip(getInstanceName()); in SetUp() 54 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 62 EXPECT_TRUE(configureChipToSupportConcurrencyType(wifi_chip_, type, &mode_id)); in configureChipForConcurrencyType() 67 return doesChipSupportConcurrencyType(wifi_chip_, type); in isConcurrencyTypeSupported() 73 EXPECT_TRUE(wifi_chip_->createStaIface(&iface).isOk()); in configureChipForStaAndGetIface() 81 EXPECT_TRUE(wifi_chip_->createP2pIface(&iface).isOk()); in configureChipForP2pAndGetIface() 89 EXPECT_TRUE(wifi_chip_->createApIface(&iface).isOk()); in configureChipForApAndGetIface() 97 EXPECT_TRUE(wifi_chip_->createNanIface(&iface).isOk()); in configureChipForNanAndGetIface() 131 bool add_second_success = wifi_chip_->createStaIface(&iface2).isOk(); in create2StaIfacesIfPossible() 141 std::shared_ptr<IWifiChip> wifi_chip_; member in WifiChipAidlTest [all …]
|
/hardware/interfaces/wifi/1.0/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 76 wifi_chip_ = getWifiChip(GetInstanceName()); in SetUp() 77 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 89 configureChipToSupportIfaceType(wifi_chip_, type, &mode_id)); in configureChipForIfaceType() 96 return getChipCapabilitiesLatest(wifi_chip_); in configureChipForStaIfaceAndGetCapabilities() 106 const auto& status_and_iface = HIDL_INVOKE(wifi_chip_, createP2pIface); in createP2pIface() 112 return HIDL_INVOKE(wifi_chip_, removeP2pIface, name).code; in removeP2pIface() 116 const auto& status_and_iface = HIDL_INVOKE(wifi_chip_, createStaIface); in createStaIface() 122 return HIDL_INVOKE(wifi_chip_, removeStaIface, name).code; in removeStaIface() 125 sp<IWifiChip> wifi_chip_; member in WifiChipHidlTest 145 HIDL_INVOKE(wifi_chip_, getId).first.code); in TEST_P() [all …]
|
D | wifi_chip_hidl_nan_test.cpp | 51 wifi_chip_ = getWifiChip(GetInstanceName()); in SetUp() 52 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 64 configureChipToSupportIfaceType(wifi_chip_, type, &mode_id)); in configureChipForIfaceType() 75 const auto& status_and_iface = HIDL_INVOKE(wifi_chip_, createNanIface); in createNanIface() 81 return HIDL_INVOKE(wifi_chip_, removeNanIface, name).code; in removeNanIface() 84 sp<IWifiChip> wifi_chip_; member in WifiChipHidlNanTest 113 HIDL_INVOKE(wifi_chip_, getNanIfaceNames); in TEST_P() 123 HIDL_INVOKE(wifi_chip_, getNanIfaceNames); in TEST_P() 130 HIDL_INVOKE(wifi_chip_, getNanIfaceNames); in TEST_P() 150 HIDL_INVOKE(wifi_chip_, getNanIface, iface_name); in TEST_P() [all …]
|
D | wifi_chip_hidl_ap_test.cpp | 52 wifi_chip_ = getWifiChip(GetInstanceName()); in SetUp() 53 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 65 configureChipToSupportIfaceType(wifi_chip_, type, &mode_id)); in configureChipForIfaceType() 76 const auto& status_and_iface = HIDL_INVOKE(wifi_chip_, createApIface); in createApIface() 82 return HIDL_INVOKE(wifi_chip_, removeApIface, name).code; in removeApIface() 85 sp<IWifiChip> wifi_chip_; member in WifiChipHidlApTest 114 HIDL_INVOKE(wifi_chip_, getApIfaceNames); in TEST_P() 124 HIDL_INVOKE(wifi_chip_, getApIfaceNames); in TEST_P() 131 HIDL_INVOKE(wifi_chip_, getApIfaceNames); in TEST_P() 151 HIDL_INVOKE(wifi_chip_, getApIface, iface_name); in TEST_P() [all …]
|
/hardware/interfaces/wifi/1.3/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 50 wifi_chip_ = IWifiChip::castFrom(getWifiChip(GetInstanceName())); in SetUp() 51 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 63 configureChipToSupportIfaceType(wifi_chip_, type, &mode_id)); in configureChipForIfaceType() 69 EXPECT_TRUE(configureChipToSupportIfaceType(wifi_chip_, IfaceType::STA, in configureChipForStaIfaceAndGetCapabilities() 71 return getChipCapabilitiesLatest(wifi_chip_); in configureChipForStaIfaceAndGetCapabilities() 74 sp<IWifiChip> wifi_chip_; member in WifiChipHidlTest 88 HIDL_INVOKE(wifi_chip_, setLatencyMode, kLatencyModeNormal); in TEST_P() 103 HIDL_INVOKE(wifi_chip_, setLatencyMode, kLatencyModeLow); in TEST_P() 116 const auto& status_and_caps = HIDL_INVOKE(wifi_chip_, getCapabilities_1_3); in TEST_P()
|
/hardware/interfaces/wifi/1.5/vts/functional/ |
D | wifi_hidl_test_utils_1_5.cpp | 48 sp<IWifiChip> wifi_chip_ = getWifiChip_1_5(instance_name); in getWifiApIface_1_5() local 49 configureChipToSupportIfaceType(wifi_chip_, IfaceType::AP, &mode_id); in getWifiApIface_1_5() 50 const auto& status_and_iface = HIDL_INVOKE(wifi_chip_, createApIface); in getWifiApIface_1_5() 56 sp<IWifiChip> wifi_chip_ = getWifiChip_1_5(instance_name); in getBridgedWifiApIface_1_5() local 57 configureChipToSupportIfaceType(wifi_chip_, IfaceType::AP, &mode_id); in getBridgedWifiApIface_1_5() 59 HIDL_INVOKE(wifi_chip_, createBridgedApIface); in getBridgedWifiApIface_1_5()
|
D | wifi_chip_hidl_test.cpp | 59 wifi_chip_ = IWifiChip::castFrom(getWifiChip(GetInstanceName())); in SetUp() 60 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 72 configureChipToSupportIfaceType(wifi_chip_, type, &mode_id)); in configureChipForIfaceType() 77 const auto& status_and_iface = HIDL_INVOKE(wifi_chip_, createStaIface); in createStaIface() 103 sp<IWifiChip> wifi_chip_; member in WifiChipHidlTest 120 const auto& status = HIDL_INVOKE(wifi_chip_, setMultiStaPrimaryConnection, in TEST_P() 139 wifi_chip_, setMultiStaUseCase, in TEST_P() 154 HIDL_INVOKE(wifi_chip_, setCoexUnsafeChannels, vec, 0); in TEST_P() 172 HIDL_INVOKE(wifi_chip_, setCoexUnsafeChannels, vec, restrictions); in TEST_P() 189 HIDL_INVOKE(wifi_chip_, setCountryCode, kCountryCode).code); in TEST_P() [all …]
|
D | wifi_chip_hidl_ap_test.cpp | 61 wifi_chip_ = IWifiChip::castFrom(getWifiChip(GetInstanceName())); in SetUp() 62 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 75 configureChipToSupportIfaceType(wifi_chip_, type, &mode_id)); in configureChipForIfaceType() 82 HIDL_INVOKE(wifi_chip_, createBridgedApIface); in createBridgedApIface() 87 sp<IWifiChip> wifi_chip_; member in WifiChipHidlTest 111 HIDL_INVOKE(wifi_chip_, removeIfaceInstanceFromBridgedApIface, br_name, in TEST_P()
|
D | wifi_ap_iface_hidl_test.cpp | 62 sp<IWifiChip> wifi_chip_ = getWifiChip_1_5(GetInstanceName()); in SetUp() local 63 isApModeSupport_ = doesChipSupportIfaceType(wifi_chip_, IfaceType::AP); in SetUp()
|
/hardware/interfaces/wifi/1.1/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 54 wifi_chip_ = IWifiChip::castFrom(getWifiChip(GetInstanceName())); in SetUp() 55 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 64 wifi_chip_, IfaceType::STA, &mode_id)); in configureChipForStaIfaceAndGetCapabilities() 66 return getChipCapabilitiesLatest(wifi_chip_); in configureChipForStaIfaceAndGetCapabilities() 69 sp<IWifiChip> wifi_chip_; member in WifiChipHidlTest 81 HIDL_INVOKE(wifi_chip_, selectTxPowerScenario, kFakePowerScenario); in TEST_P() 95 HIDL_INVOKE(wifi_chip_, resetTxPowerScenario); in TEST_P()
|
/hardware/interfaces/wifi/1.6/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 59 wifi_chip_ = IWifiChip::castFrom(getWifiChip(GetInstanceName())); in SetUp() 60 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 71 EXPECT_EQ(expectSuccess, configureChipToSupportIfaceType(wifi_chip_, type, &mode_id)); in configureChipForIfaceType() 75 sp<IWifiChip> wifi_chip_; member in WifiChipHidlTest 93 HIDL_INVOKE(wifi_chip_, getUsableChannels_1_6, band, ifaceModeMask, filterMask); in TEST_P() 105 const auto& status_and_modes = HIDL_INVOKE(wifi_chip_, getAvailableModes_1_6); in TEST_P() 117 const auto& statusNonEmpty = HIDL_INVOKE(wifi_chip_, getSupportedRadioCombinationsMatrix); in TEST_P()
|
/hardware/interfaces/wifi/1.2/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 61 wifi_chip_ = IWifiChip::castFrom(getWifiChip(GetInstanceName())); in SetUp() 62 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 112 configureChipToSupportIfaceType(wifi_chip_, IfaceType::STA, &mode_id)); in configureChipForStaIfaceAndGetCapabilities() 114 return getChipCapabilitiesLatest(wifi_chip_); in configureChipForStaIfaceAndGetCapabilities() 117 sp<IWifiChip> wifi_chip_; member in WifiChipHidlTest 131 HIDL_INVOKE(wifi_chip_, selectTxPowerScenario_1_2, kPowerScenarioBody); in TEST_P() 148 HIDL_INVOKE(wifi_chip_, selectTxPowerScenario_1_2, kPowerScenarioVoiceCall); in TEST_P() 168 HIDL_INVOKE(wifi_chip_, registerEventCallback_1_2, wifiChipEventCallback); in TEST_P()
|
/hardware/interfaces/wifi/1.4/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 56 wifi_chip_ = IWifiChip::castFrom(getWifiChip(GetInstanceName())); in SetUp() 57 ASSERT_NE(nullptr, wifi_chip_.get()); in SetUp() 122 configureChipToSupportIfaceType(wifi_chip_, type, &mode_id)); in configureChipForIfaceType() 126 sp<IWifiChip> wifi_chip_; member in WifiChipHidlTest 144 const auto& status = HIDL_INVOKE(wifi_chip_, registerEventCallback_1_4, in TEST_P()
|
D | wifi_hidl_test_utils_1_4.cpp | 49 sp<IWifiChip> wifi_chip_ = getWifiChip_1_4(instance_name); in getWifiApIface_1_4() local 50 configureChipToSupportIfaceType(wifi_chip_, IfaceType::AP, &mode_id); in getWifiApIface_1_4() 51 const auto& status_and_iface = HIDL_INVOKE(wifi_chip_, createApIface); in getWifiApIface_1_4()
|