Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java369 final int bufferFrames = seconds * sampleRate; in testVisualizerCapture_CVE_2017_0396() local
370 final int bufferSamples = bufferFrames * channelCount; in testVisualizerCapture_CVE_2017_0396()
396 audioTrack.setLoopPoints(0 /* startInFrames */, bufferFrames, loops)); in testVisualizerCapture_CVE_2017_0396()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java1634 final int bufferFrames = (int)(testLoopDuration * testSr); in playOnceStaticData() local
1635 final int bufferSamples = bufferFrames * channelCount; in playOnceStaticData()
1649 track.setPlaybackHeadPosition(bufferFrames/2)); in playOnceStaticData()
1653 0 /*startInFrames*/, bufferFrames, 10 /*loopCount*/)); in playOnceStaticData()
1689 track.setLoopPoints(0 /*startInFrames*/, bufferFrames, testLoops)); in playOnceStaticData()
1698 assertEquals(testName, bufferFrames * (testLoops + 1), position); in playOnceStaticData()