Lines Matching refs:statePositions
340 StatePositions* statePositions) { in getObservablePosition() argument
344 RETURN_STATUS_IF_ERROR(updateCountersIfNeeded(&reply, statePositions)); in getObservablePosition()
568 bool safeFromNonWorkerThread, StatePositions* statePositions) { in sendCommand() argument
614 if (statePositions != nullptr) { in sendCommand()
615 *statePositions = mStatePositions; in sendCommand()
633 StatePositions* statePositions) { in updateCountersIfNeeded() argument
643 reply, true /*safeFromNonWorkerThread */, statePositions); in updateCountersIfNeeded()
647 if (statePositions != nullptr) { in updateCountersIfNeeded()
648 *statePositions = mStatePositions; in updateCountersIfNeeded()
741 StatePositions statePositions{}; in getRenderPosition() local
743 getObservablePosition(&aidlFrames, &aidlTimestamp, &statePositions)); in getRenderPosition()
748 mostRecentResetPoint = statePositions.framesAtStandby; in getRenderPosition()
751 std::max(statePositions.framesAtStandby, statePositions.framesAtFlushOrDrain); in getRenderPosition()
810 StatePositions statePositions{}; in getPresentationPosition() local
811 RETURN_STATUS_IF_ERROR(getObservablePosition(&aidlFrames, &aidlTimestamp, &statePositions)); in getPresentationPosition()
817 std::max(statePositions.framesAtStandby, statePositions.framesAtFlushOrDrain); in getPresentationPosition()