Lines Matching refs:ExtendedTimestamp
251 adjustTimebaseOffset(&mBoottimeOffset, ExtendedTimestamp::TIMEBASE_BOOTTIME); in acquire()
254 adjustTimebaseOffset(&mBoottimeOffset, ExtendedTimestamp::TIMEBASE_BOOTTIME); in acquire()
291 static void adjustTimebaseOffset(int64_t *offset, ExtendedTimestamp::Timebase timebase) { in adjustTimebaseOffset()
294 case ExtendedTimestamp::TIMEBASE_BOOTTIME: in adjustTimebaseOffset()
963 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in acquireWakeLock_l()
3410 ExtendedTimestamp timestamp; // use private copy to fetch in threadLoop()
3414 mTimestampVerifier.add(timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3415 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3420 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3421 (long long)timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]); in threadLoop()
3423 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3425 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3428 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3429 (long long)timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]); in threadLoop()
3434 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3437 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = max( in threadLoop()
3439 (mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3450 if (mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { in threadLoop()
3451 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] = in threadLoop()
3452 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in threadLoop()
3453 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] = in threadLoop()
3454 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadLoop()
3456 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] = in threadLoop()
3457 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER]; in threadLoop()
3458 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] = in threadLoop()
3459 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER]; in threadLoop()
3462 if (timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { in threadLoop()
3469 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in threadLoop()
3470 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3472 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in threadLoop()
3473 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadLoop()
3495 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] = mFramesWritten; in threadLoop()
3496 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = mLastIoBeginNs == -1 in threadLoop()
3998 ExtendedTimestamp ets; in getTimestamp_l()
7176 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] += framesRead; in threadLoop()
7177 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = lastIoEndNs; in threadLoop()
7185 && time > mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]) { in threadLoop()
7200 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position; in threadLoop()
7201 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = time; in threadLoop()
7386 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER], in threadLoop()
7473 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] += flushed; in inputStandBy()
7474 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = systemTime(); in inputStandBy()