Home
last modified time | relevance | path

Searched refs:mTimeNs (Results 1 – 2 of 2) sorted by relevance

/system/media/audio_utils/include/audio_utils/
DTimestampVerifier.h69 if (mLastTimestamp.mFrames == frames && mLastTimestamp.mTimeNs == timeNs in add()
100 if (mCold && (timestamp.mTimeNs == mLastTimestamp.mTimeNs in add()
120 {(double)mFirstTimestamp.mTimeNs * 1e-9, (double)mFirstTimestamp.mFrames}); in add()
146 correctedTimestamp.mTimeNs = std::max( in add()
147 newTimeNs, mLastCorrectedTimestamp.mTimeNs); in add()
250 using FrameTime = struct { F mFrames; T mTimeNs; }; // a "constexpr" pair member
307 left.mFrames - right.mFrames, left.mTimeNs - right.mTimeNs); in sub()
/system/media/audio_utils/tests/
Dtimestampverifier_tests.cpp91 EXPECT_EQ(0, first.mTimeNs); in TEST()
93 EXPECT_EQ((int64_t)1e9 * (8 - 1), last.mTimeNs); in TEST()
119 EXPECT_EQ(3000000000., tv.getLastCorrectedTimestamp().mTimeNs); in TEST()
126 EXPECT_EQ(3100000000., tv.getLastCorrectedTimestamp().mTimeNs); in TEST()
137 EXPECT_EQ(5100000000*0.9, tv.getLastCorrectedTimestamp().mTimeNs); in TEST()