| /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/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
| D | histreamer_ability_parser_test.cpp | 72 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/ |
| D | bundle_pack_info.cpp | 88 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 …]
|
| D | shortcut_info.cpp | 117 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()
|
| D | distributed_module_info.cpp | 49 nlohmann::json jsonObject = nlohmann::json::parse(data, nullptr, false); in ReadFromParcel() local 104 nlohmann::json jsonObject = *this; in Dump() local 115 void to_json(nlohmann::json& jsonObject, const DistributedModuleInfo& distributedModuleInfo) in to_json() 123 void from_json(const nlohmann::json& jsonObject, DistributedModuleInfo& distributedModuleInfo) in from_json()
|
| D | distributed_ability_info.cpp | 51 nlohmann::json jsonObject = nlohmann::json::parse(data, nullptr, false); in ReadFromParcel() local 106 nlohmann::json jsonObject = *this; in Dump() local 117 void to_json(nlohmann::json& jsonObject, const DistributedAbilityInfo& distributedAbilityInfo) in to_json() 127 void from_json(const nlohmann::json& jsonObject, DistributedAbilityInfo& distributedAbilityInfo) in from_json()
|
| D | form_info.cpp | 265 void to_json(nlohmann::json &jsonObject, const FormCustomizeData &customizeDatas) in to_json() 273 void to_json(nlohmann::json &jsonObject, const FormWindow &formWindow) in to_json() 279 void to_json(nlohmann::json &jsonObject, const FormInfo &formInfo) in to_json() 315 void from_json(const nlohmann::json &jsonObject, FormCustomizeData &customizeDatas) in from_json() 340 void from_json(const nlohmann::json &jsonObject, FormWindow &formWindow) in from_json() 365 void from_json(const nlohmann::json &jsonObject, FormInfo &formInfo) in from_json()
|
| D | bundle_user_info.cpp | 99 nlohmann::json jsonObject = *this; in Dump() local 121 void to_json(nlohmann::json& jsonObject, const BundleUserInfo& bundleUserInfo) in to_json() 131 void from_json(const nlohmann::json& jsonObject, BundleUserInfo& bundleUserInfo) in from_json()
|
| /foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/test/unittest/common/src/ |
| D | histreamer_ability_querier_test.cpp | 211 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/ |
| D | histreamer_ability_parser.cpp | 38 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/ |
| D | histreamer_ability_querier.cpp | 146 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/ |
| D | json_helper.cpp | 30 uint32_t JsonHelper::CheckElementExistence(const json &jsonObject, const string &key) in CheckElementExistence() 48 uint32_t JsonHelper::GetStringValue(const json &jsonObject, const string &key, string &value) in GetStringValue() 83 uint32_t JsonHelper::GetUint32Value(const json &jsonObject, const string &key, uint32_t &value) in GetUint32Value() 95 uint32_t JsonHelper::GetUint16Value(const json &jsonObject, const string &key, uint16_t &value) in GetUint16Value() 125 uint32_t JsonHelper::GetArraySize(const json &jsonObject, const string &key, size_t &size) in GetArraySize() 144 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 | 64 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 150 nlohmann::json jsonObject = nlohmann::json::parse(credentialInfo, nullptr, false); in ImportLocalCredential() local 198 nlohmann::json jsonObject = nlohmann::json::parse(deleteInfo, nullptr, false); in DeleteCredential() local 278 nlohmann::json jsonObject = nlohmann::json::parse(credentialInfo, nullptr, false); in GetCredentialData() local 310 void from_json(const nlohmann::json &jsonObject, CredentialDataInfo &credentialDataInfo) in from_json() 344 void to_json(nlohmann::json &jsonObject, const CredentialDataInfo &credentialDataInfo) in to_json() 360 int32_t DmCredentialManager::GetAddDeviceList(const nlohmann::json &jsonObject, nlohmann::json &jso… in GetAddDeviceList() 390 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/ |
| D | install_result.cpp | 37 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()
|
| D | target_ability_info.cpp | 45 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()
|
| D | dispatch_info.cpp | 30 void to_json(nlohmann::json &jsonObject, const DispatcherInfo &dispatcherInfo) in to_json() 37 void from_json(const nlohmann::json &jsonObject, DispatcherInfo &dispatcherInfo) in from_json()
|
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/ |
| D | default_app_data.cpp | 54 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/services/core/test/unittest/ |
| D | profile_authority_test.cpp | 298 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/ |
| D | version_info.cpp | 50 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/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/distributed_manager/ |
| D | rpc_id_result.cpp | 39 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/bundlemanager/bundle_framework/services/bundlemgr/src/ |
| D | inner_bundle_user_info.cpp | 32 void to_json(nlohmann::json& jsonObject, const InnerBundleUserInfo& innerBundleUserInfo) in to_json() 47 void from_json(const nlohmann::json& jsonObject, InnerBundleUserInfo& innerBundleUserInfo) in from_json()
|
| /foundation/ability/form_fwk/services/include/ |
| D | json_util_form.h | 44 void CheckArrayType(const nlohmann::json &jsonObject, const std::string &key, in CheckArrayType() 97 void GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nl… in GetValueIfFindKey() 176 nlohmann::json jsonObject = nlohmann::json::parse(data, nullptr, false); in ParseInfoFromJsonStr() local
|
| /foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
| D | json_util.h | 45 …const nlohmann::json &jsonObject, const std::string &key, dataType &data, ArrayType arrayType, int… in CheckArrayType() 100 void GetValueIfFindKey(const nlohmann::json &jsonObject, const nlohmann::detail::iter_impl<const nl… in GetValueIfFindKey() 182 nlohmann::json jsonObject = nlohmann::json::parse(data, nullptr, false); in ParseInfoFromJsonStr() local
|
| /foundation/ability/form_fwk/services/src/ |
| D | form_info_storage.cpp | 60 void to_json(nlohmann::json &jsonObject, const FormInfoStorage &formInfoStorage) in to_json() 68 void from_json(const nlohmann::json &jsonObject, FormInfoStorage &formInfoStorage) in from_json()
|
| /foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/overlay/ |
| D | overlay_bundle_info.cpp | 62 void to_json(nlohmann::json &jsonObject, const OverlayBundleInfo &overlayBundleInfo) in to_json() 72 void from_json(const nlohmann::json &jsonObject, OverlayBundleInfo &overlayBundleInfo) in from_json()
|