/hardware/interfaces/wifi/1.3/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.3/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; 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 …]
|
D | wifi_chip.h | 227 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);
|
D | wifi_mode_controller.h | 44 virtual bool isFirmwareModeChangeNeeded(IfaceType type); 47 virtual bool changeFirmwareMode(IfaceType 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 | 92 std::pair<WifiStatus, IfaceType> WifiApIface::getTypeInternal() { in getTypeInternal() 93 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::AP}; in getTypeInternal()
|
D | wifi_p2p_iface.h | 51 std::pair<WifiStatus, IfaceType> getTypeInternal();
|
D | wifi_ap_iface.h | 60 std::pair<WifiStatus, IfaceType> getTypeInternal();
|
/hardware/interfaces/wifi/1.0/vts/functional/ |
D | wifi_hidl_test_utils.cpp | 36 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()
|
D | wifi_chip_hidl_test.cpp | 30 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 …]
|
D | wifi_ap_iface_hidl_test.cpp | 26 using ::android::hardware::wifi::V1_0::IfaceType; 73 EXPECT_EQ(IfaceType::AP, status_and_type.second); in TEST_F()
|
D | wifi_sta_iface_hidl_test.cpp | 30 using ::android::hardware::wifi::V1_0::IfaceType; 90 EXPECT_EQ(IfaceType::STA, status_and_type.second); in TEST_F()
|
D | wifi_hidl_test_utils.h | 53 android::hardware::wifi::V1_0::IfaceType type,
|
/hardware/interfaces/wifi/1.3/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 28 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/ |
D | supplicant_hidl_test.cpp | 32 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/ |
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 | 46 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/ |
D | wifi_chip_hidl_test.cpp | 33 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/ |
D | wifi_chip_hidl_test.cpp | 31 using ::android::hardware::wifi::V1_0::IfaceType; 61 wifi_chip_, IfaceType::STA, &mode_id)); in configureChipForStaIfaceAndGetCapabilities()
|
/hardware/interfaces/wifi/1.0/ |
D | IWifiIface.hal | 32 getType() generates (WifiStatus status, IfaceType type);
|
D | IWifiChipEventCallback.hal | 47 oneway onIfaceAdded(IfaceType type, string name); 55 oneway onIfaceRemoved(IfaceType type, string name);
|
/hardware/interfaces/wifi/supplicant/1.0/ |
D | ISupplicant.hal | 50 IfaceType type; 158 setConcurrencyPriority(IfaceType type) generates (SupplicantStatus status);
|