Searched refs:stime_t (Results 1 – 5 of 5) sorted by relevance
44 stime_t pushTimeOntoVector(stime_t triggerTime, void* data) { in pushTimeOntoVector()45 std::vector<stime_t>* times = static_cast<std::vector<stime_t>*>(data); in pushTimeOntoVector()50 stime_t copyTimeToVariable(stime_t triggerTime, void* data) { in copyTimeToVariable()51 stime_t* time = static_cast<stime_t*>(data); in copyTimeToVariable()56 stime_t incrementInt(stime_t triggerTime, void* data) { in incrementInt()82 std::vector<stime_t> callTimes; in TEST_F()104 stime_t callTime = -1.0; in TEST_F()114 std::vector<stime_t> callTimes; in TEST_F()115 auto callback = [](stime_t triggerTime, void* callbackData) { in TEST_F()116 std::vector<stime_t>* times = static_cast<std::vector<stime_t>*>(callbackData); in TEST_F()[all …]
57 static constexpr stime_t ARBITRARY_GESTURE_TIME = 1.2;
29 nsecs_t stimeToNsecs(stime_t time) { in stimeToNsecs()31 std::chrono::duration<stime_t>(time)) in stimeToNsecs()35 stime_t nsecsToStime(nsecs_t time) { in nsecsToStime()36 return std::chrono::duration_cast<std::chrono::duration<stime_t>>( in nsecsToStime()45 void setDeadline(void* data, GesturesTimer* timer, stime_t delay, GesturesTimerCallback callback, in setDeadline()115 stime_t nextDelay = callback(nsecsToStime(triggerTime), callbackData); in setDeadlineWithoutRequestingTimeout()
62 schs.state.timestamp = std::chrono::duration<stime_t>(std::chrono::nanoseconds(when)).count(); in produceHardwareState()64 std::chrono::duration<stime_t>(std::chrono::microseconds(mMscTimestamp)).count(); in produceHardwareState()
414 state.timestamp = std::chrono::duration<stime_t>(std::chrono::nanoseconds(when)).count(); in resetGestureInterpreter()