Home
last modified time | relevance | path

Searched refs:NO_ERROR (Results 1 – 25 of 126) sorted by relevance

123456

/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_attach_test.cpp86 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
90 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
94 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
109 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
113 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
117 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
135 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
139 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
143 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
162 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
[all …]
Dinput_method_panel_test.cpp125 if (ret != ErrorCode::NO_ERROR) { in SetUpTestCase()
155 EXPECT_EQ(ret, ErrorCode::NO_ERROR); in CreatePanel()
209 EXPECT_EQ(ret, ErrorCode::NO_ERROR); in ImcPanelListeningTestPrepare()
215 EXPECT_EQ(ret, ErrorCode::NO_ERROR); in ImcPanelListeningTestPrepare()
257 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
259 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
291 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
298 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
301 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
309 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
[all …]
Dinput_method_ability_test.cpp219 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
235 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
237 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
263 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
282 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
302 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
321 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
340 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
359 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
366 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
[all …]
Dinput_method_switch_test.cpp130 EXPECT_EQ(ret, ErrorCode::NO_ERROR); in CheckCurrentSubProps()
154 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
176 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
198 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
239 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
296 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
323 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
347 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
366 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
387 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
[all …]
Dinput_method_controller_test.cpp429 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
432 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
494 EXPECT_EQ(res, ErrorCode::NO_ERROR);
558 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
580 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
587 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
589 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
606 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
630 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
670 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
[all …]
DnewIme_switch_test.cpp126 EXPECT_EQ(ret, ErrorCode::NO_ERROR); in CheckCurrentSubProps()
150 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
172 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
194 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
216 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
239 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
278 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
Dinput_method_editor_test.cpp213 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
220 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
227 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
249 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
252 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
272 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
307 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
311 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
334 EXPECT_EQ(ret, ErrorCode::NO_ERROR);
/base/inputmethod/imf/services/src/
Dinput_method_system_ability_stub.cpp55 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in PrepareInputOnRemote()
68 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StartInputOnRemote()
74 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in ShowCurrentInputOnRemote()
80 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in HideCurrentInputOnRemote()
86 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StopInputSessionOnRemote()
97 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StopInputOnRemote()
108 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in ReleaseInputOnRemote()
114 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in DisplayOptionalInputMethodOnRemote()
130 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in SetCoreAndAgentOnRemote()
138 return reply.WriteInt32(ErrorCode::ERROR_EX_NULL_POINTER) ? ErrorCode::NO_ERROR in GetCurrentInputMethodOnRemote()
[all …]
Dinput_method_system_ability.cpp84 if (ret != ErrorCode::NO_ERROR) { in OnStart()
149 …IMSA_HILOGI("init KeyEvent monitor %{public}s", ret == ErrorCode::NO_ERROR ? "success" : "failed"); in Init()
152 return ErrorCode::NO_ERROR; in Init()
222 if (ret != ErrorCode::NO_ERROR) { in PrepareInput()
242 return ErrorCode::NO_ERROR; in GenerateClientInfo()
369 if (ret != ErrorCode::NO_ERROR) { in UpdateListenEventFlag()
414 return ErrorCode::NO_ERROR; in OnSwitchInputMethod()
418 if (ret != ErrorCode::NO_ERROR) { in OnSwitchInputMethod()
424 if (ret != ErrorCode::NO_ERROR) { in OnSwitchInputMethod()
463 return ErrorCode::NO_ERROR; in SwitchExtension()
[all …]
Dperuser_session.cpp65 return ErrorCode::NO_ERROR; in AddClient()
84 return ErrorCode::NO_ERROR; in AddClient()
104 return ErrorCode::NO_ERROR; in RemoveClient()
121 return ErrorCode::NO_ERROR; in RemoveClient()
131 return ErrorCode::NO_ERROR; in RemoveClient()
157 if (ret != ErrorCode::NO_ERROR) { in ShowKeyboard()
163 return ErrorCode::NO_ERROR; in ShowKeyboard()
328 return ErrorCode::NO_ERROR; in OnReleaseInput()
357 if (ret != ErrorCode::NO_ERROR) { in OnStartInput()
395 return ErrorCode::NO_ERROR; in OnSetCoreAndAgent()
[all …]
Dinput_control_channel_stub.cpp54 return NO_ERROR; in OnRemoteRequest()
65 return ErrorCode::NO_ERROR; in HideKeyboardSelf()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
Dinput_data_channel_stub.cpp115 return NO_ERROR; in OnRemoteRequest()
131 return ErrorCode::NO_ERROR; in SelectByRangeOnRemote()
149 return ErrorCode::NO_ERROR; in SelectByMovementOnRemote()
164 return ErrorCode::NO_ERROR; in HandleExtendActionOnRemote()
178 return ErrorCode::NO_ERROR; in InsertText()
192 return ErrorCode::NO_ERROR; in DeleteForward()
205 return ErrorCode::NO_ERROR; in DeleteBackward()
217 if (ret != ErrorCode::NO_ERROR) { in GetText()
218 … return ITypesUtil::Marshal(reply, ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in GetText()
221 …t = resultHandler->IsTimeOut() ? ErrorCode::ERROR_CONTROLLER_INVOKING_FAILED : ErrorCode::NO_ERROR; in GetText()
[all …]
Dinput_client_stub.cpp65 return NO_ERROR; in OnRemoteRequest()
117 reply.WriteInt32(ErrorCode::NO_ERROR); in OnSwitchInputOnRemote()
155 reply.WriteInt32(ErrorCode::NO_ERROR); in OnPanelStatusChangeOnRemote()
160 return ErrorCode::NO_ERROR; in OnInputReady()
165 return ErrorCode::NO_ERROR; in OnInputStop()
175 return ErrorCode::NO_ERROR; in OnSwitchInput()
181 return ErrorCode::NO_ERROR; in OnPanelStatusChange()
208 return ErrorCode::NO_ERROR; in SendMessage()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_panel.cpp58 if (SetPanelProperties() != ErrorCode::NO_ERROR) { in CreatePanel()
63 return ErrorCode::NO_ERROR; in CreatePanel()
90 return ErrorCode::NO_ERROR; in SetPanelProperties()
97 return ErrorCode::NO_ERROR; in SetPanelProperties()
103 if (ret != ErrorCode::NO_ERROR) { in DestroyPanel()
109 return result == WMError::WM_OK ? ErrorCode::NO_ERROR : ErrorCode::ERROR_OPERATE_PANEL; in DestroyPanel()
135 return ret == WMError::WM_OK ? ErrorCode::NO_ERROR : ErrorCode::ERROR_OPERATE_PANEL; in Resize()
146 return ErrorCode::NO_ERROR; in MoveTo()
150 return ret == WMError::WM_OK ? ErrorCode::NO_ERROR : ErrorCode::ERROR_OPERATE_PANEL; in MoveTo()
160 return ErrorCode::NO_ERROR; in ChangePanelFlag()
[all …]
Dinput_method_core_stub.cpp66 reply.WriteInt32(ErrorCode::NO_ERROR); in OnRemoteRequest()
81 return NO_ERROR; in OnRemoteRequest()
100 return ErrorCode::NO_ERROR; in InitInputControlChannel()
177 return ErrorCode::NO_ERROR; in ClearDataChannelOnRemote()
183 return ErrorCode::NO_ERROR; in ShowKeyboard()
188 return ErrorCode::NO_ERROR; in SetSubtype()
193 return ErrorCode::NO_ERROR; in ClearDataChannel()
220 return ErrorCode::NO_ERROR; in SendMessage()
Dinput_method_agent_stub.cpp61 return ErrorCode::NO_ERROR; in OnRemoteRequest()
71 return ErrorCode::NO_ERROR; in OnRemoteRequest()
79 return ErrorCode::NO_ERROR; in OnRemoteRequest()
85 return ErrorCode::NO_ERROR; in OnRemoteRequest()
97 return reply.WriteBool(isConsumed) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in DispatchKeyEventOnRemote()
Dinput_method_ability.cpp106 return ErrorCode::NO_ERROR; in SetCoreAndAgent()
120 if (ret != ErrorCode::NO_ERROR) { in SetCoreAndAgent()
126 return ErrorCode::NO_ERROR; in SetCoreAndAgent()
241 if (ret != ErrorCode::NO_ERROR) { in ShowKeyboard()
374 return ErrorCode::NO_ERROR; in ShowInputWindow()
389 return ErrorCode::NO_ERROR; in ShowInputWindow()
392 if (ret != ErrorCode::NO_ERROR) { in ShowInputWindow()
397 return ErrorCode::NO_ERROR; in ShowInputWindow()
451 return ErrorCode::NO_ERROR; in HideKeyboard()
456 return ErrorCode::NO_ERROR; in HideKeyboard()
[all …]
/base/security/access_token/services/privacymanager/src/sensitive/app_manager/
Dapp_status_change_callback.cpp49 return NO_ERROR; in OnRemoteRequest()
53 return NO_ERROR; in OnRemoteRequest()
60 return NO_ERROR; in OnRemoteRequest()
72 return NO_ERROR; in HandleOnForegroundApplicationChanged()
84 return NO_ERROR; in HandleOnProcessDied()
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_service_proxy.cpp53 if (ret != NO_ERROR) { in EnableSensor()
75 if (ret != NO_ERROR) { in DisableSensor()
100 if (ret != NO_ERROR) { in GetSensorList()
142 if (ret != NO_ERROR) { in TransferDataChannel()
166 if (ret != NO_ERROR) { in DestroySensorChannel()
188 if (ret != NO_ERROR) { in SuspendSensors()
210 if (ret != NO_ERROR) { in ResumeSensors()
232 if (ret != NO_ERROR) { in GetActiveInfoList()
268 if (ret != NO_ERROR) { in CreateSocketChannel()
297 if (ret != NO_ERROR) { in DestroySocketChannel()
[all …]
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Duser_auth_callback_proxy_test.cpp53 return OHOS::NO_ERROR; in __anonf264d0890102()
73 return OHOS::NO_ERROR; in __anonf264d0890202()
94 return OHOS::NO_ERROR; in __anonf264d0890302()
114 return OHOS::NO_ERROR; in __anonf264d0890402()
Dexecutor_callback_proxy_test.cpp67 return OHOS::NO_ERROR; in __anon8b9b6f280102()
90 return OHOS::NO_ERROR; in __anon8b9b6f280202()
113 return OHOS::NO_ERROR; in __anon8b9b6f280302()
134 return OHOS::NO_ERROR; in __anon8b9b6f280402()
155 return OHOS::NO_ERROR; in __anon8b9b6f280502()
/base/sensors/miscdevice/frameworks/native/miscdevice/src/
Dmiscdevice_service_proxy.cpp60 if (ret != NO_ERROR) { in Vibrate()
85 if (ret != NO_ERROR) { in StopVibrator()
123 if (ret != NO_ERROR) { in PlayVibratorEffect()
152 if (ret != NO_ERROR) { in StopVibrator()
177 if (ret != NO_ERROR) { in IsSupportEffect()
224 if (ret != NO_ERROR) { in PlayVibratorCustom()
250 if (ret != NO_ERROR) { in GetLightList()
303 if (ret != NO_ERROR) { in TurnOn()
328 if (ret != NO_ERROR) { in TurnOff()
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/
Dmedical_service_proxy.cpp68 if (ret != NO_ERROR) { in EnableSensor()
89 if (ret != NO_ERROR) { in DisableSensor()
115 if (ret != NO_ERROR) { in SetOption()
136 if (ret != NO_ERROR) { in GetSensorState()
169 if (ret != NO_ERROR) { in RunCommand()
187 if (ret != NO_ERROR) { in GetSensorList()
231 if (ret != NO_ERROR) { in TransferDataChannel()
257 if (ret != NO_ERROR) { in DestroySensorChannel()
/base/security/access_token/services/privacymanager/src/sensitive/audio_manager/
Daudio_global_switch_change_stub.cpp51 return NO_ERROR; in OnRemoteRequest()
58 return NO_ERROR; in OnRemoteRequest()
/base/security/access_token/interfaces/innerkits/privacy/src/
Don_permission_used_record_callback_stub.cpp46 if (errCode != NO_ERROR) { in OnRemoteRequest()
60 return NO_ERROR; in OnRemoteRequest()

123456