Searched refs:g_wpaObj (Results 1 – 6 of 6) sorted by relevance
/drivers/peripheral/wlan/test/hdi_service/ |
D | wpa_hdi_hal_services_c_test.cpp | 39 static struct IWpaInterface *g_wpaObj = nullptr; variable 43 g_wpaObj = IWpaInterfaceGetInstance(g_wlanServiceNameWpa, false); in SetUpTestCase() 45 ASSERT_TRUE(g_wpaObj != nullptr); in SetUpTestCase() 51 IWpaInterfaceReleaseInstance(g_wlanServiceNameWpa, g_wpaObj, false); in TearDownTestCase() 57 int32_t rc = g_wpaObj->Start(g_wpaObj); in SetUp() 63 int32_t rc = g_wpaObj->Stop(g_wpaObj); in TearDown() 69 int32_t rc = g_wpaObj->AddWpaIface(g_wpaObj, IFNAME, CONFNAME); 72 rc = g_wpaObj->RemoveWpaIface(g_wpaObj, IFNAME); 79 int32_t rc = g_wpaObj->AddWpaIface(g_wpaObj, IFNAME, CONFNAME); 82 rc = g_wpaObj->Scan(g_wpaObj, IFNAME); [all …]
|
D | p2p_hdi_hal_services_c_test.cpp | 39 static struct IWpaInterface *g_wpaObj = nullptr; variable 43 g_wpaObj = IWpaInterfaceGetInstance(g_wlanServiceNameP2p, false); in SetUpTestCase() 45 ASSERT_TRUE(g_wpaObj != nullptr); in SetUpTestCase() 51 IWpaInterfaceReleaseInstance(g_wlanServiceNameP2p, g_wpaObj, false); in TearDownTestCase() 57 int32_t rc = g_wpaObj->Start(g_wpaObj); in SetUp() 63 int32_t rc = g_wpaObj->Stop(g_wpaObj); in TearDown() 69 int32_t rc = g_wpaObj->AddWpaIface(g_wpaObj, IFNAME, CONFNAME); 72 rc = g_wpaObj->P2pSetSsidPostfixName(g_wpaObj, "p2p-dev-wlan0", "test"); 74 rc = g_wpaObj->RemoveWpaIface(g_wpaObj, IFNAME); 81 int32_t rc = g_wpaObj->AddWpaIface(g_wpaObj, IFNAME, CONFNAME); [all …]
|
D | p2p_hdi_direct_test.cpp | 39 static struct IWpaInterface *g_wpaObj = nullptr; variable 43 g_wpaObj = IWpaInterfaceGetInstance(g_wlanServiceNameP2p, true); in SetUpTestCase() 45 ASSERT_TRUE(g_wpaObj != nullptr); in SetUpTestCase() 51 IWpaInterfaceReleaseInstance(g_wlanServiceNameP2p, g_wpaObj, true); in TearDownTestCase() 65 int32_t rc = g_wpaObj->P2pSetSsidPostfixName(g_wpaObj, nullptr, "test"); 67 rc = g_wpaObj->P2pSetSsidPostfixName(g_wpaObj, IFNAME, nullptr); 69 rc = g_wpaObj->P2pSetSsidPostfixName(g_wpaObj, IFNAME, "test"); 75 int32_t rc = g_wpaObj->P2pSetWpsDeviceType(g_wpaObj, nullptr, "test"); 77 rc = g_wpaObj->P2pSetWpsDeviceType(g_wpaObj, IFNAME, nullptr); 79 rc = g_wpaObj->P2pSetWpsDeviceType(g_wpaObj, IFNAME, "test"); [all …]
|
D | wpa_hdi_direct_test.cpp | 39 static struct IWpaInterface *g_wpaObj = nullptr; variable 43 g_wpaObj = IWpaInterfaceGetInstance(g_wlanServiceNameWpa, true); in SetUpTestCase() 45 ASSERT_TRUE(g_wpaObj != nullptr); in SetUpTestCase() 51 IWpaInterfaceReleaseInstance(g_wlanServiceNameWpa, g_wpaObj, true); in TearDownTestCase() 65 int32_t rc = g_wpaObj->AddWpaIface(g_wpaObj, IFNAME, CONFNAME); 67 rc = g_wpaObj->AddWpaIface(g_wpaObj, nullptr, CONFNAME); 73 int32_t rc = g_wpaObj->Scan(g_wpaObj, IFNAME); 75 rc = g_wpaObj->Scan(g_wpaObj, nullptr); 83 int32_t rc = g_wpaObj->ScanResult(g_wpaObj, IFNAME, resultBuf, &resultBufLen); 85 rc = g_wpaObj->ScanResult(g_wpaObj, nullptr, resultBuf, &resultBufLen); [all …]
|
/drivers/peripheral/wlan/test/fuzztest/hostapd_fuzzer/ |
D | hostapd_fuzzer.cpp | 30 struct IHostapdInterface *g_wpaObj = nullptr; variable 75 g_wpaObj = IHostapdInterfaceGetInstance(g_wpaServiceName, true); in DoSomethingInterestingWithMyAPI() 76 if (g_wpaObj == nullptr) { in DoSomethingInterestingWithMyAPI() 91 int32_t ret = g_wpaObj->StartApWithCmd(g_wpaObj, "wlan1", 0); in DoSomethingInterestingWithMyAPI() 98 FuzzHostapdStart(g_wpaObj, tmpRawData); in DoSomethingInterestingWithMyAPI() 99 IHostapdInterfaceReleaseInstance(g_wpaServiceName, g_wpaObj, true); in DoSomethingInterestingWithMyAPI() 103 g_wpaObj = nullptr; in DoSomethingInterestingWithMyAPI()
|
/drivers/peripheral/wlan/test/fuzztest/wpa_fuzzer/ |
D | wpa_fuzzer.cpp | 30 struct IWpaInterface *g_wpaObj = nullptr; variable 138 g_wpaObj = IWpaInterfaceGetInstance(g_wpaServiceName, true); in DoSomethingInterestingWithMyAPI() 139 if (g_wpaObj == nullptr) { in DoSomethingInterestingWithMyAPI() 152 int32_t ret = g_wpaObj->Start(g_wpaObj); in DoSomethingInterestingWithMyAPI() 158 FuzzWpaStart(g_wpaObj, tmpRawData); in DoSomethingInterestingWithMyAPI() 159 FuzzP2pStart(g_wpaObj, tmpRawData); in DoSomethingInterestingWithMyAPI() 160 ret = g_wpaObj->Stop(g_wpaObj); in DoSomethingInterestingWithMyAPI() 165 IWpaInterfaceReleaseInstance(g_wpaServiceName, g_wpaObj, true); in DoSomethingInterestingWithMyAPI()
|