Home
last modified time | relevance | path

Searched refs:getChannelCount (Results 1 – 25 of 53) sorted by relevance

123

/aosp12/packages/services/Car/service/src/com/android/car/audio/
H A DCarAudioDeviceInfo.java110 int getChannelCount() { in getChannelCount() method in CarAudioDeviceInfo
225 + " channelCount: " + getChannelCount() in toString()
236 getSampleRate(), getEncodingFormat(), getChannelCount()); in dump()
H A DCarAudioDynamicRouting.java74 .setChannelMask(info.getChannelCount()) in setupAudioDynamicRoutingForGroup()
88 address, carAudioContext, info.getSampleRate(), info.getChannelCount(), in setupAudioDynamicRoutingForGroup()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
H A DZenModeAddBypassingAppsPreferenceControllerTest.java95 when(mBackend.getChannelCount( in testUpdateAppList()
104 when(mBackend.getChannelCount( in testUpdateAppList()
118 when(mBackend.getChannelCount( in testUpdateAppList()
/aosp12/packages/providers/TvProvider/tests/src/com/android/providers/tv/
H A DPackageRemovedReceiverTest.java132 assertEquals(2, Utils.getChannelCount(mResolver)); in testPackageRemoved()
151 1, Utils.getChannelCount(mResolver)); in testPackageRemoved()
168 0, Utils.getChannelCount(mResolver)); in testPackageRemoved()
H A DTransientRowHelperTests.java165 private long getChannelCount() { in getChannelCount() method in TransientRowHelperTests
201 2, getChannelCount()); in testTransientRowsAreDeletedAfterReboot()
207 1, getChannelCount()); in testTransientRowsAreDeletedAfterReboot()
H A DBootCompletedReceiverTest.java152 assertEquals(2, Utils.getChannelCount(mResolver)); in testPackageRemoved()
172 1, Utils.getChannelCount(mResolver)); in testPackageRemoved()
/aosp12/hardware/interfaces/audio/common/7.0/enums/include/
H A Dandroid_audio_policy_configuration_V7_0-enums.h28 static inline size_t getChannelCount(AudioChannelMask mask) { in getChannelCount() function
131 static inline ssize_t getChannelCount(const std::string& mask) { in getChannelCount() function
132 return getChannelCount(stringToAudioChannelMask(mask)); in getChannelCount()
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
H A DProgramTableAdapterTest.java92 assertThat(mProgramManager.getChannelCount()).isEqualTo(3); in testOnTableEntryChanged()
96 assertThat(mProgramManager.getChannelCount()).isEqualTo(1); in testOnTableEntryChanged()
/aosp12/frameworks/av/media/codec2/components/flac/
H A DC2SoftFlacEnc.cpp102 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() function in android::C2SoftFlacEnc::IntfImpl
249 const uint32_t channelCount = mIntf->getChannelCount(); in process()
368 …ALOGV("%s numChannel=%d, sampleRate=%d", __func__, mIntf->getChannelCount(), mIntf->getSampleRate(… in configureEncoder()
378 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mIntf->getChannelCount()); in configureEncoder()
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/data/
H A DChannelDataManagerTest.java173 assertThat(mChannelDataManager.getChannelCount()) in testGetChannels()
205 assertThat(mChannelDataManager.getChannelCount()).isEqualTo(0); in testGetChannels_noChannels()
330 assertThat(mChannelDataManager.getChannelCount()) in testChannelListChanged()
352 assertThat(mChannelDataManager.getChannelCount()) in testChannelListChanged()
370 assertThat(mChannelDataManager.getChannelCount()) in testChannelListChanged()
/aosp12/frameworks/base/tools/powerstats/
H A DPowerStatsServiceProtoParser.java30 for (int i = 0; i < proto.getChannelCount(); i++) { in printEnergyMeterInfo()
39 int energyMeterInfoCount = proto.getChannelCount(); in printEnergyMeasurements()
/aosp12/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioSimpleRecorder.h76 int32_t getChannelCount() { in getChannelCount() function
87 return getChannelCount(); in getSamplesPerFrame()
H A DAAudioArgsParser.h120 int32_t getChannelCount() const { in getChannelCount() function
504 getChannelCount(), AAudioStream_getChannelCount(stream)); in compareWithStream()
/aosp12/frameworks/base/media/jni/soundpool/
H A DSound.h67 int32_t getChannelCount() const { return mChannelCount; } in getChannelCount() function
H A DStream.cpp145 const uint32_t loopEnd = mSound->getSizeInBytes() / mSound->getChannelCount() / in setLoop()
294 const int32_t channelCount = sound->getChannelCount(); in play_l()
/aosp12/frameworks/av/media/codec2/components/aac/
H A DC2SoftAacEnc.cpp120 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() function in android::C2SoftAacEnc::IntfImpl
248 mIntf->getSampleRate(), mIntf->getChannelCount(), mIntf->getBitrate(), in setAudioParams()
266 getChannelMode(mIntf->getChannelCount()))) { in setAudioParams()
335 uint32_t channelCount = mIntf->getChannelCount(); in process()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
H A DCarAudioDeviceInfoTest.java188 int channelCount = info.getChannelCount(); in getChannelCount_withNoChannelMasks_returnsOne()
200 int channelCount = info.getChannelCount(); in getChannelCount_withMultipleChannels_returnsHighestCount()
/aosp12/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
H A DSoundTriggerTestService.java575 int bytesRequired = format.getSampleRate() * format.getChannelCount() * in run()
587 if (format.getChannelCount() == 2) { in run()
589 } else if (format.getChannelCount() >= 3) { in run()
613 + "_capture_" + format.getChannelCount() + "ch_" in run()
/aosp12/hardware/interfaces/audio/effect/all-versions/vts/functional/
H A DVtsHalAudioEffectTargetTest.cpp209 void getChannelCount(uint32_t* channelCount);
249 void AudioEffectHidlTest::getChannelCount(uint32_t* channelCount) { in getChannelCount() function in AudioEffectHidlTest
268 *channelCount = android::audio::policy::configuration::V7_0::getChannelCount( in getChannelCount()
490 getChannelCount(&channelCount); in TEST_P()
506 getChannelCount(&channelCount); in TEST_P()
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/tests/
H A Dgenerators_tests.cpp160 xsd::getChannelCount(config.base.channelMask); in TEST()
/aosp12/frameworks/base/media/java/android/media/
H A DAudioRecord.java440 mChannelCount = format.getChannelCount(); in AudioRecord()
445 mChannelCount = format.getChannelCount(); in AudioRecord()
905 mBufferSizeInBytes = mFormat.getChannelCount() in build()
1117 public int getChannelCount() { in getChannelCount() method in AudioRecord
/aosp12/packages/apps/TV/src/com/android/tv/onboarding/
H A DOnboardingActivity.java232 if (manager.getChannelCount() == 0) { in executeAction()
/aosp12/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DSettingsFragment.java76 setEnabled(getChannelDataManager().getChannelCount() != 0); in getItemList()
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
H A DVtsHalMediaC2V1_0TargetAudioEncTest.cpp89 ASSERT_NO_FATAL_FAILURE(getChannelCount(&mNumChannels)); in SetUp()
107 void getChannelCount(int32_t* nChannels);
235 void Codec2AudioEncHidlTestBase::getChannelCount(int32_t* nChannels) { in getChannelCount() function in __anonf3224b090110::Codec2AudioEncHidlTestBase
/aosp12/frameworks/av/media/codec2/components/opus/
H A DC2SoftOpusEnc.cpp114 uint32_t getChannelCount() const { return mChannelCount->value; } in getChannelCount() function in android::C2SoftOpusEnc::IntfImpl
151 mChannelCount = mIntf->getChannelCount(); in configureEncoder()

123