Home
last modified time | relevance | path

Searched refs:getChannelMask (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/av/services/oboeservice/
DAAudioServiceEndpoint.cpp62 result << " Channel Mask: 0x" << std::hex << getChannelMask() << std::dec << "\n"; in dump()
173 if (configuration.getChannelMask() != AAUDIO_UNSPECIFIED && in matches()
174 configuration.getChannelMask() != getChannelMask()) { in matches()
DAAudioServiceStreamShared.cpp167 setChannelMask(configurationInput.getChannelMask()); in open()
168 if (getChannelMask() == AAUDIO_UNSPECIFIED) { in open()
169 setChannelMask(endpoint->getChannelMask()); in open()
DAAudioServiceEndpointMMAP.cpp128 getChannelMask(), getSamplesPerFrame(), direction == AAUDIO_DIRECTION_INPUT); in open()
265 setHardwareSamplesPerFrame(AAudioConvert_channelMaskToCount(getChannelMask())); in openWithConfig()
278 __func__, getSampleRate(), getSamplesPerFrame(), getChannelMask(), in openWithConfig()
DAAudioServiceEndpointShared.cpp81 setChannelMask(mStreamInternal->getChannelMask()); in open()
/frameworks/base/media/jni/soundpool/
DSound.h70 audio_channel_mask_t getChannelMask() const { return mChannelMask; } in getChannelMask() function
/frameworks/av/services/audioflinger/datapath/
DSpdifStreamOut.h90 [[nodiscard]] virtual audio_channel_mask_t getChannelMask() const { in getChannelMask() function
DSpdifStreamIn.h92 [[nodiscard]] virtual audio_channel_mask_t getChannelMask() const { in getChannelMask() function
/frameworks/base/media/tests/aidltests/src/com/android/media/
DAidlConversionUnitTests.java166 assertEquals(AudioFormat.CHANNEL_OUT_MONO, api.getChannelMask()); in testAudioConfigConversionApiLayout()
171 assertEquals(AudioFormat.CHANNEL_IN_MONO, apiInput.getChannelMask()); in testAudioConfigConversionApiLayout()
200 assertEquals(AudioFormat.CHANNEL_OUT_MONO, api.getChannelMask()); in testAudioConfigBaseConversionApiLayout()
205 assertEquals(AudioFormat.CHANNEL_IN_MONO, apiInput.getChannelMask()); in testAudioConfigBaseConversionApiLayout()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h67 audio_channel_mask_t getChannelMask() const { return mChannelMask; } in getChannelMask() function
/frameworks/av/media/libaudiofoundation/include/media/
DAudioGain.h41 const audio_channel_mask_t &getChannelMask() const { return mGain.channel_mask; } in getChannelMask() function
DAudioPort.h183 audio_channel_mask_t getChannelMask() const { return mChannelMask; } in getChannelMask() function
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp128 request.getConfiguration().setChannelMask(getChannelMask()); in open()
142 || request.getConfiguration().getChannelMask() == AAUDIO_CHANNEL_MONO) in open()
178 if (getChannelMask() == AAUDIO_UNSPECIFIED) { in open()
179 setChannelMask(configurationOutput.getChannelMask()); in open()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp69 AAudio_getChannelMaskForOpen(getChannelMask(), getSamplesPerFrame(), true /*isInput*/); in open()
206 AAudio_isChannelIndexMask(getChannelMask()))); in open()
DAudioStreamTrack.cpp70 AAudio_getChannelMaskForOpen(getChannelMask(), getSamplesPerFrame(), false /*isInput*/); in open()
207 AAudio_isChannelIndexMask(getChannelMask()))); in open()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h165 aaudio_channel_mask_t getChannelMask() const { in getChannelMask() function
DAudioStreamBuilder.cpp308 getSampleRate(), getSamplesPerFrame(), getChannelMask(), getFormat(), in logParameters()
DAudioStream.h375 aaudio_channel_mask_t getChannelMask() const { in getChannelMask() function
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp88 result.channelMask = getChannelMask(); in parcelable()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java1395 dest.writeInt(captureFormat.getChannelMask()); in writeToParcel()
1416 result = prime * result + captureFormat.getChannelMask(); in hashCode()
1470 if (captureFormat.getChannelMask() != other.captureFormat.getChannelMask()) in equals()
1489 (", channelMask=" + captureFormat.getChannelMask())) in toString()
1994 dest.writeInt(captureFormat.getChannelMask()); in writeToParcel()
2047 (", channelMask=" + captureFormat.getChannelMask())) in toString()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DAudioRecordUnitTest.java54 TEST_AUDIO_FORMAT.getChannelMask(), TEST_AUDIO_FORMAT.getEncoding());
DAudioTrackUnitTest.java56 TEST_AUDIO_FORMAT.getChannelMask(), TEST_AUDIO_FORMAT.getEncoding());
/frameworks/base/media/java/android/media/
DAudioFormat.java1029 int channelCount = channelCountFromOutChannelMask(getChannelMask()); in AudioFormat()
1103 public int getChannelMask() { in getChannelMask() method in AudioFormat
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java126 textDump += Integer.toHexString(mix.getFormat().getChannelMask()).toUpperCase() + "\n"; in toLogFriendlyString()
DAudioMix.java558 && mFormat.getChannelMask() == AudioFormat.CHANNEL_IN_MONO) { in build()
DAudioPolicy.java973 mix.getFormat().getChannelMask())) in createAudioRecordSink()
1027 mix.getFormat().getChannelMask(), mix.getFormat().getEncoding()), in createAudioTrackSource()

12