Home
last modified time | relevance | path

Searched refs:RequestType (Results 1 - 10 of 10) sorted by relevance

/base/inputmethod/imf/services/src/
H A Dfreeze_manager.cpp30 bool FreezeManager::IsIpcNeeded(RequestType type) in IsIpcNeeded()
34 return !(type == RequestType::REQUEST_HIDE && !isImeInUse_); in IsIpcNeeded()
37 void FreezeManager::BeforeIpc(RequestType type) in BeforeIpc()
41 if (type == RequestType::START_INPUT || type == RequestType::REQUEST_SHOW) { in BeforeIpc()
53 void FreezeManager::AfterIpc(RequestType type, bool isSuccess) in AfterIpc()
58 if (type == RequestType::START_INPUT || type == RequestType::REQUEST_SHOW) { in AfterIpc()
61 if (type == RequestType::REQUEST_HIDE && isImeInUse_) { in AfterIpc()
64 if (type == RequestType in AfterIpc()
[all...]
H A Dperuser_session.cpp195 auto ret = RequestIme(data, RequestType::NORMAL, [&data] { return data->core->HideKeyboard(false); }); in HideKeyboard()
219 auto ret = RequestIme(data, RequestType::REQUEST_SHOW, [&data] { return data->core->ShowKeyboard(); }); in ShowKeyboard()
387 auto ret = RequestIme(data, RequestType::REQUEST_SHOW, [&data] { return data->core->ShowKeyboard(); }); in OnRequestShowInput()
412 if (!data->freezeMgr->IsIpcNeeded(RequestType::REQUEST_HIDE)) { in OnRequestHideInput()
416 auto ret = RequestIme(data, RequestType::REQUEST_HIDE, in OnRequestHideInput()
530 RequestIme(data, RequestType::NORMAL, [&data, &clientInfo] { in DeactivateClient()
592 auto ret = RequestIme(data, RequestType::START_INPUT, in BindClientWithIme()
643 auto ret = RequestIme(data, RequestType::STOP_INPUT, in StopImeInput()
664 RequestIme(data, RequestType::NORMAL, [&data, security] { return data->core->OnSecurityChange(security); }); in OnSecurityChange()
752 return RequestIme(data, RequestType in InitInputControlChannel()
[all...]
/base/inputmethod/imf/services/include/
H A Dfreeze_manager.h25 enum class RequestType : int32_t { NORMAL = 0, START_INPUT, STOP_INPUT, REQUEST_SHOW, REQUEST_HIDE }; class
32 bool IsIpcNeeded(RequestType type);
33 void BeforeIpc(RequestType type);
34 void AfterIpc(RequestType type, bool isSuccess);
H A Dperuser_session.h227 int32_t RequestIme(const std::shared_ptr<ImeData> &data, RequestType type, const IpcExec &exec);
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dime_freeze_manager_test.cpp60 freezeManager_->BeforeIpc(RequestType::START_INPUT); in TestAttach()
66 freezeManager_->AfterIpc(RequestType::START_INPUT, isSuccess); in TestAttach()
75 freezeManager_->BeforeIpc(RequestType::STOP_INPUT); in TestDetach()
81 freezeManager_->AfterIpc(RequestType::STOP_INPUT, true); in TestDetach()
90 bool ret = freezeManager_->IsIpcNeeded(RequestType::REQUEST_SHOW); in TestRequestShowInput()
94 freezeManager_->BeforeIpc(RequestType::REQUEST_SHOW); in TestRequestShowInput()
100 freezeManager_->AfterIpc(RequestType::REQUEST_SHOW, isSuccess); in TestRequestShowInput()
111 bool ret = freezeManager_->IsIpcNeeded(RequestType::REQUEST_HIDE); in TestRequestHideInput()
115 freezeManager_->BeforeIpc(RequestType::REQUEST_HIDE); in TestRequestHideInput()
121 freezeManager_->AfterIpc(RequestType in TestRequestHideInput()
[all...]
/base/security/access_token/services/el5filekeymanager/include/
H A Del5_filekey_manager_stub.h48 using RequestType = void (El5FilekeyManagerStub::*)(MessageParcel &data, MessageParcel &reply);
49 std::map<uint32_t, RequestType> requestMap_;
/base/security/access_token/services/privacymanager/include/service/
H A Dprivacy_manager_stub.h65 using RequestType = void (PrivacyManagerStub::*)(MessageParcel &data, MessageParcel &reply);
66 std::map<uint32_t, RequestType> requestMap_;
/base/update/updateservice/services/firmware/check/include/
H A Dfirmware_icheck.h64 explicit FirmwareICheck(const RequestType requestType) in FirmwareICheck()
174 RequestType requestType_ = RequestType::CHECK;
/base/update/updateservice/services/firmware/upgrade/executor/src/
H A Dfirmware_check_executor.cpp70 check = std::make_shared<FirmwareICheck>(RequestType::CHECK); in DoCheck()
/base/update/updateservice/services/firmware/common/include/
H A Dfirmware_common.h163 enum class RequestType { class in OHOS::UpdateEngine::FirmwareStep::BlType::CheckResultStatus::CombinationType

Completed in 6 milliseconds