Home
last modified time | relevance | path

Searched refs:getChannels (Results 1 – 20 of 20) 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/
DAudioProfileVectorHelper.cpp72 format, profile->getChannels(), sampleRateSet); in setSampleRatesForAudioProfiles()
113 dynamicFormatProfile->getChannels(), in addProfilesForFormats()
143 audioProfileVector, profileToAdd->getChannels(), profileToAdd->getFormat()); in addDynamicAudioProfileAndSort()
221 const ChannelMaskSet channelMasks = audioProfile->getChannels(); in checkCompatibleChannelMask()
416 auto channels = intersectFilterAndOrder(asOutMask(inputProfile->getChannels()), in findBestMatchingOutputConfig()
417 outputProfile->getChannels(), preferredOutputChannelVector); in findBestMatchingOutputConfig()
DPolicyAudioPort.cpp253 pickChannelMask(pickedChannelMask, audioProfiles[i]->getChannels()); in pickAudioProfile()
DSerializer.cpp410 profile->setDynamicChannels(profile->getChannels().empty()); in deserialize()
/frameworks/av/media/libaudiofoundation/
DAudioProfile.cpp33 (left.getChannels() == right.getChannels()) && in operator ==()
126 mChannelMasks == other->getChannels() && in equals()
DAudioPort.cpp51 const ChannelMaskSet &channelsToExport = profile->getChannels(); in toAudioPort()
/frameworks/base/telephony/java/android/telephony/
DRadioAccessSpecifier.java109 public int[] getChannels() { in getChannels() method in RadioAccessSpecifier
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java376 if (channel2.getGroup().equals(actual.getChannels().get(0).getGroup())) { in testChannelXml()
448 if (channel2.getGroup().equals(actual.getChannels().get(0).getGroup())) { in testChannelXmlForBackup()
1765 assertEquals(2, group.getChannels().size()); // misc channel too in testGetChannelGroups()
1766 assertTrue(channel3.getId().equals(group.getChannels().get(0).getId()) in testGetChannelGroups()
1767 || channel3.getId().equals(group.getChannels().get(1).getId())); in testGetChannelGroups()
1769 assertEquals(2, group.getChannels().size()); in testGetChannelGroups()
1770 if (group.getChannels().get(0).getId().equals(channel1.getId())) { in testGetChannelGroups()
1771 assertTrue(group.getChannels().get(1).getId().equals(channel1a.getId())); in testGetChannelGroups()
1772 } else if (group.getChannels().get(0).getId().equals(channel1a.getId())) { in testGetChannelGroups()
1773 assertTrue(group.getChannels().get(1).getId().equals(channel1.getId())); in testGetChannelGroups()
[all …]
/frameworks/av/media/libaudiofoundation/include/media/
DAudioProfile.h41 const ChannelMaskSet &getChannels() const { return mChannelMasks; } in getChannels() function
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java147 if (ras.getChannels() != null in isValidScan()
148 && ras.getChannels().length > NetworkScanRequest.MAX_CHANNELS) { in isValidScan()
DRIL.java2448 if (ras.getChannels() != null) { in convertRadioAccessSpecifierToRadioHAL()
2449 for (int channel : ras.getChannels()) { in convertRadioAccessSpecifierToRadioHAL()
2490 if (ras.getChannels() != null) { in convertRadioAccessSpecifierToRadioHAL_1_5()
2491 for (int channel : ras.getChannels()) { in convertRadioAccessSpecifierToRadioHAL_1_5()
/frameworks/av/media/libmedia/xsd/api/
Dcurrent.txt7 method public int getChannels();
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java610 group.setChannels(oldGroup.getChannels()); in createNotificationChannelGroup()
1027 if (includeNonGrouped && nonGrouped.getChannels().size() > 0) { in getNotificationChannelGroups()
/frameworks/base/non-updatable-api/
Dcurrent.txt5796 method public java.util.List<android.app.NotificationChannel> getChannels();
45483 method public int[] getChannels();
/frameworks/base/api/
Dcurrent.txt5796 method public java.util.List<android.app.NotificationChannel> getChannels();
45627 method public int[] getChannels();
/frameworks/base/config/
Dboot-image-profile.txt13291 HSPLandroid/service/notification/NotificationRankingUpdate;->getChannels()Landroid/os/Bundle;
Dhiddenapi-greylist-max-o.txt63659 Landroid/service/notification/NotificationRankingUpdate;->getChannels()Landroid/os/Bundle;