/hardware/interfaces/wifi/1.2/default/tests/ |
wifi_chip_unit_tests.cpp | 101 void findModeAndConfigureForIfaceType(const IfaceType& type) { 128 std::string createIface(const IfaceType& type) { 130 if (type == IfaceType::AP) { 142 } else if (type == IfaceType::NAN) { 157 } else if (type == IfaceType::P2P) { 170 } else if (type == IfaceType::STA) { 187 void removeIface(const IfaceType& type, const std::string& iface_name) { 188 if (type == IfaceType::AP) { 192 } else if (type == IfaceType::NAN) { 196 } else if (type == IfaceType::P2P) [all...] |
mock_wifi_mode_controller.h | 35 MOCK_METHOD1(changeFirmwareMode, bool(IfaceType)); 36 MOCK_METHOD1(isFirmwareModeChangeNeeded, bool(IfaceType));
|
/hardware/interfaces/wifi/1.0/ |
IWifiIface.hal | 32 getType() generates (WifiStatus status, IfaceType type);
|
IWifiChipEventCallback.hal | 47 oneway onIfaceAdded(IfaceType type, string name); 55 oneway onIfaceRemoved(IfaceType type, string name);
|
/hardware/interfaces/wifi/1.2/default/ |
wifi_mode_controller.cpp | 23 using android::hardware::wifi::V1_0::IfaceType; 27 int convertIfaceTypeToFirmwareMode(IfaceType type) { 30 case IfaceType::AP: 33 case IfaceType::P2P: 36 case IfaceType::NAN: 40 case IfaceType::STA: 57 bool WifiModeController::isFirmwareModeChangeNeeded(IfaceType type) { 70 bool WifiModeController::changeFirmwareMode(IfaceType type) {
|
wifi_mode_controller.h | 44 virtual bool isFirmwareModeChangeNeeded(IfaceType type); 47 virtual bool changeFirmwareMode(IfaceType type);
|
wifi_p2p_iface.cpp | 58 std::pair<WifiStatus, IfaceType> WifiP2pIface::getTypeInternal() { 59 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::P2P};
|
wifi_p2p_iface.h | 51 std::pair<WifiStatus, IfaceType> getTypeInternal();
|
wifi_chip.cpp | 35 using android::hardware::wifi::V1_0::IfaceType; 744 if (!canCurrentModeSupportIfaceOfType(IfaceType::AP)) { 751 if (!callback->onIfaceAdded(IfaceType::AP, ifname).isOk()) { 782 if (!callback->onIfaceRemoved(IfaceType::AP, ifname).isOk()) { 790 if (!canCurrentModeSupportIfaceOfType(IfaceType::NAN)) { 798 if (!callback->onIfaceAdded(IfaceType::NAN, ifname).isOk()) { 829 if (!callback->onIfaceRemoved(IfaceType::NAN, ifname).isOk()) { 837 if (!canCurrentModeSupportIfaceOfType(IfaceType::P2P)) { [all...] |
wifi_ap_iface.cpp | 73 std::pair<WifiStatus, IfaceType> WifiApIface::getTypeInternal() { 74 return {createWifiStatus(WifiStatusCode::SUCCESS), IfaceType::AP};
|
/hardware/interfaces/wifi/supplicant/1.0/ |
ISupplicantNetwork.hal | 62 getType() generates (SupplicantStatus status, IfaceType type);
|
ISupplicant.hal | 50 IfaceType type; 158 setConcurrencyPriority(IfaceType type) generates (SupplicantStatus status);
|
types.hal | 72 enum IfaceType : uint32_t {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
HalDeviceManagerTest.java | 49 import android.hardware.wifi.V1_0.IfaceType; 322 IfaceType.STA, // ifaceTypeToCreate 336 IfaceType.NAN, // ifaceTypeToCreate 347 chipMock.interfaceNames.get(IfaceType.STA).remove("wlan0"); 353 mDut.registerInterfaceAvailableForRequestListener(IfaceType.NAN, nanAvailListener, 397 IfaceType.STA, // ifaceTypeToCreate 408 mDut.registerInterfaceAvailableForRequestListener(IfaceType.STA, staAvailListener, 410 mDut.registerInterfaceAvailableForRequestListener(IfaceType.STA, staAvailListener, 532 runCreateSingleXxxInterfaceNoInitMode(new TestChipV1(), IfaceType.STA, "wlan0", 541 runCreateSingleXxxInterfaceNoInitMode(new TestChipV1(), IfaceType.AP, "wlan0" [all...] |
/hardware/interfaces/wifi/1.0/vts/functional/ |
wifi_hidl_test_utils.cpp | 31 using ::android::hardware::wifi::V1_0::IfaceType; 45 IfaceType desired_type, const std::vector<IWifiChip::ChipMode>& modes, 63 IfaceType type, 84 IfaceType type) { 130 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::AP)) { 145 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::NAN)) { 160 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::P2P)) { 175 if (!configureChipToSupportIfaceTypeInternal(wifi_chip, IfaceType::STA)) { 203 IfaceType type,
|
wifi_ap_iface_hidl_test.cpp | 26 using ::android::hardware::wifi::V1_0::IfaceType; 65 EXPECT_EQ(IfaceType::AP, status_and_type.second);
|
wifi_chip_hidl_test.cpp | 29 using ::android::hardware::wifi::V1_0::IfaceType; 81 ChipModeId configureChipForIfaceType(IfaceType type, bool expectSuccess) { 89 configureChipForIfaceType(IfaceType::STA, true); 197 configureChipForIfaceType(IfaceType::STA, true); 210 ChipModeId chip_mode_id = configureChipForIfaceType(IfaceType::STA, true); 220 configureChipForIfaceType(IfaceType::STA, true); 355 configureChipForIfaceType(IfaceType::AP, true); 371 configureChipForIfaceType(IfaceType::AP, true); 403 configureChipForIfaceType(IfaceType::AP, true); 429 configureChipForIfaceType(IfaceType::AP, true) [all...] |
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
supplicant_hidl_test.cpp | 31 using ::android::hardware::wifi::supplicant::V1_0::IfaceType; 73 return iface.type == IfaceType::STA; 77 return iface.type == IfaceType::P2P; 178 IfaceType::STA, [](const SupplicantStatus& status) { 182 IfaceType::P2P, [](const SupplicantStatus& status) {
|
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/ |
supplicant_hidl_test.cpp | 32 using ::android::hardware::wifi::supplicant::V1_0::IfaceType; 69 iface_info.type = IfaceType::STA; 86 iface_info.type = IfaceType::P2P; 103 iface_info.type = IfaceType::STA; 125 iface_info.type = IfaceType::P2P;
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
supplicant.cpp | 190 IfaceType type, setConcurrencyPriority_cb _hidl_cb) 228 if (iface_info.type == IfaceType::P2P) { 260 IfaceType::P2P, wpa_s->ifname}); 263 IfaceType::STA, wpa_s->ifname}); 291 SupplicantStatus Supplicant::setConcurrencyPriorityInternal(IfaceType type) 293 if (type == IfaceType::STA) { 296 } else if (type == IfaceType::P2P) {
|
supplicant.h | 59 IfaceType type, setConcurrencyPriority_cb _hidl_cb) override; 71 SupplicantStatus setConcurrencyPriorityInternal(IfaceType type);
|
/hardware/interfaces/wifi/1.2/vts/functional/ |
wifi_chip_hidl_test.cpp | 32 using ::android::hardware::wifi::V1_0::IfaceType; 79 Return<void> onIfaceAdded(IfaceType type __unused, const hidl_string& name __unused) { 83 Return<void> onIfaceRemoved(IfaceType type __unused, const hidl_string& name __unused) { 106 configureChipToSupportIfaceType(wifi_chip_, IfaceType::STA, &mode_id));
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/ |
supplicant.cpp | 221 IfaceType type, setConcurrencyPriority_cb _hidl_cb) 276 if (iface_info.type == IfaceType::P2P) { 342 if (iface_info.type == IfaceType::P2P) { 374 IfaceType::P2P, wpa_s->ifname}); 377 IfaceType::STA, wpa_s->ifname}); 405 SupplicantStatus Supplicant::setConcurrencyPriorityInternal(IfaceType type) 407 if (type == IfaceType::STA) { 410 } else if (type == IfaceType::P2P) {
|
supplicant.h | 64 IfaceType type, setConcurrencyPriority_cb _hidl_cb) override; 80 SupplicantStatus setConcurrencyPriorityInternal(IfaceType type);
|
/hardware/interfaces/wifi/1.1/vts/functional/ |
wifi_chip_hidl_test.cpp | 30 using ::android::hardware::wifi::V1_0::IfaceType; 60 wifi_chip_, IfaceType::STA, &mode_id));
|