Home
last modified time | relevance | path

Searched refs:keyOptions (Results 1 - 19 of 19) sorted by relevance

/foundation/multimodalinput/input/test/fuzztest/getallsystemhotkeys_fuzzer/
H A Dgetallsystemhotkeys_fuzzer.cpp28 std::vector<std::unique_ptr<KeyOption>> keyOptions; in GetAllSystemHotkeysFuzzTest() local
30 OHOS::MMI::InputManager::GetInstance()->GetAllSystemHotkeys(keyOptions, count); in GetAllSystemHotkeysFuzzTest()
31 if (!keyOptions.empty()) { in GetAllSystemHotkeysFuzzTest()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dinput_manager.cpp69 std::vector<std::unique_ptr<OHOS::MMI::KeyOption>> keyOptions; in GetSystemHotkeys() local
71 inputManager->GetAllSystemHotkeys(keyOptions, count); in GetSystemHotkeys()
73 if (keyOptions.empty()) { in GetSystemHotkeys()
76 for (const auto& key : keyOptions) { in GetSystemHotkeys()
/foundation/multimodalinput/input/frameworks/napi/input_consumer/src/
H A Djs_register_util.cpp374 for (size_t i = 0; i < cb->keyOptions.size(); ++i) { in ConvertHotkeysToNapiArray()
375 napi_value obj = ConvertHotkeyToNapiValue(cb->env, cb->keyOptions[i]); in ConvertHotkeysToNapiArray()
456 std::vector<std::unique_ptr<KeyOption>> keyOptions; in GetSystemHotkey() local
458 cb->errCode = InputManager::GetInstance()->GetAllSystemHotkeys(keyOptions, count); in GetSystemHotkey()
459 cb->keyOptions = std::move(keyOptions); in GetSystemHotkey()
/foundation/multimodalinput/input/frameworks/napi/input_consumer/include/
H A Djs_register_util.h34 std::vector<std::unique_ptr<KeyOption>> keyOptions; member
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_manager.cpp679 int32_t InputManager::GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions, int32_t &count) in GetAllSystemHotkeys() argument
681 return InputMgrImpl.GetAllSystemHotkeys(keyOptions, count); in GetAllSystemHotkeys()
/foundation/multimodalinput/input/service/module_loader/include/
H A Dmmi_service.h188 int32_t OnGetAllSystemHotkey(std::vector<std::unique_ptr<KeyOption>> &keyOptions);
189 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) override;
/foundation/multimodalinput/input/service/connect_manager/include/
H A Dmultimodal_input_connect_manager.h163 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions);
H A Di_multimodal_input_connect.h171 virtual int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) = 0;
H A Dmultimodal_input_connect_proxy.h157 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) override;
/foundation/multimodalinput/input/frameworks/native/input/
H A Doh_input_manager.cpp1686 std::vector<std::unique_ptr<OHOS::MMI::KeyOption>> keyOptions; in OH_Input_CreateAllSystemHotkeys() local
1688 int32_t ret = OHOS::MMI::InputManager::GetInstance()->GetAllSystemHotkeys(keyOptions, hotkeyCount); in OH_Input_CreateAllSystemHotkeys()
1734 std::vector<std::unique_ptr<OHOS::MMI::KeyOption>> keyOptions; in OH_Input_GetAllSystemHotkeys() local
1736 int32_t ret = OHOS::MMI::InputManager::GetInstance()->GetAllSystemHotkeys(keyOptions, hotkeyCount); in OH_Input_GetAllSystemHotkeys()
1755 hotkey[i]->preKeys = keyOptions[i]->GetPreKeys(); in OH_Input_GetAllSystemHotkeys()
1756 hotkey[i]->finalKey = keyOptions[i]->GetFinalKey(); in OH_Input_GetAllSystemHotkeys()
/foundation/multimodalinput/input/service/connect_manager/src/
H A Dmultimodal_input_connect_stub.cpp2881 std::vector<std::unique_ptr<KeyOption>> keyOptions; in StubGetAllSystemHotkeys() local
2882 int32_t ret = GetAllSystemHotkeys(keyOptions); in StubGetAllSystemHotkeys()
2887 WRITEINT32(reply, static_cast<int32_t>(keyOptions.size()), IPC_STUB_WRITE_PARCEL_ERR); in StubGetAllSystemHotkeys()
2888 MMI_HILOGD("keyOptionsCount size:%{public}d", static_cast<int32_t>(keyOptions.size())); in StubGetAllSystemHotkeys()
2889 for (const auto &item : keyOptions) { in StubGetAllSystemHotkeys()
H A Dmultimodal_input_connect_manager.cpp929 int32_t MultimodalInputConnectManager::GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) in GetAllSystemHotkeys() argument
934 return multimodalInputConnectService_->GetAllSystemHotkeys(keyOptions); in GetAllSystemHotkeys()
H A Dmultimodal_input_connect_proxy.cpp2565 int32_t MultimodalInputConnectProxy::GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) in GetAllSystemHotkeys() argument
2595 keyOptions.push_back(std::move(keyOption)); in GetAllSystemHotkeys()
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
H A Dinput_manager_impl.h230 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions, int32_t &count);
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
H A Dinput_manager.h987 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions, int32_t &count);
/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp3748 int32_t MMIService::GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) in GetAllSystemHotkeys() argument
3752 [this, &keyOptions] { in GetAllSystemHotkeys()
3753 return this->OnGetAllSystemHotkey(keyOptions); in GetAllSystemHotkeys()
3763 int32_t MMIService::OnGetAllSystemHotkey(std::vector<std::unique_ptr<KeyOption>> &keyOptions) in OnGetAllSystemHotkey() argument
3767 return KEY_SHORTCUT_MGR->GetAllSystemHotkeys(keyOptions); in OnGetAllSystemHotkey()
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_manager_impl.cpp2529 int32_t InputManagerImpl::GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions, int32_t &count) in GetAllSystemHotkeys() argument
2532 if (MULTIMODAL_INPUT_CONNECT_MGR->GetAllSystemHotkeys(keyOptions) != RET_OK) { in GetAllSystemHotkeys()
2536 count = static_cast<int32_t>(keyOptions.size()); in GetAllSystemHotkeys()
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dinput_manager_test.cpp3301 std::vector<std::unique_ptr<KeyOption>> keyOptions; in HWTEST_F() local
3302 int32_t ret = InputManager::GetInstance()->GetAllSystemHotkeys(keyOptions, count); in HWTEST_F()
/foundation/multimodalinput/input/service/connect_manager/test/
H A Dmultimodal_input_connect_stub_ex_test.cpp307 int32_t GetAllSystemHotkeys(std::vector<std::unique_ptr<KeyOption>> &keyOptions) override

Completed in 44 milliseconds