/cts/tests/tests/media/src/android/media/cts/ |
D | AudioHelper.java | 191 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()
|
D | AudioRecordNative.java | 112 public int getChannelCount() { in getChannelCount() method in AudioRecordNative
|
D | AudioTrackNative.java | 114 public int getChannelCount() { in getChannelCount() method in AudioTrackNative
|
D | MediaSyncEventTest.java | 71 final int sampleCount = frameCount * format.getChannelCount(); in testSynchronizedRecord()
|
D | AudioFormatTest.java | 61 6, copiedFormat.getChannelCount()); in testBuilderForCopy()
|
D | DynamicsProcessingTest.java | 142 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()
|
D | AudioRecordTest.java | 164 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()
|
D | AudioTrackTest.java | 1492 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()
|
D | AudioPlaybackCaptureTest.java | 408 * audioRecord.getChannelCount(); in testStopMediaProjectionDuringCapture()
|
D | VolumeShaperTest.java | 186 final int sampleCount = frameCount * format.getChannelCount(); in createSineAudioTrack() 189 600 * format.getChannelCount() /* frequency */, 0 /* sweep */); in createSineAudioTrack()
|
D | MediaRecorderTest.java | 1744 assertEquals(AUDIO_NUM_CHANNELS, format.getChannelCount()); in checkRecordingConfig()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/ |
D | JavaSinkHandler.java | 63 mRecorder.getNumBufferFrames(), mRecorder.getChannelCount()); in handleMessage()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/ |
D | StreamBase.java | 48 public int getChannelCount() { return mChannelCount; } in getChannelCount() method in StreamBase
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/audio/ |
D | AudioCapabilitiesTestActivity.java | 225 encodingToString(audioFormat.getEncoding()), audioFormat.getChannelCount()); in toStr()
|
/cts/hostsidetests/media/src/android/media/metrics/cts/ |
D | MediaMetricsAtomTests.java | 188 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/ |
D | SoundPlayerObject.java | 96 public int getChannelCount() { in getChannelCount() method in SoundPlayerObject
|
D | AudioAEC.java | 219 int channelCount = getChannelCount(); in onCreate()
|