Home
last modified time | relevance | path

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

12345

/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/print/print_fwk/utils/include/
Dprint_json_util.h38 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/
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/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_icon_button_test.cpp35 nlohmann::json jsonObject; variable
52 nlohmann::json jsonObject; variable
64 nlohmann::json jsonObject; variable
79 nlohmann::json jsonObject; variable
Dnotification_button_option_test.cpp120 nlohmann::json jsonObject; variable
135 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/account/os_account/services/accountmgr/src/osaccount/
Dos_account_data_storage.cpp37 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/
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/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_data_storage.cpp48 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/
Dprint_system_data_test.cpp154 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 …]
Dprint_service_converter_test.cpp96 Json::Value jsonObject; variable
137 Json::Value jsonObject; variable
144 Json::Value jsonObject; variable
/base/print/print_fwk/services/print_service/src/
Dprint_user_data.cpp232 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()
Dprint_service_converter.cpp46 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/
Dnotification_disable.cpp103 nlohmann::json jsonObject; in ToJson() local
115 nlohmann::json jsonObject = nlohmann::json::parse(jsonObj, nullptr, false); in FromJson() local
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.cpp898 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/
Dnotification_clone_bundle_service.cpp47 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/
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/test/fuzztest/notificationbasiccontent_fuzzer/
Dnotificationbasiccontent_fuzzer.cpp38 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
/base/notification/distributed_notification_service/test/fuzztest/notificationflags_fuzzer/
Dnotificationflags_fuzzer.cpp35 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/notificationmultilinecontentannex_fuzzer/
Dnotificationmultilinecontentannex_fuzzer.cpp28 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/notificationnormalcontent_fuzzer/
Dnotificationnormalcontent_fuzzer.cpp31 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/notificationpicturecontentannex_fuzzer/
Dnotificationpicturecontentannex_fuzzer.cpp28 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local

12345