Home
last modified time | relevance | path

Searched defs:bufferSize (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioRecord_BufferSizeTest.java69 int bufferSize = AudioRecord.getMinBufferSize(sampleRateInHz, CHANNEL_CONFIG, AUDIO_FORMAT); in record() local
92 private void createAudioRecord(final int sampleRateInHz, final int bufferSize) { in createAudioRecord()
DRoutingTest.java102 int bufferSize = in allocAudioTrack() local
301 int bufferSize = in allocAudioRecord() local
431 public AudioTrackFiller(AudioTrack audioTrack, int bufferSize) { in AudioTrackFiller()
460 int bufferSize = in test_audioTrack_getRoutedDevice() local
501 public AudioRecordPuller(AudioRecord audioRecord, int bufferSize) { in AudioRecordPuller()
528 int bufferSize = in test_audioRecord_getRoutedDevice() local
DAudioTrackLatencyTest.java145 int bufferSize = (minBufferSize * 3) / 2; in createTrack() local
599 public static AudioTrack createAudioTrack(int bufferSize) { in createAudioTrack()
604 public static void checkBadSize(int bufferSize) { in checkBadSize()
618 public static void checkSmallSize(int bufferSize) { in checkSmallSize()
DNonBlockingAudioTrack.java71 int bufferSize = 2 * minBufferSize; in NonBlockingAudioTrack() local
DMediaMuxerTest.java506 int bufferSize = MAX_SAMPLE_SIZE; in cloneMediaUsingMuxer() local
693 int bufferSize = MAX_SAMPLE_SIZE; in verifySamplesMatch() local
751 int bufferSize = MAX_SAMPLE_SIZE; in simulateVideoFramesDropIssuesAndMux() local
938 int bufferSize = MAX_SAMPLE_SIZE; in cloneMediaWithSamplesDropAndStartOffsets() local
DAudioPlaybackCaptureTest.java183 private static ByteBuffer readToBuffer(AudioRecord audioRecord, int bufferSize) in readToBuffer()
DAudioHelper.java406 int format, int bufferSize, boolean isChannelIndex) { in AudioRecordAudit()
412 int format, int bufferSize, in AudioRecordAudit()
DAudioTrackSurroundTest.java202 int bufferSize = minBufferSize * 3; // plenty big in createAudioTrack() local
DAudioTrackTest.java1522 int bufferSize = AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in testReloadStaticData() local
1619 final int bufferSize = bufferSamples in playOnceStaticData() local
1877 int bufferSize = 12 * minBufferSize; in testPlayStreamByteBuffer() local
2004 final int bufferSize = frameCount * frameSize; in testPlayChannelIndexStreamBuffer() local
DAudioRecordTest.java163 int bufferSize = AudioRecord.getMinBufferSize(SAMPLING_RATE_HZ, in testAudioRecordProperties() local
/cts/suite/audio_quality/lib/src/audio/
DAudioSignalFactory.cpp27 int bufferSize = samples * (stereo? 2 : 1) * BPS; in generateSineWave() local
48 int bufferSize = samples * (stereo? 2 : 1) * BPS; in generateWhiteNoise() local
73 int bufferSize = samples * (stereo? 2 : 1) * BPS; in generateZeroSound() local
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoCaptureAudioOutputPermissionTest.java41 int bufferSize = AudioRecord.getMinBufferSize(44100, in testCreateAudioRecord() local
/cts/suite/audio_quality/lib/src/task/
DTaskInput.cpp62 size_t bufferSize = mRecordingTimeInMs * AudioHardware::ESampleRate_44100 / 1000 * in start() local
/cts/tests/filesystem/src/android/filesystem/cts/
DFileUtil.java244 public static long getFileSizeExceedingMemory(Context context, int bufferSize) { in getFileSizeExceedingMemory()
273 long fileSize, int bufferSize) throws Exception { in doRandomReadTest()
327 long fileSize, int bufferSize) throws Exception { in doRandomWriteTest()
379 int bufferSize, int numberRepetition, String reportName, String streamName) in doSequentialUpdateTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioRecordHelper.java27 private final int bufferSize; field in AudioRecordHelper
/cts/tests/tests/proto/src/android/util/proto/cts/
DEncodedBufferTest.java102 public void testWriteRawBuffer(int chunkSize, int bufferSize) throws Exception { in testWriteRawBuffer()
/cts/tests/tests/graphics/jni/
DMediaTestHelpers.cpp139 size_t bufferSize = 0; in processOneInputBuffer() local
/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java372 final int bufferSize = bufferSamples * 2; // bytes per sample for 16 bits in testVisualizerCapture_CVE_2017_0396() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DXmpDepthDecode.java408 int bufferSize = 0; in parseExtendedXMPSections() local
/cts/tests/tests/net/src/android/net/cts/
DLocalSocketTest.java242 final int bufferSize = clientSocket.getSendBufferSize(); in testSetSoTimeout_writeTimeout() local