Home
last modified time | relevance | path

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

123

/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/update/updateservice/services/core/ability/utils/include/
Djson_utils.h41 …static int32_t GetValueAndSetTo(const nlohmann::json &jsonObject, const std::string &key, T &value) in GetValueAndSetTo()
73 …static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, std::string &value) in CheckType()
77 static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, int32_t &value) in CheckType()
81 static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, uint32_t &value) in CheckType()
85 static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, uint64_t &value) in CheckType()
89 static bool CheckType(const nlohmann::json &jsonObject, const std::string &key, bool &value) in CheckType()
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_info.cpp170 Json jsonObject = data; in InitCustomData() local
182 auto jsonObject = Json::parse(associatedData_, nullptr, false); in GetAllAssociatedData() local
198 auto jsonObject = Json::parse(associatedData_, nullptr, false); in GetAssociatedData() local
215 auto jsonObject = Json::parse(associatedData_, nullptr, false); in SetAssociatedData() local
242 auto jsonObject = Json::parse(accountCredential_, nullptr, false); in GetAccountCredential() local
259 auto jsonObject = Json::parse(accountCredential_, nullptr, false); in SetAccountCredential() local
514 void AppAccountInfo::ParseTokenInfosFromJson(const Json &jsonObject) in ParseTokenInfosFromJson()
532 void AppAccountInfo::FromJson(const Json &jsonObject) in FromJson()
557 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/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.cpp66 nlohmann::json jsonObject = nlohmann::json::parse(json, nullptr, false); in SyncRemoteHapTokenCommand() local
Ddelete_remote_token_command.cpp48 nlohmann::json jsonObject = nlohmann::json::parse(json, nullptr, false); in DeleteRemoteTokenCommand() local
Dupdate_remote_hap_token_command.cpp46 nlohmann::json jsonObject = nlohmann::json::parse(json, nullptr, false); in UpdateRemoteHapTokenCommand() local
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_manager_service_sync_module_test.cpp606 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
626 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
676 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
697 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
747 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
763 auto jsonObject = Json::parse(authorizedAccounts, nullptr, false); variable
/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/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/frameworks/ans/src/
Dnotification_normal_content.cpp36 NotificationNormalContent *NotificationNormalContent::FromJson(const nlohmann::json &jsonObject) in FromJson()
Dnotification_content.cpp134 NotificationContent *NotificationContent::FromJson(const nlohmann::json &jsonObject) in FromJson()
242 …icationContent::ConvertJsonToContent(NotificationContent *target, const nlohmann::json &jsonObject) in ConvertJsonToContent()
Dnotification_request.cpp755 NotificationRequest *NotificationRequest::FromJson(const nlohmann::json &jsonObject) in FromJson()
1606 …otificationRequest::ConvertJsonToNum(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNum()
1652 …ficationRequest::ConvertJsonToString(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToString()
1686 …tificationRequest::ConvertJsonToEnum(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToEnum()
1706 …tificationRequest::ConvertJsonToBool(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToBool()
1752 …cationRequest::ConvertJsonToPixelMap(NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToPixelMap()
1773 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationContent()
1799 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationActionButton()
1825 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationDistributedOptions()
1851 NotificationRequest *target, const nlohmann::json &jsonObject) in ConvertJsonToNotificationFlags()
Dnotification_basic_content.cpp68 void NotificationBasicContent::ReadFromJson(const nlohmann::json &jsonObject) in ReadFromJson()
/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/notification/distributed_notification_service/test/fuzztest/notificationlongtextcontentannex_fuzzer/
Dnotificationlongtextcontentannex_fuzzer.cpp28 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/test/fuzztest/notificationrequestannex_fuzzer/
Dnotificationrequestannex_fuzzer.cpp31 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/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/frameworks/common/database/include/
Diaccount_info.h44 void GetDataByType(const Json &jsonObject, const nlohmann::detail::iter_impl<const Json> &end, cons… in GetDataByType()
/base/notification/distributed_notification_service/test/fuzztest/messageuser_fuzzer/
Dmessageuser_fuzzer.cpp59 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_info.cpp249 void OsAccountInfo::FromJson(const Json &jsonObject) in FromJson()
299 nlohmann::json jsonObject = nlohmann::json::parse(jsonString, nullptr, false); in ReadFromParcel() local
306 auto jsonObject = ToJson(); in ToString() local

123