| /base/update/updateservice/foundations/ability/utils/include/ |
| D | dupdate_json_utils.h | 40 …static int32_t GetValueAndSetTo(const nlohmann::json &jsonObject, const std::string &key, T &value) in GetValueAndSetTo() 70 static int32_t GetValueAndSetToArray(const nlohmann::json &jsonObject, const std::string &key, in GetValueAndSetToArray() 83 static void SetJsonToVector(nlohmann::json &jsonObject, std::vector<std::string> &vector) in SetJsonToVector() 95 static void SetJsonToVector(const nlohmann::json &jsonObject, const std::string &key, in SetJsonToVector() 105 static bool IsArray(const nlohmann::json &jsonObject, const std::string &key) in IsArray() 133 static bool CheckType(const nlohmann::json &jsonObject, std::string &value) in CheckType() 138 static bool CheckType(const nlohmann::json &jsonObject, int32_t &value) in CheckType() 143 static bool CheckType(const nlohmann::json &jsonObject, uint32_t &value) in CheckType() 148 static bool CheckType(const nlohmann::json &jsonObject, uint64_t &value) in CheckType() 153 static bool CheckType(const nlohmann::json &jsonObject, int64_t &value) in CheckType() [all …]
|
| /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/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_content_test.cpp | 53 nlohmann::json jsonObject; variable 67 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/services/accountmgr/src/osaccount/ |
| D | os_account_data_storage.cpp | 37 nlohmann::json jsonObject = nlohmann::json::parse(item.value.ToString(), nullptr, false); in SaveEntries() local 59 nlohmann::json jsonObject = nlohmann::json::parse(item.value, nullptr, false); in SaveEntries() local
|
| /base/account/os_account/frameworks/appaccount/native/src/ |
| D | app_account_info.cpp | 212 Json jsonObject = data; in InitCustomData() local 224 auto jsonObject = Json::parse(associatedData_, nullptr, false); in GetAllAssociatedData() local 240 auto jsonObject = Json::parse(associatedData_, nullptr, false); in GetAssociatedData() local 257 auto jsonObject = Json::parse(associatedData_, nullptr, false); in SetAssociatedData() local 284 auto jsonObject = Json::parse(accountCredential_, nullptr, false); in GetAccountCredential() local 301 Json jsonObject; in SetAccountCredential() local 335 auto jsonObject = Json::parse(accountCredential_, nullptr, false); in DeleteAccountCredential() local 592 void AppAccountInfo::ParseTokenInfosFromJson(const Json &jsonObject) in ParseTokenInfosFromJson() 613 bool AppAccountInfo::FromJson(const Json &jsonObject) in FromJson() 641 auto jsonObject = ToJson(); in ToString() local
|
| /base/account/os_account/services/accountmgr/src/appaccount/ |
| D | app_account_data_storage.cpp | 48 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); in GetAccessibleAccountsFromAuthorizedAccounts() local 124 Json jsonObject = Json::parse(item.value.ToString(), nullptr, false); in SaveEntries() local 145 Json jsonObject = Json::parse(item.value, nullptr, false); in SaveEntries() local
|
| /base/print/print_fwk/test/unittest/service_test/ |
| D | print_system_data_test.cpp | 154 Json::Value jsonObject; variable 267 Json::Value jsonObject; variable 280 Json::Value jsonObject; variable 329 Json::Value jsonObject; variable 369 Json::Value jsonObject; variable 388 Json::Value jsonObject; variable 982 Json::Value jsonObject; variable 1010 Json::Value jsonObject; variable 1031 Json::Value jsonObject; variable 1059 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 | 232 Json::Value jsonObject; in ParseUserData() local 239 void PrintUserData::ParseUserDataFromJson(Json::Value &jsonObject) in ParseUserDataFromJson() 332 Json::Value jsonObject; in GetFileData() local 358 Json::Value jsonObject; in SetUserDataToFile() local 396 bool PrintUserData::CheckFileData(std::string &fileData, Json::Value &jsonObject) in CheckFileData()
|
| 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/notification/distributed_notification_service/frameworks/ans/src/ |
| D | notification_disable.cpp | 103 nlohmann::json jsonObject; in ToJson() local 115 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
|
| D | notification_request.cpp | 898 NotificationRequest *NotificationRequest::FromJson(const nlohmann::json &jsonObject) in FromJson() 2154 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNumExt() 2180 …otificationRequest::ConvertJsonToNum(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNum() 2240 …ficationRequest::ConvertJsonToString(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToString() 2282 …tificationRequest::ConvertJsonToEnum(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToEnum() 2308 …tificationRequest::ConvertJsonToBool(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToBool() 2364 …icationRequest::ConvertJsonToBoolExt(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToBoolExt() 2373 …cationRequest::ConvertJsonToPixelMap(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToPixelMap() 2399 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationContent() 2425 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationActionButton() [all …]
|
| /base/notification/distributed_notification_service/services/ans/src/clone/ |
| 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/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/notification/distributed_notification_service/test/fuzztest/notificationbasiccontent_fuzzer/ |
| D | notificationbasiccontent_fuzzer.cpp | 38 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
| /base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
| D | app_account_manager_service_sync_module_test.cpp | 290 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable 342 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable 393 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
|
| /base/notification/distributed_notification_service/test/fuzztest/notificationflags_fuzzer/ |
| D | notificationflags_fuzzer.cpp | 35 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
| /base/notification/distributed_notification_service/test/fuzztest/notificationmultilinecontentannex_fuzzer/ |
| D | notificationmultilinecontentannex_fuzzer.cpp | 28 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
| /base/notification/distributed_notification_service/test/fuzztest/notificationnormalcontent_fuzzer/ |
| D | notificationnormalcontent_fuzzer.cpp | 31 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
|