Searched refs:wifiCfg (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/ |
H A D | wifi_config_info_test.cpp | 41 WifiConfigInfo wifiCfg; variable 60 wifiCfg.SetInterfaceInfoArray(infos); 61 wifiCfg.SetDeviceId("123"); 64 wifiCfg.Marshalling(*protocol1, config); 83 WifiConfigInfo wifiCfg; variable 89 wifiCfg.SetInterfaceInfoArray(infos); 90 auto ret = wifiCfg.GetInterfaceInfo("p2p0"); 93 ret = wifiCfg.GetInterfaceInfo("chba0");
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_node_info.c | 291 int32_t LnnSetWifiCfg(NodeInfo *info, const char *wifiCfg) in LnnSetWifiCfg() argument 293 if (info == NULL || wifiCfg == NULL) { in LnnSetWifiCfg() 297 if (strcpy_s(info->p2pInfo.wifiCfg, sizeof(info->p2pInfo.wifiCfg), wifiCfg) != EOK) { in LnnSetWifiCfg() 310 return info->p2pInfo.wifiCfg; in LnnGetWifiCfg()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_p2p_info_test.cpp | 76 .wifiCfg = "wifi_cgf", 191 .p2pInfo.wifiCfg = "wifi_cgf", 237 .p2pInfo.wifiCfg = "wifi_cgf", 382 .wifiCfg = "wifi_cgf",
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_p2p_info.c | 58 if (!AddStringToJsonObject(json, JSON_KEY_WIFI_CFG, info->wifiCfg)) { in LnnGetP2pInfoMsg() 123 if (!JSON_GetStringFromOject(json, JSON_KEY_WIFI_CFG, info->wifiCfg, sizeof(info->wifiCfg))) { in LnnParseP2pInfoMsg()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 90 char wifiCfg[WIFI_CFG_INFO_MAX_LEN]; member 226 int32_t LnnSetWifiCfg(NodeInfo *info, const char *wifiCfg);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 761 const char *wifiCfg = LnnGetWifiCfg(&g_localNetLedger.localInfo); in L1GetWifiCfg() local 762 if (wifiCfg == NULL) { in L1GetWifiCfg() 766 if (strncpy_s((char *)buf, len, wifiCfg, strlen(wifiCfg)) != EOK) { in L1GetWifiCfg() 1428 static int32_t UpdateWifiCfg(const void *wifiCfg) in UpdateWifiCfg() argument 1430 if (wifiCfg == NULL) { in UpdateWifiCfg() 1434 return LnnSetWifiCfg(&g_localNetLedger.localInfo, (char *)wifiCfg); in UpdateWifiCfg()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger_manager.c | 531 const char *wifiCfg = NULL; in DlGetWifiCfg() local 538 wifiCfg = LnnGetWifiCfg(info); in DlGetWifiCfg() 539 if (wifiCfg == NULL) { in DlGetWifiCfg() 543 if (strcpy_s((char*)buf, len, wifiCfg) != EOK) { in DlGetWifiCfg()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1174 (void)JSON_AddStringToObject(json, WIFI_CFG, info->p2pInfo.wifiCfg); in PackCommP2pInfo() 1594 OptString(json, WIFI_CFG, info->p2pInfo.wifiCfg, WIFI_CFG_INFO_MAX_LEN, ""); in UnpackCommon()
|