Home
last modified time | relevance | path

Searched refs:BLOCK_TIME_MS (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/tools/inject_event/src/
H A Dinput_manager_command.cpp63 constexpr int32_t BLOCK_TIME_MS = 7; variable
105 int64_t sleepTimeMs = BLOCK_TIME_MS - (nowEndSysTimeMs - currentTimeMs) % BLOCK_TIME_MS; in SleepAndUpdateTime()
663 std::this_thread::sleep_for(std::chrono::milliseconds(BLOCK_TIME_MS)); in ParseCommand()
1156 sleepTimeMs = (currentTimeMs + BLOCK_TIME_MS) - nowSysTimeMs; in ParseCommand()
1158 currentTimeMs += BLOCK_TIME_MS; in ParseCommand()
1177 std::this_thread::sleep_for(std::chrono::milliseconds(BLOCK_TIME_MS)); in ParseCommand()
1205 sleepTimeMs = (currentTimeMs + BLOCK_TIME_MS) - nowSysTimeMs; in ParseCommand()
1207 currentTimeMs += BLOCK_TIME_MS; in ParseCommand()
1211 … pointerEvent->SetActionTime((endTimeMs + BLOCK_TIME_MS) * TIME_TRANSITION); in ParseCommand()
1451 … std::this_thread::sleep_for(std::chrono::milliseconds(BLOCK_TIME_MS)); in ParseCommand()