Home
last modified time | relevance | path

Searched refs:MILLIS_PER_SECOND (Results 1 – 9 of 9) sorted by relevance

/cts/tests/leanbackjank/src/android/leanbackjank/cts/
DCtsDeviceLeanback.java31 private static final int MILLIS_PER_SECOND = 1000; field in CtsDeviceLeanback
32 private static final long WAIT_TIMEOUT = 5 * MILLIS_PER_SECOND;
36 private static final int PRE_SCROLL_IDLE_TIME = 2 * MILLIS_PER_SECOND;
39 SAMPLING_DURATION_SECONDS * MILLIS_PER_SECOND;
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio.h23 #define MILLIS_PER_SECOND 1000 macro
24 #define NANOS_PER_SECOND (NANOS_PER_MILLISECOND * MILLIS_PER_SECOND)
Dutils.cpp169 mActual.sampleRate * sMaxFramesPerBurstMs.at(mActual.perfMode) / MILLIS_PER_SECOND; in createAndVerifyStream()
Dtest_aaudio_callback.cpp31 constexpr int kMinCallbacksPerSecond = MILLIS_PER_SECOND / kExtremelyHighCallbackPeriodMillis;
Dtest_aaudio.cpp219 const int32_t framesPerMsec = actual().sampleRate / MILLIS_PER_SECOND; in SetUp()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackLatencyTest.java57 private final static int MILLIS_PER_SECOND = 1000; field in AudioTrackLatencyTest
58 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;
227 + (several * framesWrittenTotal * MILLIS_PER_SECOND / setup.sampleRate); in testPlaySmallBuffer()
263 Thread.sleep(MILLIS_PER_SECOND); in testPlayPauseSmallBuffer()
DAudioTrackSurroundTest.java73 private final static int MILLIS_PER_SECOND = 1000; field in AudioTrackSurroundTest
74 private final static long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;
272 double expectedMillis = elapsedFrames * (double) MILLIS_PER_SECOND in checkIndividualTimestamps()
DAudioHelper.java268 private static final int MILLIS_PER_SECOND = 1000; field in AudioHelper.TimestampVerifier
270 private static final long NANOS_PER_SECOND = NANOS_PER_MILLISECOND * MILLIS_PER_SECOND;
DAudioTrackTest.java2132 final int MILLIS_PER_SECOND = 1000; in doTestTimestamp() local
2133 final int FRAME_TOLERANCE = sampleRate * TEST_BUFFER_MS / MILLIS_PER_SECOND; in doTestTimestamp()
2168 sampleRate * TEST_BUFFER_MS / MILLIS_PER_SECOND); in doTestTimestamp()