Home
last modified time | relevance | path

Searched refs:framesWritten (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio.cpp384 aaudio_result_t framesWritten = AAudioStream_write( in processData() local
387 EXPECT_GT(framesWritten, 0); in processData()
388 framesLeft -= framesWritten; in processData()
396 int32_t framesWritten = 0; in TEST_P() local
400 framesWritten = AAudioStream_write( in TEST_P()
403 framesTotal += framesWritten; in TEST_P()
404 ASSERT_GE(framesWritten, 0); in TEST_P()
405 ASSERT_LE(framesWritten, framesPerBurst()); in TEST_P()
406 } while (framesWritten > 0); in TEST_P()
427 framesWritten = 1; in TEST_P()
[all …]
Dtest_aaudio_callback.cpp39 int64_t framesWritten = AAudioStream_getFramesWritten(stream); in measureLatency() local
48 int64_t deltaFrames = framesWritten - presentationPosition; in measureLatency()
/cts/apps/CtsVerifier/jni/audio_loopback/
DNativeAudioAnalyzer.cpp89 int64_t framesWritten = AAudioStream_getFramesWritten(mOutputStream); in dataCallbackProc() local
90 mWriteReadDelta = framesWritten - framesRead; in dataCallbackProc()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackLatencyTest.java373 long framesWritten = 0; in checkOutputLowLatency() local
377 framesWritten += TEST_FRAMES_PER_BUFFER; in checkOutputLowLatency()
394 long framesPending = framesWritten - timestamp.framePosition; in checkOutputLowLatency()
DAudioTrackTest.java2226 long framesWritten = 0; in doTestTimestamp() local
2235 sampleRate, framesWritten, isProAudioDevice()); in doTestTimestamp()
2245 framesWritten += data.limit() / frameSize; in doTestTimestamp()
2268 framesWritten >= framesSeen); in doTestTimestamp()
2279 if (framesWritten != timestamp.framePosition) { in doTestTimestamp()
2281 + framesWritten + " position: " + timestamp.framePosition); in doTestTimestamp()
2283 final long framesLowerLimit = framesWritten - FRAME_TOLERANCE; in doTestTimestamp()
2289 + timestamp.framePosition + " <= " + framesWritten, in doTestTimestamp()
2290 timestamp.framePosition <= framesWritten); in doTestTimestamp()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h751 int32_t framesWritten = framesPerSection * numSections; in generatePulseRecording() local
752 for (int i = framesWritten; i < pulseLength; i++) { in generatePulseRecording()