Home
last modified time | relevance | path

Searched refs:WIFI_MAX_KEY_LEN (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/native/
H A Dwifi_c_hotspot_test.cpp112 memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, g_testDataLen60, WIFI_MAX_KEY_LEN-5);
160 memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, g_testDataLen65, WIFI_MAX_KEY_LEN);
176 memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, g_testDataLen60, 60);
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wifichotspot_fuzzer/
H A Dwifichotspot_fuzzer.cpp32 if (memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, data, WIFI_MAX_KEY_LEN - 1) != EOK) { in SetHotspotConfigTest()
52 if (memcpy_s(result.preSharedKey, WIFI_MAX_KEY_LEN, data, WIFI_MAX_KEY_LEN - 1) != EOK) { in GetHotspotConfigTest()
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wificdevice_fuzzer/
H A Dwificdevice_fuzzer.cpp86 if (memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, data, WIFI_MAX_KEY_LEN - 1) != EOK) { in AddDeviceConfigTest()
168 …if (memcpy_s(result.preSharedKey, WIFI_MAX_KEY_LEN, data + WIFI_MAX_SSID_LEN, WIFI_MAX_KEY_LEN - 1… in GetDeviceConfigsTest()
198 …if (memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, data + WIFI_MAX_SSID_LEN, WIFI_MAX_KEY_LEN - 1… in ConnectToDeviceTest()
/ohos5.0/foundation/communication/wifi_lite/interfaces/wifiservice/
H A Dwifi_device_config.h66 #define WIFI_MAX_KEY_LEN 65 // 64 + \0 macro
165 char preSharedKey[WIFI_MAX_KEY_LEN];
H A Dwifi_hotspot_config.h97 char preSharedKey[WIFI_MAX_KEY_LEN];
/ohos5.0/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_device_config.h66 #define WIFI_MAX_KEY_LEN 65 // 64 + \0 macro
207 char preSharedKey[WIFI_MAX_KEY_LEN];
H A Dwifi_hotspot_config.h97 char preSharedKey[WIFI_MAX_KEY_LEN];
/ohos5.0/foundation/communication/dsoftbus/adapter/common/net/wifi/include/
H A Dsoftbus_wifi_api_adapter.h27 #define WIFI_MAX_KEY_LEN 65 macro
48 char preSharedKey[WIFI_MAX_KEY_LEN];
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_hotspot.cpp101 if (strnlen(config->preSharedKey, WIFI_MAX_KEY_LEN) == WIFI_MAX_KEY_LEN) { in GetHotspotConfigFromC()
122 if (memcpy_s(result->preSharedKey, WIFI_MAX_KEY_LEN, in GetHotspotConfigFromCpp()
H A Dwifi_c_device.cpp174 if (strnlen(config->preSharedKey, WIFI_MAX_KEY_LEN) == WIFI_MAX_KEY_LEN) { in ConvertDeviceConfigFromC()
207 …if (memcpy_s(result->preSharedKey, WIFI_MAX_KEY_LEN, deviceConfig.preSharedKey.c_str(), WIFI_MAX_K… in ConvertDeviceConfigFromCpp()
/ohos5.0/foundation/communication/wifi_lite/
H A DREADME_zh.md62 memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, "1234567890", 10); //在这里输入待连接WLAN的口令
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_sync_item_info_test.cpp224 EXPECT_EQ(EOK, strcpy_s(conWifiConf.preSharedKey, WIFI_MAX_KEY_LEN, TEST_PRE_SHARED_KEY));