Home
last modified time | relevance | path

Searched refs:audioPort (Results 1 – 2 of 2) 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/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4380 struct audio_port audioPort; in isHapticPlaybackSupported() local
4381 outProfile->toAudioPort(&audioPort); in isHapticPlaybackSupported()
4382 for (size_t i = 0; i < audioPort.num_channel_masks; i++) { in isHapticPlaybackSupported()
4383 if (audioPort.channel_masks[i] & AUDIO_CHANNEL_HAPTIC_ALL) { in isHapticPlaybackSupported()