Searched refs:GesturesTimer (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | TimerProvider.cpp | 41 GesturesTimer* createTimer(void* data) { in createTimer() 45 void setDeadline(void* data, GesturesTimer* timer, stime_t delay, GesturesTimerCallback callback, in setDeadline() 51 void cancelTimer(void* data, GesturesTimer* timer) { in cancelTimer() 55 void freeTimer(void* data, GesturesTimer* timer) { in freeTimer() 72 auto timerPtrToString = [](const std::unique_ptr<GesturesTimer>& timer) { in dump() 75 dump += "Timer IDs: " + dumpVector<std::unique_ptr<GesturesTimer>>(mTimers, timerPtrToString) + in dump() 96 GesturesTimer* TimerProvider::createTimer() { in createTimer() 97 mTimers.push_back(std::make_unique<GesturesTimer>()); in createTimer() 103 void TimerProvider::setDeadline(GesturesTimer* timer, nsecs_t delay, GesturesTimerCallback callback, in setDeadline() 109 void TimerProvider::setDeadlineWithoutRequestingTimeout(GesturesTimer* timer, nsecs_t delay, in setDeadlineWithoutRequestingTimeout() [all …]
|
D | TimerProvider.h | 50 GesturesTimer* createTimer(); 51 void setDeadline(GesturesTimer* timer, nsecs_t delay, GesturesTimerCallback callback, 53 void cancelTimer(GesturesTimer* timer); 54 void freeTimer(GesturesTimer* timer); 61 void setDeadlineWithoutRequestingTimeout(GesturesTimer* timer, nsecs_t delay, 69 std::vector<std::unique_ptr<GesturesTimer>> mTimers; 86 struct GesturesTimer { struct
|
/frameworks/native/services/inputflinger/tests/ |
D | TimerProvider_test.cpp | 81 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() 103 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() 113 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() 145 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() 170 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() 185 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() 200 GesturesTimer* timer1 = mProvider.createTimer(); in TEST_F() 201 GesturesTimer* timer2 = mProvider.createTimer(); in TEST_F() 234 GesturesTimer* timer = mProvider.createTimer(); in TEST_F() 247 GesturesTimer* timer1 = mProvider.createTimer(); in TEST_F() [all …]
|