Home
last modified time | relevance | path

Searched refs:g_wpaObj (Results 1 - 6 of 6) sorted by relevance

/drivers/peripheral/wlan/test/hdi_service/
H A Dwpa_hdi_hal_services_c_test.cpp39 static struct IWpaInterface *g_wpaObj = nullptr; member
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, IFNAM in HWTEST_F()
[all...]
H A Dp2p_hdi_hal_services_c_test.cpp39 static struct IWpaInterface *g_wpaObj = nullptr; member
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, IFNAM in HWTEST_F()
[all...]
H A Dp2p_hdi_direct_test.cpp39 static struct IWpaInterface *g_wpaObj = nullptr; member
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"); in HWTEST_F()
67 rc = g_wpaObj->P2pSetSsidPostfixName(g_wpaObj, IFNAME, nullptr); in HWTEST_F()
69 rc = g_wpaObj->P2pSetSsidPostfixName(g_wpaObj, IFNAM in HWTEST_F()
[all...]
H A Dwpa_hdi_direct_test.cpp39 static struct IWpaInterface *g_wpaObj = nullptr; member
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); in HWTEST_F()
67 rc = g_wpaObj->AddWpaIface(g_wpaObj, nullptr, CONFNAME); in HWTEST_F()
73 int32_t rc = g_wpaObj->Scan(g_wpaObj, IFNAM in HWTEST_F()
[all...]
/drivers/peripheral/wlan/test/fuzztest/hostapd_fuzzer/
H A Dhostapd_fuzzer.cpp30 struct IHostapdInterface *g_wpaObj = nullptr; member
66 HDF_LOGE("%{public}s : g_wpaObj is null", __FUNCTION__); in DoSomethingInterestingWithMyAPI()
71 HDF_LOGE("%{public}s : g_wpaObj is null", __FUNCTION__); in DoSomethingInterestingWithMyAPI()
74 g_wpaObj = IHostapdInterfaceGetInstance(g_wpaServiceName, true); in DoSomethingInterestingWithMyAPI()
75 if (g_wpaObj == nullptr) { in DoSomethingInterestingWithMyAPI()
76 HDF_LOGE("%{public}s : g_wpaObj is null", __FUNCTION__); in DoSomethingInterestingWithMyAPI()
90 int32_t ret = g_wpaObj->StartApWithCmd(g_wpaObj, "wlan1", 0); in DoSomethingInterestingWithMyAPI()
97 FuzzHostapdStart(g_wpaObj, tmpRawData); in DoSomethingInterestingWithMyAPI()
98 IHostapdInterfaceReleaseInstance(g_wpaServiceName, g_wpaObj, tru in DoSomethingInterestingWithMyAPI()
[all...]
/drivers/peripheral/wlan/test/fuzztest/wpa_fuzzer/
H A Dwpa_fuzzer.cpp30 struct IWpaInterface *g_wpaObj = nullptr; member
130 HDF_LOGE("%{public}s : g_wpaObj is null", __FUNCTION__); in DoSomethingInterestingWithMyAPI()
135 HDF_LOGE("%{public}s : g_wpaObj is null", __FUNCTION__); in DoSomethingInterestingWithMyAPI()
138 g_wpaObj = IWpaInterfaceGetInstance(g_wpaServiceName, true); in DoSomethingInterestingWithMyAPI()
139 if (g_wpaObj == nullptr) { in DoSomethingInterestingWithMyAPI()
140 HDF_LOGE("%{public}s : g_wpaObj is null", __FUNCTION__); in DoSomethingInterestingWithMyAPI()
152 int32_t ret = g_wpaObj->Start(g_wpaObj); in DoSomethingInterestingWithMyAPI()
158 FuzzWpaStart(g_wpaObj, tmpRawData); in DoSomethingInterestingWithMyAPI()
159 FuzzP2pStart(g_wpaObj, tmpRawDat in DoSomethingInterestingWithMyAPI()
[all...]

Completed in 4 milliseconds