Home
last modified time | relevance | path

Searched refs:getChannelCount (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java191 return format.getChannelCount() in frameSizeFromFormat()
549 mPosition += samples / mTrack.getChannelCount(); in read()
563 mPosition += samples / mTrack.getChannelCount(); in read()
576 mPosition += samples / mTrack.getChannelCount(); in read()
590 mPosition += samples / mTrack.getChannelCount(); in read()
604 mPosition += samples / mTrack.getChannelCount(); in read()
620 (mTrack.getChannelCount() in read()
637 (mTrack.getChannelCount() in read()
747 mPosition += samples / mTrack.getChannelCount(); in read()
758 mPosition += samples / mTrack.getChannelCount(); in read()
DAudioRecordNative.java112 public int getChannelCount() { in getChannelCount() method in AudioRecordNative
DAudioTrackNative.java114 public int getChannelCount() { in getChannelCount() method in AudioTrackNative
DMediaSyncEventTest.java71 final int sampleCount = frameCount * format.getChannelCount(); in testSynchronizedRecord()
DAudioFormatTest.java61 6, copiedFormat.getChannelCount()); in testBuilderForCopy()
DDynamicsProcessingTest.java142 final int channelCount = mDP.getChannelCount(); in test1_1ParametersChannel()
264 int channelCount = mDP.getChannelCount(); in test1_6Channel_perStage()
349 int channelCount = mDP.getChannelCount(); in test1_7Channel_perBand()
427 int channelCount = mDP.getChannelCount(); in test1_8Channel_setAllChannelsTo()
471 int channelCount = mDP.getChannelCount(); in test1_9Channel_setChannelTo()
DAudioRecordTest.java164 assertEquals(1, mAudioRecord.getChannelCount()); in testAudioRecordProperties()
527 final int observedChannelCount = rec.getChannelCount(); in testAudioRecordBuilderParams()
713 .getChannelCount(); in testRecordNoDataForIdleUids()
1000 format.getChannelCount() * AudioFormat.getBytesPerSample(audioFormat); in createAudioRecord()
DAudioTrackTest.java1492 assertEquals(hannelCount, track.getChannelCount()); in testAudioTrackProperties()
1792 assertEquals(testName, channelCount, format.getChannelCount()); in playOnceStreamData()
1892 final int bufferSamples = frameCount * format.getChannelCount(); in playOnceStreamByteBuffer()
1912 final double sampleFrequency = testFrequency / format.getChannelCount(); in playOnceStreamByteBuffer()
2418 final int sampleCount = frameCount * format.getChannelCount(); in testVariableSpeedPlayback()
3021 assertEquals(1, track.getChannelCount()); // must be MONO in validateWriteStartsStream()
3065 assertEquals(1, track.getChannelCount()); // must be MONO in validateSetStartThresholdStartsStream()
DAudioPlaybackCaptureTest.java408 * audioRecord.getChannelCount(); in testStopMediaProjectionDuringCapture()
DVolumeShaperTest.java186 final int sampleCount = frameCount * format.getChannelCount(); in createSineAudioTrack()
189 600 * format.getChannelCount() /* frequency */, 0 /* sweep */); in createSineAudioTrack()
DMediaRecorderTest.java1744 assertEquals(AUDIO_NUM_CHANNELS, format.getChannelCount()); in checkRecordingConfig()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DJavaSinkHandler.java63 mRecorder.getNumBufferFrames(), mRecorder.getChannelCount()); in handleMessage()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/
DStreamBase.java48 public int getChannelCount() { return mChannelCount; } in getChannelCount() method in StreamBase
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/audio/
DAudioCapabilitiesTestActivity.java225 encodingToString(audioFormat.getEncoding()), audioFormat.getChannelCount()); in toStr()
/cts/hostsidetests/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java188 assertThat(result.getChannelCount()).isEqualTo(-1); in testTrackChangeEvent_default()
248 assertThat(result.getChannelCount()).isEqualTo(3); in testTrackChangeEvent_audio()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java96 public int getChannelCount() { in getChannelCount() method in SoundPlayerObject
DAudioAEC.java219 int channelCount = getChannelCount(); in onCreate()