Searched refs:STATIC_CAP_LEN (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_disctributed_net_ledger_test.cpp | 912 len = STATIC_CAP_LEN + 1; 913 ret = DlGetStaticCap(nullptr, true, nullptr, STATIC_CAP_LEN + 1); 916 ret = DlGetStaticCap(networkId, true, nullptr, STATIC_CAP_LEN + 1); 925 len = STATIC_CAP_LEN + 1; 926 ret = DlGetStaticCapLen(nullptr, true, nullptr, STATIC_CAP_LEN + 1); 929 ret = DlGetStaticCapLen(networkId, true, nullptr, STATIC_CAP_LEN + 1); 938 len = STATIC_CAP_LEN + 1; 939 ret = DlGetRemotePtk(nullptr, true, nullptr, STATIC_CAP_LEN + 1); 942 ret = DlGetRemotePtk(networkId, true, nullptr, STATIC_CAP_LEN + 1);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 36 #define STATIC_CAP_LEN 100 macro 183 uint8_t staticCapability[STATIC_CAP_LEN];
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_node_info.c | 541 if (len <= 0 || len > STATIC_CAP_LEN) { in LnnSetStaticCapability() 545 if (memcpy_s(info->staticCapability, STATIC_CAP_LEN, cap, len) != EOK) { in LnnSetStaticCapability() 558 if (len < 0 || len > STATIC_CAP_LEN) { in LnnGetStaticCapability()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_session_message_test.cpp | 47 constexpr uint8_t STATIC_CAPABILITY[STATIC_CAP_LEN] = "staticCapability"; 440 …ASSERT_TRUE(memcpy_s(info.staticCapability, STATIC_CAP_LEN, STATIC_CAPABILITY, CAPABILITY_LEN) == …
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger_manager.c | 261 if (len > STATIC_CAP_LEN) { in DlGetStaticCap() 267 if (memcpy_s(buf, len, info->staticCapability, STATIC_CAP_LEN) != EOK) { in DlGetStaticCap()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 1604 if (buf == NULL || len > STATIC_CAP_LEN) { in LlGetStaticCapability() 1828 {BYTE_KEY_STATIC_CAPABILITY, STATIC_CAP_LEN, LlGetStaticCapability, LlUpdateStaticCapability},
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1496 if (ConvertHexStringToBytes((unsigned char *)info->staticCapability, STATIC_CAP_LEN, in UnpackWifiDirectInfo()
|