Home
last modified time | relevance | path

Searched refs:InputType (Results 1 - 25 of 34) sorted by relevance

12

/base/inputmethod/imf/services/src/
H A Dinput_type_manager.cpp43 bool InputTypeManager::IsSupported(InputType type) in IsSupported()
63 int32_t InputTypeManager::GetImeByInputType(InputType type, ImeIdentification &ime) in GetImeByInputType()
100 return inputTypes_.find(InputType::SECURITY_INPUT) != inputTypes_.end() && in IsSecurityImeStarted()
101 inputTypes_[InputType::SECURITY_INPUT] == GetCurrentIme(); in IsSecurityImeStarted()
111 return inputTypes_.find(InputType::CAMERA_INPUT) != inputTypes_.end() && in IsCameraImeStarted()
112 inputTypes_[InputType::CAMERA_INPUT] == GetCurrentIme(); in IsCameraImeStarted()
122 return inputTypes_.find(InputType::VOICE_INPUT) != inputTypes_.end() && in IsVoiceImeStarted()
123 inputTypes_[InputType::VOICE_INPUT] == GetCurrentIme(); in IsVoiceImeStarted()
126 InputType InputTypeManager::GetCurrentInputType() in GetCurrentInputType()
129 return InputType in GetCurrentInputType()
[all...]
H A Dinput_method_system_ability.cpp317 return StartInputType(userId, InputType::SECURITY_INPUT); in CheckInputTypeOption()
326 return StartInputType(userId, InputType::SECURITY_INPUT); in CheckInputTypeOption()
556 bool InputMethodSystemAbility::IsInputTypeSupported(InputType type) in IsInputTypeSupported()
561 int32_t InputMethodSystemAbility::StartInputType(InputType type) in StartInputType()
580 return StartInputType(userId, InputType::SECURITY_INPUT); in ExitCurrentInputType()
1515 ret = StartInputType(userId, InputType::SECURITY_INPUT);
1796 int32_t InputMethodSystemAbility::StartInputType(int32_t userId, InputType type)
1808 if (type == InputType::SECURITY_INPUT) {
1816 return type == InputType::SECURITY_INPUT ? OnStartInputType(userId, switchInfo, false)
1823 InputTypeManager::GetInstance().GetImeByInputType(InputType
[all...]
/base/inputmethod/imf/services/include/
H A Dinput_type_manager.h47 bool IsSupported(InputType type);
53 InputType GetCurrentInputType();
56 int32_t GetImeByInputType(InputType type, ImeIdentification &ime);
65 std::map<InputType, ImeIdentification> inputTypes_;
H A Dsys_cfg_parser.h51 InputType type{ InputType::NONE };
58 if (typeTemp <= static_cast<int32_t>(InputType::NONE) || typeTemp >= static_cast<int32_t>(InputType::END)) {
61 type = static_cast<InputType>(typeTemp);
H A Di_input_method_system_ability.h70 virtual bool IsInputTypeSupported(InputType type) = 0;
72 virtual int32_t StartInputType(InputType type) = 0;
H A Dinput_method_system_ability.h78 bool IsInputTypeSupported(InputType type) override;
80 int32_t StartInputType(InputType type) override;
168 int32_t StartInputType(int32_t userId, InputType type);
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dsys_panel_status.h27 InputType inputType = InputType::NONE;
H A Dinput_method_system_ability_proxy.h71 bool IsInputTypeSupported(InputType type) override;
73 int32_t StartInputType(InputType type) override;
/base/inputmethod/imf/test/fuzztest/inputmethodcontroller_fuzzer/
H A Dinputmethodcontroller_fuzzer.cpp171 void InputType(sptr<InputMethodController> imc) in InputType() function
173 imc->IsInputTypeSupported(InputType::CAMERA_INPUT); in InputType()
174 imc->IsInputTypeSupported(InputType::SECURITY_INPUT); in InputType()
175 imc->StartInputType(InputType::CAMERA_INPUT); in InputType()
176 imc->StartInputType(InputType::SECURITY_INPUT); in InputType()
219 OHOS::InputType(imc); in LLVMFuzzerTestOneInput()
/base/inputmethod/imf/test/fuzztest/imesystemchannel_fuzzer/
H A Dimesystemchannel_fuzzer.cpp86 InputType fuzzedBool = static_cast<InputType>(data[0] % 2); in FuzzNotifyPanelStatus()
/base/inputmethod/imf/test/fuzztest/systemcmdchannelstub_fuzzer/
H A Dsystemcmdchannelstub_fuzzer.cpp40 InputType fuzzedBool = static_cast<InputType>(rawData[0] % 2); in FuzzSystemCmdChannelStub()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/
H A Di_input_method_core.h68 virtual int32_t OnSetInputType(InputType inputType) = 0;
H A Dinput_method_core_proxy.h48 int32_t OnSetInputType(InputType inputType) override;
H A Dinput_method_ability.h95 void OnSetInputType(InputType inputType);
184 InputType inputType_ = InputType::NONE;
H A Dinput_method_core_stub.h49 int32_t OnSetInputType(InputType inputType) override;
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Ditypes_util_test.cpp257 InputType input{ InputType::NONE }; in HWTEST_F()
H A Dvirtual_listener_test.cpp267 VirtualListenerTest::systemCmdListener_->NotifyPanelStatus({ InputType::NONE, 0, 0, 0 }); in HWTEST_F()
272 listener->NotifyPanelStatus({ InputType::NONE, 0, 0, 0 }); in HWTEST_F()
H A Dime_system_channel_test.cpp136 ret = imeSystemChannel_->NotifyPanelStatus({ InputType::NONE, 0, 0, 0 }); in HWTEST_F()
H A Dinput_method_private_member_test.cpp938 ret = service_->StartInputType(InputType::NONE); in HWTEST_F()
954 auto ret = InputTypeManager::GetInstance().IsSupported(InputType::NONE); in HWTEST_F()
967 auto ret = InputTypeManager::GetInstance().GetImeByInputType(InputType::NONE, ime); in HWTEST_F()
1001 InputType type = InputType::SECURITY_INPUT; in HWTEST_F()
1015 InputType type = InputType::NONE; in HWTEST_F()
/base/inputmethod/imf/common/src/
H A Ditypes_util.cpp330 output.inputType = static_cast<InputType>(inputType); in Unmarshalling()
355 bool ITypesUtil::Marshalling(InputType input, MessageParcel &data) in Marshalling()
360 bool ITypesUtil::Unmarshalling(InputType &output, MessageParcel &data) in Unmarshalling()
366 output = static_cast<InputType>(ret); in Unmarshalling()
/base/inputmethod/imf/common/include/
H A Ditypes_util.h89 static bool Marshalling(InputType input, MessageParcel &data);
90 static bool Unmarshalling(InputType &output, MessageParcel &data);
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_core_stub.cpp162 InputType inputType; in OnSetInputTypeOnRemote()
261 int32_t InputMethodCoreStub::OnSetInputType(InputType inputType) in OnSetInputType()
H A Dinput_method_core_proxy.cpp55 int32_t InputMethodCoreProxy::OnSetInputType(InputType inputType)
/base/inputmethod/imf/frameworks/js/napi/keyboardpanelmanager/
H A Djs_keyboard_panel_manager.h100 sysPanelStatus({ InputType::NONE, 0, 0, 0 }), in UvEntry()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_method_system_ability_proxy.cpp261 bool InputMethodSystemAbilityProxy::IsInputTypeSupported(InputType type)
271 int32_t InputMethodSystemAbilityProxy::StartInputType(InputType type)

Completed in 13 milliseconds

12