Home
last modified time | relevance | path

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

/system/libfmq/
DEventFlag.cpp208 int64_t prevTimeNs = shouldTimeOut ? android::elapsedRealtimeNano() : 0; in wait() local
217 timeoutNanoSeconds -= currentTimeNs - prevTimeNs; in wait()
218 prevTimeNs = currentTimeNs; in wait()
/system/chre/platform/slpi/see/
Dsee_helper.cc103 uint64_t prevTimeNs; member
900 uint64_t delta = data->timeNs - data->prevTimeNs; in populateEventSample()
904 static_cast<uint8_t>(data->sensorType), data->prevTimeNs, in populateEventSample()
910 data->prevTimeNs = data->timeNs; in populateEventSample()
1480 info.data->prevTimeNs = 0; in prepareSensorEvent()