Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/flac/dec/
DFLACDecoder.cpp62 memmove(mWriteBuffer, buffer, sizeof(const FLAC__int32 * const) * getChannels()); in writeCallback()
310 if (getChannels() == 0 || getChannels() > kMaxChannels) { in parseMetadata()
311 ALOGE("unsupported channel count %u", getChannels()); in parseMetadata()
374 mWriteHeader.channels != getChannels() || in decodeOneFrame()
377 getSampleRate(), getChannels(), getBitsPerSample(), in decodeOneFrame()
387 const unsigned channels = getChannels(); in decodeOneFrame()
DFLACDecoder.h59 unsigned getChannels() const { in getChannels() function
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp116 unsigned getChannels() const { in getChannels() function in android::FLACParser
348 memmove(mWriteBuffer, buffer, sizeof(const FLAC__int32 * const) * getChannels()); in writeCallback()
517 if (getChannels() == 0 || getChannels() > kMaxChannels) { in init()
518 ALOGE("unsupported channel count %u", getChannels()); in init()
545 AMEDIAFORMAT_KEY_CHANNEL_COUNT, getChannels()); in init()
569 mMaxBufferSize = getMaxBlockSize() * getChannels() * getOutputSampleSize(); in allocateBuffers()
606 mWriteHeader.channels != getChannels() || in readBuffer()
609 getSampleRate(), getChannels(), getBitsPerSample(), in readBuffer()
620 const size_t bufferSize = blocksize * getChannels() * getOutputSampleSize(); in readBuffer()
629 getChannels(), in readBuffer()
[all …]
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java158 public List<NotificationChannel> getChannels() { in getChannels() method in NotificationChannelGroup
303 Objects.equals(getChannels(), that.getChannels()); in equals()
308 return Objects.hash(getId(), getName(), getDescription(), isBlocked(), getChannels(), in hashCode()
317 cloned.setChannels(getChannels()); in clone()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp60 (left.getChannels() == compareTo.getChannels()) && in operator ==()
322 setChannelsFor(profileToAdd->getChannels(), profileToAdd->getFormat()); in addProfileFromHal()
452 auto channels = intersectFilterAndOrder(inputProfile->getChannels().asOutMask(), in findBestMatchingOutputConfig()
453 outputProfile->getChannels(), preferredOutputChannels); in findBestMatchingOutputConfig()
547 dynamicFormatProfile->getChannels(), in setFormats()
583 sp<AudioProfile> profileToAdd = new AudioProfile(format, profile->getChannels(), in setSampleRatesFor()
DAudioPort.cpp75 const ChannelsVector &channelsToExport = profile->getChannels(); in toAudioPort()
334 pickChannelMask(pickedChannelMask, mProfiles[i]->getChannels()); in pickAudioProfile()
DSerializer.cpp409 profile->setDynamicChannels(profile->getChannels().isEmpty()); in deserialize()
/frameworks/base/telephony/java/android/telephony/
DRadioAccessSpecifier.java108 public int[] getChannels() { in getChannels() method in RadioAccessSpecifier
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java373 if (channel2.getGroup().equals(actual.getChannels().get(0).getGroup())) { in testChannelXml()
445 if (channel2.getGroup().equals(actual.getChannels().get(0).getGroup())) { in testChannelXmlForBackup()
1762 assertEquals(2, group.getChannels().size()); // misc channel too in testGetChannelGroups()
1763 assertTrue(channel3.getId().equals(group.getChannels().get(0).getId()) in testGetChannelGroups()
1764 || channel3.getId().equals(group.getChannels().get(1).getId())); in testGetChannelGroups()
1766 assertEquals(2, group.getChannels().size()); in testGetChannelGroups()
1767 if (group.getChannels().get(0).getId().equals(channel1.getId())) { in testGetChannelGroups()
1768 assertTrue(group.getChannels().get(1).getId().equals(channel1a.getId())); in testGetChannelGroups()
1769 } else if (group.getChannels().get(0).getId().equals(channel1a.getId())) { in testGetChannelGroups()
1770 assertTrue(group.getChannels().get(1).getId().equals(channel1.getId())); in testGetChannelGroups()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h79 const ChannelsVector &getChannels() const { return mChannelMasks; } in getChannels() function
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java132 if (ras.getChannels() != null in isValidScan()
133 && ras.getChannels().length > NetworkScanRequest.MAX_CHANNELS) { in isValidScan()
DRIL.java2053 if (ras.getChannels() != null) { in convertRadioAccessSpecifierToRadioHAL()
2054 for (int channel : ras.getChannels()) { in convertRadioAccessSpecifierToRadioHAL()
/frameworks/av/media/libmedia/xsd/api/
Dcurrent.txt7 method public int getChannels();
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java598 group.setChannels(oldGroup.getChannels()); in createNotificationChannelGroup()
1011 if (includeNonGrouped && nonGrouped.getChannels().size() > 0) { in getNotificationChannelGroups()
/frameworks/base/api/
Dcurrent.txt5793 method public java.util.List<android.app.NotificationChannel> getChannels();
44593 method public int[] getChannels();
/frameworks/base/config/
Dboot-image-profile.txt13291 HSPLandroid/service/notification/NotificationRankingUpdate;->getChannels()Landroid/os/Bundle;
Dhiddenapi-greylist-max-o.txt68216 Landroid/service/notification/NotificationRankingUpdate;->getChannels()Landroid/os/Bundle;