Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/flac/dec/
DFLACDecoder.cpp61 memmove(mWriteBuffer, buffer, sizeof(const FLAC__int32 * const) * getChannels()); in writeCallback()
370 if (getChannels() == 0 || getChannels() > kMaxChannels) { in parseMetadata()
371 ALOGE("unsupported channel count %u", getChannels()); in parseMetadata()
407 if (entry.mChannels >= getChannels() && in parseMetadata()
464 mWriteHeader.channels != getChannels() || in decodeOneFrame()
467 getSampleRate(), getChannels(), getBitsPerSample(), in decodeOneFrame()
477 size_t bufferSize = blocksize * getChannels() * sizeof(short); in decodeOneFrame()
481 blocksize = *outBufferLen / (getChannels() * sizeof(short)); in decodeOneFrame()
482 bufferSize = blocksize * getChannels() * sizeof(short); in decodeOneFrame()
487 getChannels(), getBitsPerSample()); in decodeOneFrame()
[all …]
DFLACDecoder.h59 unsigned getChannels() const { in getChannels() function
/frameworks/av/media/libstagefright/
DFLACExtractor.cpp97 unsigned getChannels() const { in getChannels() function in android::FLACParser
330 memmove(mWriteBuffer, buffer, sizeof(const FLAC__int32 * const) * getChannels()); in writeCallback()
561 if (getChannels() == 0 || getChannels() > kMaxChannels) { in init()
562 ALOGE("unsupported channel count %u", getChannels()); in init()
610 if (table[i].mChannels >= getChannels() && in init()
619 mTrackMetadata->setInt32(kKeyChannelCount, getChannels()); in init()
640 mMaxBufferSize = getMaxBlockSize() * getChannels() * sizeof(short); in allocateBuffers()
679 mWriteHeader.channels != getChannels() || in readBuffer()
682 getSampleRate(), getChannels(), getBitsPerSample(), in readBuffer()
693 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/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp59 (left.getChannels() == compareTo.getChannels()) && in operator ==()
DAudioPort.cpp81 const ChannelsVector &channelsToExport = mProfiles[profileIndex]->getChannels(); in toAudioPort()
327 pickChannelMask(pickedChannelMask, mProfiles[i]->getChannels()); in pickAudioProfile()
DSerializer.cpp207 profile->setDynamicChannels(profile->getChannels().isEmpty()); in deserialize()
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DRankingHelperTest.java376 if (channel2.getGroup().equals(actual.getChannels().get(0).getGroup())) { in testChannelXml()
446 if (channel2.getGroup().equals(actual.getChannels().get(0).getGroup())) { in testChannelXmlForBackup()
1364 assertEquals(2, group.getChannels().size()); // misc channel too in testGetChannelGroups()
1365 assertTrue(channel3.getId().equals(group.getChannels().get(0).getId()) in testGetChannelGroups()
1366 || channel3.getId().equals(group.getChannels().get(1).getId())); in testGetChannelGroups()
1368 assertEquals(2, group.getChannels().size()); in testGetChannelGroups()
1369 if (group.getChannels().get(0).getId().equals(channel1.getId())) { in testGetChannelGroups()
1370 assertTrue(group.getChannels().get(1).getId().equals(channel1a.getId())); in testGetChannelGroups()
1371 } else if (group.getChannels().get(0).getId().equals(channel1a.getId())) { in testGetChannelGroups()
1372 assertTrue(group.getChannels().get(1).getId().equals(channel1.getId())); in testGetChannelGroups()
[all …]
/frameworks/base/core/java/android/service/notification/
DNotificationRankingUpdate.java131 public Bundle getChannels() { in getChannels() method in NotificationRankingUpdate
DNotificationListenerService.java1745 Bundle channels = mRankingUpdate.getChannels(); in buildChannelsLocked()
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java115 public List<NotificationChannel> getChannels() { in getChannels() method in NotificationChannelGroup
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java736 if (nonGrouped.getChannels().size() > 0) { in getNotificationChannelGroups()
/frameworks/base/api/
Dcurrent.txt5580 method public java.util.List<android.app.NotificationChannel> getChannels();
Dtest-current.txt5593 method public java.util.List<android.app.NotificationChannel> getChannels();
Dsystem-current.txt5785 method public java.util.List<android.app.NotificationChannel> getChannels();
/frameworks/base/config/
Dboot-image-profile.txt30138 HSPLandroid/service/notification/NotificationRankingUpdate;->getChannels()Landroid/os/Bundle;