Home
last modified time | relevance | path

Searched refs:audioPort (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp102 sp<AudioPort> audioPort = new AudioPort( in TEST() local
104 audioPort->setGains(getAudioGainsForTest()); in TEST()
105 audioPort->setAudioProfiles(getAudioProfileVectorForTest()); in TEST()
107 ASSERT_EQ(data.writeParcelable(*audioPort), NO_ERROR); in TEST()
112 ASSERT_TRUE(audioPortFromParcel->equals(audioPort)); in TEST()
/frameworks/av/media/libaudiohal/impl/
DDeviceHalLocal.cpp190 struct audio_port audioPort = {}; in getAudioPort() local
191 audio_populate_audio_port(port, &audioPort); in getAudioPort()
192 status_t status = getAudioPort(&audioPort); in getAudioPort()
194 audio_populate_audio_port_v7(&audioPort, port); in getAudioPort()
DDeviceHalHidl.cpp382 struct audio_port audioPort = {}; in getAudioPort()
384 if (!audio_populate_audio_port(port, &audioPort)) { in getAudioPort()
388 status_t status = getAudioPort(&audioPort); in getAudioPort()
390 audio_populate_audio_port_v7(&audioPort, port); in getAudioPort()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4740 struct audio_port audioPort; in isHapticPlaybackSupported() local
4741 outProfile->toAudioPort(&audioPort); in isHapticPlaybackSupported()
4742 for (size_t i = 0; i < audioPort.num_channel_masks; i++) { in isHapticPlaybackSupported()
4743 if (audioPort.channel_masks[i] & AUDIO_CHANNEL_HAPTIC_ALL) { in isHapticPlaybackSupported()