Home
last modified time | relevance | path

Searched refs:from_json (Results 1 – 25 of 125) sorted by relevance

12345

/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Djson_serializer.h47 void from_json(const nlohmann::json &jsonObject, MetaData &metaData);
51 void from_json(const nlohmann::json &jsonObject, Metadata &metadata);
65 void from_json(const nlohmann::json &jsonObject, FormInfo &formInfo);
87 void from_json(const nlohmann::json &jsonObject, Result &result);
89 void from_json(const nlohmann::json &jsonObject, Progress &progress);
97 void from_json(const nlohmann::json &jsonObject, Version &version);
99 void from_json(const nlohmann::json &jsonObject, PackageApp &app);
113 void from_json(const nlohmann::json &jsonObject, Summary &summary);
115 void from_json(const nlohmann::json &jsonObject, Packages &packages);
129 void from_json(const nlohmann::json &jsonObject, HqfInfo &hqfInfo);
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/
H A Djson_serializer.h36 void from_json(const nlohmann::json &jsonObject, CustomizeData &customizeData);
37 void from_json(const nlohmann::json &jsonObject, MetaData &metaData);
38 void from_json(const nlohmann::json &jsonObject, Metadata &metadata);
39 void from_json(const nlohmann::json &jsonObject, AbilityInfo &abilityInfo);
40 void from_json(const nlohmann::json &jsonObject, ApplicationInfo &applicationInfo);
42 void from_json(const nlohmann::json &jsonObject, Resource &resource);
44 void from_json(const nlohmann::json &jsonObject, HapModuleInfo &hapModuleInfo);
46 void from_json(const nlohmann::json &jsonObject, ProxyData &proxyData);
48 void from_json(const nlohmann::json &jsonObject, Dependency &dependency);
50 void from_json(const nlohmann::json &jsonObject, PreloadItem &preloadItem);
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/
H A Ddscreen_maprelation_test.cpp141 from_json(j, jsonDScreenMapRelation);
184 from_json(j, displayRect);
187 from_json(j, displayRect);
190 from_json(j, displayRect);
193 from_json(j, displayRect);
196 from_json(j, displayRect);
214 from_json(j, screenRect);
217 from_json(j, screenRect);
220 from_json(j, screenRect);
223 from_json(j, screenRect);
[all …]
H A Dvideo_param_test.cpp203 from_json(j, jsonVideoParam);
225 from_json(j, jsonVideoParam);
227 from_json(j, jsonVideoParam);
229 from_json(j, jsonVideoParam);
231 from_json(j, jsonVideoParam);
233 from_json(j, jsonVideoParam);
235 from_json(j, jsonVideoParam);
237 from_json(j, jsonVideoParam);
239 from_json(j, jsonVideoParam);
/ohos5.0/base/security/security_guard/services/config_manager/include/
H A Dmodel_cfg_marshalling.h27 void from_json(const nlohmann::json &jsonObj, AppDetectionCfg &config);
28 void from_json(const nlohmann::json &jsonObj, Field &field);
29 void from_json(const nlohmann::json &jsonObj, Rule &rule);
30 void from_json(const nlohmann::json &jsonObj, BuildInDetectionCfg &config);
32 void from_json(const nlohmann::json &jsonObj, ModelCfg &modelCfg);
34 void from_json(const nlohmann::json &jsonObj, EventCfg &eventCfg);
36 void from_json(const nlohmann::json &jsonObj, DataMgrCfgSt &dataMgrCfg);
39 void from_json(const nlohmann::json &jsonObj, EventContentSt &eventContentSt);
/ohos5.0/base/security/security_guard/test/unittest/config_manager/include/
H A Dmodel_cfg_marshalling.h27 void from_json(const nlohmann::json &jsonObj, AppDetectionCfg &config);
28 void from_json(const nlohmann::json &jsonObj, Field &field);
29 void from_json(const nlohmann::json &jsonObj, Rule &rule);
30 void from_json(const nlohmann::json &jsonObj, BuildInDetectionCfg &config);
32 void from_json(const nlohmann::json &jsonObj, ModelCfg &modelCfg);
34 void from_json(const nlohmann::json &jsonObj, EventCfg &eventCfg);
36 void from_json(const nlohmann::json &jsonObj, DataMgrCfgSt &dataMgrCfg);
39 void from_json(const nlohmann::json &jsonObj, EventContentSt &eventContentSt);
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
H A Djson_serializer_test.cpp61 from_json(jsonObject, customizeData); in BenchmarkTestForCustomizeDataFromJson()
99 from_json(jsonObject, metadata); in BenchmarkTestForMetadataFromJson()
137 from_json(jsonObject, abilityInfo); in BenchmarkTestForAbilityInfoFromJson()
175 from_json(jsonObject, extensionInfo); in BenchmarkTestForExtensionAbilityInfoFromJson()
251 from_json(jsonObject, bundleInfo); in BenchmarkTestForBundleInfoFromJson()
287 from_json(jsonObject, moduleInfo); in BenchmarkTestForModuleInfoFromJson()
328 from_json(jsonObject, formInfoTest); in BenchmarkTestForFormInfoFromJson()
366 from_json(jsonObject, shortcutInfo); in BenchmarkTestForShortcutInfoFromJson()
411 from_json(jsonObject, commonEvent); in BenchmarkTestForCommonEventInfoFromJson()
521 from_json(jsonObject, shortcut); in BenchmarkTestForShortcutFromJson()
[all …]
/ohos5.0/base/security/security_guard/test/unittest/data_collect/sa/
H A Dmodel_cfg_marshalling.h54 void from_json(const nlohmann::json &jsonObj, Field &field) {}; in from_json() function
55 void from_json(const nlohmann::json &jsonObj, Rule &rule) {}; in from_json() function
56 void from_json(const nlohmann::json &jsonObj, BuildInDetectionCfg &config) {}; in from_json() function
58 void from_json(const nlohmann::json &jsonObj, ModelCfg &modelCfg) {}; in from_json() function
60 void from_json(const nlohmann::json &jsonObj, EventCfg &eventCfg) {}; in from_json() function
62 void from_json(const nlohmann::json &jsonObj, DataMgrCfgSt &dataMgrCfg) {}; in from_json() function
65 void from_json(const nlohmann::json &jsonObj, EventContentSt &eventContentSt) {}; in from_json() function
/ohos5.0/base/security/security_guard/test/unittest/risk_classify/include/
H A Dmodel_cfg_marshalling.h55 void from_json(const nlohmann::json &jsonObj, Field &field) {}; in from_json() function
56 void from_json(const nlohmann::json &jsonObj, Rule &rule) {}; in from_json() function
57 void from_json(const nlohmann::json &jsonObj, BuildInDetectionCfg &config) {}; in from_json() function
59 void from_json(const nlohmann::json &jsonObj, ModelCfg &modelCfg) {}; in from_json() function
61 void from_json(const nlohmann::json &jsonObj, EventCfg &eventCfg) {}; in from_json() function
63 void from_json(const nlohmann::json &jsonObj, DataMgrCfgSt &dataMgrCfg) {}; in from_json() function
66 void from_json(const nlohmann::json &jsonObj, EventContentSt &eventContentSt) {}; in from_json() function
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_base_test.cpp103 from_json(jsonObj, result);
106 from_json(jsonObj, result);
143 from_json(jsonObj, result);
146 from_json(jsonObj, result);
162 from_json(jsonObj, result);
165 from_json(jsonObj, result);
272 from_json(jsonObject, result);
275 from_json(jsonObject, result);
318 from_json(jsonObject, result);
321 from_json(jsonObject, result);
[all …]
/ohos5.0/base/security/security_guard/test/unittest/risk_collect/include/
H A Dmodel_cfg_marshalling.h28 void from_json(const nlohmann::json &jsonObj, ModelCfg &modelCfg);
30 void from_json(const nlohmann::json &jsonObj, EventCfg &eventCfg);
32 void from_json(const nlohmann::json &jsonObj, DataMgrCfgSt &dataMgrCfg);
35 void from_json(const nlohmann::json &jsonObj, EventContentSt &eventContentSt);
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/loader/
H A Djson_util.h32 inline void from_json(const json::value& jsonData, T& result) in CORE_BEGIN_NAMESPACE()
40 inline void from_json(const json::value& jsonData, T& result) in from_json() function
48 inline bool from_json(const CORE_NS::json::value& jsonData, T& result) in from_json() function
62 from_json(value, result); in Convert()
74 inline void from_json(const json::value& jsonData, BASE_NS::array_view<T> container) in from_json() function
84 inline void from_json(const json::value& jsonData, T (&container)[N]) in from_json() function
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/utils/include/
H A Ddscreen_maprelation.h50 friend void from_json(const json &j, DScreenMapRelation &dScreenMapRelation);
58 void from_json(const json &j, DScreenMapRelation &dScreenMapRelation);
61 void from_json(const json &j, DisplayRect &rect);
62 void from_json(const json &j, ScreenRect &rect);
H A Dvideo_param.h47 friend void from_json(const json &j, VideoParam &videoParam);
59 void from_json(const json &j, VideoParam &videoParam);
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/utils/src/
H A Ddscreen_maprelation.cpp80 void from_json(const json &j, DScreenMapRelation &dScreenMapRelation) in from_json() function
90 from_json(j.at(KEY_DISPLAY_RECT), dScreenMapRelation.displayRect_); in from_json()
91 from_json(j.at(KEY_SCREEN_RECT), dScreenMapRelation.screenRect_); in from_json()
104 void from_json(const json &j, DisplayRect &rect) in from_json() function
126 void from_json(const json &j, ScreenRect &rect) in from_json() function
/ohos5.0/base/security/security_guard/services/config_manager/src/
H A Dmodel_cfg_marshalling.cpp25 void from_json(const nlohmann::json &jsonObj, AppDetectionCfg &config) in from_json() function
38 void from_json(const nlohmann::json &jsonObj, Field &field) in from_json() function
55 void from_json(const nlohmann::json &jsonObj, Rule &rule) in from_json() function
72 void from_json(const nlohmann::json &jsonObj, BuildInDetectionCfg &config) in from_json() function
118 void from_json(const json &jsonObj, ModelCfg &modelCfg) in from_json() function
177 void from_json(const json &jsonObj, EventCfg &eventCfg) in from_json() function
210 void from_json(const json &jsonObj, DataMgrCfgSt &dataMgrCfg) in from_json() function
239 void from_json(const json &jsonObj, EventContentSt &eventContentSt) in from_json() function
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/
H A Dbms_bundle_clone_app_datastruct_test.cpp80 from_json(APPLICATION_JSON, applicationInfo);
94 from_json(APPLICATION_JSON, applicationInfo);
102 from_json(APPLICATION_JSON, applicationInfo2);
128 from_json(bundleCloneInfoJson, bundleCloneInfo2);
170 from_json(userInfoJson, userInfo2);
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dbundle_pack_info.cpp97 void from_json(const nlohmann::json &jsonObject, Version &version) in from_json() function
138 void from_json(const nlohmann::json &jsonObject, PackageApp &app) in from_json() function
171 void from_json(const nlohmann::json &jsonObject, ExtensionAbilities &extensionAbilities) in from_json() function
206 void from_json(const nlohmann::json &jsonObject, ModuleAbilityInfo &abilityinfo) in from_json() function
259 void from_json(const nlohmann::json &jsonObject, AbilityFormInfo &abilityFormInfo) in from_json() function
293 void from_json(const nlohmann::json &jsonObject, ModuleDistro &distro) in from_json() function
343 void from_json(const nlohmann::json &jsonObject, ApiVersion &apiVersion) in from_json() function
388 void from_json(const nlohmann::json &jsonObject, PackageModule &packageModule) in from_json() function
453 void from_json(const nlohmann::json &jsonObject, Summary &summary) in from_json() function
488 void from_json(const nlohmann::json &jsonObject, Packages &packages) in from_json() function
[all …]
H A Dshortcut_info.cpp168 void from_json(const nlohmann::json &jsonObject, ShortcutIntent &shortcutIntent) in from_json() function
209 void from_json(const nlohmann::json &jsonObject, ShortcutInfo &shortcutInfo) in from_json() function
338 void from_json(const nlohmann::json &jsonObject, ShortcutWant &shortcutWant) in from_json() function
379 void from_json(const nlohmann::json &jsonObject, Shortcut &shortcut) in from_json() function
436 void from_json(const nlohmann::json &jsonObject, ShortcutJson &shortcutJson) in from_json() function
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dinsight_intent_profile.cpp81 void from_json(const nlohmann::json &jsonObject, UIAbilityProfileInfo &info) in from_json() function
102 void from_json(const nlohmann::json &jsonObject, UIExtensionProfileInfo &info) in from_json() function
115 void from_json(const nlohmann::json &jsonObject, ServiceExtensionProfileInfo &info) in from_json() function
128 void from_json(const nlohmann::json &jsonObject, FormProfileInfo &info) in from_json() function
149 void from_json(const nlohmann::json &jsonObject, InsightIntentProfileInfo &insightIntentInfo) in from_json() function
218 void from_json(const nlohmann::json &jsonObject, InsightIntentProfileInfoVec &infos) in from_json() function
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentloader/src/
H A Dcomponent_loader_test.cpp344 from_json(json, cfg);
365 from_json(json, cfg);
387 from_json(json, cfg);
410 from_json(json, cfg);
434 from_json(json, cfg);
459 from_json(json, cfg);
485 from_json(json, cfg);
512 from_json(json, cfg);
540 from_json(json, cfg);
569 from_json(json, cfg);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/uninstall_data_mgr/
H A Duninstall_bundle_info.h42 void from_json(const nlohmann::json& jsonObject, UninstallBundleInfo& uninstallBundleInfo);
44 void from_json(const nlohmann::json& jsonObject, UninstallDataUserInfo& uninstallDataUserInfo);
/ohos5.0/base/security/access_token/services/common/config_policy/src/
H A Dconfig_policy_loader.cpp68 void from_json(const nlohmann::json& j, AccessTokenServiceConfig& a) in from_json() function
95 void from_json(const nlohmann::json& j, PrivacyServiceConfig& p) in from_json() function
114 void from_json(const nlohmann::json& j, TokenSyncServiceConfig& t) in from_json() function
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_profile.cpp359 void from_json(const nlohmann::json &jsonObject, Version &version) in from_json() function
435 void from_json(const nlohmann::json &jsonObject, App &app) in from_json() function
564 void from_json(const nlohmann::json &jsonObject, Ark &ark) in from_json() function
586 void from_json(const nlohmann::json &jsonObject, Domain &domain) in from_json() function
644 void from_json(const nlohmann::json &jsonObject, Network &network) in from_json() function
666 void from_json(const nlohmann::json &jsonObject, Device &device) in from_json() function
825 void from_json(const nlohmann::json &jsonObject, Form &form) in from_json() function
951 void from_json(const nlohmann::json &jsonObject, Window &window) in from_json() function
973 void from_json(const nlohmann::json &jsonObject, Forms &forms) in from_json() function
1513 void from_json(const nlohmann::json &jsonObject, Js &js) in from_json() function
[all …]
/ohos5.0/base/security/access_token/services/accesstokenmanager/test/unittest/
H A Dnative_token_receptor_test.cpp180 extern void from_json(const nlohmann::json& j, std::shared_ptr<NativeTokenInfoInner>& p);
204 from_json(j, p);
224 from_json(j, p);
233 from_json(j, p);
242 from_json(j, p);
251 from_json(j, p);
261 from_json(j, p);
269 from_json(j, p);

12345