Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/flac/dec/
DFLACDecoder.cpp61 memmove(mWriteBuffer, buffer, sizeof(const FLAC__int32 * const) * getChannels()); in writeCallback()
371 if (getChannels() == 0 || getChannels() > kMaxChannels) { in parseMetadata()
372 ALOGE("unsupported channel count %u", getChannels()); in parseMetadata()
408 if (entry.mChannels >= getChannels() && in parseMetadata()
459 mWriteHeader.channels != getChannels() || in decodeOneFrame()
462 getSampleRate(), getChannels(), getBitsPerSample(), in decodeOneFrame()
472 size_t bufferSize = blocksize * getChannels() * sizeof(short); in decodeOneFrame()
476 blocksize = *outBufferLen / (getChannels() * sizeof(short)); in decodeOneFrame()
477 bufferSize = blocksize * getChannels() * sizeof(short); in decodeOneFrame()
482 getChannels(), getBitsPerSample()); in decodeOneFrame()
[all …]
DFLACDecoder.h59 unsigned getChannels() const { in getChannels() function
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java142 public List<NotificationChannel> getChannels() { in getChannels() method in NotificationChannelGroup
268 return getChannels() != null ? getChannels().equals(that.getChannels()) in equals()
269 : that.getChannels() == null; in equals()
278 result = 31 * result + (getChannels() != null ? getChannels().hashCode() : 0); in hashCode()
287 cloned.setChannels(getChannels()); in clone()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp98 unsigned getChannels() const { in getChannels() function in android::FLACParser
328 memmove(mWriteBuffer, buffer, sizeof(const FLAC__int32 * const) * getChannels()); in writeCallback()
559 if (getChannels() == 0 || getChannels() > kMaxChannels) { in init()
560 ALOGE("unsupported channel count %u", getChannels()); in init()
608 if (table[i].mChannels >= getChannels() && in init()
617 mTrackMetadata->setInt32(kKeyChannelCount, getChannels()); in init()
638 mMaxBufferSize = getMaxBlockSize() * getChannels() * sizeof(short); in allocateBuffers()
677 mWriteHeader.channels != getChannels() || in readBuffer()
680 getSampleRate(), getChannels(), getBitsPerSample(), in readBuffer()
691 size_t bufferSize = blocksize * getChannels() * sizeof(short); in readBuffer()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h66 const ChannelsVector &getChannels() const { return mChannelMasks; } in getChannels() function
170 setChannelsFor(profileToAdd->getChannels(), profileToAdd->getFormat()); in addProfileFromHal()
263 dynamicFormatProfile->getChannels(), in setFormats()
306 sp<AudioProfile> profileToAdd = new AudioProfile(format, profile->getChannels(), in setSampleRatesFor()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java416 if (channel2.getGroup().equals(actual.getChannels().get(0).getGroup())) { in testChannelXml()
486 if (channel2.getGroup().equals(actual.getChannels().get(0).getGroup())) { in testChannelXmlForBackup()
1517 assertEquals(2, group.getChannels().size()); // misc channel too in testGetChannelGroups()
1518 assertTrue(channel3.getId().equals(group.getChannels().get(0).getId()) in testGetChannelGroups()
1519 || channel3.getId().equals(group.getChannels().get(1).getId())); in testGetChannelGroups()
1521 assertEquals(2, group.getChannels().size()); in testGetChannelGroups()
1522 if (group.getChannels().get(0).getId().equals(channel1.getId())) { in testGetChannelGroups()
1523 assertTrue(group.getChannels().get(1).getId().equals(channel1a.getId())); in testGetChannelGroups()
1524 } else if (group.getChannels().get(0).getId().equals(channel1a.getId())) { in testGetChannelGroups()
1525 assertTrue(group.getChannels().get(1).getId().equals(channel1.getId())); in testGetChannelGroups()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp59 (left.getChannels() == compareTo.getChannels()) && in operator ==()
DAudioPort.cpp69 const ChannelsVector &channelsToExport = profile->getChannels(); in toAudioPort()
333 pickChannelMask(pickedChannelMask, mProfiles[i]->getChannels()); in pickAudioProfile()
DSerializer.cpp207 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/core/java/android/service/notification/
DNotificationRankingUpdate.java139 public Bundle getChannels() { in getChannels() method in NotificationRankingUpdate
DNotificationListenerService.java1882 Bundle channels = mRankingUpdate.getChannels(); in buildChannelsLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java124 if (ras.getChannels() != null in isValidScan()
125 && ras.getChannels().length > NetworkScanRequest.MAX_CHANNELS) { in isValidScan()
DRIL.java1726 if (ras.getChannels() != null) { in convertRadioAccessSpecifierToRadioHAL()
1727 for (int channel : ras.getChannels()) { in convertRadioAccessSpecifierToRadioHAL()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java592 group.setChannels(oldGroup.getChannels()); in createNotificationChannelGroup()
861 if (includeNonGrouped && nonGrouped.getChannels().size() > 0) { in getNotificationChannelGroups()
/frameworks/base/config/
Dhiddenapi-public-dex.txt3890 Landroid/app/NotificationChannelGroup;->getChannels()Ljava/util/List;
44219 Landroid/telephony/RadioAccessSpecifier;->getChannels()[I
Dboot-image-profile.txt29653 HSPLandroid/service/notification/NotificationRankingUpdate;->getChannels()Landroid/os/Bundle;
/frameworks/base/api/
Dcurrent.txt5660 method public java.util.List<android.app.NotificationChannel> getChannels();
42173 method public int[] getChannels();