| /base/print/print_fwk/utils/include/ |
| D | print_json_util.h | 38 inline bool PrintJsonUtil::IsMember(const Json::Value &jsonObject, const std::string &key) in IsMember() 49 inline bool PrintJsonUtil::Parse(const std::string &root, Json::Value &jsonObject) in Parse() 64 inline bool PrintJsonUtil::ParseFromStream(Json::IStream &ifs, Json::Value &jsonObject) in ParseFromStream() 75 inline std::string PrintJsonUtil::WriteString(const Json::Value &jsonObject) in WriteString() 82 inline std::string PrintJsonUtil::WriteStringUTF8(const Json::Value &jsonObject) in WriteStringUTF8()
|
| /base/notification/distributed_notification_service/interfaces/inner_api/ |
| D | notification_json_convert.h | 45 …ool ConvertToJson(const NotificationJsonConvertionBase *convertionBase, nlohmann::json &jsonObject) in ConvertToJson() 69 nlohmann::json jsonObject; in ConvertToJsonString() local 86 static T *ConvertFromJson(const nlohmann::json &jsonObject) in ConvertFromJson() 110 auto jsonObject = nlohmann::json::parse(jsonString); in ConvertFromJsonString() local
|
| /base/account/os_account/frameworks/common/json_utils/src/ |
| D | os_account_info_json_parser.cpp | 25 auto jsonObject = CreateJson(); in ToJson() local 59 bool FromJson(cJSON *jsonObject, OsAccountInfo &accountInfo) in FromJson() 108 bool FromJson(cJSON *jsonObject, DomainAccountInfo &domainInfo) in FromJson()
|
| D | app_account_info_json_parser.cpp | 23 static void ParseTokenInfosFromJson(const cJSON *jsonObject, AppAccountInfo &accountInfo) in ParseTokenInfosFromJson() 52 auto jsonObject = CreateJson(); in ToJson() local 67 bool FromJson(cJSON *jsonObject, AppAccountInfo &accountInfo) in FromJson()
|
| /base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
| D | notification_icon_button_test.cpp | 35 nlohmann::json jsonObject; variable 52 nlohmann::json jsonObject; variable 64 nlohmann::json jsonObject; variable 79 nlohmann::json jsonObject; variable
|
| D | notification_button_option_test.cpp | 120 nlohmann::json jsonObject; variable 135 nlohmann::json jsonObject; variable
|
| D | notification_local_live_view_button_test.cpp | 110 nlohmann::json jsonObject; variable 124 nlohmann::json jsonObject; variable
|
| /base/account/os_account/frameworks/common/json_utils/include/ |
| D | json_utils.h | 150 bool GetDataByType(const CJson *jsonObject, const std::string &key, dataType &data) in GetDataByType() 187 bool GetDataByType(const CJsonUnique &jsonObject, const std::string &key, dataType &data) in GetDataByType()
|
| /base/print/print_fwk/test/unittest/service_test/ |
| D | print_user_data_test.cpp | 272 Json::Value jsonObject; variable 298 Json::Value jsonObject; variable 338 Json::Value jsonObject; variable 521 Json::Value jsonObject; variable 943 Json::Value jsonObject; variable 951 Json::Value jsonObject; variable 963 Json::Value jsonObject; variable 975 Json::Value jsonObject; variable 983 Json::Value jsonObject; variable 994 Json::Value jsonObject; variable [all …]
|
| D | print_system_data_test.cpp | 152 Json::Value jsonObject; variable 256 Json::Value jsonObject; variable 269 Json::Value jsonObject; variable 318 Json::Value jsonObject; variable 358 Json::Value jsonObject; variable 377 Json::Value jsonObject; variable 1010 Json::Value jsonObject; variable 1038 Json::Value jsonObject; variable 1059 Json::Value jsonObject; variable 1087 Json::Value jsonObject; variable [all …]
|
| D | print_service_converter_test.cpp | 96 Json::Value jsonObject; variable 137 Json::Value jsonObject; variable 144 Json::Value jsonObject; variable
|
| /base/print/print_fwk/services/print_service/src/ |
| D | print_user_data.cpp | 295 Json::Value jsonObject; in ParseUserData() local 302 void PrintUserData::ParseUserDataFromJson(Json::Value &jsonObject) in ParseUserDataFromJson() 395 Json::Value jsonObject; in GetFileData() local 421 Json::Value jsonObject; in SetUserDataToFile() local 459 bool PrintUserData::CheckFileData(std::string &fileData, Json::Value &jsonObject) in CheckFileData() 785 bool PrintUserData::GetJsonObjectFromFile(Json::Value &jsonObject, in GetJsonObjectFromFile() 812 bool PrintUserData::ParseJsonObjectToPrintHistory(Json::Value &jsonObject, const std::string &print… in ParseJsonObjectToPrintHistory() 898 …eviewAttribute PrintUserData::ParseJsonObjectToPrintPreviewAttribute(const Json::Value &jsonObject) in ParseJsonObjectToPrintPreviewAttribute() 912 PrintPageSize PrintUserData::ParseJsonObjectToPrintPageSize(const Json::Value &jsonObject) in ParseJsonObjectToPrintPageSize() 931 PrintRange PrintUserData::ParseJsonObjectToPrintRange(const Json::Value &jsonObject) in ParseJsonObjectToPrintRange() [all …]
|
| D | print_service_converter.cpp | 46 bool ConvertColorModeToJson(const ColorModeCode &code, Json::Value &jsonObject) in ConvertColorModeToJson() 52 bool ConvertDuplexModeToJson(const DuplexModeCode &code, Json::Value &jsonObject) in ConvertDuplexModeToJson() 169 bool ConvertPageSizeToJson(const PrintPageSize &pageSize, Json::Value &jsonObject) in ConvertPageSizeToJson()
|
| /base/account/os_account/services/accountmgr/src/osaccount/ |
| D | os_account_data_storage.cpp | 37 auto jsonObject = CreateJsonFromString(item.value.ToString()); in SaveEntries() local 59 auto jsonObject = CreateJsonFromString(item.value); in SaveEntries() local
|
| /base/account/os_account/services/accountmgr/src/appaccount/ |
| D | app_account_data_storage.cpp | 48 auto jsonObject = CreateJsonFromString(authorizedAccounts); in GetAccessibleAccountsFromAuthorizedAccounts() local 124 auto jsonObject = CreateJsonFromString(item.value.ToString()); in SaveEntries() local 145 auto jsonObject = CreateJsonFromString(item.value); in SaveEntries() local
|
| /base/update/updateservice/foundations/ability/utils/include/ |
| D | updateservice_json_utils.h | 39 …template <typename T> static int32_t GetValueAndSetTo(cJSON *jsonObject, const std::string &key, T… in GetValueAndSetTo() 128 template <typename T> static bool CheckTypeAndAsign(cJSON *jsonObject, T &value) in CheckTypeAndAsign()
|
| /base/notification/distributed_notification_service/services/ans/src/clone/ |
| D | dh_notification_clone_bundle_service.cpp | 48 ErrCode DhNotificationCloneBundle::OnBackup(nlohmann::json &jsonObject) in OnBackup() 69 void DhNotificationCloneBundle::OnRestore(const nlohmann::json &jsonObject) in OnRestore()
|
| D | notification_clone_bundle_service.cpp | 47 ErrCode NotificationCloneBundle::OnBackup(nlohmann::json &jsonObject) in OnBackup() 69 void NotificationCloneBundle::OnRestore(const nlohmann::json &jsonObject) in OnRestore()
|
| /base/account/os_account/frameworks/appaccount/native/src/ |
| D | app_account_info.cpp | 346 CJsonUnique jsonObject = CreateJsonFromMap(data); in InitCustomData() local 357 auto jsonObject = CreateJsonFromString(associatedData_); in GetAllAssociatedData() local 370 auto jsonObject = CreateJsonFromString(associatedData_); in GetAssociatedData() local 386 auto jsonObject = CreateJsonFromString(associatedData_); in SetAssociatedData() local 410 auto jsonObject = CreateJsonFromString(accountCredential_); in GetAccountCredential() local 429 CJsonUnique jsonObject = nullptr; in SetAccountCredential() local 461 auto jsonObject = CreateJsonFromString(accountCredential_); in DeleteAccountCredential() local 691 auto jsonObject = ToJson(*this); in ToString() local
|
| /base/notification/distributed_notification_service/frameworks/ans/src/ |
| D | notification_disable.cpp | 119 nlohmann::json jsonObject; in ToJson() local 132 nlohmann::json jsonObject = nlohmann::json::parse(jsonObj, nullptr, false); in FromJson() local
|
| D | notification_do_not_disturb_profile.cpp | 123 nlohmann::json jsonObject; in ToJson() local 145 nlohmann::json jsonObject = nlohmann::json::parse(jsonObj, nullptr, false); in FromJson() local
|
| /base/security/dlp_permission_service/services/dlp_permission/sa/adapt_utils/file_manager/ |
| D | visit_record_json_manager.cpp | 169 Json jsonObject; in ToJson() local 178 void VisitRecordJsonManager::FromJson(const Json& jsonObject) in FromJson() 204 auto jsonObject = ToJson(); in ToString() local
|
| /base/account/os_account/services/accountmgr/test/mock/app_account/ |
| D | account_data_storage.cpp | 139 auto jsonObject = CreateJson(); in ToJson() local 152 void ParseTokenInfosFromJson(const cJSON *jsonObject, AppAccountInfo &accountInfo) in ParseTokenInfosFromJson() 165 bool FromJson(cJSON *jsonObject, AppAccountInfo &accountInfo) in FromJson() 190 auto jsonObject = ToJson(); in ToString() local
|
| /base/notification/distributed_notification_service/test/fuzztest/notificationbasiccontent_fuzzer/ |
| D | notificationbasiccontent_fuzzer.cpp | 38 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
| /base/notification/distributed_notification_service/test/fuzztest/notificationpicturecontentannex_fuzzer/ |
| D | notificationpicturecontentannex_fuzzer.cpp | 28 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|