/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPort.cpp | 32 int32_t volatile AudioPort::mNextUniqueId = 1; 35 void AudioPort::attach(const sp<HwModule>& module) in attach() 41 audio_port_handle_t AudioPort::getNextUniqueId() in getNextUniqueId() 46 audio_module_handle_t AudioPort::getModuleHandle() const in getModuleHandle() 54 uint32_t AudioPort::getModuleVersionMajor() const in getModuleVersionMajor() 62 const char *AudioPort::getModuleName() const in getModuleName() 70 void AudioPort::toAudioPort(struct audio_port *port) const in toAudioPort() 131 void AudioPort::importAudioPort(const sp<AudioPort>& port) in importAudioPort() 154 void AudioPort::pickSamplingRate(uint32_t &pickedRate,const SampleRateVector &samplingRates) const in pickSamplingRate() 188 void AudioPort::pickChannelMask(audio_channel_mask_t &pickedChannelMask, in pickChannelMask() [all …]
|
D | DeviceDescriptor.cpp | 28 AudioPort(String8(""), AUDIO_PORT_TYPE_DEVICE, in DeviceDescriptor() 45 AudioPort::attach(module); in attach() 258 AudioPort::toAudioPort(port); in toAudioPort() 266 void DeviceDescriptor::importAudioPort(const sp<AudioPort>& port) { in importAudioPort() 267 AudioPort::importAudioPort(port); in importAudioPort() 297 AudioPort::dump(fd, spaces, verbose); in dump() 309 AudioPort::log(" "); in log()
|
D | AudioCollections.cpp | 28 sp<AudioPort> AudioPortVector::findByTagName(const String8 &tagName) const in findByTagName() 30 sp<AudioPort> port = 0; in findByTagName()
|
D | HwModule.cpp | 157 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()
|
D | IOProfile.cpp | 109 AudioPort::dump(fd, 4); in dump()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioRoute.h | 28 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;
|
D | AudioCollections.h | 28 class AudioPort; variable 31 class AudioPortVector : public Vector<sp<AudioPort> > 34 sp<AudioPort> findByTagName(const String8 &tagName) const;
|
D | DeviceDescriptor.h | 29 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);
|
D | AudioPort.h | 35 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;
|
D | ConfigParsingUtils.h | 43 static void loadAudioPortGain(cnode *root, AudioPort &audioPort, int index); 44 static void loadAudioPortGains(cnode *root, AudioPort &audioPort);
|
D | IOProfile.h | 33 class IOProfile : public AudioPort 37 : AudioPort(name, AUDIO_PORT_TYPE_MIX, role) {} in IOProfile()
|
D | AudioOutputDescriptor.h | 41 AudioOutputDescriptor(const sp<AudioPort>& port, 71 virtual sp<AudioPort> getAudioPort() const { return mPort; } in getAudioPort() 79 sp<AudioPort> mPort;
|
D | AudioInputDescriptor.h | 52 virtual sp<AudioPort> getAudioPort() const { return mProfile; } in getAudioPort()
|
D | HwModule.h | 80 sp<AudioPort> findPortByTagName(const String8 &tagName) const in findPortByTagName()
|
/frameworks/base/media/java/android/media/ |
D | AudioPort.java | 38 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()
|
D | AudioPortConfig.java | 33 final AudioPort mPort; 48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig() 61 public AudioPort port() { in port()
|
D | AudioDevicePort.java | 34 public class AudioDevicePort extends AudioPort { 44 AudioPort.ROLE_SOURCE : AudioPort.ROLE_SINK, in AudioDevicePort()
|
D | AudioPortEventHandler.java | 84 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init() 96 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
|
D | AudioManager.java | 3878 public static int listAudioPorts(ArrayList<AudioPort> ports) { in listAudioPorts() 3888 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { in listPreviousAudioPorts() 3901 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listAudioDevicePorts() 3918 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listPreviousAudioDevicePorts() 3926 private static void filterDevicePorts(ArrayList<AudioPort> ports, in filterDevicePorts() 3994 public static int setAudioPortGain(AudioPort port, AudioGainConfig gain) { in setAudioPortGain() 4015 public void onAudioPortListUpdate(AudioPort[] portList); in onAudioPortListUpdate() 4052 static ArrayList<AudioPort> sAudioPortsCached = new ArrayList<AudioPort>(); 4053 static ArrayList<AudioPort> sPreviousAudioPortsCached = new ArrayList<AudioPort>(); 4065 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, in updateAudioPortCache() [all …]
|
D | AudioMixPortConfig.java | 31 super((AudioPort)mixPort, samplingRate, channelMask, format, gain); in AudioMixPortConfig()
|
D | AudioDevicePortConfig.java | 31 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); in AudioDevicePortConfig()
|
D | AudioMixPort.java | 29 public class AudioMixPort extends AudioPort {
|
D | AudioDeviceInfo.java | 157 return mPort.role() == AudioPort.ROLE_SOURCE; in isSource() 164 return mPort.role() == AudioPort.ROLE_SINK; in isSink()
|
/frameworks/av/media/libaudiohal/ |
D | DeviceHalHidl.cpp | 36 using ::android::hardware::audio::common::V2_0::AudioPort; 330 AudioPort hidlPort; in getAudioPort() 335 [&](Result r, const AudioPort& p) { in getAudioPort()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/ |
D | Android.mk | 10 src/AudioPort.cpp \
|