Home
last modified time | relevance | path

Searched refs:Unmarshal (Results 1 - 25 of 31) sorted by relevance

12

/base/security/security_guard/services/config_manager/src/
H A Dmodel_cfg_marshalling.cpp121 JsonCfg::Unmarshal(modelId, jsonObj, MODEL_CFG_MODEL_ID_KEY); in from_json()
127 JsonCfg::Unmarshal(modelCfg.path, jsonObj, MODEL_CFG_PATH_KEY); in from_json()
128 JsonCfg::Unmarshal(modelCfg.format, jsonObj, MODEL_CFG_FORMAT_KEY); in from_json()
129 JsonCfg::Unmarshal(modelCfg.startMode, jsonObj, MODEL_CFG_START_MODE_KEY); in from_json()
132 JsonCfg::Unmarshal(preLoads, jsonObj, MODEL_CFG_PRELOAD_KEY); in from_json()
142 JsonCfg::Unmarshal(eventList, jsonObj, MODEL_CFG_EVENT_LIST_KEY); in from_json()
150 JsonCfg::Unmarshal(modelCfg.permissions, jsonObj, MODEL_CFG_PERMISSIONS_KEY); in from_json()
151 JsonCfg::Unmarshal(modelCfg.dbTable, jsonObj, MODEL_CFG_DB_TABLE_KEY); in from_json()
152 JsonCfg::Unmarshal(modelCfg.runningCntl, jsonObj, MODEL_CFG_RUNNING_CNTL_KEY); in from_json()
153 JsonCfg::Unmarshal(modelCf in from_json()
[all...]
/base/security/security_guard/frameworks/common/json/include/
H A Djson_cfg.h34 static bool Unmarshal(uint64_t &data, nlohmann::json jsonObj, std::string key);
35 static bool Unmarshal(int64_t &data, nlohmann::json jsonObj, std::string key);
36 static bool Unmarshal(uint32_t &data, nlohmann::json jsonObj, std::string key);
37 static bool Unmarshal(int32_t &data, nlohmann::json jsonObj, std::string key);
38 static bool Unmarshal(std::string &data, nlohmann::json jsonObj, std::string key);
39 static bool Unmarshal(std::vector<int32_t> &data, nlohmann::json jsonObj, std::string key);
40 static bool Unmarshal(std::vector<std::string> &data, nlohmann::json jsonObj, std::string key);
41 static bool Unmarshal(std::vector<int64_t> &data, nlohmann::json jsonObj, std::string key);
43 static bool Unmarshal(T &data, nlohmann::json jsonObj, std::string key) in Unmarshal() function in OHOS::Security::SecurityGuard::JsonCfg
51 static bool Unmarshal(st function in OHOS::Security::SecurityGuard::JsonCfg
[all...]
/base/security/security_guard/services/security_collector/src/
H A Dcollector_cfg_marshalling.cpp41 SecurityGuard::JsonCfg::Unmarshal(eventList, jsonObj, EVENT_ID); in from_json()
49 SecurityGuard::JsonCfg::Unmarshal(moduleCfg.moduleId, jsonObj, MODULE_ID); in from_json()
51 SecurityGuard::JsonCfg::Unmarshal(moduleCfg.moduleName, jsonObj, MODULE_NAME); in from_json()
52 SecurityGuard::JsonCfg::Unmarshal(moduleCfg.modulePath, jsonObj, MODULE_PATH); in from_json()
53 SecurityGuard::JsonCfg::Unmarshal(moduleCfg.version, jsonObj, MODULE_VERSION); in from_json()
54 SecurityGuard::JsonCfg::Unmarshal(moduleCfg.collectorType, jsonObj, MODULE_COLLECTOR_TYPE); in from_json()
/base/security/security_guard/frameworks/common/json/src/
H A Djson_cfg.cpp19 bool JsonCfg::Unmarshal(uint64_t &data, nlohmann::json jsonObj, std::string key) in Unmarshal() function in OHOS::Security::SecurityGuard::JsonCfg
26 bool JsonCfg::Unmarshal(int64_t &data, nlohmann::json jsonObj, std::string key) in Unmarshal() function in OHOS::Security::SecurityGuard::JsonCfg
33 bool JsonCfg::Unmarshal(uint32_t &data, nlohmann::json jsonObj, std::string key) in Unmarshal() function in OHOS::Security::SecurityGuard::JsonCfg
40 bool JsonCfg::Unmarshal(int32_t &data, nlohmann::json jsonObj, std::string key) in Unmarshal() function in OHOS::Security::SecurityGuard::JsonCfg
47 bool JsonCfg::Unmarshal(std::string &data, nlohmann::json jsonObj, std::string key) in Unmarshal() function in OHOS::Security::SecurityGuard::JsonCfg
54 bool JsonCfg::Unmarshal(std::vector<int32_t> &data, nlohmann::json jsonObj, std::string key) in Unmarshal() function in OHOS::Security::SecurityGuard::JsonCfg
67 bool JsonCfg::Unmarshal(std::vector<std::string> &data, nlohmann::json jsonObj, std::string key) in Unmarshal() function in OHOS::Security::SecurityGuard::JsonCfg
80 bool JsonCfg::Unmarshal(std::vector<int64_t> &data, nlohmann::json jsonObj, std::string key) in Unmarshal() function in OHOS::Security::SecurityGuard::JsonCfg
/base/inputmethod/imf/services/include/
H A Dsys_cfg_parser.h33 bool Unmarshal(cJSON *node) override
44 bool Unmarshal(cJSON *node) override
54 bool Unmarshal(cJSON *node) override
69 bool Unmarshal(cJSON *node) override
81 bool Unmarshal(cJSON *node) override
94 bool Unmarshal(cJSON *node) override
104 bool Unmarshal(cJSON *node) override
115 bool Unmarshal(cJSON *node) override
H A Dime_cfg_manager.h46 bool Unmarshal(cJSON *node) override
62 bool Unmarshal(cJSON *node) override
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_method_system_ability_proxy.cpp52 [&agent](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, agent); }); in ConnectSystemCmd()
124 return ITypesUtil::Unmarshal(reply, *property);
131 [&inputMethodConfig](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, inputMethodConfig); });
137 [&security](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, security); });
153 return ITypesUtil::Unmarshal(reply, *property);
164 return ITypesUtil::Unmarshal(reply, *property);
174 [&isDefaultImeSet](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, isDefaultImeSet); });
184 [&enableIme](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, enableIme); });
193 [&props](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, props); });
212 [&subProps](MessageParcel &reply) { return ITypesUtil::Unmarshal(repl
[all...]
H A Dinput_data_channel_stub.cpp52 if (!ITypesUtil::Unmarshal(data, text)) { in InsertTextOnRemote()
62 if (!ITypesUtil::Unmarshal(data, length)) { in DeleteForwardOnRemote()
72 if (!ITypesUtil::Unmarshal(data, length)) { in DeleteBackwardOnRemote()
82 if (!ITypesUtil::Unmarshal(data, length)) { in GetTextBeforeCursorOnRemote()
94 if (!ITypesUtil::Unmarshal(data, length)) { in GetTextAfterCursorOnRemote()
113 if (!ITypesUtil::Unmarshal(data, status)) { in SendKeyboardStatusOnRemote()
124 if (!ITypesUtil::Unmarshal(data, functionKey)) { in SendFunctionKeyOnRemote()
134 if (!ITypesUtil::Unmarshal(data, direction)) { in MoveCursorOnRemote()
159 if (!ITypesUtil::Unmarshal(data, start, end)) { in SelectByRangeOnRemote()
170 if (!ITypesUtil::Unmarshal(dat in SelectByMovementOnRemote()
[all...]
H A Dinput_data_channel_proxy.cpp51 [&text](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, text); });
58 [&text](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, text); });
86 [&keyType](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, keyType); });
92 [&inputPattern](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, inputPattern); });
98 [&index](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, index); });
104 [&textConfig](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, textConfig); });
H A Dinput_client_stub.cpp80 if (!ITypesUtil::Unmarshal(data, isStopInactiveClient)) { in OnInputStopOnRemote()
91 if (!ITypesUtil::Unmarshal(data, property, subProperty)) { in OnSwitchInputOnRemote()
103 if (!ITypesUtil::Unmarshal(data, status, info)) { in OnPanelStatusChangeOnRemote()
H A Dsystem_cmd_channel_stub.cpp45 if (!ITypesUtil::Unmarshal(data, privateCommand)) { in SendPrivateCommandOnRemote()
60 if (!ITypesUtil::Unmarshal(data, sysPanelStatus)) { in NotifyPanelStatusOnRemote()
H A Dkeyevent_consumer_stub.cpp55 if (!ITypesUtil::Unmarshal(data, isConsumed)) { in OnKeyEventResultOnRemote()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_core_stub.cpp110 if (!ITypesUtil::Unmarshal(data, isBindFromClient, clientInfo, clientInfo.channel)) { in StartInputOnRemote()
111 IMSA_HILOGE("Unmarshal failed!"); in StartInputOnRemote()
121 if (!ITypesUtil::Unmarshal(data, security)) { in SecurityChangeOnRemote()
122 IMSA_HILOGE("Unmarshal failed!"); in SecurityChangeOnRemote()
137 if (!ITypesUtil::Unmarshal(data, channelObject)) { in OnConnectSystemCmdOnRemote()
150 if (!ITypesUtil::Unmarshal(data, property)) { in SetSubtypeOnRemote()
163 if (!ITypesUtil::Unmarshal(data, inputType)) { in OnSetInputTypeOnRemote()
174 if (!ITypesUtil::Unmarshal(data, channel)) { in StopInputOnRemote()
200 if (!ITypesUtil::Unmarshal(data, isForce)) { in HideKeyboardOnRemote()
211 if (!ITypesUtil::Unmarshal(dat in StopInputServiceOnRemote()
[all...]
H A Dinput_method_core_proxy.cpp66 [&agent](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, agent); });
99 [&isEnable](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, isEnable); });
107 [&isShown](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, isShown); });
H A Dinput_method_agent_proxy.cpp39 [&res](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, res); }); in DispatchKeyEvent()
81 [&res](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, res); }); in SendPrivateCommand()
H A Dinput_method_agent_stub.cpp108 if (!ITypesUtil::Unmarshal(data, privateCommand)) { in SendPrivateCommandOnRemote()
119 if (!ITypesUtil::Unmarshal(data, attribute)) { in OnAttributeChangeOnRemote()
/base/inputmethod/imf/common/src/
H A Ditypes_util.cpp28 bool ITypesUtil::Unmarshal(MessageParcel &data) in Unmarshal() function in OHOS::MiscServices::ITypesUtil
135 if (!Unmarshal(data, output.name, output.id, output.label, output.labelId, output.icon, output.iconId)) { in Unmarshalling()
154 if (!Unmarshal(data, output.label, output.labelId, output.name, output.id, output.mode, output.locale, in Unmarshalling()
173 if (!Unmarshal(data, output.inputPattern, output.enterKeyType, output.inputOption, output.isTextPreviewSupported)) { in Unmarshalling()
220 if (!Unmarshal(data, output.cursorInfo.left, output.cursorInfo.top, output.cursorInfo.height, in Unmarshalling()
225 if (!Unmarshal(data, output.textSelection.oldBegin, output.textSelection.oldEnd, output.textSelection.newBegin, in Unmarshalling()
230 if (!Unmarshal(data, output.windowId)) { in Unmarshalling()
234 if (!Unmarshal(data, output.positionY)) { in Unmarshalling()
238 if (!Unmarshal(data, output.height)) { in Unmarshalling()
242 if (!Unmarshal(dat in Unmarshalling()
[all...]
/base/security/security_guard/test/unittest/config_manager/src/
H A Dsecurity_guard_config_manager_test.cpp712 EXPECT_TRUE(JsonCfg::Unmarshal(i32Data, jsonOb, "detectMaxRecord")); in HWTEST_F()
713 EXPECT_FALSE(JsonCfg::Unmarshal(i32Data, jsonOb, "releaseTime")); in HWTEST_F()
714 EXPECT_FALSE(JsonCfg::Unmarshal(i32Data, jsonOb, "isexist")); in HWTEST_F()
716 EXPECT_TRUE(JsonCfg::Unmarshal(u32Data, jsonOb, "detectMaxRecord")); in HWTEST_F()
717 EXPECT_FALSE(JsonCfg::Unmarshal(u32Data, jsonOb, "releaseTime")); in HWTEST_F()
718 EXPECT_FALSE(JsonCfg::Unmarshal(u32Data, jsonOb, "isexist")); in HWTEST_F()
720 EXPECT_TRUE(JsonCfg::Unmarshal(data, jsonOb, "detectMaxRecord")); in HWTEST_F()
721 EXPECT_FALSE(JsonCfg::Unmarshal(data, jsonOb, "releaseTime")); in HWTEST_F()
722 EXPECT_FALSE(JsonCfg::Unmarshal(data, jsonOb, "isexist")); in HWTEST_F()
724 EXPECT_TRUE(JsonCfg::Unmarshal(dataIn in HWTEST_F()
[all...]
/base/security/security_guard/test/fuzztest/config_manager/configmanager_fuzzer/
H A Dconfig_manager_fuzzer.cpp129 JsonCfg::Unmarshal(uint64, jsonObj, string); in JsonConfigFuzzTest()
133 JsonCfg::Unmarshal(int64, jsonObj1, string); in JsonConfigFuzzTest()
137 JsonCfg::Unmarshal(vec32, jsonObj2, string); in JsonConfigFuzzTest()
141 JsonCfg::Unmarshal(vec64, jsonObj3, string); in JsonConfigFuzzTest()
/base/inputmethod/imf/services/adapter/settings_data_provider/include/
H A Denable_ime_data_parser.h46 bool Unmarshal(cJSON *node) override
55 bool Unmarshal(cJSON *node) override
64 bool Unmarshal(cJSON *node) override
H A Dsecurity_mode_parser.h36 bool Unmarshal(cJSON *node) override
/base/inputmethod/imf/services/src/
H A Dinput_method_system_ability_stub.cpp75 if (!ITypesUtil::Unmarshal(data, clientInfo, client, clientInfo.channel)) { in StartInputOnRemote()
193 if (!ITypesUtil::Unmarshal(data, bundleName)) { in EnableImeOnRemote()
252 if (!ITypesUtil::Unmarshal(data, status)) { in ListInputMethodOnRemote()
268 if (!ITypesUtil::Unmarshal(data, bundleName)) { in ListInputMethodSubtypeOnRemote()
297 if (!ITypesUtil::Unmarshal(data, name, subName, trigger)) { in SwitchInputMethodOnRemote()
309 if (!ITypesUtil::Unmarshal(data, status, info)) { in PanelStatusChangeOnRemote()
322 if (!ITypesUtil::Unmarshal(data, clientInfo, client, clientInfo.channel, eventFlag)) { in UpdateListenEventFlagOnRemote()
353 if (!ITypesUtil::Unmarshal(data, type, coreObject) || coreObject == nullptr) { in UnRegisteredProxyImeOnRemote()
364 if (!ITypesUtil::Unmarshal(data, type)) { in IsInputTypeSupportedOnRemote()
375 if (!ITypesUtil::Unmarshal(dat in StartInputTypeOnRemote()
[all...]
/base/inputmethod/imf/services/json/src/
H A Dserializable.cpp27 auto ret = Unmarshal(root); in Unmarshall()
110 return value.Unmarshal(object); in GetValue()
/base/inputmethod/imf/common/include/
H A Ditypes_util.h36 static bool Unmarshal(MessageParcel &data);
128 static bool Unmarshal(MessageParcel &parcel, T &first, Types &...others);
188 bool ITypesUtil::Unmarshal(MessageParcel &parcel, T &first, Types &...others) in Unmarshal() function in OHOS::MiscServices::ITypesUtil
193 return Unmarshal(parcel, others...); in Unmarshal()
/base/inputmethod/imf/services/adapter/settings_data_provider/common/include/
H A Dsettings_data_utils.h36 bool Unmarshal(cJSON *node) override

Completed in 13 milliseconds

12