Lines Matching refs:ets
2591 ExtendedTimestamp ets; in getTimestamp_l() local
2592 status = mProxy->getTimestamp(&ets); in getTimestamp_l()
2595 status = ets.getBestTimestamp(×tamp, &location); in getTimestamp_l()
2609 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp_l()
2610 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0 || in getTimestamp_l()
2611 ets.mPosition[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] <= 0 || in getTimestamp_l()
2612 ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] <= 0) in getTimestamp_l()
2617 (ets.mPosition[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] in getTimestamp_l()
2618 - ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK]); in getTimestamp_l()
2620 __func__, mPortId, (long long)frames, ets.toString().c_str()); in getTimestamp_l()
2621 if (frames >= ets.mPosition[location]) { in getTimestamp_l()
2624 timestamp.mPosition = (uint32_t)(ets.mPosition[location] - frames); in getTimestamp_l()
2631 if (ets.mPosition[ExtendedTimestamp::LOCATION_SERVER] == in getTimestamp_l()
2632 ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL]) { in getTimestamp_l()
2656 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp_l()
2657 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0) in getTimestamp_l()
2659 : (ets.mPosition[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] in getTimestamp_l()
2660 - ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK]) in getTimestamp_l()
3029 ExtendedTimestamp ets; in pendingDuration() local
3030 if (getTimestamp_l(&ets) == OK in pendingDuration()
3031 && ets.mTimeNs[location] > 0) { in pendingDuration()
3032 int64_t diff = ets.mPosition[ExtendedTimestamp::LOCATION_CLIENT] in pendingDuration()
3033 - ets.mPosition[location]; in pendingDuration()
3042 ets.mTimeNs[location] in pendingDuration()
3043 + ets.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_MONOTONIC] in pendingDuration()
3110 ExtendedTimestamp ets; in hasStarted() local
3111 status_t status = getTimestamp_l(&ets); in hasStarted()
3117 if (ets.mTimeNs[location] < 0 || mStartEts.mTimeNs[location] < 0) { in hasStarted()
3120 wait = ets.mPosition[location] == 0 in hasStarted()
3121 || ets.mPosition[location] == mStartEts.mPosition[location]; in hasStarted()
3128 (long long)ets.mPosition[location], in hasStarted()