Searched refs:OptString (Results 1 – 2 of 2) sorted by relevance
| /foundation/communication/dsoftbus/core/authentication/src/ |
| D | auth_session_message.c | 193 static void OptString(const JsonObj *json, const char * const key, in OptString() function 716 OptString(obj, DEVICE_ID_TAG, info->udid, UDID_BUF_LEN, ""); in UnPackVersionByDeviceId() 775 …OptString(obj, SUPPORT_INFO_COMPRESS, compressParse, PARSE_UNCOMPRESS_STRING_BUFF_LEN, FALSE_STRIN… in UnpackDeviceIdJson() 1121 OptString(json, PKG_VERSION, info->pkgVersion, VERSION_MAX_LEN, ""); in UnpackCommon() 1122 OptString(json, UNIFIED_DEVICE_NAME, info->deviceInfo.unifiedName, DEVICE_NAME_BUF_LEN, ""); in UnpackCommon() 1123 …OptString(json, UNIFIED_DEFAULT_DEVICE_NAME, info->deviceInfo.unifiedDefaultName, DEVICE_NAME_BUF_… in UnpackCommon() 1124 OptString(json, SETTINGS_NICK_NAME, info->deviceInfo.nickName, DEVICE_NAME_BUF_LEN, ""); in UnpackCommon() 1127 OptString(json, BT_MAC, info->connectInfo.macAddr, MAC_LEN, ""); in UnpackCommon() 1128 OptString(json, BLE_MAC, info->connectInfo.bleMacAddr, MAC_LEN, ""); in UnpackCommon() 1156 OptString(json, OS_VERSION, info->deviceInfo.osVersion, OS_VERSION_BUF_LEN, ""); in UnpackCommon() [all …]
|
| /foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
| D | auth_session_message_test.cpp | 82 OptString(json, DEVICE_ID, target, 10, ""); 83 OptString(json, FAST_AUTH, target, 10, "");
|