Home
last modified time | relevance | path

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

12

/frameworks/av/media/libaudiofoundation/include/media/
DDeviceDescriptorBase.h34 class DeviceDescriptorBase : public AudioPort, public AudioPortConfig
50 virtual sp<AudioPort> getAudioPort() const { in getAudioPort()
51 return static_cast<AudioPort*>(const_cast<DeviceDescriptorBase*>(this)); in getAudioPort()
80 status_t writeToParcelable(media::AudioPort* parcelable) const;
81 status_t readFromParcelable(const media::AudioPort& parcelable);
91 AudioPort::toAudioPort(port); in toAudioPortInternal()
116 aidl2legacy_DeviceDescriptorBase(const media::AudioPort& aidl);
117 ConversionResult<media::AudioPort>
DAudioPort.h36 class AudioPort : public virtual RefBase, public virtual Parcelable
39 AudioPort(const std::string& name, audio_port_type_t type, audio_port_role_t role) : in AudioPort() function
42 virtual ~AudioPort() = default;
79 virtual void importAudioPort(const sp<AudioPort>& port, bool force = false);
100 bool equals(const sp<AudioPort>& other) const;
105 status_t writeToParcelable(media::AudioPort* parcelable) const;
106 status_t readFromParcelable(const media::AudioPort& parcelable);
138 virtual sp<AudioPort> getAudioPort() const = 0;
/frameworks/av/media/libaudiofoundation/
DDeviceDescriptorBase.cpp39 AudioPort("", AUDIO_PORT_TYPE_DEVICE, in DeviceDescriptorBase()
134 AudioPort::dump(dst, spaces, verbose); in dump()
148 AudioPort::log(" "); in log()
154 static_cast<const AudioPort*>(this)->equals(other) && in equals()
162 media::AudioPort parcelable; in writeToParcel()
167 status_t DeviceDescriptorBase::writeToParcelable(media::AudioPort* parcelable) const { in writeToParcelable()
168 AudioPort::writeToParcelable(parcelable); in writeToParcelable()
183 media::AudioPort parcelable; in readFromParcel()
188 status_t DeviceDescriptorBase::readFromParcelable(const media::AudioPort& parcelable) { in readFromParcelable()
192 status_t status = AudioPort::readFromParcelable(parcelable) in readFromParcelable()
[all …]
DAudioPort.cpp28 void AudioPort::importAudioPort(const sp<AudioPort>& port, bool force __unused) in importAudioPort()
43 void AudioPort::importAudioPort(const audio_port_v7 &port) { in importAudioPort()
73 void AudioPort::toAudioPort(struct audio_port *port) const { in toAudioPort()
106 void AudioPort::toAudioPort(struct audio_port_v7 *port) const { in toAudioPort()
150 void AudioPort::dump(std::string *dst, int spaces, bool verbose) const { in dump()
186 void AudioPort::log(const char* indent) const in log()
191 bool AudioPort::equals(const sp<AudioPort> &other) const in equals()
202 status_t AudioPort::writeToParcel(Parcel *parcel) const in writeToParcel()
204 media::AudioPort parcelable; in writeToParcel()
209 status_t AudioPort::writeToParcelable(media::AudioPort* parcelable) const { in writeToParcelable()
[all …]
DAndroid.bp49 "AudioPort.cpp",
/frameworks/av/media/libaaudio/src/flowgraph/
DAudioProcessorBase.h80 class AudioPort {
82 AudioPort(AudioProcessorBase &parent, int32_t samplesPerFrame) in AudioPort() function
88 AudioPort(const AudioPort&) = delete;
89 AudioPort& operator=(const AudioPort&) = delete;
107 class AudioFloatBlockPort : public AudioPort {
DAudioProcessorBase.cpp36 : AudioPort(parent, samplesPerFrame) in AudioFloatBlockPort()
/frameworks/base/media/java/android/media/
DAudioDevicePort.java39 public class AudioDevicePort extends AudioPort {
53 AudioPort.ROLE_SOURCE : AudioPort.ROLE_SINK, in AudioDevicePort()
66 AudioManager.isInputDevice(type) ? AudioPort.ROLE_SOURCE : AudioPort.ROLE_SINK, in AudioDevicePort()
DAudioPort.java48 public class AudioPort { class
96 AudioPort(AudioHandle handle, int role, String name, in AudioPort() method in AudioPort
118 AudioPort(AudioHandle handle, int role, String name, in AudioPort() method in AudioPort
266 if (o == null || !(o instanceof AudioPort)) { in equals()
269 AudioPort ap = (AudioPort)o; in equals()
DAudioPortConfig.java37 final AudioPort mPort;
58 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig()
72 public AudioPort port() { in port()
DAudioPortEventHandler.java98 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init()
116 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
DAudioMixPortConfig.java35 super((AudioPort)mixPort, samplingRate, channelMask, format, gain); in AudioMixPortConfig()
DAudioDeviceAttributes.java47 public static final int ROLE_INPUT = AudioPort.ROLE_SOURCE;
51 public static final int ROLE_OUTPUT = AudioPort.ROLE_SINK;
DAudioDevicePortConfig.java35 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); in AudioDevicePortConfig()
DAudioMixPort.java34 public class AudioMixPort extends AudioPort {
DAudioManager.java6186 public static int listAudioPorts(ArrayList<AudioPort> ports) { in listAudioPorts()
6196 public static int listPreviousAudioPorts(ArrayList<AudioPort> ports) { in listPreviousAudioPorts()
6209 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listAudioDevicePorts()
6226 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in listPreviousAudioDevicePorts()
6234 private static void filterDevicePorts(ArrayList<AudioPort> ports, in filterDevicePorts()
6305 public static int setAudioPortGain(AudioPort port, AudioGainConfig gain) { in setAudioPortGain()
6326 public void onAudioPortListUpdate(AudioPort[] portList); in onAudioPortListUpdate()
6365 static ArrayList<AudioPort> sAudioPortsCached = new ArrayList<AudioPort>();
6366 static ArrayList<AudioPort> sPreviousAudioPortsCached = new ArrayList<AudioPort>();
6378 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, in updateAudioPortCache()
[all …]
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp51 sp<AudioPort> getAudioPort() const override { return nullptr; } in getAudioPort()
102 sp<AudioPort> audioPort = new AudioPort( in TEST()
109 sp<AudioPort> audioPortFromParcel = new AudioPort( in TEST()
/frameworks/av/media/libaudioclient/aidl/android/media/
DOpenOutputRequest.aidl20 import android.media.AudioPort;
30 AudioPort device;
DIAudioFlingerService.aidl21 import android.media.AudioPort;
181 AudioPort getAudioPort(in AudioPort port); in getAudioPort()
DIAudioPolicyService.aidl36 import android.media.AudioPort;
213 out AudioPort[] ports); in listAudioPorts()
216 AudioPort getAudioPort(in AudioPort port); in getAudioPort()
DAudioPort.aidl30 parcelable AudioPort {
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h35 class IOProfile : public AudioPort, public PolicyAudioPort
39 : AudioPort(name, AUDIO_PORT_TYPE_MIX, role), in IOProfile()
54 virtual sp<AudioPort> asAudioPort() const { in asAudioPort()
55 return static_cast<AudioPort*>(const_cast<IOProfile*>(this)); in asAudioPort()
DDeviceDescriptor.h83 virtual sp<AudioPort> asAudioPort() const { in asAudioPort()
84 return static_cast<AudioPort*>(const_cast<DeviceDescriptor*>(this)); in asAudioPort()
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/
DAudioDeviceAttributes.java23 import android.media.AudioPort;
48 public static final int ROLE_INPUT = AudioPort.ROLE_SOURCE;
52 public static final int ROLE_OUTPUT = AudioPort.ROLE_SINK;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp122 AudioPort::dump(&portStr, 4); in dump()

12