/hardware/interfaces/wifi/1.4/default/tests/ |
D | wifi_chip_unit_tests.cpp | 52 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P}, 1}}} in setupV1IfaceCombination() 55 {{{{IfaceType::AP}, 1}}} in setupV1IfaceCombination() 69 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P, IfaceType::NAN}, 1}}} in setupV1_AwareIfaceCombination() 72 {{{{IfaceType::AP}, 1}}} in setupV1_AwareIfaceCombination() 86 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P, IfaceType::NAN}, 1}}} in setupV1_AwareDisabledApIfaceCombination() 99 {{{{IfaceType::STA}, 1}, {{IfaceType::AP}, 1}}}, in setupV2_AwareIfaceCombination() 100 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P, IfaceType::NAN}, 1}}} in setupV2_AwareIfaceCombination() 113 {{{{IfaceType::STA}, 1}, {{IfaceType::P2P, IfaceType::NAN}, 1}}} in setupV2_AwareDisabledApIfaceCombination() 126 {{{{IfaceType::STA}, 3}, {{IfaceType::AP}, 1}}} in setup_MultiIfaceCombination() 146 void findModeAndConfigureForIfaceType(const IfaceType& type) { in findModeAndConfigureForIfaceType() [all …]
|
D | mock_wifi_mode_controller.h | 35 MOCK_METHOD1(changeFirmwareMode, bool(IfaceType)); 36 MOCK_METHOD1(isFirmwareModeChangeNeeded, bool(IfaceType));
|
/hardware/interfaces/wifi/1.4/default/ |
D | wifi_mode_controller.cpp | 23 using android::hardware::wifi::V1_0::IfaceType; 27 int convertIfaceTypeToFirmwareMode(IfaceType type) { in convertIfaceTypeToFirmwareMode() 30 case IfaceType::AP: in convertIfaceTypeToFirmwareMode() 33 case IfaceType::P2P: in convertIfaceTypeToFirmwareMode() 36 case IfaceType::NAN: in convertIfaceTypeToFirmwareMode() 40 case IfaceType::STA: in convertIfaceTypeToFirmwareMode() 57 bool WifiModeController::isFirmwareModeChangeNeeded(IfaceType type) { in isFirmwareModeChangeNeeded() 70 bool WifiModeController::changeFirmwareMode(IfaceType type) { in changeFirmwareMode()
|
D | wifi_feature_flags.cpp | 27 using V1_0::IfaceType; 130 #define STA IfaceType::STA 131 #define AP IfaceType::AP 132 #define P2P IfaceType::P2P 133 #define NAN IfaceType::NAN
|
D | wifi_chip.cpp | 36 using android::hardware::wifi::V1_0::IfaceType; 678 ->onIfaceRemoved(IfaceType::NAN, removed_iface_name) in invalidateAndRemoveDependencies() 815 if (!canCurrentModeSupportIfaceOfTypeWithCurrentIfaces(IfaceType::AP)) { in createApIfaceInternal() 822 hidl_struct_util::convertHidlIfaceTypeToLegacy(IfaceType::AP)); in createApIfaceInternal() 831 if (!callback->onIfaceAdded(IfaceType::AP, ifname).isOk()) { in createApIfaceInternal() 874 if (!callback->onIfaceRemoved(IfaceType::AP, ifname).isOk()) { in removeApIfaceInternal() 883 if (!canCurrentModeSupportIfaceOfTypeWithCurrentIfaces(IfaceType::NAN)) { in createNanIfaceInternal() 898 if (!callback->onIfaceAdded(IfaceType::NAN, ifname).isOk()) { in createNanIfaceInternal() 929 if (!callback->onIfaceRemoved(IfaceType::NAN, ifname).isOk()) { in removeNanIfaceInternal() 937 if (!canCurrentModeSupportIfaceOfTypeWithCurrentIfaces(IfaceType::P2P)) { in createP2pIfaceInternal() [all …]
|
D | wifi_mode_controller.h | 44 virtual bool isFirmwareModeChangeNeeded(IfaceType type); 47 virtual bool changeFirmwareMode(IfaceType type);
|
D | wifi_chip.h | 240 std::map<IfaceType, size_t> getCurrentIfaceCombination(); 241 std::vector<std::map<IfaceType, size_t>> expandIfaceCombinations( 244 const std::map<IfaceType, size_t>& expanded_combo, 245 IfaceType requested_type); 247 IfaceType requested_type); 249 const std::map<IfaceType, size_t>& expanded_combo, 250 const std::map<IfaceType, size_t>& req_combo); 252 const std::map<IfaceType, size_t>& req_combo); 253 bool canCurrentModeSupportIfaceOfType(IfaceType requested_type);
|
D | wifi_p2p_iface.cpp | 58 std::pair<WifiStatus, IfaceType> WifiP2pIface::getTypeInternal() { in getTypeInternal() 59 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::P2P}; in getTypeInternal()
|
D | wifi_ap_iface.cpp | 91 std::pair<WifiStatus, IfaceType> WifiApIface::getTypeInternal() { in getTypeInternal() 92 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::AP}; in getTypeInternal()
|
D | wifi_p2p_iface.h | 51 std::pair<WifiStatus, IfaceType> getTypeInternal();
|
D | wifi_ap_iface.h | 62 std::pair<WifiStatus, IfaceType> getTypeInternal();
|
/hardware/interfaces/wifi/1.0/vts/functional/ |
D | wifi_hidl_test_utils.cpp | 34 using ::android::hardware::wifi::V1_0::IfaceType; 47 IfaceType desired_type, const std::vector<IWifiChip::ChipMode>& modes, in findAnyModeSupportingIfaceType() 65 IfaceType type, in configureChipToSupportIfaceTypeInternal() 86 IfaceType type) { in configureChipToSupportIfaceTypeInternal() 136 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::AP)) { in getWifiApIface() 152 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::NAN)) { in getWifiNanIface() 168 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::P2P)) { in getWifiP2pIface() 184 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::STA)) { in getWifiStaIface() 196 IfaceType type, in configureChipToSupportIfaceType()
|
D | wifi_chip_hidl_nan_test.cpp | 31 using ::android::hardware::wifi::V1_0::IfaceType; 61 ChipModeId configureChipForIfaceType(IfaceType type, bool expectSuccess) { in configureChipForIfaceType() 96 configureChipForIfaceType(IfaceType::NAN, true); in TEST_P() 110 configureChipForIfaceType(IfaceType::NAN, true); in TEST_P() 142 configureChipForIfaceType(IfaceType::NAN, true); in TEST_P() 168 configureChipForIfaceType(IfaceType::NAN, true); in TEST_P()
|
D | wifi_chip_hidl_ap_test.cpp | 30 using ::android::hardware::wifi::V1_0::IfaceType; 57 ChipModeId configureChipForIfaceType(IfaceType type, bool expectSuccess) { in configureChipForIfaceType() 92 configureChipForIfaceType(IfaceType::AP, true); in TEST_P() 106 configureChipForIfaceType(IfaceType::AP, true); in TEST_P() 138 configureChipForIfaceType(IfaceType::AP, true); in TEST_P() 164 configureChipForIfaceType(IfaceType::AP, true); in TEST_P()
|
D | wifi_chip_hidl_test.cpp | 34 using ::android::hardware::wifi::V1_0::IfaceType; 87 ChipModeId configureChipForIfaceType(IfaceType type, bool expectSuccess) { in configureChipForIfaceType() 95 configureChipForIfaceType(IfaceType::STA, true); in configureChipForStaIfaceAndGetCapabilities() 197 configureChipForIfaceType(IfaceType::STA, true); in TEST_P() 210 ChipModeId chip_mode_id = configureChipForIfaceType(IfaceType::STA, true); in TEST_P() 220 configureChipForIfaceType(IfaceType::STA, true); in TEST_P() 355 configureChipForIfaceType(IfaceType::P2P, true); in TEST_P() 369 configureChipForIfaceType(IfaceType::P2P, true); in TEST_P() 401 configureChipForIfaceType(IfaceType::P2P, true); in TEST_P() 427 configureChipForIfaceType(IfaceType::P2P, true); in TEST_P() [all …]
|
D | wifi_ap_iface_hidl_test.cpp | 29 using ::android::hardware::wifi::V1_0::IfaceType; 71 EXPECT_EQ(IfaceType::AP, status_and_type.second); in TEST_P()
|
D | wifi_hidl_test_utils.h | 48 android::hardware::wifi::V1_0::IfaceType type,
|
D | wifi_sta_iface_hidl_test.cpp | 32 using ::android::hardware::wifi::V1_0::IfaceType; 96 EXPECT_EQ(IfaceType::STA, status_and_type.second); in TEST_P()
|
/hardware/interfaces/wifi/1.3/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 30 using ::android::hardware::wifi::V1_0::IfaceType; 60 ChipModeId configureChipForIfaceType(IfaceType type, bool expectSuccess) { in configureChipForIfaceType() 69 EXPECT_TRUE(configureChipToSupportIfaceType(wifi_chip_, IfaceType::STA, in configureChipForStaIfaceAndGetCapabilities() 118 configureChipForIfaceType(IfaceType::STA, true); in TEST_P()
|
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/ |
D | supplicant_hidl_test.cpp | 34 using ::android::hardware::wifi::supplicant::V1_0::IfaceType; 62 iface_info.type = IfaceType::STA; in TEST_P() 80 iface_info.type = IfaceType::P2P; in TEST_P() 97 iface_info.type = IfaceType::STA; in TEST_P() 120 iface_info.type = IfaceType::P2P; in TEST_P()
|
/hardware/interfaces/wifi/1.4/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 39 using ::android::hardware::wifi::V1_0::IfaceType; 80 Return<void> onIfaceAdded(IfaceType type __unused, in onIfaceAdded() 85 Return<void> onIfaceRemoved(IfaceType type __unused, in onIfaceRemoved() 119 ChipModeId configureChipForIfaceType(IfaceType type, bool expectSuccess) { in configureChipForIfaceType()
|
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
D | supplicant_hidl_test.cpp | 30 using ::android::hardware::wifi::supplicant::V1_0::IfaceType; 90 return iface.type == IfaceType::STA; in TEST_P() 96 return iface.type == IfaceType::P2P; in TEST_P() 198 IfaceType::STA, [](const SupplicantStatus& status) { in TEST_P() 203 IfaceType::P2P, [](const SupplicantStatus& status) { in TEST_P()
|
D | supplicant_hidl_test_utils.cpp | 45 using ::android::hardware::wifi::supplicant::V1_0::IfaceType; 65 wifi_chip, ::android::hardware::wifi::V1_0::IfaceType::STA, &mode_id)); in initilializeDriverAndFirmware() 80 bool findIfaceOfType(sp<ISupplicant> supplicant, IfaceType desired_type, in findIfaceOfType() 208 ISupplicant::IfaceInfo info = {IfaceType::STA, getStaIfaceName()}; in addSupplicantStaIface_1_1() 224 ISupplicant::IfaceInfo info = {IfaceType::P2P, getP2pIfaceName()}; in addSupplicantP2pIface_1_1() 254 if (!findIfaceOfType(supplicant, IfaceType::STA, &info)) { in getSupplicantStaIface() 301 if (!findIfaceOfType(supplicant, IfaceType::P2P, &info)) { in getSupplicantP2pIface()
|
/hardware/interfaces/wifi/1.2/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 35 using ::android::hardware::wifi::V1_0::IfaceType; 85 Return<void> onIfaceAdded(IfaceType type __unused, const hidl_string& name __unused) { in onIfaceAdded() 89 Return<void> onIfaceRemoved(IfaceType type __unused, const hidl_string& name __unused) { in onIfaceRemoved() 112 configureChipToSupportIfaceType(wifi_chip_, IfaceType::STA, &mode_id)); in configureChipForStaIfaceAndGetCapabilities()
|
/hardware/interfaces/wifi/1.1/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 32 using ::android::hardware::wifi::V1_0::IfaceType; 65 wifi_chip_, IfaceType::STA, &mode_id)); in configureChipForStaIfaceAndGetCapabilities()
|