Home
last modified time | relevance | path

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

12

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp32 void AudioPort::attach(const sp<HwModule>& module) in attach()
38 audio_port_handle_t AudioPort::getNextUniqueId() in getNextUniqueId()
43 audio_module_handle_t AudioPort::getModuleHandle() const in getModuleHandle()
48 uint32_t AudioPort::getModuleVersionMajor() const in getModuleVersionMajor()
53 const char *AudioPort::getModuleName() const in getModuleName()
58 void AudioPort::toAudioPort(struct audio_port *port) const in toAudioPort()
119 void AudioPort::importAudioPort(const sp<AudioPort>& port, bool force __unused) in importAudioPort()
140 status_t AudioPort::checkExactAudioProfile(const struct audio_port_config *config) const in checkExactAudioProfile()
160 void AudioPort::pickSamplingRate(uint32_t &pickedRate,const SampleRateVector &samplingRates) const in pickSamplingRate()
194 void AudioPort::pickChannelMask(audio_channel_mask_t &pickedChannelMask, in pickChannelMask()
[all …]
DDeviceDescriptor.cpp29 AudioPort(String8(""), AUDIO_PORT_TYPE_DEVICE, in DeviceDescriptor()
46 AudioPort::attach(module); in attach()
257 AudioPort::toAudioPort(port); in toAudioPort()
265 void DeviceDescriptor::importAudioPort(const sp<AudioPort>& port, bool force) { in importAudioPort()
269 AudioPort::importAudioPort(port); in importAudioPort()
299 AudioPort::dump(fd, spaces, verbose); in dump()
311 AudioPort::log(" "); in log()
DAudioCollections.cpp28 sp<AudioPort> AudioPortVector::findByTagName(const String8 &tagName) const in findByTagName()
DHwModule.cpp178 sp<AudioPort> sink = route->getSink(); in refreshSupportedDevices()
199 sp<AudioPort> source = route->getSources().findByTagName(stream->getTagName()); in refreshSupportedDevices()
DIOProfile.cpp117 AudioPort::dump(fd, 4); in dump()
/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, bool force = false);
DAudioPort.h36 class AudioPort : public virtual RefBase, private HandleGenerator<audio_port_handle_t>
39 AudioPort(const String8& name, audio_port_type_t type, audio_port_role_t role) : in AudioPort() function
42 virtual ~AudioPort() {} in ~AudioPort()
75 virtual void importAudioPort(const sp<AudioPort>& port, bool force = false);
163 virtual sp<AudioPort> getAudioPort() const = 0;
DIOProfile.h33 class IOProfile : public AudioPort
37 : AudioPort(name, AUDIO_PORT_TYPE_MIX, role), in IOProfile()
54 AudioPort::setFlags(flags); in setFlags()
DConfigParsingUtils.h43 static void loadAudioPortGain(cnode *root, AudioPort &audioPort, int index);
44 static void loadAudioPortGains(cnode *root, AudioPort &audioPort);
DAudioOutputDescriptor.h41 AudioOutputDescriptor(const sp<AudioPort>& port,
71 virtual sp<AudioPort> getAudioPort() const { return mPort; } in getAudioPort()
79 sp<AudioPort> mPort;
DAudioInputDescriptor.h52 virtual sp<AudioPort> getAudioPort() const { return mProfile; } in getAudioPort()
/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
197 if (o == null || !(o instanceof AudioPort)) { in equals()
200 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.java89 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init()
107 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
DAudioManager.java4244 public static int listAudioPorts(ArrayList<AudioPort> ports) { in listAudioPorts()
4254 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { in listPreviousAudioPorts()
4267 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listAudioDevicePorts()
4284 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listPreviousAudioDevicePorts()
4292 private static void filterDevicePorts(ArrayList<AudioPort> ports, in filterDevicePorts()
4360 public static int setAudioPortGain(AudioPort port, AudioGainConfig gain) { in setAudioPortGain()
4381 public void onAudioPortListUpdate(AudioPort[] portList); in onAudioPortListUpdate()
4418 static ArrayList<AudioPort> sAudioPortsCached = new ArrayList<AudioPort>();
4419 static ArrayList<AudioPort> sPreviousAudioPortsCached = new ArrayList<AudioPort>();
4431 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.java240 return mPort.role() == AudioPort.ROLE_SOURCE; in isSource()
247 return mPort.role() == AudioPort.ROLE_SINK; in isSink()
/frameworks/av/media/libaudiohal/2.0/
DDeviceHalHidl.cpp36 using ::android::hardware::audio::common::V2_0::AudioPort;
328 AudioPort hidlPort; in getAudioPort()
333 [&](Result r, const AudioPort& p) { in getAudioPort()
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.mk10 src/AudioPort.cpp \
/frameworks/av/media/libaudiohal/4.0/
DDeviceHalHidl.cpp39 using ::android::hardware::audio::common::V4_0::AudioPort;
341 AudioPort hidlPort; in getAudioPort()
346 [&](Result r, const AudioPort& p) { in getAudioPort()

12