/hardware/interfaces/wifi/aidl/vts/functional/ |
D | wifi_aidl_test_utils.cpp | 40 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 …]
|
D | wifi_aidl_test_utils.h | 44 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);
|
D | wifi_rtt_controller_aidl_test.cpp | 72 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()
|
D | wifi_sta_iface_aidl_test.cpp | 69 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()
|
D | wifi_chip_aidl_test.cpp | 858 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/ |
D | wifi_hidl_test_utils.cpp | 66 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 …]
|
D | wifi_rtt_controller_hidl_test.cpp | 64 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()
|
D | wifi_hidl_test_utils.h | 49 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/ |
D | wifi_hidl_test_utils_1_6.cpp | 57 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()
|
D | wifi_sta_iface_hidl_test.cpp | 62 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()
|
D | wifi_rtt_controller_hidl_test.cpp | 124 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/ |
D | hostapd_aidl_test_utils.h | 39 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/ |
D | wifi_sta_iface_hidl_test.cpp | 64 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/ |
D | supplicant_aidl_test_utils.h | 40 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/ |
D | hostapd_hidl_test_utils.cpp | 48 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/ |
D | README.md | 7 but can also be used to test things like `wifi_chip`.
|
/hardware/interfaces/wifi/1.4/vts/functional/ |
D | wifi_rtt_controller_hidl_test.cpp | 117 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/ |
D | supplicant_hidl_test_utils.cpp | 156 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/ |
D | Android.bp | 85 "wifi_chip.cpp",
|