Home
last modified time | relevance | path

Searched refs:chanList5g (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/
H A Dlnn_node_info.c313 int32_t LnnSetChanList5g(NodeInfo *info, const char *chanList5g) in LnnSetChanList5g() argument
315 if (info == NULL || chanList5g == NULL) { in LnnSetChanList5g()
319 if (strcpy_s(info->p2pInfo.chanList5g, sizeof(info->p2pInfo.chanList5g), chanList5g) != EOK) { in LnnSetChanList5g()
332 return info->p2pInfo.chanList5g; in LnnGetChanList5g()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_p2p_info_test.cpp77 .chanList5g = "chanList5g",
192 .p2pInfo.chanList5g = "chanList5g",
238 .p2pInfo.chanList5g = "chanList5g",
383 .chanList5g = "chanList5g",
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_p2p_info.c63 if (!AddStringToJsonObject(json, JSON_KEY_CHAN_LIST_5G, info->chanList5g)) { in LnnGetP2pInfoMsg()
128 …JSON_GetStringFromOject(json, JSON_KEY_CHAN_LIST_5G, info->chanList5g, sizeof(info->chanList5g))) { in LnnParseP2pInfoMsg()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/
H A Dlnn_node_info.h91 char chanList5g[CHANNEL_LIST_STR_LEN]; member
228 int32_t LnnSetChanList5g(NodeInfo *info, const char *chanList5g);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/
H A Dlnn_local_net_ledger.c778 const char *chanList5g = LnnGetWifiCfg(&g_localNetLedger.localInfo); in L1GetChanList5g() local
779 if (chanList5g == NULL) { in L1GetChanList5g()
783 if (strncpy_s((char *)buf, len, chanList5g, strlen(chanList5g)) != EOK) { in L1GetChanList5g()
1437 static int32_t UpdateChanList5g(const void *chanList5g) in UpdateChanList5g() argument
1439 if (chanList5g == NULL) { in UpdateChanList5g()
1443 return LnnSetChanList5g(&g_localNetLedger.localInfo, (char *)chanList5g); in UpdateChanList5g()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger_manager.c554 const char *chanList5g = NULL; in DlGetChanList5g() local
561 chanList5g = LnnGetChanList5g(info); in DlGetChanList5g()
562 if (chanList5g == NULL) { in DlGetChanList5g()
566 if (strcpy_s((char*)buf, len, chanList5g) != EOK) { in DlGetChanList5g()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1175 (void)JSON_AddStringToObject(json, CHAN_LIST_5G, info->p2pInfo.chanList5g); in PackCommP2pInfo()
1595 OptString(json, CHAN_LIST_5G, info->p2pInfo.chanList5g, CHANNEL_LIST_STR_LEN, ""); in UnpackCommon()