Home
last modified time | relevance | path

Searched refs:jsonChars (Results 1 - 13 of 13) sorted by relevance

/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Dtrust_device_profile.cpp108 char* jsonChars = cJSON_PrintUnformatted(json); in dump() local
109 if (jsonChars == NULL) { in dump()
114 std::string jsonStr = jsonChars; in dump()
116 cJSON_free(jsonChars); in dump()
H A Dservice_profile.cpp107 char* jsonChars = cJSON_PrintUnformatted(json); in dump() local
108 if (jsonChars == NULL) { in dump()
113 std::string jsonStr = jsonChars; in dump()
115 cJSON_free(jsonChars); in dump()
H A Ddp_sync_options.cpp101 char* jsonChars = cJSON_PrintUnformatted(json); in dump() local
102 if (jsonChars == NULL) { in dump()
107 std::string jsonStr = jsonChars; in dump()
109 cJSON_free(jsonChars); in dump()
H A Dcharacteristic_profile.cpp113 char* jsonChars = cJSON_PrintUnformatted(json); in dump() local
114 if (jsonChars == NULL) { in dump()
119 std::string jsonStr = jsonChars; in dump()
121 cJSON_free(jsonChars); in dump()
H A Ddevice_profile.cpp202 char* jsonChars = cJSON_PrintUnformatted(json); in dump() local
203 if (jsonChars == NULL) { in dump()
208 std::string jsonStr = jsonChars; in dump()
210 cJSON_free(jsonChars); in dump()
237 char* jsonChars = cJSON_PrintUnformatted(json); in AnnoymizeDump() local
238 if (jsonChars == NULL) { in AnnoymizeDump()
243 std::string jsonStr = jsonChars; in AnnoymizeDump()
245 cJSON_free(jsonChars); in AnnoymizeDump()
H A Ddp_subscribe_info.cpp175 char* jsonChars = cJSON_PrintUnformatted(json); in dump() local
176 if (jsonChars == NULL) { in dump()
181 std::string jsonStr = jsonChars; in dump()
183 cJSON_free(jsonChars); in dump()
H A Daccessee.cpp163 char* jsonChars = cJSON_PrintUnformatted(json); in dump() local
164 if (jsonChars == NULL) { in dump()
169 std::string jsonStr = jsonChars; in dump()
171 cJSON_free(jsonChars); in dump()
H A Daccesser.cpp163 char* jsonChars = cJSON_PrintUnformatted(json); in dump() local
164 if (jsonChars == NULL) { in dump()
169 std::string jsonStr = jsonChars; in dump()
171 cJSON_free(jsonChars); in dump()
H A Daccess_control_profile.cpp260 char* jsonChars = cJSON_PrintUnformatted(json); in dump() local
261 if (jsonChars == NULL) { in dump()
266 std::string jsonStr = jsonChars; in dump()
268 cJSON_free(jsonChars); in dump()
/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/
H A Dpasteboard_info_collector.cpp78 char* jsonChars = cJSON_PrintUnformatted(jsonData); in ConvertToProfile() local
79 if (jsonChars == NULL) { in ConvertToProfile()
84 std::string jsonStr = jsonChars; in ConvertToProfile()
87 cJSON_free(jsonChars); in ConvertToProfile()
H A Ddms_info_collector.cpp67 char* jsonChars = cJSON_PrintUnformatted(jsonData); in ConvertToProfile() local
68 if (jsonChars == NULL) { in ConvertToProfile()
73 std::string jsonStr = jsonChars; in ConvertToProfile()
76 cJSON_free(jsonChars); in ConvertToProfile()
H A Dsyscap_info_collector.cpp134 char* jsonChars = cJSON_PrintUnformatted(jsonData); in GenJsonStr() local
135 if (jsonChars == NULL) { in GenJsonStr()
139 jsonStr = jsonChars; in GenJsonStr()
140 cJSON_free(jsonChars); in GenJsonStr()
/foundation/deviceprofile/device_info_manager/services/core/src/permissionmanager/
H A Dpermission_manager.cpp124 char* jsonChars = cJSON_PrintUnformatted(permissionJson); in ParsePermissionJson() local
125 if (jsonChars == NULL) { in ParsePermissionJson()
128 HILOGD("permission json %{public}s parse success!", jsonChars); in ParsePermissionJson()
129 cJSON_free(jsonChars); in ParsePermissionJson()

Completed in 5 milliseconds