Home
last modified time | relevance | path

Searched refs:IfaceType (Results 1 – 25 of 38) sorted by relevance

12

/hardware/interfaces/wifi/1.3/default/tests/
Dwifi_chip_unit_tests.cpp52 {{{{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 …]
Dmock_wifi_mode_controller.h35 MOCK_METHOD1(changeFirmwareMode, bool(IfaceType));
36 MOCK_METHOD1(isFirmwareModeChangeNeeded, bool(IfaceType));
/hardware/interfaces/wifi/1.3/default/
Dwifi_mode_controller.cpp23 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()
Dwifi_feature_flags.cpp27 using V1_0::IfaceType;
130 #define STA IfaceType::STA
131 #define AP IfaceType::AP
132 #define P2P IfaceType::P2P
133 #define NAN IfaceType::NAN
Dwifi_chip.cpp36 using android::hardware::wifi::V1_0::IfaceType;
644 ->onIfaceRemoved(IfaceType::NAN, removed_iface_name) in invalidateAndRemoveDependencies()
805 if (!canCurrentModeSupportIfaceOfTypeWithCurrentIfaces(IfaceType::AP)) { in createApIfaceInternal()
813 if (!callback->onIfaceAdded(IfaceType::AP, ifname).isOk()) { in createApIfaceInternal()
850 if (!callback->onIfaceRemoved(IfaceType::AP, ifname).isOk()) { in removeApIfaceInternal()
859 if (!canCurrentModeSupportIfaceOfTypeWithCurrentIfaces(IfaceType::NAN)) { in createNanIfaceInternal()
867 if (!callback->onIfaceAdded(IfaceType::NAN, ifname).isOk()) { in createNanIfaceInternal()
898 if (!callback->onIfaceRemoved(IfaceType::NAN, ifname).isOk()) { in removeNanIfaceInternal()
906 if (!canCurrentModeSupportIfaceOfTypeWithCurrentIfaces(IfaceType::P2P)) { in createP2pIfaceInternal()
913 if (!callback->onIfaceAdded(IfaceType::P2P, ifname).isOk()) { in createP2pIfaceInternal()
[all …]
Dwifi_chip.h227 std::map<IfaceType, size_t> getCurrentIfaceCombination();
228 std::vector<std::map<IfaceType, size_t>> expandIfaceCombinations(
231 const std::map<IfaceType, size_t>& expanded_combo,
232 IfaceType requested_type);
234 IfaceType requested_type);
236 const std::map<IfaceType, size_t>& expanded_combo,
237 const std::map<IfaceType, size_t>& req_combo);
239 const std::map<IfaceType, size_t>& req_combo);
240 bool canCurrentModeSupportIfaceOfType(IfaceType requested_type);
Dwifi_mode_controller.h44 virtual bool isFirmwareModeChangeNeeded(IfaceType type);
47 virtual bool changeFirmwareMode(IfaceType type);
Dwifi_p2p_iface.cpp58 std::pair<WifiStatus, IfaceType> WifiP2pIface::getTypeInternal() { in getTypeInternal()
59 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::P2P}; in getTypeInternal()
Dwifi_ap_iface.cpp92 std::pair<WifiStatus, IfaceType> WifiApIface::getTypeInternal() { in getTypeInternal()
93 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::AP}; in getTypeInternal()
Dwifi_p2p_iface.h51 std::pair<WifiStatus, IfaceType> getTypeInternal();
Dwifi_ap_iface.h60 std::pair<WifiStatus, IfaceType> getTypeInternal();
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_hidl_test_utils.cpp36 using ::android::hardware::wifi::V1_0::IfaceType;
51 IfaceType desired_type, const std::vector<IWifiChip::ChipMode>& modes, in findAnyModeSupportingIfaceType()
69 IfaceType type, in configureChipToSupportIfaceTypeInternal()
90 IfaceType type) { in configureChipToSupportIfaceTypeInternal()
153 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::AP)) { in getWifiApIface()
169 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::NAN)) { in getWifiNanIface()
185 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::P2P)) { in getWifiP2pIface()
201 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::STA)) { in getWifiStaIface()
230 IfaceType type, in configureChipToSupportIfaceType()
Dwifi_chip_hidl_test.cpp30 using ::android::hardware::wifi::V1_0::IfaceType;
82 ChipModeId configureChipForIfaceType(IfaceType type, bool expectSuccess) { in configureChipForIfaceType()
90 configureChipForIfaceType(IfaceType::STA, true); in configureChipForStaIfaceAndGetCapabilities()
210 configureChipForIfaceType(IfaceType::STA, true); in TEST_F()
223 ChipModeId chip_mode_id = configureChipForIfaceType(IfaceType::STA, true); in TEST_F()
233 configureChipForIfaceType(IfaceType::STA, true); in TEST_F()
369 configureChipForIfaceType(IfaceType::AP, true); in TEST_F()
384 configureChipForIfaceType(IfaceType::AP, true); in TEST_F()
417 configureChipForIfaceType(IfaceType::AP, true); in TEST_F()
444 configureChipForIfaceType(IfaceType::AP, true); in TEST_F()
[all …]
Dwifi_ap_iface_hidl_test.cpp26 using ::android::hardware::wifi::V1_0::IfaceType;
73 EXPECT_EQ(IfaceType::AP, status_and_type.second); in TEST_F()
Dwifi_sta_iface_hidl_test.cpp30 using ::android::hardware::wifi::V1_0::IfaceType;
90 EXPECT_EQ(IfaceType::STA, status_and_type.second); in TEST_F()
Dwifi_hidl_test_utils.h53 android::hardware::wifi::V1_0::IfaceType type,
/hardware/interfaces/wifi/1.3/vts/functional/
Dwifi_chip_hidl_test.cpp28 using ::android::hardware::wifi::V1_0::IfaceType;
55 ChipModeId configureChipForIfaceType(IfaceType type, bool expectSuccess) { in configureChipForIfaceType()
64 EXPECT_TRUE(configureChipToSupportIfaceType(wifi_chip_, IfaceType::STA, in configureChipForStaIfaceAndGetCapabilities()
110 configureChipForIfaceType(IfaceType::STA, true); in TEST_F()
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/
Dsupplicant_hidl_test.cpp32 using ::android::hardware::wifi::supplicant::V1_0::IfaceType;
71 iface_info.type = IfaceType::STA; in TEST_F()
89 iface_info.type = IfaceType::P2P; in TEST_F()
106 iface_info.type = IfaceType::STA; in TEST_F()
129 iface_info.type = IfaceType::P2P; in TEST_F()
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_test.cpp30 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()
Dsupplicant_hidl_test_utils.cpp46 using ::android::hardware::wifi::supplicant::V1_0::IfaceType;
63 wifi_chip, ::android::hardware::wifi::V1_0::IfaceType::STA, &mode_id)); in initilializeDriverAndFirmware()
73 bool findIfaceOfType(sp<ISupplicant> supplicant, IfaceType desired_type, in findIfaceOfType()
207 ISupplicant::IfaceInfo info = {IfaceType::STA, getStaIfaceName()}; in addSupplicantStaIface_1_1()
223 ISupplicant::IfaceInfo info = {IfaceType::P2P, getP2pIfaceName()}; in addSupplicantP2pIface_1_1()
274 if (!findIfaceOfType(supplicant, IfaceType::STA, &info)) { in getSupplicantStaIface()
331 if (!findIfaceOfType(supplicant, IfaceType::P2P, &info)) { in getSupplicantP2pIface()
/hardware/interfaces/wifi/1.2/vts/functional/
Dwifi_chip_hidl_test.cpp33 using ::android::hardware::wifi::V1_0::IfaceType;
80 Return<void> onIfaceAdded(IfaceType type __unused, const hidl_string& name __unused) { in onIfaceAdded()
84 Return<void> onIfaceRemoved(IfaceType type __unused, const hidl_string& name __unused) { in onIfaceRemoved()
107 configureChipToSupportIfaceType(wifi_chip_, IfaceType::STA, &mode_id)); in configureChipForStaIfaceAndGetCapabilities()
/hardware/interfaces/wifi/1.1/vts/functional/
Dwifi_chip_hidl_test.cpp31 using ::android::hardware::wifi::V1_0::IfaceType;
61 wifi_chip_, IfaceType::STA, &mode_id)); in configureChipForStaIfaceAndGetCapabilities()
/hardware/interfaces/wifi/1.0/
DIWifiIface.hal32 getType() generates (WifiStatus status, IfaceType type);
DIWifiChipEventCallback.hal47 oneway onIfaceAdded(IfaceType type, string name);
55 oneway onIfaceRemoved(IfaceType type, string name);
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicant.hal50 IfaceType type;
158 setConcurrencyPriority(IfaceType type) generates (SupplicantStatus status);

12