/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackNative.java | 46 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument 47 return open(numChannels, 0, sampleRate, useFloat, numBuffers); in open() 51 boolean useFloat, int numBuffers) { in open() argument 53 sampleRate, useFloat, numBuffers) == STATUS_OK) { in open() 119 int msecPerBuffer, int numBuffers) { in test() argument 120 return test(numChannels, 0, sampleRate, useFloat, msecPerBuffer, numBuffers); in test() 124 int msecPerBuffer, int numBuffers) { in test() argument 125 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 154 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen() argument 172 boolean useFloat, int msecPerBuffer, int numBuffers); in nativeTest() argument
|
D | AudioRecordNative.java | 44 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument 45 return open(numChannels, 0, sampleRate, useFloat,numBuffers); in open() 49 boolean useFloat, int numBuffers) { in open() argument 51 sampleRate, useFloat, numBuffers) == STATUS_OK) { in open() 117 int msecPerBuffer, int numBuffers) { in test() argument 118 return test(numChannels, 0, sampleRate, useFloat, msecPerBuffer, numBuffers); in test() 122 int msecPerBuffer, int numBuffers) { in test() argument 123 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 152 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen() argument 171 boolean useFloat, int msecPerBuffer, int numBuffers); in nativeTest() argument
|
D | AudioTrackLatencyTest.java | 323 int numBuffers = numSeconds * track.getSampleRate() / TEST_FRAMES_PER_BUFFER; in checkOutputLowLatency() local 326 for (int i = 0; i < numBuffers; i++) { in checkOutputLowLatency() 425 int numBuffers = TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount() local 426 for (int i = 0; i < numBuffers; i++) { in testGetUnderrunCount() 431 numBuffers = numSeconds * TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount() 433 for (int i = 0; i < numBuffers; i++) { in testGetUnderrunCount() 445 for (int i = 0; i < numBuffers; i++) { in testGetUnderrunCount() 458 numBuffers = numSeconds * TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount() 460 for (int i = 0; (i < numBuffers) && ((underrunCount1 - underrunCountBase) < 10); i++) { in testGetUnderrunCount() 467 for (int i = 0; (i < numBuffers) && ((underrunCount2 - underrunCount1) < 10); i++) { in testGetUnderrunCount() [all …]
|
D | MediaCodecTest.java | 530 AtomicInteger numBuffers = null; in testReleaseAfterFlush() local 534 runReleaseAfterFlush(mime, encoder, buffersExhausted, codecFlushed, numBuffers); in testReleaseAfterFlush() 540 numBuffers = new AtomicInteger(); in testReleaseAfterFlush() 543 runReleaseAfterFlush(mime, encoder, buffersExhausted, codecFlushed, numBuffers); in testReleaseAfterFlush() 550 int nBuffs = numBuffers.get(); in testReleaseAfterFlush() 784 AtomicInteger numBuffers) { in runReleaseAfterFlush() argument 789 if (numBuffers != null) { in runReleaseAfterFlush() 790 numBuffers.set(outputBufferIndices.size()); in runReleaseAfterFlush()
|
D | AudioHelper.java | 616 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument 617 if (super.open(numChannels, sampleRate, useFloat, numBuffers)) { in open()
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-track-native.cpp | 74 jint sampleRate, jboolean useFloat, jint numBuffers) { in open() argument 102 bufferQueue.numBuffers = numBuffers; in open() 103 mNumBuffers = numBuffers; in open() 380 jint msecPerBuffer, jint numBuffers) in Java_android_media_cts_AudioTrackNative_nativeTest() argument 387 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioTrackNative_nativeTest() 389 res = track.open(numChannels, channelMask, sampleRate, useFloat, numBuffers); in Java_android_media_cts_AudioTrackNative_nativeTest() 392 for (int i = 0; i < numBuffers; ++i) { in Java_android_media_cts_AudioTrackNative_nativeTest() 429 jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioTrackNative_nativeOpen() argument 439 numBuffers); in Java_android_media_cts_AudioTrackNative_nativeOpen()
|
D | audio-record-native.cpp | 84 uint32_t numBuffers) { in open() argument 113 SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE, numBuffers in open() 175 mNumBuffers = numBuffers; in open() 469 jboolean useFloat, jint msecPerBuffer, jint numBuffers) { in Java_android_media_cts_AudioRecordNative_nativeTest() argument 475 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_cts_AudioRecordNative_nativeTest() 477 res = record.open(numChannels, channelMask, sampleRate, useFloat, numBuffers); in Java_android_media_cts_AudioRecordNative_nativeTest() 484 size_t size = framesPerBuffer * numBuffers * frameSize; in Java_android_media_cts_AudioRecordNative_nativeTest() 515 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, jint numBuffers) in Java_android_media_cts_AudioRecordNative_nativeOpen() argument 522 numBuffers); in Java_android_media_cts_AudioRecordNative_nativeOpen()
|
D | appendix-b-1-1-buffer-queue.cpp | 143 bufferQueue.numBuffers = 4; /* Four buffers in our buffer queue */ in TestPlayMusicBufferQueue()
|
/cts/tests/tests/nativemedia/sl/src/ |
D | SLObjectCreationTest.cpp | 158 locatorBqSnk.numBuffers = 16; in PcmBqSinkInitialization() 208 locatorBufferQueue.numBuffers = 16; in AudioPlayerFromPcmBqCreation() 230 locatorAbqSrc.numBuffers = 16; in AudioPlayerFromTsAbqCreation() 267 locatorAbqSrc.numBuffers = 16; in AudioPlayerFromAdtsAbqToPcmBqCreation()
|
/cts/tests/tests/media/libndkaudio/ |
D | AudioRecorder.cpp | 132 recBuffQueue.numBuffers = NB_BUFFERS_IN_QUEUE; in Open()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RobustnessTest.java | 224 int numBuffers, boolean substituteY8, boolean substituteHeic, in setupConfigurationTargets() argument 258 targetSize.getHeight(), format, numBuffers); in setupConfigurationTargets() 270 targetSize.getHeight(), format, numBuffers); in setupConfigurationTargets() 282 targetSize.getHeight(), format, numBuffers); in setupConfigurationTargets() 297 targetSize.getHeight(), format, numBuffers); in setupConfigurationTargets() 311 targetSize.getHeight(), format, numBuffers); in setupConfigurationTargets()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | sles.cpp | 371 locator_bufferqueue_tx.numBuffers = pSles->txBufCount; in slesCreateServer() 451 locator_bufferqueue_rx.numBuffers = pSles->rxBufCount; in slesCreateServer()
|