Home
last modified time | relevance | path

Searched refs:AudioPort (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp31 int32_t volatile AudioPort::mNextUniqueId = 1;
34 void AudioPort::attach(const sp<HwModule>& module) in attach()
40 audio_port_handle_t AudioPort::getNextUniqueId() in getNextUniqueId()
45 audio_module_handle_t AudioPort::getModuleHandle() const in getModuleHandle()
53 uint32_t AudioPort::getModuleVersion() const in getModuleVersion()
61 const char *AudioPort::getModuleName() const in getModuleName()
69 void AudioPort::toAudioPort(struct audio_port *port) const in toAudioPort()
130 void AudioPort::importAudioPort(const sp<AudioPort> port) in importAudioPort()
153 void AudioPort::pickSamplingRate(uint32_t &pickedRate,const SampleRateVector &samplingRates) const in pickSamplingRate()
187 void AudioPort::pickChannelMask(audio_channel_mask_t &pickedChannelMask, in pickChannelMask()
[all …]
DDeviceDescriptor.cpp28 AudioPort(String8(""), AUDIO_PORT_TYPE_DEVICE, in DeviceDescriptor()
45 AudioPort::attach(module); in attach()
259 AudioPort::toAudioPort(port); in toAudioPort()
267 void DeviceDescriptor::importAudioPort(const sp<AudioPort> port) { in importAudioPort()
268 AudioPort::importAudioPort(port); in importAudioPort()
298 AudioPort::dump(fd, spaces, verbose); in dump()
310 AudioPort::log(" "); in log()
DAudioCollections.cpp28 sp<AudioPort> AudioPortVector::findByTagName(const String8 &tagName) const in findByTagName()
30 sp<AudioPort> port = 0; in findByTagName()
DHwModule.cpp157 Vector <sp<AudioPort> > sources = route->getSources(); in getRouteSourceDevices()
181 sp<AudioPort> sink = routes[j]->getSink(); in refreshSupportedDevices()
204 sp<AudioPort> source = routes[j]->getSources().findByTagName(stream->getTagName()); in refreshSupportedDevices()
DIOProfile.cpp109 AudioPort::dump(fd, 4); in dump()
DConfigParsingUtils.cpp34 void ConfigParsingUtils::loadAudioPortGain(cnode *root, AudioPort &audioPort, int index) in loadAudioPortGain()
80 void ConfigParsingUtils::loadAudioPortGains(cnode *root, AudioPort &audioPort) in loadAudioPortGains()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioRoute.h28 class AudioPort; variable
44 void setSink(const sp<AudioPort> &sink) { mSink = sink; } in setSink()
45 const sp<AudioPort> &getSink() const { return mSink; } in getSink()
53 sp<AudioPort> mSink;
DAudioCollections.h28 class AudioPort; variable
31 class AudioPortVector : public Vector<sp<AudioPort> >
34 sp<AudioPort> findByTagName(const String8 &tagName) const;
DDeviceDescriptor.h29 class DeviceDescriptor : public AudioPort, public AudioPortConfig
44 virtual sp<AudioPort> getAudioPort() const { return (AudioPort*) this; } in getAudioPort()
51 virtual void importAudioPort(const sp<AudioPort> port);
DAudioPort.h35 class AudioPort : public virtual RefBase
38 AudioPort(const String8& name, audio_port_type_t type, audio_port_role_t role) : in AudioPort() function
41 virtual ~AudioPort() {} in ~AudioPort()
74 virtual void importAudioPort(const sp<AudioPort> port);
168 virtual sp<AudioPort> getAudioPort() const = 0;
DConfigParsingUtils.h43 static void loadAudioPortGain(cnode *root, AudioPort &audioPort, int index);
44 static void loadAudioPortGains(cnode *root, AudioPort &audioPort);
DAudioOutputDescriptor.h39 AudioOutputDescriptor(const sp<AudioPort>& port,
69 virtual sp<AudioPort> getAudioPort() const { return mPort; } in getAudioPort()
77 sp<AudioPort> mPort;
DIOProfile.h33 class IOProfile : public AudioPort
37 : AudioPort(name, AUDIO_PORT_TYPE_MIX, role) {} in IOProfile()
DAudioInputDescriptor.h52 virtual sp<AudioPort> getAudioPort() const { return mProfile; } in getAudioPort()
DHwModule.h78 sp<AudioPort> findPortByTagName(const String8 &tagName) const in findPortByTagName()
/frameworks/base/media/java/android/media/
DAudioPort.java38 public class AudioPort { class
79 AudioPort(AudioHandle handle, int role, String name, in AudioPort() method in AudioPort
196 if (o == null || !(o instanceof AudioPort)) { in equals()
199 AudioPort ap = (AudioPort)o; in equals()
DAudioPortConfig.java33 final AudioPort mPort;
48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig()
61 public AudioPort port() { in port()
DAudioDevicePort.java34 public class AudioDevicePort extends AudioPort {
44 AudioPort.ROLE_SOURCE : AudioPort.ROLE_SINK, in AudioDevicePort()
DAudioPortEventHandler.java84 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init()
96 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
DAudioManager.java3537 public static int listAudioPorts(ArrayList<AudioPort> ports) { in listAudioPorts()
3547 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { in listPreviousAudioPorts()
3560 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listAudioDevicePorts()
3577 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listPreviousAudioDevicePorts()
3585 private static void filterDevicePorts(ArrayList<AudioPort> ports, in filterDevicePorts()
3653 public static int setAudioPortGain(AudioPort port, AudioGainConfig gain) { in setAudioPortGain()
3674 public void onAudioPortListUpdate(AudioPort[] portList); in onAudioPortListUpdate()
3711 static ArrayList<AudioPort> sAudioPortsCached = new ArrayList<AudioPort>();
3712 static ArrayList<AudioPort> sPreviousAudioPortsCached = new ArrayList<AudioPort>();
3724 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, in updateAudioPortCache()
[all …]
DAudioMixPortConfig.java31 super((AudioPort)mixPort, samplingRate, channelMask, format, gain); in AudioMixPortConfig()
DAudioDevicePortConfig.java31 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); in AudioDevicePortConfig()
DAudioMixPort.java29 public class AudioMixPort extends AudioPort {
DAudioDeviceInfo.java153 return mPort.role() == AudioPort.ROLE_SOURCE; in isSource()
160 return mPort.role() == AudioPort.ROLE_SINK; in isSink()
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.mk10 src/AudioPort.cpp \

12