Home
last modified time | relevance | path

Searched refs:p2pRole (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_p2p_info_test.cpp75 .p2pRole = 1234,
190 .p2pInfo.p2pRole = 1234,
236 .p2pInfo.p2pRole = 1234,
381 .p2pRole = 1234,
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/
H A Dlnn_node_info.c272 int32_t LnnSetP2pRole(NodeInfo *info, int32_t p2pRole) in LnnSetP2pRole() argument
278 info->p2pInfo.p2pRole = p2pRole; in LnnSetP2pRole()
288 return info->p2pInfo.p2pRole; in LnnGetP2pRole()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_p2p_info.c53 if (!AddNumberToJsonObject(json, JSON_KEY_P2P_ROLE, info->p2pRole)) { in LnnGetP2pInfoMsg()
118 if (!JSON_GetInt32FromOject(json, JSON_KEY_P2P_ROLE, &info->p2pRole)) { in LnnParseP2pInfoMsg()
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/
H A Dinstant_statistics.cpp78 int32_t p2pRole;
774 (void)AddNumberToJsonObject(json, "p2pRole", remoteInfo->p2pRole); in InstPackRemoteBasicInfo()
849 remoteInfo->p2pRole = nodeInfo.p2pInfo.p2pRole; in InstUpdateRemoteInfoByLnn()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/
H A Dlnn_node_info.h89 int32_t p2pRole; member
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1593 OptInt(json, P2P_ROLE, &info->p2pInfo.p2pRole, -1); in UnpackCommon()
1817 !JSON_AddInt32ToObject(json, P2P_ROLE, info->p2pInfo.p2pRole) || in PackDeviceInfoBtV1()
1848 OptInt(json, P2P_ROLE, &info->p2pInfo.p2pRole, 0); in UnpackDeviceInfoBtV1()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/
H A Dlnn_local_net_ledger.c1455 static int32_t UpdateP2pRole(const void *p2pRole) in UpdateP2pRole() argument
1457 if (p2pRole == NULL) { in UpdateP2pRole()
1461 return LnnSetP2pRole(&g_localNetLedger.localInfo, *(int32_t *)p2pRole); in UpdateP2pRole()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_disctributed_net_ledger_test.cpp340 info.p2pRole = P2P_ROLE;
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger_manager.c1069 if (LnnSetP2pRole(node, info->p2pRole) != SOFTBUS_OK || in LnnSetDLP2pInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/
H A Dlnn_lane_test.cpp105 .p2pInfo.p2pRole = 1,