/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioTrackNative.java | 43 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument 44 return open(numChannels, 0, sampleRate, useFloat, numBuffers); in open() 48 boolean useFloat, int numBuffers) { in open() argument 50 sampleRate, useFloat, numBuffers) == STATUS_OK) { in open() 116 int msecPerBuffer, int numBuffers) { in test() argument 117 return test(numChannels, 0, sampleRate, useFloat, msecPerBuffer, numBuffers); in test() 121 int msecPerBuffer, int numBuffers) { in test() argument 122 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 151 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen() argument 169 boolean useFloat, int msecPerBuffer, int numBuffers); in nativeTest() argument
|
D | AudioRecordNative.java | 41 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument 42 return open(numChannels, 0, sampleRate, useFloat,numBuffers); in open() 46 boolean useFloat, int numBuffers) { in open() argument 48 sampleRate, useFloat, numBuffers) == STATUS_OK) { in open() 114 int msecPerBuffer, int numBuffers) { in test() argument 115 return test(numChannels, 0, sampleRate, useFloat, msecPerBuffer, numBuffers); in test() 119 int msecPerBuffer, int numBuffers) { in test() argument 120 return nativeTest(numChannels, channelMask, sampleRate, useFloat, msecPerBuffer, numBuffers) in test() 149 int sampleRate, boolean useFloat, int numBuffers); in nativeOpen() argument 168 boolean useFloat, int msecPerBuffer, int numBuffers); in nativeTest() argument
|
D | AudioTrackLatencyTest.java | 372 int numBuffers = numSeconds * track.getSampleRate() / TEST_FRAMES_PER_BUFFER; in checkOutputLowLatency() local 375 for (int i = 0; i < numBuffers; i++) { in checkOutputLowLatency() 474 int numBuffers = TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount() local 475 for (int i = 0; i < numBuffers; i++) { in testGetUnderrunCount() 480 numBuffers = numSeconds * TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount() 482 for (int i = 0; i < numBuffers; i++) { in testGetUnderrunCount() 494 for (int i = 0; i < numBuffers; i++) { in testGetUnderrunCount() 507 numBuffers = numSeconds * TEST_SR / TEST_FRAMES_PER_BUFFER; in testGetUnderrunCount() 509 for (int i = 0; (i < numBuffers) && ((underrunCount1 - underrunCountBase) < 10); i++) { in testGetUnderrunCount() 516 for (int i = 0; (i < numBuffers) && ((underrunCount2 - underrunCount1) < 10); i++) { in testGetUnderrunCount() [all …]
|
D | AudioNativeTest.java | 409 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() argument 410 if (super.open(numChannels, sampleRate, useFloat, numBuffers)) { in open()
|
/cts/tests/tests/media/audio/jni/ |
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_audio_cts_AudioTrackNative_nativeTest() argument 387 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_audio_cts_AudioTrackNative_nativeTest() 389 res = track.open(numChannels, channelMask, sampleRate, useFloat, numBuffers); in Java_android_media_audio_cts_AudioTrackNative_nativeTest() 392 for (int i = 0; i < numBuffers; ++i) { in Java_android_media_audio_cts_AudioTrackNative_nativeTest() 429 jboolean useFloat, jint numBuffers) in Java_android_media_audio_cts_AudioTrackNative_nativeOpen() argument 439 numBuffers); in Java_android_media_audio_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_audio_cts_AudioRecordNative_nativeTest() argument 475 void *buffer = calloc(framesPerBuffer * numBuffers, frameSize); in Java_android_media_audio_cts_AudioRecordNative_nativeTest() 477 res = record.open(numChannels, channelMask, sampleRate, useFloat, numBuffers); in Java_android_media_audio_cts_AudioRecordNative_nativeTest() 484 size_t size = framesPerBuffer * numBuffers * frameSize; in Java_android_media_audio_cts_AudioRecordNative_nativeTest() 515 jint numChannels, jint channelMask, jint sampleRate, jboolean useFloat, jint numBuffers) in Java_android_media_audio_cts_AudioRecordNative_nativeOpen() argument 522 numBuffers); in Java_android_media_audio_cts_AudioRecordNative_nativeOpen()
|
D | appendix-b-1-1-buffer-queue.cpp | 143 bufferQueue.numBuffers = 4; /* Four buffers in our buffer queue */ in TestPlayMusicBufferQueue()
|
D | AudioRecorder.cpp | 132 recBuffQueue.numBuffers = NB_BUFFERS_IN_QUEUE; in Open()
|
/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/camera/src/android/hardware/camera2/cts/ |
D | FeatureCombinationTest.java | 536 int numBuffers, Long dynamicProfile, boolean hasUseCase, in setupConfigurationTargets() argument 572 targetSize.getWidth(), targetSize.getHeight(), format, numBuffers); in setupConfigurationTargets() 574 new SimpleImageReaderListener(/*asyncMode*/false, numBuffers); in setupConfigurationTargets() 597 targetSize.getWidth(), targetSize.getHeight(), format, numBuffers); in setupConfigurationTargets()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecTest.java | 761 AtomicInteger numBuffers = null; in testReleaseAfterFlush() local 765 runReleaseAfterFlush(mime, encoder, buffersExhausted, codecFlushed, numBuffers); in testReleaseAfterFlush() 771 numBuffers = new AtomicInteger(); in testReleaseAfterFlush() 774 runReleaseAfterFlush(mime, encoder, buffersExhausted, codecFlushed, numBuffers); in testReleaseAfterFlush() 781 int nBuffs = numBuffers.get(); in testReleaseAfterFlush() 1019 AtomicInteger numBuffers) { in runReleaseAfterFlush() argument 1024 if (numBuffers != null) { in runReleaseAfterFlush() 1025 numBuffers.set(outputBufferIndices.size()); in runReleaseAfterFlush()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 310 int format, Size targetSize, int numBuffers, String overridePhysicalCameraId, in configureTarget() argument 318 multiResolutionStreams, format, numBuffers); in configureTarget() 355 targetSize.getHeight(), format, numBuffers); in configureTarget() 398 List<Surface> outputSurfaces, int numBuffers, in setupConfigurationTargets() argument 403 numBuffers, substituteY8, substituteHeic, overridenPhysicalCameraId, in setupConfigurationTargets() 410 List<Surface> outputSurfaces, List<Surface> uhSurfaces, int numBuffers, in setupConfigurationTargets() argument 414 numBuffers, substituteY8, substituteHeic, overridePhysicalCameraId, in setupConfigurationTargets() 421 List<Surface> outputSurfaces, List<Surface> uhSurfaces, int numBuffers, in setupConfigurationTargets() argument 482 targetSize, numBuffers, overridePhysicalCameraId, multiResStreamConfig, in setupConfigurationTargets() 492 targetSize, numBuffers, overridePhysicalCameraId, in setupConfigurationTargets()
|