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()
249 audio_port_role_t portRole) const in checkCompatibleProfile()
256 portType == AUDIO_PORT_TYPE_MIX && portRole == AUDIO_PORT_ROLE_SINK in checkCompatibleProfile()
272 portType, portRole) == NO_ERROR && in checkCompatibleProfile()
DSerializer.cpp235 audio_port_role_t portRole = role == "source" ? AUDIO_PORT_ROLE_SOURCE : AUDIO_PORT_ROLE_SINK; in deserialize() local
237 mixPort = new Element(String8(name.c_str()), portRole); in deserialize()
254 if (portRole == AUDIO_PORT_ROLE_SOURCE) { in deserialize()
299 audio_port_role_t portRole = (role == Attributes::roleSource) ? in deserialize() local
304 (!audio_is_input_device(type) && portRole == AUDIO_PORT_ROLE_SOURCE) || in deserialize()
305 (!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;