Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp29 static nsecs_t oldTimeStamp = 0; in receiver() local
36 if (oldTimeStamp) { in receiver()
37 float t = float(buffer[i].header.timestamp - oldTimeStamp) / s2ns(1); in receiver()
40 oldTimeStamp = buffer[i].header.timestamp; in receiver()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp34 static nsecs_t oldTimeStamp = 0; in receiver() local
39 if (oldTimeStamp) { in receiver()
40 t = float(buffer[i].timestamp - oldTimeStamp) / s2ns(1); in receiver()
44 oldTimeStamp = buffer[i].timestamp; in receiver()