| /foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
| D | histreamer_ability_parser_test.cpp | 212 cJSON *jsonObject = cJSON_CreateObject(); variable 236 cJSON *jsonObject = cJSON_CreateObject(); variable 254 cJSON *jsonObject = cJSON_CreateObject(); variable 288 cJSON *jsonObject = nullptr; variable 296 cJSON *jsonObject = cJSON_CreateObject(); variable 312 cJSON *jsonObject = cJSON_CreateObject(); variable 330 cJSON *jsonObject = cJSON_CreateObject(); variable 355 cJSON *jsonObject = nullptr; variable 363 cJSON *jsonObject = cJSON_CreateObject(); variable 379 cJSON *jsonObject = cJSON_CreateObject(); variable [all …]
|
| /foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/ |
| D | json_serializer_test.cpp | 35 nlohmann::json jsonObject; in BenchmarkTestForCustomizeDataToJson() local 54 nlohmann::json jsonObject; in BenchmarkTestForCustomizeDataFromJson() local 73 nlohmann::json jsonObject; in BenchmarkTestForMetadataToJson() local 92 nlohmann::json jsonObject; in BenchmarkTestForMetadataFromJson() local 111 nlohmann::json jsonObject; in BenchmarkTestForAbilityInfoToJson() local 130 nlohmann::json jsonObject; in BenchmarkTestForAbilityInfoFromJson() local 149 nlohmann::json jsonObject; in BenchmarkTestForExtensionAbilityInfoToJson() local 168 nlohmann::json jsonObject; in BenchmarkTestForExtensionAbilityInfoFromJson() local 187 nlohmann::json jsonObject; in BenchmarkTestForApplicationInfoToJson() local 206 nlohmann::json jsonObject; in BenchmarkTestForApplicationInfoFromJson() local [all …]
|
| /foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
| D | bundle_pack_info.cpp | 89 void to_json(nlohmann::json &jsonObject, const Version &version) in to_json() 98 void from_json(const nlohmann::json &jsonObject, Version &version) in from_json() 129 void to_json(nlohmann::json &jsonObject, const PackageApp &app) in to_json() 137 void from_json(const nlohmann::json &jsonObject, PackageApp &app) in from_json() 160 void to_json(nlohmann::json &jsonObject, const ExtensionAbilities &extensionAbilities) in to_json() 168 void from_json(const nlohmann::json &jsonObject, ExtensionAbilities &extensionAbilities) in from_json() 191 void to_json(nlohmann::json &jsonObject, const ModuleAbilityInfo &abilityinfo) in to_json() 201 void from_json(const nlohmann::json &jsonObject, ModuleAbilityInfo &abilityinfo) in from_json() 236 void to_json(nlohmann::json &jsonObject, const AbilityFormInfo &abilityFormInfo) in to_json() 249 void from_json(const nlohmann::json &jsonObject, AbilityFormInfo &abilityFormInfo) in from_json() [all …]
|
| D | disposed_rule.cpp | 91 void to_json(nlohmann::json &jsonObject, const ElementName &elementName) in to_json() 102 void from_json(const nlohmann::json &jsonObject, ElementName &elementName) in from_json() 143 void to_json(nlohmann::json &jsonObject, const DisposedRule &disposedRule) in to_json() 160 void from_json(const nlohmann::json &jsonObject, DisposedRule &disposedRule) in from_json() 225 nlohmann::json jsonObject; in ToString() local 233 nlohmann::json jsonObject = nlohmann::json::parse(ruleString, nullptr, false); in FromString() local 270 void to_json(nlohmann::json &jsonObject, const UninstallDisposedRule &uninstallDisposedRule) in to_json() 283 void from_json(const nlohmann::json &jsonObject, UninstallDisposedRule &uninstallDisposedRule) in from_json() 318 nlohmann::json jsonObject; in ToString() local 326 nlohmann::json jsonObject = nlohmann::json::parse(ruleString, nullptr, false); in FromString() local [all …]
|
| D | ability_info.cpp | 465 nlohmann::json jsonObject = *this; in Dump() local 477 void to_json(nlohmann::json &jsonObject, const StartWindowResource &startWindowResource) in to_json() 489 void from_json(const nlohmann::json &jsonObject, StartWindowResource &startWindowResource) in from_json() 533 void to_json(nlohmann::json &jsonObject, const CustomizeData &customizeData) in to_json() 542 void to_json(nlohmann::json &jsonObject, const MetaData &metaData) in to_json() 549 void to_json(nlohmann::json &jsonObject, const Metadata &metadata) in to_json() 559 void to_json(nlohmann::json &jsonObject, const AbilityInfo &abilityInfo) in to_json() 565 void from_json(const nlohmann::json &jsonObject, CustomizeData &customizeData) in from_json() 589 void from_json(const nlohmann::json &jsonObject, MetaData &metaData) in from_json() 603 void from_json(const nlohmann::json &jsonObject, Metadata &metadata) in from_json() [all …]
|
| /foundation/ability/ability_runtime/services/abilitymgr/src/insight_intent/ |
| D | insight_intent_info_for_query.cpp | 44 void from_json(const nlohmann::json &jsonObject, LinkInfoForQuery &linkInfo) in from_json() 56 void to_json(nlohmann::json& jsonObject, const LinkInfoForQuery &info) in to_json() 64 void from_json(const nlohmann::json &jsonObject, PageInfoForQuery &pageInfo) in from_json() 94 void to_json(nlohmann::json& jsonObject, const PageInfoForQuery &info) in to_json() 105 void from_json(const nlohmann::json &jsonObject, EntryInfoForQuery &entryInfo) in from_json() 128 void to_json(nlohmann::json& jsonObject, const EntryInfoForQuery &info) in to_json() 146 void from_json(const nlohmann::json &jsonObject, FormInfoForQuery &formInfo) in from_json() 164 void to_json(nlohmann::json& jsonObject, const FormInfoForQuery &info) in to_json() 173 void from_json(const nlohmann::json &jsonObject, EntityInfoForQuery &entityInfo) in from_json() 209 void to_json(nlohmann::json& jsonObject, const EntityInfoForQuery &info) in to_json() [all …]
|
| /foundation/distributedhardware/device_manager/test/unittest/ |
| D | UTTest_dm_transport_msg.cpp | 44 cJSON *jsonObject = cJSON_CreateObject(); variable 74 cJSON *jsonObject = nullptr; variable 93 cJSON *jsonObject = cJSON_CreateObject(); variable 123 cJSON *jsonObject = nullptr; variable 143 cJSON *jsonObject = cJSON_CreateObject(); variable 172 cJSON *jsonObject = nullptr; variable 190 cJSON *jsonObject = cJSON_CreateObject(); variable 213 cJSON *jsonObject = nullptr; variable 232 cJSON *jsonObject = cJSON_CreateObject(); variable 259 cJSON *jsonObject = cJSON_CreateObject(); variable [all …]
|
| D | UTTest_dm_auth_message_processor.cpp | 118 JsonObject jsonObject; variable 133 JsonObject jsonObject; variable 147 JsonObject jsonObject; variable 161 JsonObject jsonObject; variable 175 JsonObject jsonObject; variable 189 JsonObject jsonObject; variable
|
| /foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/test/unittest/common/src/ |
| D | histreamer_ability_querier_test.cpp | 212 cJSON *jsonObject = cJSON_CreateObject(); variable 233 cJSON *jsonObject = cJSON_CreateObject(); variable 253 cJSON *jsonObject = cJSON_CreateObject(); variable 273 cJSON *jsonObject = cJSON_CreateObject(); variable 290 cJSON *jsonObject = cJSON_CreateObject(); variable 321 cJSON *jsonObject = nullptr; variable 356 cJSON *jsonObject = nullptr; variable 383 cJSON *jsonObject = nullptr; variable 410 cJSON *jsonObject = nullptr; variable 449 cJSON *jsonObject = nullptr; variable [all …]
|
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_hap_module_info_test/ |
| D | bms_hap_module_info_test.cpp | 147 nlohmann::json jsonObject; variable 160 nlohmann::json jsonObject; variable 176 nlohmann::json jsonObject; variable 193 nlohmann::json jsonObject; variable 210 nlohmann::json jsonObject; variable 225 nlohmann::json jsonObject; variable 257 nlohmann::json jsonObject; variable 272 nlohmann::json jsonObject; variable 288 nlohmann::json jsonObject; variable 303 nlohmann::json jsonObject; variable [all …]
|
| /foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
| D | histreamer_ability_parser.cpp | 38 void FromJson(const cJSON *jsonObject, AudioEncoderIn &audioEncoderIn) in FromJson() 64 void FromJson(const cJSON *jsonObject, AudioEncoderOut &audioEncoderOut) in FromJson() 99 void FromJson(const cJSON *jsonObject, AudioEncoder &audioEncoder) in FromJson() 137 void FromJson(const cJSON *jsonObject, AudioDecoderIn &audioDecoderIn) in FromJson() 163 void FromJson(const cJSON *jsonObject, AudioDecoderOut &audioDecoderOut) in FromJson() 189 void FromJson(const cJSON *jsonObject, AudioDecoder &audioDecoder) in FromJson() 227 void FromJson(const cJSON *jsonObject, VideoEncoderIn &videoEncoderIn) in FromJson() 253 void FromJson(const cJSON *jsonObject, VideoEncoderOut &videoEncoderOut) in FromJson() 267 void FromJson(const cJSON *jsonObject, VideoEncoder &videoEncoder) in FromJson() 305 void FromJson(const cJSON *jsonObject, VideoDecoderIn &videoDecoderIn) in FromJson() [all …]
|
| /foundation/distributedhardware/device_manager/services/service/src/relationshipsyncmgr/ |
| D | dm_transport_msg.cpp | 37 void ToJson(cJSON *jsonObject, const UserIdsMsg &userIdsMsg) in ToJson() 81 void FromJson(const cJSON *jsonObject, UserIdsMsg &userIdsMsg) in FromJson() 124 void ToJson(cJSON *jsonObject, const CommMsg &commMsg) in ToJson() 135 void FromJson(const cJSON *jsonObject, CommMsg &commMsg) in FromJson() 172 void ToJson(cJSON *jsonObject, const NotifyUserIds ¬ifyUserIds) in ToJson() 200 void FromJson(const cJSON *jsonObject, NotifyUserIds ¬ifyUserIds) in FromJson() 250 void ToJson(cJSON *jsonObject, const LogoutAccountMsg &accountInfo) in ToJson() 261 void FromJson(const cJSON *jsonObject, LogoutAccountMsg &accountInfo) in FromJson() 278 void ToJson(cJSON *jsonObject, const UninstAppMsg &uninstAppMsg) in ToJson() 289 void FromJson(const cJSON *jsonObject, UninstAppMsg &uninstAppMsg) in FromJson() [all …]
|
| /foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/ |
| D | histreamer_ability_querier.cpp | 156 void ToJson(cJSON *jsonObject, const AudioEncoderIn &audioEncoderIn) in ToJson() 172 void FromJson(const cJSON *jsonObject, AudioEncoderIn &audioEncoderIn) in FromJson() 196 void ToJson(cJSON *jsonObject, const AudioEncoderOut &audioEncoderOut) in ToJson() 208 void FromJson(const cJSON *jsonObject, AudioEncoderOut &audioEncoderOut) in FromJson() 252 void ToJson(cJSON *jsonObject, const AudioEncoder &audioEncoder) in ToJson() 289 void FromJson(const cJSON *jsonObject, AudioEncoder &audioEncoder) in FromJson() 378 void ToJson(cJSON *jsonObject, const AudioDecoderIn &audioDecoderIn) in ToJson() 394 void FromJson(const cJSON *jsonObject, AudioDecoderIn &audioDecoderIn) in FromJson() 419 void ToJson(cJSON *jsonObject, const AudioDecoderOut &audioDecoderOut) in ToJson() 435 void FromJson(const cJSON *jsonObject, AudioDecoderOut &audioDecoderOut) in FromJson() [all …]
|
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/src/uninstall_data_mgr/ |
| D | uninstall_bundle_info.cpp | 32 void to_json(nlohmann::json& jsonObject, const UninstallDataUserInfo& uninstallDataUserInfo) in to_json() 42 void to_json(nlohmann::json& jsonObject, const UninstallBundleInfo& uninstallBundleInfo) in to_json() 54 void from_json(const nlohmann::json& jsonObject, UninstallDataUserInfo& uninstallDataUserInfo) in from_json() 71 void from_json(const nlohmann::json& jsonObject, UninstallBundleInfo& uninstallBundleInfo) in from_json() 94 nlohmann::json jsonObject; in ToString() local
|
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/ |
| D | default_app_data.cpp | 38 nlohmann::json jsonObject; in ToString() local 49 int32_t DefaultAppData::FromJson(const nlohmann::json& jsonObject) in FromJson() 71 void DefaultAppData::ParseDefaultApplicationConfig(const nlohmann::json& jsonObject) in ParseDefaultApplicationConfig() 104 void to_json(nlohmann::json& jsonObject, const Element& element) in to_json() 116 void from_json(const nlohmann::json& jsonObject, Element& element) in from_json()
|
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/src/first_install_data_mgr/ |
| D | first_install_bundle_info.cpp | 23 void to_json(nlohmann::json& jsonObject, const FirstInstallBundleInfo& firstInstallBundleInfo) in to_json() 30 void from_json(const nlohmann::json& jsonObject, FirstInstallBundleInfo& firstInstallBundleInfo) in from_json() 43 nlohmann::json jsonObject; in ToString() local
|
| /foundation/multimedia/image_framework/plugins/manager/src/framework/ |
| D | json_helper.cpp | 32 uint32_t JsonHelper::CheckElementExistence(const json &jsonObject, const string &key) in CheckElementExistence() 50 uint32_t JsonHelper::GetStringValue(const json &jsonObject, const string &key, string &value) in GetStringValue() 82 uint32_t JsonHelper::GetUint32Value(const json &jsonObject, const string &key, uint32_t &value) in GetUint32Value() 94 uint32_t JsonHelper::GetUint16Value(const json &jsonObject, const string &key, uint16_t &value) in GetUint16Value() 124 uint32_t JsonHelper::GetArraySize(const json &jsonObject, const string &key, size_t &size) in GetArraySize() 143 const json &JsonHelper::GetJsonElement(const json &jsonObject, const string &key, uint32_t &errorCo… in GetJsonElement()
|
| /foundation/distributedhardware/device_manager/services/implementation/src/credential/ |
| D | dm_credential_manager.cpp | 67 void FromJson(const JsonItemObject &jsonObject, CredentialData &credentialData) in FromJson() 103 JsonObject jsonObject(reqJsonStr); in RequestCredential() local 130 JsonObject jsonObject(credentialInfo); in ImportCredential() local 172 JsonObject jsonObject(credentialInfo); in ImportLocalCredential() local 225 JsonObject jsonObject(deleteInfo); in DeleteCredential() local 318 JsonObject jsonObject(credentialInfo); in GetCredentialData() local 350 void FromJson(const JsonItemObject &jsonObject, CredentialDataInfo &credentialDataInfo) in FromJson() 384 void ToJson(JsonItemObject &jsonObject, const CredentialDataInfo &credentialDataInfo) in ToJson() 400 int32_t DmCredentialManager::GetAddDeviceList(const JsonObject &jsonObject, JsonObject &jsonDeviceL… in GetAddDeviceList() 430 JsonObject jsonObject(credentialInfo); in ImportRemoteCredential() local [all …]
|
| /foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
| D | hap_module_info.cpp | 112 void to_json(nlohmann::json &jsonObject, const PreloadItem &preloadItem) in to_json() 119 void from_json(const nlohmann::json &jsonObject, PreloadItem &preloadItem) in from_json() 136 void to_json(nlohmann::json &jsonObject, const ProxyData &proxyData) in to_json() 146 void from_json(const nlohmann::json &jsonObject, ProxyData &proxyData) in from_json() 187 void to_json(nlohmann::json &jsonObject, const OverlayModuleInfo &overlayModuleInfo) in to_json() 199 void from_json(const nlohmann::json &jsonObject, OverlayModuleInfo &overlayModuleInfo) in from_json() 256 void to_json(nlohmann::json &jsonObject, const RouterItem &routerItem) in to_json() 270 void from_json(const nlohmann::json &jsonObject, RouterItem &routerItem) in from_json() 335 void to_json(nlohmann::json &jsonObject, const AppEnvironment &appEnvironment) in to_json() 343 void from_json(const nlohmann::json &jsonObject, AppEnvironment &appEnvironment) in from_json() [all …]
|
| D | application_info.cpp | 156 void to_json(nlohmann::json &jsonObject, const Resource &resource) in to_json() 165 void from_json(const nlohmann::json &jsonObject, Resource &resource) in from_json() 199 void to_json(nlohmann::json &jsonObject, const HnpPackage &hnpPackage) in to_json() 207 void from_json(const nlohmann::json &jsonObject, HnpPackage &hnpPackage) in from_json() 232 void to_json(nlohmann::json &jsonObject, const MultiAppModeData &multiAppMode) in to_json() 240 void from_json(const nlohmann::json &jsonObject, MultiAppModeData &multiAppMode) in from_json() 253 void to_json(nlohmann::json &jsonObject, const ApplicationEnvironment &applicationEnvironment) in to_json() 261 void from_json(const nlohmann::json &jsonObject, ApplicationEnvironment &applicationEnvironment) in from_json() 286 void to_json(nlohmann::json &jsonObject, const HqfInfo &hqfInfo) in to_json() 298 void from_json(const nlohmann::json &jsonObject, HqfInfo &hqfInfo) in from_json() [all …]
|
| /foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/free_install/ |
| D | install_result.cpp | 38 void to_json(nlohmann::json &jsonObject, const Result &result) in to_json() 47 void from_json(const nlohmann::json &jsonObject, Result &result) in from_json() 76 void to_json(nlohmann::json &jsonObject, const Progress &progress) in to_json() 84 void from_json(const nlohmann::json &jsonObject, Progress &progress) in from_json() 109 void to_json(nlohmann::json &jsonObject, const InstallResult &installResult) in to_json() 118 void from_json(const nlohmann::json &jsonObject, InstallResult &installResult) in from_json()
|
| /foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/ |
| D | version_info.cpp | 67 void ToJson(cJSON *jsonObject, const CompVersion &compVer) in ToJson() 101 void ToJson(cJSON *jsonObject, const VersionInfo &versionInfo) in ToJson() 128 void FromJson(const cJSON *jsonObject, CompVersion &compVer) in FromJson() 157 void FromJsoncompVerContinue(const cJSON *jsonObject, CompVersion &compVer) in FromJsoncompVerContinue() 186 void FromJson(const cJSON *jsonObject, VersionInfo &versionInfo) in FromJson()
|
| /foundation/ability/ability_base/interfaces/kits/native/view_data/src/ |
| D | page_node_info.cpp | 36 nlohmann::json jsonObject = nlohmann::json::parse(jsonStr, nullptr, false); in FromJsonString() local 72 void PageNodeInfo::ParseJsonToPageNodeInfo(const nlohmann::json& jsonObject) in ParseJsonToPageNodeInfo() 88 nlohmann::json jsonObject { in ToJsonString() local
|
| /foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/transport/ |
| D | dh_transport_test.cpp | 279 cJSON *jsonObject = cJSON_CreateObject(); variable 298 cJSON *jsonObject = cJSON_CreateObject(); variable 309 cJSON *jsonObject = cJSON_CreateObject(); variable 332 cJSON *jsonObject = cJSON_CreateObject(); variable 344 cJSON *jsonObject = cJSON_CreateObject(); variable 356 cJSON *jsonObject = cJSON_CreateObject(); variable 368 cJSON *jsonObject = cJSON_CreateObject(); variable 381 cJSON *jsonObject = cJSON_CreateObject(); variable 395 cJSON *jsonObject = cJSON_CreateObject(); variable 409 cJSON *jsonObject = cJSON_CreateObject(); variable [all …]
|
| /foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
| D | distributed_bundle_info.cpp | 74 nlohmann::json jsonObject; in ToString() local 79 void to_json(nlohmann::json &jsonObject, const PublicRecordsInfo &publicRecordsInfo) in to_json() 88 void from_json(const nlohmann::json &jsonObject, PublicRecordsInfo &publicRecordsInfo) in from_json() 109 nlohmann::json jsonObject = nlohmann::json::parse(jsonString, nullptr, false); in FromJsonString() local 165 void to_json(nlohmann::json &jsonObject, const DmsAbilityInfo &dmsAbilityInfo) in to_json() 176 void from_json(const nlohmann::json &jsonObject, DmsAbilityInfo &dmsAbilityInfo) in from_json() 294 nlohmann::json jsonObject; in ToString() local 314 nlohmann::json jsonObject = nlohmann::json::parse(jsonString, nullptr, false); in FromJsonString() local
|