Home
last modified time | relevance | path

Searched refs:portRole (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp101 audio_port_role_t portRole) const in checkCompatibleChannelMask()
107 const bool isRecordThread = portType == AUDIO_PORT_TYPE_MIX && portRole == AUDIO_PORT_ROLE_SINK; in checkCompatibleChannelMask()
248 audio_port_role_t portRole) const in checkCompatibleProfile()
255 portType == AUDIO_PORT_TYPE_MIX && portRole == AUDIO_PORT_ROLE_SINK in checkCompatibleProfile()
271 portType, portRole) == NO_ERROR && in checkCompatibleProfile()
DSerializer.cpp238 audio_port_role_t portRole = role == "source" ? AUDIO_PORT_ROLE_SOURCE : AUDIO_PORT_ROLE_SINK; in deserialize() local
240 mixPort = new Element(String8(name.c_str()), portRole); in deserialize()
257 if (portRole == AUDIO_PORT_ROLE_SOURCE) { in deserialize()
310 audio_port_role_t portRole = (role == Attributes::roleSource) ? in deserialize() local
315 (!audio_is_input_device(type) && portRole == AUDIO_PORT_ROLE_SOURCE) || in deserialize()
316 (!audio_is_output_devices(type) && portRole == AUDIO_PORT_ROLE_SINK)) { in deserialize()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h102 audio_port_role_t portRole) const;
203 audio_port_role_t portRole) const;