Lines Matching refs:ExtendedTimestamp

408             adjustTimebaseOffset(&mBoottimeOffset, ExtendedTimestamp::TIMEBASE_BOOTTIME);  in acquire()
411 adjustTimebaseOffset(&mBoottimeOffset, ExtendedTimestamp::TIMEBASE_BOOTTIME); in acquire()
448 static void adjustTimebaseOffset(int64_t *offset, ExtendedTimestamp::Timebase timebase) { in adjustTimebaseOffset()
451 case ExtendedTimestamp::TIMEBASE_BOOTTIME: in adjustTimebaseOffset()
1214 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in acquireWakeLock_l()
4236 != mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL])))) { in threadLoop()
4678 ExtendedTimestamp timestamp; // use private copy to fetch in collectTimestamps_l()
4683 mTimestampVerifier.add(timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l()
4684 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l()
4689 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l()
4690 (long long)timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]); in collectTimestamps_l()
4692 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in collectTimestamps_l()
4694 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in collectTimestamps_l()
4697 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l()
4698 (long long)timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]); in collectTimestamps_l()
4703 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in collectTimestamps_l()
4706 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = max( in collectTimestamps_l()
4708 (mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in collectTimestamps_l()
4719 if (mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { in collectTimestamps_l()
4720 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] = in collectTimestamps_l()
4721 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in collectTimestamps_l()
4722 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] = in collectTimestamps_l()
4723 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in collectTimestamps_l()
4725 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] = in collectTimestamps_l()
4726 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER]; in collectTimestamps_l()
4727 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] = in collectTimestamps_l()
4728 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER]; in collectTimestamps_l()
4731 if (timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { in collectTimestamps_l()
4738 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in collectTimestamps_l()
4739 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in collectTimestamps_l()
4741 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in collectTimestamps_l()
4742 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in collectTimestamps_l()
4764 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] = mFramesWritten; in collectTimestamps_l()
4765 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = mLastIoBeginNs == -1 in collectTimestamps_l()
4865 ExtendedTimestamp ets; in getTimestamp_l()
4874 if (mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] <= 0) { in getTimestamp_l()
4877 timestamp.mPosition = mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp_l()
4878 const int64_t timeNs = mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp_l()
6691 const int64_t frames = mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in processVolume_l()
6692 const int64_t time = mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in processVolume_l()
8596 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] += framesRead; in threadLoop()
8597 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = lastIoEndNs; in threadLoop()
8608 && time > mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]) { in threadLoop()
8621 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position; in threadLoop()
8622 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = time; in threadLoop()
8795 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER], in threadLoop()
8884 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] += flushed; in inputStandBy()
8885 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = systemTime(); in inputStandBy()