Home
last modified time | relevance | path

Searched refs:Marshal (Results 1 - 16 of 16) sorted by relevance

/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_data_channel_proxy.cpp33 return SendRequest(INSERT_TEXT, [&text](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, text); }); in InsertText()
38 return SendRequest(DELETE_FORWARD, [length](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, length); }); in DeleteForward()
44 [length](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, length); }); in DeleteBackward()
50 GET_TEXT_BEFORE_CURSOR, [number](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, number); },
57 GET_TEXT_AFTER_CURSOR, [number](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, number); },
64 [status](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, static_cast<int32_t>(status)); });
69 SendRequest(NOTIFY_PANEL_STATUS_INFO, [&info](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, info); });
75 [funcKey](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, funcKey); });
80 return SendRequest(MOVE_CURSOR, [keyCode](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, keyCode); });
110 [start, end](MessageParcel &parcel) { return ITypesUtil::Marshal(parce
[all...]
H A Dinput_client_proxy.cpp32 return SendRequest(ON_INPUT_READY, [agent](MessageParcel &data) { return ITypesUtil::Marshal(data, agent); }); in OnInputReady()
38 [isStopInactiveClient](MessageParcel &data) { return ITypesUtil::Marshal(data, isStopInactiveClient); }); in OnInputStop()
44 [&property, &subProperty](MessageParcel &data) { return ITypesUtil::Marshal(data, property, subProperty); }); in OnSwitchInput()
50 return ITypesUtil::Marshal(data, static_cast<uint32_t>(status), info);
H A Dinput_method_system_ability_proxy.cpp38 return ITypesUtil::Marshal(data, inputClientInfo, inputClientInfo.client->AsObject(), in StartInput()
121 [isBrief](MessageParcel &data) { return ITypesUtil::Marshal(data, isBrief); },
144 MessageParcel &data) { return ITypesUtil::Marshal(data, static_cast<int32_t>(type), core->AsObject()); });
183 [&bundleName](MessageParcel &data) { return ITypesUtil::Marshal(data, bundleName); },
192 [status](MessageParcel &data) { return ITypesUtil::Marshal(data, uint32_t(status)); },
211 [&name](MessageParcel &data) { return ITypesUtil::Marshal(data, name); },
225 [&name, &subName, trigger](MessageParcel &data) { return ITypesUtil::Marshal(data, name, subName, trigger); });
232 return ITypesUtil::Marshal(data, static_cast<uint32_t>(status), info);
240 return ITypesUtil::Marshal(data, clientInfo, clientInfo.client->AsObject(), clientInfo.channel, eventFlag);
256 [&pid](MessageParcel &data) { return ITypesUtil::Marshal(dat
[all...]
H A Dsystem_cmd_channel_proxy.cpp34 [&privateCommand](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, privateCommand); }); in SendPrivateCommand()
41 return ITypesUtil::Marshal(parcel, sysPanelStatus); in NotifyPanelStatus()
H A Dinput_data_channel_stub.cpp87 return ITypesUtil::Marshal(reply, GetTextBeforeCursor(length, text), text) ? ErrorCode::NO_ERROR in GetTextBeforeCursorOnRemote()
99 return ITypesUtil::Marshal(reply, GetTextAfterCursor(length, text), text) ? ErrorCode::NO_ERROR in GetTextAfterCursorOnRemote()
106 return ITypesUtil::Marshal(reply, GetTextConfig(config), config) ? ErrorCode::NO_ERROR in GetTextConfigOnRemote()
144 return ITypesUtil::Marshal(reply, GetEnterKeyType(type), type) ? ErrorCode::NO_ERROR in GetEnterKeyTypeOnRemote()
151 return ITypesUtil::Marshal(reply, GetInputPattern(pattern), pattern) ? ErrorCode::NO_ERROR in GetInputPatternOnRemote()
190 return ITypesUtil::Marshal(reply, GetTextIndexAtCursor(index), index) ? ErrorCode::NO_ERROR in GetTextIndexAtCursorOnRemote()
H A Dkeyevent_consumer_proxy.cpp34 KEY_EVENT_RESULT, [isConsumed](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, isConsumed); }, in OnKeyEventResult()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_core_proxy.cpp37 return ITypesUtil::Marshal(data, inputControlChannel->AsObject()); in InitInputControlChannel()
45 return ITypesUtil::Marshal(data, isBindFromClient, clientInfo, clientInfo.channel); in StartInput()
52 [security](MessageParcel &data) { return ITypesUtil::Marshal(data, security); }); in OnSecurityChange()
58 [inputType](MessageParcel &data) { return ITypesUtil::Marshal(data, inputType); },
72 [isTerminateIme](MessageParcel &data) { return ITypesUtil::Marshal(data, isTerminateIme); });
82 return SendRequest(HIDE_KEYBOARD, [isForce](MessageParcel &data) { return ITypesUtil::Marshal(data, isForce); });
87 return SendRequest(SET_SUBTYPE, [&property](MessageParcel &data) { return ITypesUtil::Marshal(data, property); });
92 return SendRequest(STOP_INPUT, [&channel](MessageParcel &data) { return ITypesUtil::Marshal(data, channel); });
106 IS_PANEL_SHOWN, [&panelInfo](MessageParcel &data) { return ITypesUtil::Marshal(data, panelInfo); },
113 ON_CLIENT_INACTIVE, [&channel](MessageParcel &data) { return ITypesUtil::Marshal(dat
[all...]
H A Dinput_method_agent_proxy.cpp46 return ITypesUtil::Marshal(data, positionX, positionY, height); in OnCursorUpdate()
55 return ITypesUtil::Marshal(data, text, oldBegin, oldEnd, newBegin, newEnd); in OnSelectionChange()
63 [windowId](MessageParcel &data) { return ITypesUtil::Marshal(data, windowId); }); in SetCallingWindow()
70 [&attribute](MessageParcel &data) { return ITypesUtil::Marshal(data, attribute); }); in OnAttributeChange()
80 [&privateCommand](MessageParcel &parcel) { return ITypesUtil::Marshal(parcel, privateCommand); }, in SendPrivateCommand()
H A Dinput_method_core_stub.cpp115 return ITypesUtil::Marshal(reply, ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StartInputOnRemote()
126 return ITypesUtil::Marshal(reply, ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in SecurityChangeOnRemote()
181 return ITypesUtil::Marshal(reply, ErrorCode::NO_ERROR) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StopInputOnRemote()
187 return ITypesUtil::Marshal(reply, ErrorCode::NO_ERROR, isEnable) ? ErrorCode::NO_ERROR in IsEnableOnRemote()
194 return ITypesUtil::Marshal(reply, ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in ShowKeyboardOnRemote()
205 return ITypesUtil::Marshal(reply, ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in HideKeyboardOnRemote()
216 return ITypesUtil::Marshal(reply, ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StopInputServiceOnRemote()
228 return ITypesUtil::Marshal(reply, ret, isShown) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in IsPanelShownOnRemote()
241 return ITypesUtil::Marshal(reply, ErrorCode::NO_ERROR) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in OnClientInactiveOnRemote()
/base/inputmethod/imf/common/src/
H A Ditypes_util.cpp23 bool ITypesUtil::Marshal(MessageParcel &data) in Marshal() function in OHOS::MiscServices::ITypesUtil
126 if (!Marshal(data, input.name, input.id, input.label, input.labelId, input.icon, input.iconId)) { in Marshalling()
144 if (!Marshal(data, input.label, input.labelId, input.name, input.id, input.mode, input.locale, input.language, in Marshalling()
164 if (!Marshal(data, input.inputPattern, input.enterKeyType, input.inputOption, input.isTextPreviewSupported)) { in Marshalling()
182 if (!Marshal(data, input.inputAttribute)) { in Marshalling()
186 if (!Marshal(data, input.cursorInfo.left, input.cursorInfo.top, input.cursorInfo.height, input.cursorInfo.width)) { in Marshalling()
190 if (!Marshal(data, input.textSelection.oldBegin, input.textSelection.oldEnd, input.textSelection.newBegin, in Marshalling()
195 if (!Marshal(data, input.windowId)) { in Marshalling()
199 if (!Marshal(data, input.positionY)) { in Marshalling()
203 if (!Marshal(dat in Marshalling()
[all...]
/base/inputmethod/imf/services/src/
H A Dinput_method_system_ability_stub.cpp181 return ITypesUtil::Marshal(reply, ret, *prop) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in GetDefaultInputMethodOnRemote()
186 return ITypesUtil::Marshal(reply, ErrorCode::NO_ERROR, IsDefaultImeSet()) ? ErrorCode::NO_ERROR in IsDefaultImeSetOnRemote()
197 return ITypesUtil::Marshal(reply, ErrorCode::NO_ERROR, EnableIme(bundleName)) ? ErrorCode::NO_ERROR in EnableImeOnRemote()
207 return ITypesUtil::Marshal(reply, ret, inputMethodConfig) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in GetInputMethodConfigOnRemote()
216 return ITypesUtil::Marshal(reply, ret, security) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in GetSecurityModeOnRemote()
227 if (!ITypesUtil::Marshal(reply, ErrorCode::NO_ERROR, *property)) { in GetCurrentInputMethodOnRemote()
242 if (!ITypesUtil::Marshal(reply, ErrorCode::NO_ERROR, *property)) { in GetCurrentInputMethodSubtypeOnRemote()
258 if (!ITypesUtil::Marshal(reply, ret, properties)) { in ListInputMethodOnRemote()
274 if (!ITypesUtil::Marshal(reply, ret, subProps)) { in ListInputMethodSubtypeOnRemote()
285 if (!ITypesUtil::Marshal(repl in ListCurrentInputMethodSubtypeOnRemote()
[all...]
H A Dim_common_event_manager.cpp337 if (!ITypesUtil::Marshal(*parcel, userId, bundleName)) { in HandlePackageEvent()
/base/inputmethod/imf/services/json/include/
H A Dserializable.h34 virtual bool Marshal(cJSON *node) const in Marshal() function
74 auto ret = value.Marshal(item); in SetValue()
/base/inputmethod/imf/services/include/
H A Dime_cfg_manager.h38 bool Marshal(cJSON *node) const override
58 bool Marshal(cJSON *node) const override
/base/inputmethod/imf/common/include/
H A Ditypes_util.h35 static bool Marshal(MessageParcel &data);
126 static bool Marshal(MessageParcel &parcel, const T &first, const Types &...others);
179 bool ITypesUtil::Marshal(MessageParcel &parcel, const T &first, const Types &...others) in Marshal() function in OHOS::MiscServices::ITypesUtil
184 return Marshal(parcel, others...); in Marshal()
/base/inputmethod/imf/services/json/src/
H A Dserializable.cpp38 auto ret = Marshal(root); in Marshall()

Completed in 8 milliseconds