Home
last modified time | relevance | path

Searched refs:JSON_AddStringToObject (Results 1 – 8 of 8) sorted by relevance

/foundation/communication/dsoftbus/tests/core/authentication/unittest/
Dauth_session_message_test.cpp85 JSON_AddStringToObject(json, FAST_AUTH, "jsontest");
203 JSON_AddStringToObject(obj, FAST_AUTH, encryptedFastAuth);
261 JSON_AddStringToObject(obj, FAST_AUTH, "encryptedFastAuth");
265 JSON_AddStringToObject(obj, DEV_IP_HASH_TAG, "12345678");
346 JSON_AddStringToObject(obj1, CMD_TAG, CMD_GET_AUTH_INFO);
347 JSON_AddStringToObject(obj1, DATA_TAG, "123456");
348 JSON_AddStringToObject(obj1, DEVICE_ID_TAG, "654321");
352 JSON_AddStringToObject(obj1, SUPPORT_INFO_COMPRESS, TRUE_STRING_TAG);
406 (void)JSON_AddStringToObject(json, BROADCAST_CIPHER_KEY, "cipherKeyTest");
407 (void)JSON_AddStringToObject(json, BROADCAST_CIPHER_IV, "cipherIv");
[all …]
/foundation/communication/dsoftbus/core/authentication/src/
Dauth_session_json.c257 JSON_AddStringToObject(obj, FAST_AUTH, encryptFastAuth); in PackFastAuthValue()
456 (void)JSON_AddStringToObject(obj, NORMALIZED_DATA, encNormalizedKey); in PackNormalizedKeyValue()
726 JSON_AddStringToObject(obj, SUPPORT_INFO_COMPRESS, TRUE_STRING_TAG); in PackCompressInfo()
728 JSON_AddStringToObject(obj, SUPPORT_INFO_COMPRESS, FALSE_STRING_TAG); in PackCompressInfo()
754 JSON_AddStringToObject(obj, DEV_IP_HASH_TAG, devIpHash); in PackWifiSinglePassInfo()
760 if (!JSON_AddStringToObject(obj, DEVICE_ID_TAG, networkId)) { in VerifySessionInfoIdType()
769 if (!JSON_AddStringToObject(obj, DEVICE_ID_TAG, udid)) { in VerifySessionInfoIdType()
793 if (!JSON_AddStringToObject(obj, CMD_TAG, CMD_GET_AUTH_INFO)) { in PackDeviceJsonInfo()
798 if (!JSON_AddStringToObject(obj, CMD_TAG, CMD_RET_AUTH_INFO)) { in PackDeviceJsonInfo()
850 …if (!JSON_AddStringToObject(obj, DATA_TAG, uuid) || !JSON_AddInt32ToObject(obj, DATA_BUF_SIZE_TAG,… in PackDeviceIdJson()
[all …]
Dauth_session_message.c372 …if (!JSON_AddInt32ToObject(obj, CODE, CODE_VERIFY_DEVICE) || !JSON_AddStringToObject(obj, DEVICE_I… in PackVerifyDeviceMessage()
389 …if (!JSON_AddInt32ToObject(obj, CODE, CODE_TCP_KEEPALIVE) || !JSON_AddStringToObject(obj, DEVICE_I… in PackKeepaliveMessage()
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
Dlnn_hichain_mock.cpp199 if (!JSON_AddStringToObject(obj, "groupName", "mygroup<256>E469") || in getRelatedGroups1()
200 !JSON_AddStringToObject(obj, "groupId", "1D77EBFF0349B27EED57014DD7B2449A") || in getRelatedGroups1()
201 !JSON_AddStringToObject(obj, "groupOwner", "com.hhhs.secueity") || in getRelatedGroups1()
226 if (!JSON_AddStringToObject(obj, "authId", "ABCDEDF00ABCDE0021DD55ACFF")) { in getTrustedDevices()
/foundation/communication/dsoftbus/adapter/common/include/
Dsoftbus_adapter_json.h60 bool JSON_AddStringToObject(JsonObj *obj, const char *key, const char *value);
/foundation/communication/dsoftbus/adapter/common/json/nlohmann/
Dsoftbus_adapter_json.cpp233 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/
Dlnn_devicename_info.c88 if (!JSON_AddStringToObject(json, KEY_NICK_NAME, info->deviceInfo.nickName) || in LnnSyncDeviceNickName()
Dlnn_sync_info_manager.c578 !JSON_AddStringToObject(json, NETWORK_OFFLINE_CODE, offlineCode)) { in PackWifiOfflineMsg()