Home
last modified time | relevance | path

Searched refs:AddFieldIntToJson (Results 1 – 4 of 4) sorted by relevance

/base/security/device_security_level/services/dslm/
Ddslm_msg_utils.c49 AddFieldIntToJson(head, FIELD_MESSAGE, MSG_TYPE_DSLM_CRED_RESPONSE); in GenerateSecInfoResponseJson()
52 AddFieldIntToJson(body, FIELD_VERSION, (int32_t)GetCurrentVersion()); in GenerateSecInfoResponseJson()
53 AddFieldIntToJson(body, FIELD_CRED_TYPE, cred->type); in GenerateSecInfoResponseJson()
97 AddFieldIntToJson(head, FIELD_MESSAGE, MSG_TYPE_DSLM_CRED_REQUEST); in GenerateSecInfoRequestJson()
99 AddFieldIntToJson(body, FIELD_VERSION, (int32_t)GetCurrentVersion()); in GenerateSecInfoRequestJson()
/base/security/device_security_level/baselib/utils/include/
Dutils_json.h39 void AddFieldIntToJson(JsonHandle handle, const char *field, int32_t value);
/base/security/device_security_level/baselib/utils/src/
Dutils_json.c150 void AddFieldIntToJson(JsonHandle handle, const char *field, int32_t value) in AddFieldIntToJson() function
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_baselib_utils_test.cpp361 AddFieldIntToJson(nullptr, field, 0);