Home
last modified time | relevance | path

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

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