Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp30 static nsecs_t oldTimeStamp = 0; in receiver() local
37 if (oldTimeStamp) { in receiver()
38 float t = float(buffer[i].header.timestamp - oldTimeStamp) / s2ns(1); in receiver()
41 oldTimeStamp = buffer[i].header.timestamp; in receiver()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp35 static nsecs_t oldTimeStamp = 0; in receiver() local
40 if (oldTimeStamp) { in receiver()
41 t = float(buffer[i].timestamp - oldTimeStamp) / s2ns(1); in receiver()
45 oldTimeStamp = buffer[i].timestamp; in receiver()