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.java370 final int bufferFrames = seconds * sampleRate; in testVisualizerCapture_CVE_2017_0396() local
371 final int bufferSamples = bufferFrames * channelCount; in testVisualizerCapture_CVE_2017_0396()
397 audioTrack.setLoopPoints(0 /* startInFrames */, bufferFrames, loops)); in testVisualizerCapture_CVE_2017_0396()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java1617 final int bufferFrames = (int)(testLoopDuration * testSr); in playOnceStaticData() local
1618 final int bufferSamples = bufferFrames * channelCount; in playOnceStaticData()
1632 track.setPlaybackHeadPosition(bufferFrames/2)); in playOnceStaticData()
1636 0 /*startInFrames*/, bufferFrames, 10 /*loopCount*/)); in playOnceStaticData()
1672 track.setLoopPoints(0 /*startInFrames*/, bufferFrames, testLoops)); in playOnceStaticData()
1681 assertEquals(testName, bufferFrames * (testLoops + 1), position); in playOnceStaticData()