Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherPolicyInterface.h136 static const std::chrono::duration STALE_EVENT_TIMEOUT = in isStaleEvent() local
138 return std::chrono::nanoseconds(currentTime - eventTime) >= STALE_EVENT_TIMEOUT; in isStaleEvent()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp8821 static constexpr std::chrono::duration STALE_EVENT_TIMEOUT = 10ms; in TEST_F() local
8822 mFakePolicy->setStaleEventTimeout(STALE_EVENT_TIMEOUT); in TEST_F()
8823 std::this_thread::sleep_for(STALE_EVENT_TIMEOUT); in TEST_F()
8865 static constexpr std::chrono::duration STALE_EVENT_TIMEOUT = 10ms; in TEST_F() local
8866 mFakePolicy->setStaleEventTimeout(STALE_EVENT_TIMEOUT); in TEST_F()
8867 std::this_thread::sleep_for(STALE_EVENT_TIMEOUT); in TEST_F()
9718 static constexpr std::chrono::duration STALE_EVENT_TIMEOUT = 1000ms; in TEST_F() local
9719 mFakePolicy->setStaleEventTimeout(STALE_EVENT_TIMEOUT); in TEST_F()
9721 std::chrono::nanoseconds(STALE_EVENT_TIMEOUT).count(); in TEST_F()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp146 const std::chrono::duration STALE_EVENT_TIMEOUT = std::chrono::seconds(10) * HwTimeoutMultiplier(); variable