Home
last modified time | relevance | path

Searched refs:numBuffers (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackNative.java45 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument
46 if (nativeOpen(mNativeTrackInJavaObj, numChannels, sampleRate, useFloat, numBuffers) in open()
113 int msecPerBuffer, int numBuffers) { in test() argument
114 return nativeTest(numChannels, sampleRate, useFloat, msecPerBuffer, numBuffers) in test()
142 long track, int numChannels, int sampleRate, boolean useFloat, int numBuffers); in nativeOpen() argument
159 int numChannels, int sampleRate, boolean useFloat, int msecPerBuffer, int numBuffers); in nativeTest() argument
DAudioRecordNative.java42 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument
43 if (nativeOpen(mNativeRecordInJavaObj, numChannels, sampleRate, useFloat, numBuffers) in open()
106 int msecPerBuffer, int numBuffers) { in test() argument
107 return nativeTest(numChannels, sampleRate, useFloat, msecPerBuffer, numBuffers) in test()
135 long record, int numChannels, int sampleRate, boolean useFloat, int numBuffers); in nativeOpen() argument
152 int numChannels, int sampleRate, boolean useFloat, int msecPerBuffer, int numBuffers); in nativeTest() argument
DMediaCodecTest.java472 AtomicInteger numBuffers = null; in testReleaseAfterFlush() local
476 runReleaseAfterFlush(encoder, buffersExhausted, codecFlushed, numBuffers); in testReleaseAfterFlush()
482 numBuffers = new AtomicInteger(); in testReleaseAfterFlush()
485 runReleaseAfterFlush(encoder, buffersExhausted, codecFlushed, numBuffers); in testReleaseAfterFlush()
492 int nBuffs = numBuffers.get(); in testReleaseAfterFlush()
612 AtomicInteger numBuffers) { in runReleaseAfterFlush() argument
617 if (numBuffers != null) { in runReleaseAfterFlush()
618 numBuffers.set(outputBufferIndices.size()); in runReleaseAfterFlush()
DAudioHelper.java425 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument
426 if (super.open(numChannels, sampleRate, useFloat, numBuffers)) { in open()
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp74 uint32_t numBuffers) { in open() argument
102 bufferQueue.numBuffers = numBuffers; in open()
103 mNumBuffers = numBuffers; in open()
381 jint msecPerBuffer, jint numBuffers) in Java_android_media_cts_AudioTrackNative_nativeTest() argument
388 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest()
390 res = track.open(numChannels, sampleRate, useFloat, numBuffers); in Java_android_media_cts_AudioTrackNative_nativeTest()
393 for (int i = 0; i < numBuffers; ++i) { in Java_android_media_cts_AudioTrackNative_nativeTest()
429 jint numChannels, jint sampleRate, jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioTrackNative_nativeOpen() argument
436 numBuffers); in Java_android_media_cts_AudioTrackNative_nativeOpen()
Daudio-record-native.cpp78 status_t open(uint32_t numChannels, uint32_t sampleRate, bool useFloat, uint32_t numBuffers) { in open() argument
107 SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE, numBuffers in open()
169 mNumBuffers = numBuffers; in open()
439 jint msecPerBuffer, jint numBuffers) in Java_android_media_cts_AudioRecordNative_nativeTest() argument
446 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioRecordNative_nativeTest()
448 res = record.open(numChannels, sampleRate, useFloat, numBuffers); in Java_android_media_cts_AudioRecordNative_nativeTest()
455 size_t size = framesPerBuffer * numBuffers * frameSize; in Java_android_media_cts_AudioRecordNative_nativeTest()
486 jint numChannels, jint sampleRate, jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioRecordNative_nativeOpen() argument
493 numBuffers); in Java_android_media_cts_AudioRecordNative_nativeOpen()
Dappendix-b-1-1-buffer-queue.cpp143 bufferQueue.numBuffers = 4; /* Four buffers in our buffer queue */ in TestPlayMusicBufferQueue()
/cts/tests/tests/nativemedia/sl/src/
DSLObjectCreationTest.cpp161 locatorBqSnk.numBuffers = 16; in PcmBqSinkInitialization()
211 locatorBufferQueue.numBuffers = 16; in AudioPlayerFromPcmBqCreation()
233 locatorAbqSrc.numBuffers = 16; in AudioPlayerFromTsAbqCreation()
270 locatorAbqSrc.numBuffers = 16; in AudioPlayerFromAdtsAbqToPcmBqCreation()
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp353 locator_bufferqueue_tx.numBuffers = pSles->txBufCount; in slesCreateServer()
433 locator_bufferqueue_rx.numBuffers = pSles->rxBufCount; in slesCreateServer()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DRobustnessTest.java1430 List<Surface> outputSurfaces, int numBuffers) { in setupConfigurationTargets() argument
1450 targetSize.getWidth(), targetSize.getHeight(), JPEG, numBuffers); in setupConfigurationTargets()
1459 targetSize.getWidth(), targetSize.getHeight(), YUV, numBuffers); in setupConfigurationTargets()
1468 targetSize.getWidth(), targetSize.getHeight(), RAW, numBuffers); in setupConfigurationTargets()