/frameworks/av/media/libaudiofoundation/include/media/ |
D | DeviceDescriptorBase.h | 34 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>
|
D | AudioPort.h | 36 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/ |
D | DeviceDescriptorBase.cpp | 39 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 …]
|
D | AudioPort.cpp | 28 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 …]
|
D | Android.bp | 49 "AudioPort.cpp",
|
/frameworks/av/media/libaaudio/src/flowgraph/ |
D | AudioProcessorBase.h | 80 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 {
|
D | AudioProcessorBase.cpp | 36 : AudioPort(parent, samplesPerFrame) in AudioFloatBlockPort()
|
/frameworks/base/media/java/android/media/ |
D | AudioDevicePort.java | 39 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()
|
D | AudioPort.java | 48 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()
|
D | AudioPortConfig.java | 37 final AudioPort mPort; 58 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig() 72 public AudioPort port() { in port()
|
D | AudioPortEventHandler.java | 98 ArrayList<AudioPort> ports = new ArrayList<AudioPort>(); in init() 116 AudioPort[] portList = ports.toArray(new AudioPort[0]); in init()
|
D | AudioMixPortConfig.java | 35 super((AudioPort)mixPort, samplingRate, channelMask, format, gain); in AudioMixPortConfig()
|
D | AudioDeviceAttributes.java | 47 public static final int ROLE_INPUT = AudioPort.ROLE_SOURCE; 51 public static final int ROLE_OUTPUT = AudioPort.ROLE_SINK;
|
D | AudioDevicePortConfig.java | 35 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); in AudioDevicePortConfig()
|
D | AudioMixPort.java | 34 public class AudioMixPort extends AudioPort {
|
D | AudioManager.java | 6186 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/ |
D | audiofoundation_parcelable_test.cpp | 51 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/ |
D | OpenOutputRequest.aidl | 20 import android.media.AudioPort; 30 AudioPort device;
|
D | IAudioFlingerService.aidl | 21 import android.media.AudioPort; 181 AudioPort getAudioPort(in AudioPort port); in getAudioPort()
|
D | IAudioPolicyService.aidl | 36 import android.media.AudioPort; 213 out AudioPort[] ports); in listAudioPorts() 216 AudioPort getAudioPort(in AudioPort port); in getAudioPort()
|
D | AudioPort.aidl | 30 parcelable AudioPort {
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | IOProfile.h | 35 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()
|
D | DeviceDescriptor.h | 83 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/ |
D | AudioDeviceAttributes.java | 23 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/ |
D | IOProfile.cpp | 122 AudioPort::dump(&portStr, 4); in dump()
|