Home
last modified time | relevance | path

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

1234567

/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
Djson_serializer_test.cpp35 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/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/
Dhistreamer_ability_parser_test.cpp72 nlohmann::json jsonObject; variable
87 nlohmann::json jsonObject; variable
117 nlohmann::json jsonObject; variable
145 nlohmann::json jsonObject; variable
165 nlohmann::json jsonObject; variable
185 nlohmann::json jsonObject; variable
217 nlohmann::json jsonObject; variable
237 nlohmann::json jsonObject; variable
252 nlohmann::json jsonObject; variable
283 nlohmann::json jsonObject; variable
[all …]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
Dbundle_pack_info.cpp88 void to_json(nlohmann::json &jsonObject, const Version &version) in to_json()
97 void from_json(const nlohmann::json &jsonObject, Version &version) in from_json()
130 void to_json(nlohmann::json &jsonObject, const PackageApp &app) in to_json()
138 void from_json(const nlohmann::json &jsonObject, PackageApp &app) in from_json()
163 void to_json(nlohmann::json &jsonObject, const ExtensionAbilities &extensionAbilities) in to_json()
171 void from_json(const nlohmann::json &jsonObject, ExtensionAbilities &extensionAbilities) in from_json()
196 void to_json(nlohmann::json &jsonObject, const ModuleAbilityInfo &abilityinfo) in to_json()
206 void from_json(const nlohmann::json &jsonObject, ModuleAbilityInfo &abilityinfo) in from_json()
247 void to_json(nlohmann::json &jsonObject, const AbilityFormInfo &abilityFormInfo) in to_json()
259 void from_json(const nlohmann::json &jsonObject, AbilityFormInfo &abilityFormInfo) in from_json()
[all …]
Ddisposed_rule.cpp87 void to_json(nlohmann::json &jsonObject, const ElementName &elementName) in to_json()
98 void from_json(const nlohmann::json &jsonObject, ElementName &elementName) in from_json()
147 void to_json(nlohmann::json &jsonObject, const DisposedRule &disposedRule) in to_json()
161 void from_json(const nlohmann::json &jsonObject, DisposedRule &disposedRule) in from_json()
230 nlohmann::json jsonObject; in ToString() local
238 nlohmann::json jsonObject = nlohmann::json::parse(ruleString, nullptr, false); in FromString() local
Dshortcut_info.cpp117 void to_json(nlohmann::json &jsonObject, const ShortcutIntent &shortcutIntent) in to_json()
126 void to_json(nlohmann::json &jsonObject, const ShortcutInfo &shortcutInfo) in to_json()
145 void from_json(const nlohmann::json &jsonObject, ShortcutIntent &shortcutIntent) in from_json()
178 void from_json(const nlohmann::json &jsonObject, ShortcutInfo &shortcutInfo) in from_json()
291 void from_json(const nlohmann::json &jsonObject, ShortcutWant &shortcutWant) in from_json()
324 void from_json(const nlohmann::json &jsonObject, Shortcut &shortcut) in from_json()
381 void from_json(const nlohmann::json &jsonObject, ShortcutJson &shortcutJson) in from_json()
Ddistributed_module_info.cpp86 nlohmann::json jsonObject = *this; in Dump() local
97 void to_json(nlohmann::json& jsonObject, const DistributedModuleInfo& distributedModuleInfo) in to_json()
105 void from_json(const nlohmann::json& jsonObject, DistributedModuleInfo& distributedModuleInfo) in from_json()
Ddistributed_ability_info.cpp89 nlohmann::json jsonObject = *this; in Dump() local
100 void to_json(nlohmann::json& jsonObject, const DistributedAbilityInfo& distributedAbilityInfo) in to_json()
110 void from_json(const nlohmann::json& jsonObject, DistributedAbilityInfo& distributedAbilityInfo) in from_json()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/test/unittest/common/src/
Dhistreamer_ability_querier_test.cpp211 nlohmann::json jsonObject; variable
227 nlohmann::json jsonObject; variable
245 nlohmann::json jsonObject; variable
263 nlohmann::json jsonObject; variable
278 nlohmann::json jsonObject; variable
308 nlohmann::json jsonObject; variable
336 nlohmann::json jsonObject; variable
356 nlohmann::json jsonObject; variable
376 nlohmann::json jsonObject; variable
408 nlohmann::json jsonObject; variable
[all …]
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
Dhistreamer_ability_parser.cpp38 void FromJson(const nlohmann::json &jsonObject, AudioEncoderIn &audioEncoderIn) in FromJson()
51 void FromJson(const nlohmann::json &jsonObject, AudioEncoderOut &audioEncoderOut) in FromJson()
78 void FromJson(const nlohmann::json &jsonObject, AudioEncoder &audioEncoder) in FromJson()
110 void FromJson(const nlohmann::json &jsonObject, AudioDecoderIn &audioDecoderIn) in FromJson()
128 void FromJson(const nlohmann::json &jsonObject, AudioDecoderOut &audioDecoderOut) in FromJson()
146 void FromJson(const nlohmann::json &jsonObject, AudioDecoder &audioDecoder) in FromJson()
178 void FromJson(const nlohmann::json &jsonObject, VideoEncoderIn &videoEncoderIn) in FromJson()
195 void FromJson(const nlohmann::json &jsonObject, VideoEncoderOut &videoEncoderOut) in FromJson()
204 void FromJson(const nlohmann::json &jsonObject, VideoEncoder &videoEncoder) in FromJson()
237 void FromJson(const nlohmann::json &jsonObject, VideoDecoderIn &videoDecoderIn) in FromJson()
[all …]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/
Dhistreamer_ability_querier.cpp146 void ToJson(nlohmann::json &jsonObject, const AudioEncoderIn &audioEncoderIn) in ToJson()
156 void FromJson(const nlohmann::json &jsonObject, AudioEncoderIn &audioEncoderIn) in FromJson()
169 void ToJson(nlohmann::json &jsonObject, const AudioEncoderOut &audioEncoderOut) in ToJson()
177 void FromJson(const nlohmann::json &jsonObject, AudioEncoderOut &audioEncoderOut) in FromJson()
204 void ToJson(nlohmann::json &jsonObject, const AudioEncoder &audioEncoder) in ToJson()
225 void FromJson(const nlohmann::json &jsonObject, AudioEncoder &audioEncoder) in FromJson()
305 void ToJson(nlohmann::json &jsonObject, const AudioDecoderIn &audioDecoderIn) in ToJson()
315 void FromJson(const nlohmann::json &jsonObject, AudioDecoderIn &audioDecoderIn) in FromJson()
333 void ToJson(nlohmann::json &jsonObject, const AudioDecoderOut &audioDecoderOut) in ToJson()
343 void FromJson(const nlohmann::json &jsonObject, AudioDecoderOut &audioDecoderOut) in FromJson()
[all …]
/foundation/multimedia/image_framework/plugins/manager/src/framework/
Djson_helper.cpp32 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()
85 uint32_t JsonHelper::GetUint32Value(const json &jsonObject, const string &key, uint32_t &value) in GetUint32Value()
97 uint32_t JsonHelper::GetUint16Value(const json &jsonObject, const string &key, uint16_t &value) in GetUint16Value()
127 uint32_t JsonHelper::GetArraySize(const json &jsonObject, const string &key, size_t &size) in GetArraySize()
146 const json &JsonHelper::GetJsonElement(const json &jsonObject, const string &key, uint32_t &errorCo… in GetJsonElement()
/foundation/distributedhardware/device_manager/services/implementation/src/credential/
Ddm_credential_manager.cpp64 void from_json(const nlohmann::json &jsonObject, CredentialData &credentialData) in from_json()
99 nlohmann::json jsonObject = nlohmann::json::parse(reqJsonStr, nullptr, false); in RequestCredential() local
127 nlohmann::json jsonObject = nlohmann::json::parse(credentialInfo, nullptr, false); in ImportCredential() local
169 nlohmann::json jsonObject = nlohmann::json::parse(credentialInfo, nullptr, false); in ImportLocalCredential() local
217 nlohmann::json jsonObject = nlohmann::json::parse(deleteInfo, nullptr, false); in DeleteCredential() local
301 nlohmann::json jsonObject = nlohmann::json::parse(credentialInfo, nullptr, false); in GetCredentialData() local
333 void from_json(const nlohmann::json &jsonObject, CredentialDataInfo &credentialDataInfo) in from_json()
367 void to_json(nlohmann::json &jsonObject, const CredentialDataInfo &credentialDataInfo) in to_json()
383 int32_t DmCredentialManager::GetAddDeviceList(const nlohmann::json &jsonObject, nlohmann::json &jso… in GetAddDeviceList()
413 nlohmann::json jsonObject = nlohmann::json::parse(credentialInfo, nullptr, false); in ImportRemoteCredential() local
[all …]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/free_install/
Dinstall_result.cpp37 void to_json(nlohmann::json &jsonObject, const Result &result) in to_json()
46 void from_json(const nlohmann::json &jsonObject, Result &result) in from_json()
79 void to_json(nlohmann::json &jsonObject, const Progress &progress) in to_json()
87 void from_json(const nlohmann::json &jsonObject, Progress &progress) in from_json()
112 void to_json(nlohmann::json &jsonObject, const InstallResult &installResult) in to_json()
121 void from_json(const nlohmann::json &jsonObject, InstallResult &installResult) in from_json()
Dtarget_ability_info.cpp45 void to_json(nlohmann::json &jsonObject, const TargetExtSetting &targetExtSetting) in to_json()
52 void from_json(const nlohmann::json &jsonObject, TargetExtSetting &targetExtSetting) in from_json()
103 void to_json(nlohmann::json &jsonObject, const TargetInfo &targetInfo) in to_json()
123 void from_json(const nlohmann::json &jsonObject, TargetInfo &targetInfo) in from_json()
317 void to_json(nlohmann::json &jsonObject, const TargetAbilityInfo &targetAbilityInfo) in to_json()
326 void from_json(const nlohmann::json &jsonObject, TargetAbilityInfo &targetAbilityInfo) in from_json()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/
Ddefault_app_data.cpp54 int32_t DefaultAppData::FromJson(const nlohmann::json& jsonObject) in FromJson()
76 void DefaultAppData::ParseDefaultApplicationConfig(const nlohmann::json& jsonObject) in ParseDefaultApplicationConfig()
101 void to_json(nlohmann::json& jsonObject, const Element& element) in to_json()
113 void from_json(const nlohmann::json& jsonObject, Element& element) in from_json()
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
Dprofile_authority_test.cpp298 nlohmann::json jsonObject = nlohmann::json::parse(INVALID_INTERFACE_SERVICE, nullptr, false); variable
314 nlohmann::json jsonObject = nlohmann::json::parse(INVALID_INTERFACE_VALUE, nullptr, false); variable
337 nlohmann::json jsonObject = nlohmann::json::parse(TEST_TRUST_GROUP_EMPTY, nullptr, false); variable
405 nlohmann::json jsonObject = nlohmann::json::parse(TEST_TRUST_GROUP, nullptr, false); variable
422 nlohmann::json jsonObject = nlohmann::json::parse(TEST_TRUST_GROUP_EMPTY, nullptr, false); variable
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
Dversion_info.cpp50 void ToJson(nlohmann::json &jsonObject, const VersionInfo &versionInfo) in ToJson()
67 void FromJson(const nlohmann::json &jsonObject, CompVersion &compVer) in FromJson()
87 void FromJson(const nlohmann::json &jsonObject, VersionInfo &versionInfo) in FromJson()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
Dmodule_info.cpp29 void to_json(nlohmann::json &jsonObject, const ModuleInfo &moduleInfo) in to_json()
38 void from_json(const nlohmann::json &jsonObject, ModuleInfo &moduleInfo) in from_json()
Dability_info.cpp106 void to_json(nlohmann::json &jsonObject, const CustomizeData &customizeData) in to_json()
115 void to_json(nlohmann::json &jsonObject, const MetaData &metaData) in to_json()
122 void to_json(nlohmann::json &jsonObject, const Metadata &metadata) in to_json()
131 void to_json(nlohmann::json &jsonObject, const AbilityInfo &abilityInfo) in to_json()
217 void from_json(const nlohmann::json &jsonObject, CustomizeData &customizeData) in from_json()
247 void from_json(const nlohmann::json &jsonObject, MetaData &metaData) in from_json()
261 void from_json(const nlohmann::json &jsonObject, Metadata &metadata) in from_json()
294 void from_json(const nlohmann::json &jsonObject, AbilityInfo &abilityInfo) in from_json()
Dhap_module_info.cpp82 void to_json(nlohmann::json &jsonObject, const PreloadItem &preloadItem) in to_json()
89 void from_json(const nlohmann::json &jsonObject, PreloadItem &preloadItem) in from_json()
106 void to_json(nlohmann::json &jsonObject, const ProxyData &proxyData) in to_json()
116 void from_json(const nlohmann::json &jsonObject, ProxyData &proxyData) in from_json()
157 void to_json(nlohmann::json &jsonObject, const HapModuleInfo &hapModuleInfo) in to_json()
204 void from_json(const nlohmann::json &jsonObject, HapModuleInfo &hapModuleInfo) in from_json()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
Dinner_common_info.cpp395 void to_json(nlohmann::json &jsonObject, const Distro &distro) in to_json()
405 void to_json(nlohmann::json &jsonObject, const DefinePermission &definePermission) in to_json()
421 void to_json(nlohmann::json &jsonObject, const Dependency &dependency) in to_json()
430 void to_json(nlohmann::json &jsonObject, const InnerModuleInfo &info) in to_json()
496 void to_json(nlohmann::json &jsonObject, const SkillUri &uri) in to_json()
511 void to_json(nlohmann::json &jsonObject, const Skill &skill) in to_json()
520 void to_json(nlohmann::json &jsonObject, const InstallMark &installMark) in to_json()
529 void from_json(const nlohmann::json &jsonObject, InnerModuleInfo &info) in from_json()
1019 void from_json(const nlohmann::json &jsonObject, SkillUri &uri) in from_json()
1110 void from_json(const nlohmann::json &jsonObject, Skill &skill) in from_json()
[all …]
/foundation/ability/ability_base/interfaces/kits/native/view_data/src/
Dpage_node_info.cpp34 nlohmann::json jsonObject = nlohmann::json::parse(jsonStr, nullptr, false); in FromJsonString() local
68 nlohmann::json jsonObject { in ToJsonString() local
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/distributed_manager/
Drpc_id_result.cpp39 void to_json(nlohmann::json &jsonObject, const SummaryAbilityInfo &summaryAbilityInfo) in to_json()
52 void from_json(const nlohmann::json &jsonObject, SummaryAbilityInfo &summaryAbilityInfo) in from_json()
117 void to_json(nlohmann::json &jsonObject, const RpcIdResult &rpcIdResult) in to_json()
128 void from_json(const nlohmann::json &jsonObject, RpcIdResult &rpcIdResult) in from_json()
/foundation/ability/ability_runtime/services/abilitymgr/src/
Dinsight_intent_profile.cpp82 void from_json(const nlohmann::json &jsonObject, UIAbilityProfileInfo &info) in from_json()
103 void from_json(const nlohmann::json &jsonObject, UIExtensionProfileInfo &info) in from_json()
116 void from_json(const nlohmann::json &jsonObject, ServiceExtensionProfileInfo &info) in from_json()
129 void from_json(const nlohmann::json &jsonObject, FormProfileInfo &info) in from_json()
150 void from_json(const nlohmann::json &jsonObject, InsightIntentProfileInfo &insightIntentInfo) in from_json()
219 void from_json(const nlohmann::json &jsonObject, InsightIntentProfileInfoVec &infos) in from_json()
280 auto jsonObject = nlohmann::json::parse(profileStr, nullptr, false); in TransformTo() local
/foundation/distributedhardware/device_manager/test/commonunittest/
DUTTest_pin_auth.cpp74 nlohmann::json jsonObject; variable
90 nlohmann::json jsonObject; variable
106 nlohmann::json jsonObject; variable

1234567