Home
last modified time | relevance | path

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

123

/base/update/updateservice/services/core/ability/utils/include/
Djson_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/account/os_account/frameworks/appaccount/native/src/
Dapp_account_info.cpp205 Json jsonObject = data; in InitCustomData() local
217 auto jsonObject = Json::parse(associatedData_, nullptr, false); in GetAllAssociatedData() local
233 auto jsonObject = Json::parse(associatedData_, nullptr, false); in GetAssociatedData() local
250 auto jsonObject = Json::parse(associatedData_, nullptr, false); in SetAssociatedData() local
277 auto jsonObject = Json::parse(accountCredential_, nullptr, false); in GetAccountCredential() local
294 Json jsonObject; in SetAccountCredential() local
328 auto jsonObject = Json::parse(accountCredential_, nullptr, false); in DeleteAccountCredential() local
585 void AppAccountInfo::ParseTokenInfosFromJson(const Json &jsonObject) in ParseTokenInfosFromJson()
606 void AppAccountInfo::FromJson(const Json &jsonObject) in FromJson()
633 auto jsonObject = ToJson(); in ToString() local
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
Dvisit_record_json_manager.cpp146 Json jsonObject; in ToJson() local
155 void VisitRecordJsonManager::FromJson(const Json& jsonObject) in FromJson()
178 auto jsonObject = ToJson(); in ToString() local
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_live_view_service.cpp203 nlohmann::json jsonObject; in SetNotificationRequestToDb() local
235 auto jsonObject = nlohmann::json::parse(value); in GetNotificationRequestFromDb() local
261 auto jsonObject = nlohmann::json::parse(iter.second); in GetBatchNotificationRequestsFromDb() 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()
Dsync_remote_hap_token_command.cpp67 nlohmann::json jsonObject = nlohmann::json::parse(json, nullptr, false); in SyncRemoteHapTokenCommand() local
/base/notification/distributed_notification_service/test/fuzztest/notificationbasiccontent_fuzzer/
Dnotificationbasiccontent_fuzzer.cpp37 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_data_storage.cpp36 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); in GetAccessibleAccountsFromAuthorizedAccounts() local
111 Json jsonObject = Json::parse(item.value.ToString(), nullptr, false); in SaveEntries() 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/notificationmultilinecontentannex_fuzzer/
Dnotificationmultilinecontentannex_fuzzer.cpp27 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/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_normal_content.cpp36 NotificationNormalContent *NotificationNormalContent::FromJson(const nlohmann::json &jsonObject) in FromJson()
Dnotification_content.cpp160 NotificationContent *NotificationContent::FromJson(const nlohmann::json &jsonObject) in FromJson()
276 …icationContent::ConvertJsonToContent(NotificationContent *target, const nlohmann::json &jsonObject) in ConvertJsonToContent()
Dnotification_request.cpp806 NotificationRequest *NotificationRequest::FromJson(const nlohmann::json &jsonObject) in FromJson()
1705 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNumExt()
1726 …otificationRequest::ConvertJsonToNum(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNum()
1774 …ficationRequest::ConvertJsonToString(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToString()
1808 …tificationRequest::ConvertJsonToEnum(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToEnum()
1834 …tificationRequest::ConvertJsonToBool(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToBool()
1882 …icationRequest::ConvertJsonToBoolExt(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToBoolExt()
1891 …cationRequest::ConvertJsonToPixelMap(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToPixelMap()
1917 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationContent()
1943 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationActionButton()
[all …]
Dnotification_button_option.cpp53 NotificationButtonOption *NotificationButtonOption::FromJson(const nlohmann::json &jsonObject) in FromJson()
/base/notification/distributed_notification_service/test/fuzztest/notificationpicturecontentannex_fuzzer/
Dnotificationpicturecontentannex_fuzzer.cpp27 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_local_live_view_button_test.cpp109 nlohmann::json jsonObject; variable
123 nlohmann::json jsonObject; variable
Dnotification_local_live_view_content_test.cpp53 nlohmann::json jsonObject; variable
67 nlohmann::json jsonObject; variable
/base/notification/distributed_notification_service/test/fuzztest/notificationrequestannex_fuzzer/
Dnotificationrequestannex_fuzzer.cpp31 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/notificationlongtextcontentannex_fuzzer/
Dnotificationlongtextcontentannex_fuzzer.cpp28 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/account/os_account/interfaces/innerkits/common/include/
Diaccount_info.h44 void GetDataByType(const Json &jsonObject, const nlohmann::detail::iter_impl<const Json> &end, cons… in GetDataByType()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_data_storage.cpp36 nlohmann::json jsonObject = nlohmann::json::parse(item.value.ToString(), nullptr, false); in SaveEntries() local
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_manager_service_sync_module_test.cpp291 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
343 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
394 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
/base/notification/distributed_notification_service/test/fuzztest/messageuser_fuzzer/
Dmessageuser_fuzzer.cpp59 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local

123