Home
last modified time | relevance | path

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

12345678

/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.cpp125 cJSON *jsonObject = cJSON_CreateObject(); variable
157 cJSON *jsonObject = cJSON_CreateObject(); variable
181 cJSON *jsonObject = cJSON_CreateObject(); variable
205 cJSON *jsonObject = cJSON_CreateObject(); variable
241 cJSON *jsonObject = cJSON_CreateObject(); variable
265 cJSON *jsonObject = cJSON_CreateObject(); variable
284 cJSON *jsonObject = cJSON_CreateObject(); variable
320 cJSON *jsonObject = cJSON_CreateObject(); variable
344 cJSON *jsonObject = cJSON_CreateObject(); variable
368 cJSON *jsonObject = cJSON_CreateObject(); 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.cpp137 void to_json(nlohmann::json &jsonObject, const ShortcutIntent &shortcutIntent) in to_json()
147 void to_json(nlohmann::json &jsonObject, const ShortcutInfo &shortcutInfo) in to_json()
168 void from_json(const nlohmann::json &jsonObject, ShortcutIntent &shortcutIntent) in from_json()
209 void from_json(const nlohmann::json &jsonObject, ShortcutInfo &shortcutInfo) in from_json()
338 void from_json(const nlohmann::json &jsonObject, ShortcutWant &shortcutWant) in from_json()
379 void from_json(const nlohmann::json &jsonObject, Shortcut &shortcut) in from_json()
436 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()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/test/unittest/common/src/
Dhistreamer_ability_querier_test.cpp212 cJSON *jsonObject = cJSON_CreateObject(); variable
237 cJSON *jsonObject = cJSON_CreateObject(); variable
259 cJSON *jsonObject = cJSON_CreateObject(); variable
281 cJSON *jsonObject = cJSON_CreateObject(); variable
300 cJSON *jsonObject = cJSON_CreateObject(); variable
335 cJSON *jsonObject = nullptr; variable
375 cJSON *jsonObject = nullptr; variable
407 cJSON *jsonObject = nullptr; variable
439 cJSON *jsonObject = nullptr; variable
483 cJSON *jsonObject = nullptr; variable
[all …]
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
Dhistreamer_ability_parser.cpp38 void FromJson(const cJSON *jsonObject, AudioEncoderIn &audioEncoderIn) in FromJson()
66 void FromJson(const cJSON *jsonObject, AudioEncoderOut &audioEncoderOut) in FromJson()
98 void FromJson(const cJSON *jsonObject, AudioEncoder &audioEncoder) in FromJson()
135 void FromJson(const cJSON *jsonObject, AudioDecoderIn &audioDecoderIn) in FromJson()
160 void FromJson(const cJSON *jsonObject, AudioDecoderOut &audioDecoderOut) in FromJson()
184 void FromJson(const cJSON *jsonObject, AudioDecoder &audioDecoder) in FromJson()
220 void FromJson(const cJSON *jsonObject, VideoEncoderIn &videoEncoderIn) in FromJson()
245 void FromJson(const cJSON *jsonObject, VideoEncoderOut &videoEncoderOut) in FromJson()
258 void FromJson(const cJSON *jsonObject, VideoEncoder &videoEncoder) in FromJson()
295 void FromJson(const cJSON *jsonObject, VideoDecoderIn &videoDecoderIn) in FromJson()
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/uninstall_data_mgr/
Duninstall_bundle_info.cpp32 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/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/
Dhistreamer_ability_querier.cpp156 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/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
302 nlohmann::json jsonObject = nlohmann::json::parse(credentialInfo, nullptr, false); in GetCredentialData() local
334 void from_json(const nlohmann::json &jsonObject, CredentialDataInfo &credentialDataInfo) in from_json()
368 void to_json(nlohmann::json &jsonObject, const CredentialDataInfo &credentialDataInfo) in to_json()
384 int32_t DmCredentialManager::GetAddDeviceList(const nlohmann::json &jsonObject, nlohmann::json &jso… in GetAddDeviceList()
414 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.cpp38 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()
80 void to_json(nlohmann::json &jsonObject, const Progress &progress) in to_json()
88 void from_json(const nlohmann::json &jsonObject, Progress &progress) in from_json()
113 void to_json(nlohmann::json &jsonObject, const InstallResult &installResult) in to_json()
122 void from_json(const nlohmann::json &jsonObject, InstallResult &installResult) in from_json()
/foundation/ability/ability_base/interfaces/kits/native/view_data/src/
Dpage_node_info.cpp36 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
Drect.cpp30 nlohmann::json jsonObject = nlohmann::json::parse(jsonStr, nullptr, false); in FromJsonString() local
51 nlohmann::json jsonObject { in ToJsonString() local
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/transport/
Ddh_transport_obj.cpp24 void ToJson(cJSON *jsonObject, const FullCapsRsp &capsRsp) in ToJson()
48 void FromJson(const cJSON *jsonObject, FullCapsRsp &capsRsp) in FromJson()
71 void ToJson(cJSON *jsonObject, const CommMsg &commMsg) in ToJson()
82 void FromJson(const cJSON *jsonObject, CommMsg &commMsg) in FromJson()
/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/ability/dmsfwk/services/dtbschedmgr/src/mission/
Ddistributed_bundle_info.cpp73 nlohmann::json jsonObject; in ToString() local
78 void to_json(nlohmann::json &jsonObject, const PublicRecordsInfo &publicRecordsInfo) in to_json()
87 void from_json(const nlohmann::json &jsonObject, PublicRecordsInfo &publicRecordsInfo) in from_json()
108 nlohmann::json jsonObject = nlohmann::json::parse(jsonString, nullptr, false); in FromJsonString() local
164 void to_json(nlohmann::json &jsonObject, const DmsAbilityInfo &dmsAbilityInfo) in to_json()
174 void from_json(const nlohmann::json &jsonObject, DmsAbilityInfo &dmsAbilityInfo) in from_json()
284 nlohmann::json jsonObject; in ToString() local
304 nlohmann::json jsonObject = nlohmann::json::parse(jsonString, nullptr, false); in FromJsonString() local
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/
Ddefault_app_data.cpp49 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/distributedhardware/device_manager/test/commonunittest/
DUTTest_discovery_filter.cpp47 nlohmann::json jsonObject; variable
56 nlohmann::json jsonObject; variable
66 nlohmann::json jsonObject; variable
77 nlohmann::json jsonObject; variable
88 nlohmann::json jsonObject; variable
100 nlohmann::json jsonObject; variable
112 nlohmann::json jsonObject; variable
127 nlohmann::json jsonObject; variable
143 nlohmann::json jsonObject; variable
167 nlohmann::json jsonObject; variable
[all …]
DUTTest_dm_discovery_filter.cpp60 nlohmann::json jsonObject; variable
75 nlohmann::json jsonObject; variable
91 nlohmann::json jsonObject; variable
108 nlohmann::json jsonObject; variable
125 nlohmann::json jsonObject; variable
143 nlohmann::json jsonObject; variable
161 nlohmann::json jsonObject; variable
182 nlohmann::json jsonObject; variable
204 nlohmann::json jsonObject; variable
240 nlohmann::json jsonObject; variable
[all …]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
Dversion_info.cpp67 void ToJson(cJSON *jsonObject, const VersionInfo &versionInfo) in ToJson()
98 void FromJson(const cJSON *jsonObject, CompVersion &compVer) in FromJson()
122 void FromJson(const cJSON *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()
295 void from_json(const nlohmann::json &jsonObject, AbilityInfo &abilityInfo) in from_json()
/foundation/ability/ability_runtime/services/abilitymgr/src/
Dinsight_intent_profile.cpp81 void from_json(const nlohmann::json &jsonObject, UIAbilityProfileInfo &info) in from_json()
102 void from_json(const nlohmann::json &jsonObject, UIExtensionProfileInfo &info) in from_json()
115 void from_json(const nlohmann::json &jsonObject, ServiceExtensionProfileInfo &info) in from_json()
128 void from_json(const nlohmann::json &jsonObject, FormProfileInfo &info) in from_json()
149 void from_json(const nlohmann::json &jsonObject, InsightIntentProfileInfo &insightIntentInfo) in from_json()
218 void from_json(const nlohmann::json &jsonObject, InsightIntentProfileInfoVec &infos) in from_json()
279 auto jsonObject = nlohmann::json::parse(profileStr, nullptr, false); in TransformTo() local

12345678