Searched refs:keyAction (Results 1 - 8 of 8) sorted by relevance
| /ide/tools/previewer/test/unittest/mock/ |
| H A D | KeyInputImplTest.cpp | 37 int32_t keyAction = 1; in TEST() local 43 KeyInputImpl::GetInstance().SetKeyEvent(keyCode, keyAction, pressedCodesVec, keyString); in TEST() 45 EXPECT_EQ(KeyInputImpl::GetInstance().keyAction, keyAction); in TEST()
|
| /ide/tools/previewer/mock/ |
| H A D | KeyInput.cpp | 18 KeyInput::KeyInput() : codePoint(0), keyCode(-1), keyAction(-1) in KeyInput()
|
| H A D | KeyInput.h | 37 int32_t keyAction; member in KeyInput
|
| /ide/tools/previewer/mock/rich/ |
| H A D | KeyInputImpl.cpp | 45 keyEvent->action = KeyAction(keyAction); in DispatchOsKeyEvent() 58 keyAction = keyActionVal; in SetKeyEvent()
|
| /ide/tools/previewer/test/mock/mock/ |
| H A D | MockKeyInputImpl.cpp | 41 keyAction = keyActionVal; in SetKeyEvent()
|
| /ide/tools/previewer/test/fuzztest/commandparse_fuzzer/ |
| H A D | RichCommandParseFuzzer.cpp | 48 {"KeyPress", R"({"isInputMethod":false,"keyCode":2033,"keyAction":0,"pressedCodes":[2033]})"},
|
| /ide/tools/previewer/test/unittest/cli/ |
| H A D | CommandLineTest.cpp | 530 std::string msg = R"({"isInputMethod":false,"keyCode":2033,"keyAction":0,"keyString":123, in TEST_F() 542 std::string msg = R"({"isInputMethod":false,"keyCode":2033,"keyAction":0,"pressedCodes":["aaa"]})"; in TEST_F() 553 // keyAction error in TEST_F() 554 std::string msg = R"({"isInputMethod" : false, "keyCode" : 2033, "keyAction" : 3, "keyString" : "123", in TEST_F() 562 args1.Replace("keyAction", 0); in TEST_F() 569 msg = R"({"isInputMethod" : false, "keyCode" : 2033, "keyAction" : 1, "keyString" : "123", in TEST_F() 581 std::string msg1 = R"({"isInputMethod":false,"keyCode":2033,"keyAction":0, in TEST_F() 589 EXPECT_EQ(KeyInputImpl::GetInstance().keyAction, 0); in TEST_F() 593 std::string msg2 = R"({"isInputMethod":false,"keyCode":2033,"keyAction":0,"pressedCodes":[2033]})"; in TEST_F()
|
| /ide/tools/previewer/cli/ |
| H A D | CommandLine.cpp | 1321 if (!args.IsMember("keyCode") || !args["keyCode"].IsInt() || !args["keyAction"].IsInt() || in IsKeyArgsValid() 1322 !args.IsMember("keyAction") || !args["keyAction"].IsInt() || in IsKeyArgsValid() 1331 if (args["keyAction"].AsInt() < minActionVal || args["keyAction"].AsInt() > maxActionVal) { in IsKeyArgsValid() 1332 ELOG("Param keyAction's value is invalid,value range %d-%d.", minActionVal, maxActionVal); in IsKeyArgsValid() 1375 int32_t keyAction = args["keyAction"].AsInt(); in RunAction() local 1385 KeyInputImpl::GetInstance().SetKeyEvent(keyCode, keyAction, pressedCodesVec, keyString); in RunAction()
|
Completed in 8 milliseconds