Searched refs:Modulo (Results 1 – 11 of 11) sorted by relevance
85 template <typename T> class Modulo {92 Modulo() { } // intentionally uninitialized data in Modulo() function93 Modulo(const T &value) { mValue = value; } in Modulo() function102 Modulo<T> operator +=(const Modulo<S> &other) {110 Modulo<T> operator -=(const Modulo<S> &other) {120 const Modulo<T> operator +(const Modulo<S> &other) const {122 return Modulo<T>(mValue + other.unsignedValue());127 const Modulo<T> operator -(const Modulo<S> &other) const {129 return Modulo<T>(mValue - other.unsignedValue());139 bool operator >(const Modulo<S> &other) const {[all …]
980 Modulo<uint32_t> updateAndGetPosition_l();1083 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units1085 Modulo<uint32_t> mNewPosition; // in frames1088 Modulo<uint32_t> mServer; // in frames, last known mProxy->getPosition()1092 Modulo<uint32_t> mPosition; // in frames, like mServer except continues1095 Modulo<uint32_t> mReleased; // count of frames released to server
568 status_t openRecord_l(const Modulo<uint32_t> &epoch, const String16& opPackageName);600 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units602 Modulo<uint32_t> mNewPosition; // in frames
297 Modulo<uint32_t> getPosition() { in getPosition()301 void setEpoch(const Modulo<uint32_t> &epoch) { in setEpoch()317 Modulo<uint32_t> getEpoch() const { in getEpoch()342 Modulo<uint32_t> mEpoch;470 return (Modulo<int32_t>(rear) - front).unsignedValue(); in flush()
539 status_t AudioRecord::openRecord_l(const Modulo<uint32_t> &epoch, const String16& opPackageName) in openRecord_l()1018 Modulo<uint32_t> position(mProxy->getPosition()); in processAudioBuffer()1022 Modulo<uint32_t> markerPosition(mMarkerPosition); in processAudioBuffer()1030 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer()1224 Modulo<uint32_t> position(mProxy->getPosition()); in restoreRecord_l()
1953 Modulo<uint32_t> position(updateAndGetPosition_l()); in processAudioBuffer()1957 Modulo<uint32_t> markerPosition(mMarkerPosition); in processAudioBuffer()1965 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer()2378 Modulo<uint32_t> AudioTrack::updateAndGetPosition_l() in updateAndGetPosition_l()2381 Modulo<uint32_t> newServer(mProxy->getPosition()); in updateAndGetPosition_l()2758 int32_t deltaPosition = (Modulo<uint32_t>(timestamp.mPosition) in getTimestamp_l()2972 int32_t diff = (Modulo<uint32_t>(mFramesWritten) - mPosition).signedValue(); in pendingDuration()
1035 summary: Modulo
1869 * fmod: Modulo