Searched refs:asAudioPort (Results 1 – 11 of 11) sorted by relevance
35 __FUNCTION__, getModuleName(), asAudioPort()->getName().c_str()); in attach()80 if (asAudioPort()->isDirectOutput()) { in pickSamplingRate()94 if (asAudioPort()->getType() == AUDIO_PORT_TYPE_MIX) { in pickSamplingRate()115 if (asAudioPort()->isDirectOutput()) { in pickChannelMask()119 if (asAudioPort()->useInputChannelMask()) { in pickChannelMask()135 if (asAudioPort()->getType() != AUDIO_PORT_TYPE_MIX) { in pickChannelMask()140 if (asAudioPort()->useInputChannelMask()) { in pickChannelMask()223 if (!asAudioPort()->hasValidAudioProfile()) { in pickAudioProfile()229 if ((asAudioPort()->getType() != AUDIO_PORT_TYPE_MIX) || asAudioPort()->isDirectOutput()) { in pickAudioProfile()233 const AudioProfileVector& audioProfiles = asAudioPort()->getAudioProfiles(); in pickAudioProfile()[all …]
179 if (route->getSink()->asAudioPort()->getType() == AUDIO_PORT_TYPE_DEVICE) { in getRouteSinkDevice()189 if (source->asAudioPort()->getType() == AUDIO_PORT_TYPE_DEVICE) { in getRouteSourceDevices()
164 if (!force && !policyPort->asAudioPort()->hasDynamicAudioProfile()) { in importAudioPortAndPickAudioProfile()167 AudioPort::importAudioPort(policyPort->asAudioPort()); in importAudioPortAndPickAudioProfile()
50 if (mPolicyAudioPort->asAudioPort()->getGains().size() > 0) { in AudioOutputDescriptor()51 mPolicyAudioPort->asAudioPort()->getGains()[0]->getDefaultConfig(&mGain); in AudioOutputDescriptor()222 mPolicyAudioPort->asAudioPort()->toAudioPort(port); in toAudioPort()
50 virtual sp<AudioPort> asAudioPort() const = 0;74 asAudioPort()->getAudioProfiles(), samplingRate, channelMask, format, in checkCompatibleAudioProfile()75 asAudioPort()->getType(), asAudioPort()->getRole()); in checkCompatibleAudioProfile()
49 virtual sp<AudioPort> asAudioPort() const { in asAudioPort() function
97 if (const auto port = policyPort->asAudioPort(); port != nullptr) { in isMmap()
275 virtual sp<AudioPort> getAudioPort() const { return mPolicyAudioPort->asAudioPort(); } in getAudioPort()287 if (const auto port = policyPort->asAudioPort(); port != nullptr) { in isMmap()
79 virtual sp<AudioPort> asAudioPort() const { in asAudioPort() function
746 if (outputProfile->asAudioPort()->isDirectOutput()) { in TEST_P()747 countDirectProfilesPrimary += outputProfile->asAudioPort()->getAudioProfiles().size(); in TEST_P()756 if (outputProfile->asAudioPort()->isDirectOutput()) { in TEST_P()757 countDirectProfilesMsd += outputProfile->asAudioPort()->getAudioProfiles().size(); in TEST_P()
8937 audioProfiles.addAllValidProfiles(profile->asAudioPort()->getAudioProfiles()); in getProfilesForDevices()8948 if (!profile->asAudioPort()->isDirectOutput()) { in getProfilesForDevices()8951 audioProfiles.addAllValidProfiles(profile->asAudioPort()->getAudioProfiles()); in getProfilesForDevices()