Home
last modified time | relevance | path

Searched defs:jsonObject (Results 1 – 25 of 99) sorted by relevance

1234

/base/update/updateservice/foundations/ability/utils/include/
Ddupdate_json_utils.h40 …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/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_json_convert.h45 …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/print/print_fwk/services/print_service/src/
Dprint_service_converter.cpp43 bool ConvertColorModeToJson(const ColorModeCode &code, nlohmann::json &jsonObject) in ConvertColorModeToJson()
49 bool ConvertDuplexModeToJson(const DuplexModeCode &code, nlohmann::json &jsonObject) in ConvertDuplexModeToJson()
74 bool ConvertPageSizeToJson(const PrintPageSize &pageSize, nlohmann::json &jsonObject) in ConvertPageSizeToJson()
Dprint_user_data.cpp231 nlohmann::json jsonObject; in ParseUserData() local
237 void PrintUserData::ParseUserDataFromJson(nlohmann::json &jsonObject) in ParseUserDataFromJson()
325 nlohmann::json jsonObject; in GetFileData() local
350 nlohmann::json jsonObject; in SetUserDataToFile() local
388 bool PrintUserData::CheckFileData(std::string &fileData, nlohmann::json &jsonObject) in CheckFileData()
Dprint_system_data.cpp29 bool PrintSystemData::ParsePrinterListJsonV1(nlohmann::json &jsonObject) in ParsePrinterListJsonV1()
84 nlohmann::json jsonObject; in Init() local
93 bool PrintSystemData::GetJsonObjectFromFile(nlohmann::json &jsonObject, const std::string &fileName) in GetJsonObjectFromFile()
210 nlohmann::json jsonObject; in SaveCupsPrinterMap() local
667 nlohmann::json jsonObject; in GetPrinterCapabilityFromFile() local
682 std::string printerId, nlohmann::json &jsonObject, PrinterCapability &printerCapability) in GetPrinterCapabilityFromJson()
763 nlohmann::json jsonObject; in GetAllPrintUser() local
772 bool PrintSystemData::ParseUserListJsonV1(nlohmann::json &jsonObject, std::vector<int32_t> &allPrin… in ParseUserListJsonV1()
/base/security/security_guard/test/unittest/data_collect/src/
Dhiview_listener_test.cpp68 nlohmann::json jsonObject = nlohmann::json::parse(jsonStr.c_str(), nullptr, false); variable
77 nlohmann::json jsonObject = nlohmann::json::parse(jsonStr.c_str(), nullptr, false); variable
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_button_option_test.cpp118 nlohmann::json jsonObject; variable
133 nlohmann::json jsonObject; variable
Dnotification_local_live_view_content_test.cpp53 nlohmann::json jsonObject; variable
67 nlohmann::json jsonObject; variable
Dnotification_local_live_view_button_test.cpp110 nlohmann::json jsonObject; variable
124 nlohmann::json jsonObject; variable
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_converter_test.cpp97 nlohmann::json jsonObject; variable
138 nlohmann::json jsonObject; variable
145 nlohmann::json jsonObject; variable
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_info.cpp212 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/security/access_token/services/tokensyncmanager/src/command/
Dbase_remote_command.cpp47 static void GetStringFromJson(const nlohmann::json& jsonObject, const std::string& tag, std::string… in GetStringFromJson()
54 static void GetIntFromJson(const nlohmann::json& jsonObject, const std::string& tag, int32_t& out) in GetIntFromJson()
61 static void GetUnSignedIntFromJson(const nlohmann::json& jsonObject, const std::string& tag, in GetUnSignedIntFromJson()
69 void BaseRemoteCommand::FromRemoteProtocolJson(const nlohmann::json& jsonObject) in FromRemoteProtocolJson()
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
Dvisit_record_json_manager.cpp169 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/services/ans/src/clone/
Dnotification_clone_bundle_service.cpp46 ErrCode NotificationCloneBundle::OnBackup(nlohmann::json &jsonObject) in OnBackup()
68 void NotificationCloneBundle::OnRestore(const nlohmann::json &jsonObject) in OnRestore()
Dnotification_clone_manager.cpp51 nlohmann::json jsonObject; in OnBackup() local
98 nlohmann::json jsonObject = nlohmann::json::parse(storeMessage, nullptr, false); in OnRestore() local
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_data_storage.cpp43 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); in GetAccessibleAccountsFromAuthorizedAccounts() local
118 Json jsonObject = Json::parse(item.value.ToString(), nullptr, false); in SaveEntries() local
/base/notification/distributed_notification_service/test/fuzztest/notificationbasiccontent_fuzzer/
Dnotificationbasiccontent_fuzzer.cpp37 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_do_not_disturb_profile.cpp123 nlohmann::json jsonObject; in ToJson() local
145 nlohmann::json jsonObject = nlohmann::json::parse(jsonObj, nullptr, false); in FromJson() local
Dnotification_request.cpp847 NotificationRequest *NotificationRequest::FromJson(const nlohmann::json &jsonObject) in FromJson()
2008 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNumExt()
2034 …otificationRequest::ConvertJsonToNum(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNum()
2086 …ficationRequest::ConvertJsonToString(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToString()
2120 …tificationRequest::ConvertJsonToEnum(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToEnum()
2146 …tificationRequest::ConvertJsonToBool(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToBool()
2194 …icationRequest::ConvertJsonToBoolExt(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToBoolExt()
2203 …cationRequest::ConvertJsonToPixelMap(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToPixelMap()
2229 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationContent()
2255 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationActionButton()
[all …]
Dnotification_normal_content.cpp36 NotificationNormalContent *NotificationNormalContent::FromJson(const nlohmann::json &jsonObject) in FromJson()
/base/notification/distributed_notification_service/test/fuzztest/notificationmultilinecontentannex_fuzzer/
Dnotificationmultilinecontentannex_fuzzer.cpp27 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/notificationpicturecontentannex_fuzzer/
Dnotificationpicturecontentannex_fuzzer.cpp27 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/notificationnormalcontent_fuzzer/
Dnotificationnormalcontent_fuzzer.cpp30 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/notificationflags_fuzzer/
Dnotificationflags_fuzzer.cpp34 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_manager_service_sync_module_test.cpp290 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

1234