Searched refs:OptString (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 192 static void OptString(const JsonObj *json, const char * const key, in OptString() function 1013 OptString(obj, DEVICE_ID_TAG, info->udid, UDID_BUF_LEN, ""); in UnPackVersionByDeviceId() 1081 OptString(obj, SUPPORT_INFO_COMPRESS, compressParse, in UnpackDeviceIdJson() 1517 OptString(json, PKG_VERSION, info->pkgVersion, VERSION_MAX_LEN, ""); in ParseCommonJsonInfo() 1523 OptString(json, BT_MAC, info->connectInfo.macAddr, MAC_LEN, ""); in ParseCommonJsonInfo() 1524 OptString(json, BLE_MAC, info->connectInfo.bleMacAddr, MAC_LEN, ""); in ParseCommonJsonInfo() 1584 OptString(json, EXTDATA, info->extData, EXTDATA_LEN, ""); in UnpackCommon() 1597 OptString(json, P2P_MAC_ADDR, info->p2pInfo.p2pMac, MAC_LEN, ""); in UnpackCommon() 1598 OptString(json, HML_MAC, info->wifiDirectAddr, MAC_LEN, ""); in UnpackCommon() 1839 OptString(json, HML_MAC, info->wifiDirectAddr, MAC_LEN, ""); in UnpackDeviceInfoBtV1() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_session_message_test.cpp | 86 OptString(json, DEVICE_ID, target, 10, ""); 87 OptString(json, FAST_AUTH, target, 10, "");
|