Home
last modified time | relevance | path

Searched refs:objectJson (Results 1 - 2 of 2) sorted by relevance

/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/security_guard_report/src/
H A Dcm_security_guard_report.cpp78 char *objectJson = static_cast<char *>(CmMalloc(CM_INFO_JSON_MAX_LEN)); in CmReportSGRecord() local
79 if (objectJson == NULL) { in CmReportSGRecord()
80 CM_LOG_E("objectJson malloc error"); in CmReportSGRecord()
83 (void)memset_s(objectJson, CM_INFO_JSON_MAX_LEN, 0, CM_INFO_JSON_MAX_LEN); in CmReportSGRecord()
84 InfoToJson(info, objectJson, CM_INFO_JSON_MAX_LEN); in CmReportSGRecord()
88 CM_FREE_PTR(objectJson); in CmReportSGRecord()
93 CmFillSGRecord(objectJson, recordJson, SG_JSON_MAX_LEN); in CmReportSGRecord()
94 CM_FREE_PTR(objectJson); in CmReportSGRecord()
/base/print/print_fwk/services/print_service/src/
H A Dprint_service_ability.cpp923 nlohmann::json objectJson = nlohmann::json::parse(printPreference); in SetPrinterPreference() local
924 PrinterPreference oldPrintPreference = PrinterPreference::BuildPrinterPreferenceFromJson(objectJson); in SetPrinterPreference()
1009 nlohmann::json objectJson; in WritePreferenceToFile() local
1010 objectJson[printPreference.first] = printPreferenceJson; in WritePreferenceToFile()
1011 printerMapJson.push_back(objectJson); in WritePreferenceToFile()

Completed in 6 milliseconds