/base/update/updateservice/services/core/ability/utils/include/ |
D | 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/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/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_info.cpp | 205 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/ |
D | visit_record_json_manager.cpp | 146 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/ |
D | advanced_notification_live_view_service.cpp | 203 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/ |
D | base_remote_command.cpp | 47 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()
|
D | sync_remote_hap_token_command.cpp | 67 nlohmann::json jsonObject = nlohmann::json::parse(json, nullptr, false); in SyncRemoteHapTokenCommand() local
|
/base/notification/distributed_notification_service/test/fuzztest/notificationbasiccontent_fuzzer/ |
D | notificationbasiccontent_fuzzer.cpp | 37 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_data_storage.cpp | 36 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/ |
D | notificationnormalcontent_fuzzer.cpp | 30 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
/base/notification/distributed_notification_service/test/fuzztest/notificationmultilinecontentannex_fuzzer/ |
D | notificationmultilinecontentannex_fuzzer.cpp | 27 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
/base/notification/distributed_notification_service/test/fuzztest/notificationflags_fuzzer/ |
D | notificationflags_fuzzer.cpp | 34 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_normal_content.cpp | 36 NotificationNormalContent *NotificationNormalContent::FromJson(const nlohmann::json &jsonObject) in FromJson()
|
D | notification_content.cpp | 160 NotificationContent *NotificationContent::FromJson(const nlohmann::json &jsonObject) in FromJson() 276 …icationContent::ConvertJsonToContent(NotificationContent *target, const nlohmann::json &jsonObject) in ConvertJsonToContent()
|
D | notification_request.cpp | 806 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 …]
|
D | notification_button_option.cpp | 53 NotificationButtonOption *NotificationButtonOption::FromJson(const nlohmann::json &jsonObject) in FromJson()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationpicturecontentannex_fuzzer/ |
D | notificationpicturecontentannex_fuzzer.cpp | 27 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | notification_local_live_view_button_test.cpp | 109 nlohmann::json jsonObject; variable 123 nlohmann::json jsonObject; variable
|
D | notification_local_live_view_content_test.cpp | 53 nlohmann::json jsonObject; variable 67 nlohmann::json jsonObject; variable
|
/base/notification/distributed_notification_service/test/fuzztest/notificationrequestannex_fuzzer/ |
D | notificationrequestannex_fuzzer.cpp | 31 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
/base/notification/distributed_notification_service/test/fuzztest/notificationlongtextcontentannex_fuzzer/ |
D | notificationlongtextcontentannex_fuzzer.cpp | 28 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
/base/account/os_account/interfaces/innerkits/common/include/ |
D | iaccount_info.h | 44 void GetDataByType(const Json &jsonObject, const nlohmann::detail::iter_impl<const Json> &end, cons… in GetDataByType()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_data_storage.cpp | 36 nlohmann::json jsonObject = nlohmann::json::parse(item.value.ToString(), nullptr, false); in SaveEntries() local
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
D | app_account_manager_service_sync_module_test.cpp | 291 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/ |
D | messageuser_fuzzer.cpp | 59 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|