Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp231 void SensorInputMapper::processHardWareTimestamp(nsecs_t evTime, int32_t mscTime) { in processHardWareTimestamp() argument
245 uint32_t timeDiff = (mPrevMscTime > static_cast<uint32_t>(mscTime)) in processHardWareTimestamp()
246 ? (UINT32_MAX - mPrevMscTime + static_cast<uint32_t>(mscTime + 1)) in processHardWareTimestamp()
247 : (static_cast<uint32_t>(mscTime) - mPrevMscTime); in processHardWareTimestamp()
251 mPrevMscTime = static_cast<uint32_t>(mscTime); in processHardWareTimestamp()