Searched refs:JSON_AddStringToObject (Results 1 – 7 of 7) sorted by relevance
| /foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
| D | auth_session_message_test.cpp | 81 JSON_AddStringToObject(json, FAST_AUTH, "jsontest"); 201 JSON_AddStringToObject(obj, FAST_AUTH, encryptedFastAuth); 259 JSON_AddStringToObject(obj, FAST_AUTH, "encryptedFastAuth"); 342 JSON_AddStringToObject(obj1, CMD_TAG, CMD_GET_AUTH_INFO); 343 JSON_AddStringToObject(obj1, DATA_TAG, "123456"); 344 JSON_AddStringToObject(obj1, DEVICE_ID_TAG, "654321"); 348 JSON_AddStringToObject(obj1, SUPPORT_INFO_COMPRESS, TRUE_STRING_TAG); 402 (void)JSON_AddStringToObject(json, BROADCAST_CIPHER_KEY, "cipherKeyTest"); 403 (void)JSON_AddStringToObject(json, BROADCAST_CIPHER_IV, "cipherIv"); 404 (void)JSON_AddStringToObject(json, IRK, "peerIrk"); [all …]
|
| D | auth_other_test.cpp | 730 !JSON_AddStringToObject(obj, "DEV_IP", "127.0.0.1")) { 734 JSON_AddStringToObject(obj, BLE_OFFLINE_CODE, "10244"); 747 (void)JSON_AddStringToObject(obj, "BROADCAST_CIPHER_KEY", "1222222222"); 748 (void)JSON_AddStringToObject(obj, "BROADCAST_CIPHER_IV", "1222222222"); 749 (void)JSON_AddStringToObject(obj, "IRK", "1222222222"); 750 (void)JSON_AddStringToObject(obj, "PUB_MAC", "1222222222"); 752 JSON_AddStringToObject(obj, "MASTER_UDID", "1122334554444"); 753 JSON_AddStringToObject(obj, "NODE_ADDR", "1122334554444");
|
| /foundation/communication/dsoftbus/core/authentication/src/ |
| D | auth_session_message.c | 258 JSON_AddStringToObject(obj, FAST_AUTH, encryptFastAuth); in PackFastAuthValue() 465 JSON_AddStringToObject(obj, SUPPORT_INFO_COMPRESS, TRUE_STRING_TAG); in PackCompressInfo() 467 JSON_AddStringToObject(obj, SUPPORT_INFO_COMPRESS, FALSE_STRING_TAG); in PackCompressInfo() 493 JSON_AddStringToObject(obj, DEV_IP_HASH_TAG, devIpHash); in PackWifiSinglePassInfo() 499 if (!JSON_AddStringToObject(obj, DEVICE_ID_TAG, networkId)) { in VerifySessionInfoIdType() 508 if (!JSON_AddStringToObject(obj, DEVICE_ID_TAG, udid)) { in VerifySessionInfoIdType() 541 if (!JSON_AddStringToObject(obj, CMD_TAG, CMD_GET_AUTH_INFO)) { in PackDeviceIdJson() 547 if (!JSON_AddStringToObject(obj, CMD_TAG, CMD_RET_AUTH_INFO)) { in PackDeviceIdJson() 557 …if (!JSON_AddStringToObject(obj, DATA_TAG, uuid) || !JSON_AddInt32ToObject(obj, DATA_BUF_SIZE_TAG,… in PackDeviceIdJson() 788 (void)JSON_AddStringToObject(json, UNIFIED_DEVICE_NAME, unified); in GetAndSetLocalUnifiedName() [all …]
|
| /foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/ |
| D | lnn_hichain_mock.cpp | 185 if (!JSON_AddStringToObject(obj, "groupName", "mygroup<256>E469") || in getRelatedGroups1() 186 !JSON_AddStringToObject(obj, "groupId", "1D77EBFF0349B27EED57014DD7B2449A") || in getRelatedGroups1() 187 !JSON_AddStringToObject(obj, "groupOwner", "com.hhhs.secueity") || in getRelatedGroups1() 212 if (!JSON_AddStringToObject(obj, "authId", "ABCDEDF00ABCDE0021DD55ACFF")) { in getTrustedDevices()
|
| /foundation/communication/dsoftbus/adapter/common/include/ |
| D | softbus_adapter_json.h | 60 bool JSON_AddStringToObject(JsonObj *obj, const char *key, const char *value);
|
| /foundation/communication/dsoftbus/adapter/common/json/nlohmann/ |
| D | softbus_adapter_json.cpp | 233 bool JSON_AddStringToObject(JsonObj *obj, const char *key, const char *value) in JSON_AddStringToObject() function
|
| /foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
| D | lnn_devicename_info.c | 84 if (!JSON_AddStringToObject(json, KEY_NICK_NAME, info->deviceInfo.nickName) || in LnnSyncDeviceNickName()
|