| /base/update/updateservice/foundations/ability/utils/include/ |
| D | dupdate_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/print/print_fwk/services/print_service/src/ |
| D | print_service_converter.cpp | 43 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()
|
| D | print_user_data.cpp | 231 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()
|
| D | print_system_data.cpp | 29 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/ |
| D | hiview_listener_test.cpp | 68 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/ |
| D | notification_button_option_test.cpp | 118 nlohmann::json jsonObject; variable 133 nlohmann::json jsonObject; variable
|
| D | notification_local_live_view_content_test.cpp | 53 nlohmann::json jsonObject; variable 67 nlohmann::json jsonObject; variable
|
| D | notification_local_live_view_button_test.cpp | 110 nlohmann::json jsonObject; variable 124 nlohmann::json jsonObject; variable
|
| /base/print/print_fwk/test/unittest/service_test/ |
| D | print_service_converter_test.cpp | 97 nlohmann::json jsonObject; variable 138 nlohmann::json jsonObject; variable 145 nlohmann::json jsonObject; variable
|
| /base/account/os_account/frameworks/appaccount/native/src/ |
| D | app_account_info.cpp | 212 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/ |
| 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()
|
| /base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
| D | visit_record_json_manager.cpp | 169 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/ |
| D | notification_clone_bundle_service.cpp | 46 ErrCode NotificationCloneBundle::OnBackup(nlohmann::json &jsonObject) in OnBackup() 68 void NotificationCloneBundle::OnRestore(const nlohmann::json &jsonObject) in OnRestore()
|
| D | notification_clone_manager.cpp | 51 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/ |
| D | app_account_data_storage.cpp | 43 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/ |
| D | notificationbasiccontent_fuzzer.cpp | 37 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
| /base/notification/distributed_notification_service/frameworks/ans/src/ |
| D | notification_do_not_disturb_profile.cpp | 123 nlohmann::json jsonObject; in ToJson() local 145 nlohmann::json jsonObject = nlohmann::json::parse(jsonObj, nullptr, false); in FromJson() local
|
| D | notification_request.cpp | 847 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 …]
|
| D | notification_normal_content.cpp | 36 NotificationNormalContent *NotificationNormalContent::FromJson(const nlohmann::json &jsonObject) in FromJson()
|
| /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/notificationpicturecontentannex_fuzzer/ |
| D | notificationpicturecontentannex_fuzzer.cpp | 27 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() 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/notificationflags_fuzzer/ |
| D | notificationflags_fuzzer.cpp | 34 nlohmann::json jsonObject; in DoSomethingInterestingWithMyAPI() local
|
| /base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
| D | app_account_manager_service_sync_module_test.cpp | 290 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
|