Home
last modified time | relevance | path

Searched refs:g_devMgr (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_wpa_proxy.c205 if (g_devMgr != NULL) { in HdiWpaResetGlobalObj()
206 g_devMgr->UnloadDevice(g_devMgr, HDI_WPA_SERVICE_NAME); in HdiWpaResetGlobalObj()
208 g_devMgr = NULL; in HdiWpaResetGlobalObj()
272 if (g_devMgr == NULL) { in HdiWpaStart()
277 HDF_STATUS retDevice = g_devMgr->LoadDevice(g_devMgr, HDI_WPA_SERVICE_NAME); in HdiWpaStart()
282 g_devMgr = NULL; in HdiWpaStart()
290 g_devMgr->UnloadDevice(g_devMgr, HDI_WPA_SERVICE_NAME); in HdiWpaStart()
305 g_devMgr->UnloadDevice(g_devMgr, HDI_WPA_SERVICE_NAME); in HdiWpaStart()
334 if (g_devMgr != NULL) { in HdiWpaStop()
335 g_devMgr->UnloadDevice(g_devMgr, HDI_WPA_SERVICE_NAME); in HdiWpaStop()
[all …]
/ohos5.0/drivers/peripheral/wlan/test/fuzztest/hostapd_fuzzer/
H A Dhostapd_fuzzer.cpp31 static struct HDIDeviceManager *g_devMgr = nullptr; variable
64 g_devMgr = HDIDeviceManagerGet(); in DoSomethingInterestingWithMyAPI()
65 if (g_devMgr == nullptr) { in DoSomethingInterestingWithMyAPI()
69 int32_t rc = g_devMgr->LoadDevice(g_devMgr, g_wpaServiceName); in DoSomethingInterestingWithMyAPI()
100 g_devMgr->UnloadDevice(g_devMgr, g_wpaServiceName); in DoSomethingInterestingWithMyAPI()
101 g_devMgr = nullptr; in DoSomethingInterestingWithMyAPI()
/ohos5.0/drivers/peripheral/wlan/test/fuzztest/wpa_fuzzer/
H A Dwpa_fuzzer.cpp31 static struct HDIDeviceManager *g_devMgr = nullptr; variable
128 g_devMgr = HDIDeviceManagerGet(); in DoSomethingInterestingWithMyAPI()
129 if (g_devMgr == nullptr) { in DoSomethingInterestingWithMyAPI()
133 int32_t rc = g_devMgr->LoadDevice(g_devMgr, g_wpaServiceName); in DoSomethingInterestingWithMyAPI()
167 g_devMgr->UnloadDevice(g_devMgr, g_wpaServiceName); in DoSomethingInterestingWithMyAPI()
168 g_devMgr = nullptr; in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/msdp/device_status/test/unittest/intention/cooperate/src/
H A Dcooperate_test.cpp34 DeviceManager g_devMgr; variable
61 return g_devMgr; in GetDeviceManager()
H A Dcooperate_plugin_test.cpp55 DeviceManager g_devMgr; variable
82 return g_devMgr; in GetDeviceManager()
840 auto dev = g_devMgr.AddDevice(TEST_DEV_NODE);
856 auto dev = g_devMgr.AddDevice(TEST_DEV_NODE);
1832 auto dev = g_devMgr.AddDevice(TEST_DEV_NODE);
1840 dev = g_devMgr.RemoveDevice(TEST_DEV_NODE);
/ohos5.0/base/msdp/device_status/test/unittest/intention/drag/src/
H A Ddrag_server_test.cpp58 DeviceManager g_devMgr; variable
107 return g_devMgr; in GetDeviceManager()