Home
last modified time | relevance | path

Searched refs:wifi_chip (Results 1 – 19 of 19) sorted by relevance

/hardware/interfaces/wifi/aidl/vts/functional/
Dwifi_aidl_test_utils.cpp40 bool configureChipToSupportConcurrencyTypeInternal(const std::shared_ptr<IWifiChip>& wifi_chip, in configureChipToSupportConcurrencyTypeInternal() argument
47 auto status = wifi_chip->getAvailableModes(&chip_modes); in configureChipToSupportConcurrencyTypeInternal()
54 if (!wifi_chip->configureChip(*configured_mode_id).isOk()) { in configureChipToSupportConcurrencyTypeInternal()
60 bool configureChipToSupportConcurrencyTypeInternal(const std::shared_ptr<IWifiChip>& wifi_chip, in configureChipToSupportConcurrencyTypeInternal() argument
63 return configureChipToSupportConcurrencyTypeInternal(wifi_chip, type, &mode_id); in configureChipToSupportConcurrencyTypeInternal()
146 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiStaIface() local
147 if (!wifi_chip.get()) { in getWifiStaIface()
150 if (!configureChipToSupportConcurrencyTypeInternal(wifi_chip, IfaceConcurrencyType::STA)) { in getWifiStaIface()
154 auto status = wifi_chip->createStaIface(&iface); in getWifiStaIface()
163 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiNanIface() local
[all …]
Dwifi_aidl_test_utils.h44 std::shared_ptr<IWifiApIface> getBridgedWifiApIface(std::shared_ptr<IWifiChip> wifi_chip);
46 bool configureChipToSupportConcurrencyType(const std::shared_ptr<IWifiChip>& wifi_chip,
49 bool doesChipSupportConcurrencyType(const std::shared_ptr<IWifiChip>& wifi_chip,
53 int32_t getChipFeatureSet(const std::shared_ptr<IWifiChip>& wifi_chip);
Dwifi_rtt_controller_aidl_test.cpp72 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(getInstanceName()); in getWifiRttController() local
73 EXPECT_NE(nullptr, wifi_chip.get()); in getWifiRttController()
79 EXPECT_TRUE(wifi_chip->createRttController(wifi_sta_iface, &rtt_controller).isOk()); in getWifiRttController()
Dwifi_sta_iface_aidl_test.cpp69 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(getInstanceName()); in createStaIface() local
70 EXPECT_NE(nullptr, wifi_chip.get()); in createStaIface()
71 return wifi_chip->createStaIface(sta_iface); in createStaIface()
Dwifi_chip_aidl_test.cpp858 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(getInstanceName()); in TEST_P() local
859 ASSERT_NE(nullptr, wifi_chip.get()); in TEST_P()
860 std::shared_ptr<IWifiApIface> wifi_ap_iface = getBridgedWifiApIface(wifi_chip); in TEST_P()
870 EXPECT_TRUE(wifi_chip->removeIfaceInstanceFromBridgedApIface(br_name, instances[0]).isOk()); in TEST_P()
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_hidl_test_utils.cpp66 bool configureChipToSupportIfaceTypeInternal(const sp<IWifiChip>& wifi_chip, in configureChipToSupportIfaceTypeInternal() argument
69 if (!configured_mode_id || !wifi_chip.get()) { in configureChipToSupportIfaceTypeInternal()
72 const auto& status_and_modes = HIDL_INVOKE(wifi_chip, getAvailableModes); in configureChipToSupportIfaceTypeInternal()
80 if (HIDL_INVOKE(wifi_chip, configureChip, *configured_mode_id).code != in configureChipToSupportIfaceTypeInternal()
87 bool configureChipToSupportIfaceTypeInternal(const sp<IWifiChip>& wifi_chip, in configureChipToSupportIfaceTypeInternal() argument
90 return configureChipToSupportIfaceTypeInternal(wifi_chip, type, &mode_id); in configureChipToSupportIfaceTypeInternal()
93 bool doesChipSupportIfaceTypeInternal(const sp<IWifiChip>& wifi_chip, in doesChipSupportIfaceTypeInternal() argument
96 if (!wifi_chip.get()) { in doesChipSupportIfaceTypeInternal()
99 const auto& status_and_modes = HIDL_INVOKE(wifi_chip, getAvailableModes); in doesChipSupportIfaceTypeInternal()
156 sp<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiApIface() local
[all …]
Dwifi_rtt_controller_hidl_test.cpp64 sp<IWifiChip> wifi_chip = getWifiChip(instance_name); in TEST_P() local
65 ASSERT_NE(nullptr, wifi_chip.get()); in TEST_P()
71 HIDL_INVOKE(wifi_chip, createRttController, wifi_sta_iface); in TEST_P()
Dwifi_hidl_test_utils.h49 const android::sp<android::hardware::wifi::V1_0::IWifiChip>& wifi_chip,
54 const android::sp<android::hardware::wifi::V1_0::IWifiChip>& wifi_chip,
59 const android::sp<android::hardware::wifi::V1_0::IWifiChip>& wifi_chip);
/hardware/interfaces/wifi/1.6/vts/functional/
Dwifi_hidl_test_utils_1_6.cpp57 bool configureChipToSupportConcurrencyType(const sp<IWifiChip>& wifi_chip, in configureChipToSupportConcurrencyType() argument
60 const auto& status_and_modes = HIDL_INVOKE(wifi_chip, getAvailableModes_1_6); in configureChipToSupportConcurrencyType()
67 if (HIDL_INVOKE(wifi_chip, configureChip, *configured_mode_id).code != in configureChipToSupportConcurrencyType()
82 sp<IWifiChip> wifi_chip = getWifiChip_1_6(instance_name); in getBridgedWifiApIface_1_6() local
83 if (!wifi_chip.get()) return nullptr; in getBridgedWifiApIface_1_6()
84 configureChipToSupportConcurrencyType(wifi_chip, IfaceConcurrencyType::AP_BRIDGED, &mode_id); in getBridgedWifiApIface_1_6()
85 const auto& status_and_iface = HIDL_INVOKE(wifi_chip, createBridgedApIface); in getBridgedWifiApIface_1_6()
Dwifi_sta_iface_hidl_test.cpp62 sp<IWifiChip> wifi_chip = IWifiChip::castFrom(getWifiChip(GetInstanceName())); in createStaIface() local
63 EXPECT_NE(nullptr, wifi_chip.get()); in createStaIface()
64 const auto& status_and_iface = HIDL_INVOKE(wifi_chip, createStaIface); in createStaIface()
Dwifi_rtt_controller_hidl_test.cpp124 sp<IWifiChip> wifi_chip = IWifiChip::castFrom(getWifiChip(instance_name)); in getWifiRttController() local
125 EXPECT_NE(nullptr, wifi_chip.get()); in getWifiRttController()
131 HIDL_INVOKE(wifi_chip, createRttController_1_6, wifi_sta_iface); in getWifiRttController()
/hardware/interfaces/wifi/hostapd/aidl/vts/functional/
Dhostapd_aidl_test_utils.h39 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(kWifiInstanceName); in startAndConfigureVendorHal() local
41 EXPECT_TRUE(configureChipToSupportConcurrencyType(wifi_chip, IfaceConcurrencyType::AP, in startAndConfigureVendorHal()
/hardware/interfaces/wifi/1.5/vts/functional/
Dwifi_sta_iface_hidl_test.cpp64 sp<IWifiChip> wifi_chip = in createStaIface() local
66 EXPECT_NE(nullptr, wifi_chip.get()); in createStaIface()
67 const auto& status_and_iface = HIDL_INVOKE(wifi_chip, createStaIface); in createStaIface()
/hardware/interfaces/wifi/supplicant/aidl/vts/functional/
Dsupplicant_aidl_test_utils.h40 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(wifi_instance_name.c_str()); in initializeDriverAndFirmware() local
42 EXPECT_TRUE(configureChipToSupportConcurrencyType(wifi_chip, IfaceConcurrencyType::STA, in initializeDriverAndFirmware()
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_test_utils.cpp48 sp<IWifiChip> wifi_chip = getWifiChip(wifi_instance_name); in initializeDriverAndFirmware() local
51 wifi_chip, ::android::hardware::wifi::V1_0::IfaceType::AP, &mode_id)); in initializeDriverAndFirmware()
/hardware/interfaces/wifi/aidl/default/tests/
DREADME.md7 but can also be used to test things like `wifi_chip`.
/hardware/interfaces/wifi/1.4/vts/functional/
Dwifi_rtt_controller_hidl_test.cpp117 sp<IWifiChip> wifi_chip = in getWifiRttController() local
119 EXPECT_NE(nullptr, wifi_chip.get()); in getWifiRttController()
126 HIDL_INVOKE(wifi_chip, createRttController_1_4, wifi_sta_iface); in getWifiRttController()
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_test_utils.cpp156 sp<IWifiChip> wifi_chip = getWifiChip(wifi_instance_name); in initializeDriverAndFirmware() local
159 wifi_chip, ::android::hardware::wifi::V1_0::IfaceType::STA, in initializeDriverAndFirmware()
/hardware/interfaces/wifi/aidl/default/
DAndroid.bp85 "wifi_chip.cpp",