Home
last modified time | relevance | path

Searched refs:isShield (Results 1 - 21 of 21) sorted by relevance

/foundation/multimodalinput/input/service/key_event_normalize/test/
H A Dkey_event_normalize_test.cpp318 bool isShield = true; in HWTEST_F() local
319 int32_t ret = KeyEventHdr->SetShieldStatus(shieldMode, isShield); in HWTEST_F()
322 isShield = true; in HWTEST_F()
323 ret = KeyEventHdr->SetShieldStatus(shieldMode, isShield); in HWTEST_F()
337 bool isShield = false; in HWTEST_F() local
338 int32_t ret = KeyEventHdr->SetShieldStatus(shieldMode, isShield); in HWTEST_F()
341 isShield = false; in HWTEST_F()
342 ret = KeyEventHdr->SetShieldStatus(shieldMode, isShield); in HWTEST_F()
355 bool isShield = true; in HWTEST_F() local
357 int32_t result = KeyEventHdr->SetShieldStatus(shieldMode, isShield); in HWTEST_F()
370 bool isShield = false; HWTEST_F() local
385 bool isShield = false; HWTEST_F() local
400 bool isShield = false; HWTEST_F() local
415 bool isShield = false; HWTEST_F() local
430 bool isShield = false; HWTEST_F() local
445 bool isShield = false; HWTEST_F() local
460 bool isShield = false; HWTEST_F() local
[all...]
/foundation/multimodalinput/input/service/key_event_normalize/src/
H A Dkey_event_normalize.cpp148 int32_t KeyEventNormalize::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
151 lastShieldMode_, shieldMode, isShield); in SetShieldStatus()
153 if (isShield) { in SetShieldStatus()
175 iter->second = isShield; in SetShieldStatus()
177 lastShieldMode_, shieldMode, isShield); in SetShieldStatus()
181 int32_t KeyEventNormalize::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
189 isShield = iter->second; in GetShieldStatus()
191 lastShieldMode_, shieldMode, isShield); in GetShieldStatus()
/foundation/multimodalinput/input/service/key_event_normalize/include/
H A Dkey_event_normalize.h34 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
35 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
/foundation/multimodalinput/input/service/message_handle/include/
H A Dserver_msg_handler.h107 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
108 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_module.cpp590 MMI_HILOGE("isShield parameter type is invalid"); in SetShieldStatus()
591 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "isShield", "boolean"); in SetShieldStatus()
594 bool isShield = true; in SetShieldStatus() local
595 CHKRP(napi_get_value_bool(env, argv[1], &isShield), GET_VALUE_BOOL); in SetShieldStatus()
597 int32_t errCode = InputManager::GetInstance()->SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
630 bool isShield { false }; in GetShieldStatus()
631 auto errCode = InputManager::GetInstance()->GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
634 NAPI_CALL(env, napi_get_boolean(env, isShield, &result)); in GetShieldStatus()
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_manager.cpp562 int32_t InputManager::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
564 return InputMgrImpl.SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
567 int32_t InputManager::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
569 return InputMgrImpl.GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
/foundation/multimodalinput/input/service/connect_manager/include/
H A Dmultimodal_input_connect_manager.h126 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
127 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
H A Di_multimodal_input_connect.h137 virtual int32_t SetShieldStatus(int32_t shieldMode, bool isShield) = 0;
138 virtual int32_t GetShieldStatus(int32_t shieldMode, bool &isShield) = 0;
H A Dmultimodal_input_connect_proxy.h122 int32_t SetShieldStatus(int32_t shieldMode, bool isShield) override;
123 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield) override;
/foundation/multimodalinput/input/service/message_handle/test/
H A Dserver_msg_handler_test.cpp157 bool isShield = false; in HWTEST_F() local
158 int32_t result = servermsghandler.SetShieldStatus(shieldMode, isShield); in HWTEST_F()
173 bool isShield = true; in HWTEST_F() local
174 int32_t result = servermsghandler.SetShieldStatus(shieldMode, isShield); in HWTEST_F()
189 bool isShield = false; in HWTEST_F() local
190 int32_t result = servermsghandler.GetShieldStatus(shieldMode, isShield); in HWTEST_F()
205 bool isShield = true; in HWTEST_F() local
206 int32_t result = servermsghandler.GetShieldStatus(shieldMode, isShield); in HWTEST_F()
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
H A Dinput_manager_impl.h200 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
201 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
H A Dinput_manager.h828 * @param isShield Indicates whether key event handler chain is shield. The value <b>true</b> indicates that
834 int32_t SetShieldStatus(int32_t shieldMode, bool isShield);
840 * @param isShield - shield status of shield mode param.
844 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield);
/foundation/multimodalinput/input/service/module_loader/test/
H A Dmmi_service_test.cpp1051 bool isShield = 0; in HWTEST_F() local
1052 int32_t ret = mmiService.SetShieldStatus(shieldMode, isShield); in HWTEST_F()
1054 ret = mmiService.GetShieldStatus(shieldMode, isShield); in HWTEST_F()
/foundation/multimodalinput/input/service/message_handle/src/
H A Dserver_msg_handler.cpp868 int32_t ServerMsgHandler::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
870 return KeyEventHdr->SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
873 int32_t ServerMsgHandler::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
875 return KeyEventHdr->GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
/foundation/multimodalinput/input/service/connect_manager/src/
H A Dmultimodal_input_connect_manager.cpp724 int32_t MultimodalInputConnectManager::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
728 return multimodalInputConnectService_->SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
731 int32_t MultimodalInputConnectManager::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
735 return multimodalInputConnectService_->GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
H A Dmultimodal_input_connect_stub.cpp2297 bool isShield { false }; in StubSetShieldStatus()
2299 READBOOL(data, isShield, IPC_PROXY_DEAD_OBJECT_ERR); in StubSetShieldStatus()
2300 int32_t ret = SetShieldStatus(shieldMode, isShield); in StubSetShieldStatus()
2305 MMI_HILOGD("Success shieldMode:%{public}d, isShield:%{public}d", shieldMode, isShield); in StubSetShieldStatus()
H A Dmultimodal_input_connect_proxy.cpp1845 int32_t MultimodalInputConnectProxy::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
1855 WRITEBOOL(data, isShield, ERR_INVALID_VALUE); in SetShieldStatus()
1869 int32_t MultimodalInputConnectProxy::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
1888 READBOOL(reply, isShield, ERR_INVALID_VALUE); in GetShieldStatus()
/foundation/multimodalinput/input/service/module_loader/include/
H A Dmmi_service.h136 int32_t SetShieldStatus(int32_t shieldMode, bool isShield) override;
137 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield) override;
/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp3157 int32_t MMIService::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
3162 [this, shieldMode, isShield] { in SetShieldStatus()
3163 return sMsgHandler_.SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
3174 int32_t MMIService::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
3179 [this, shieldMode, &isShield] { in GetShieldStatus()
3180 return sMsgHandler_.GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_manager_impl.cpp2271 int32_t InputManagerImpl::SetShieldStatus(int32_t shieldMode, bool isShield) in SetShieldStatus() argument
2276 int32_t ret = MULTIMODAL_INPUT_CONNECT_MGR->SetShieldStatus(shieldMode, isShield); in SetShieldStatus()
2287 int32_t InputManagerImpl::GetShieldStatus(int32_t shieldMode, bool &isShield) in GetShieldStatus() argument
2292 int32_t ret = MULTIMODAL_INPUT_CONNECT_MGR->GetShieldStatus(shieldMode, isShield); in GetShieldStatus()
/foundation/multimodalinput/input/service/connect_manager/test/
H A Dmultimodal_input_connect_stub_ex_test.cpp250 int32_t SetShieldStatus(int32_t shieldMode, bool isShield) override { return shieldMode; }
251 int32_t GetShieldStatus(int32_t shieldMode, bool &isShield) override { return shieldMode; }

Completed in 48 milliseconds