/frameworks/base/media/java/android/media/ |
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 | AudioDevicePort.java | 41 public class AudioDevicePort extends AudioPort { 75 AudioPort.ROLE_SOURCE : AudioPort.ROLE_SINK, in AudioDevicePort() 88 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 | 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 | AudioDevicePortConfig.java | 35 super((AudioPort)devicePort, samplingRate, channelMask, format, gain); in AudioDevicePortConfig()
|
D | AudioMixPort.java | 34 public class AudioMixPort extends AudioPort {
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioPort.cpp | 27 void AudioPort::setFlags(uint32_t flags) in setFlags() 43 void AudioPort::importAudioPort(const sp<AudioPort>& port, bool force __unused) in importAudioPort() 58 void AudioPort::importAudioPort(const audio_port_v7 &port) { in importAudioPort() 95 void AudioPort::toAudioPort(struct audio_port *port) const { in toAudioPort() 128 void AudioPort::toAudioPort(struct audio_port_v7 *port) const { in toAudioPort() 172 void AudioPort::dump(std::string *dst, int spaces, const char* extraInfo, bool verbose) const { in dump() 216 void AudioPort::log(const char* indent) const in log() 221 bool AudioPort::equals(const sp<AudioPort> &other) const in equals() 233 status_t AudioPort::writeToParcelable(media::AudioPortFw* parcelable) const { in writeToParcelable() 260 status_t AudioPort::readFromParcelable(const media::AudioPortFw& parcelable) { in readFromParcelable() [all …]
|
D | DeviceDescriptorBase.cpp | 42 AudioPort("", AUDIO_PORT_TYPE_DEVICE, in DeviceDescriptorBase() 139 AudioPort::dump(&portStr, spaces, nullptr, verbose); in dump() 159 AudioPort::log(" "); in log() 173 static_cast<const AudioPort*>(this)->equals(other) && in equals() 194 AudioPort::writeToParcelable(parcelable); in writeToParcelable() 219 status_t status = AudioPort::readFromParcelable(parcelable) in readFromParcelable()
|
D | Android.bp | 56 "AudioPort.cpp",
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioPort.h | 36 class AudioPort : public virtual RefBase 39 AudioPort(const std::string& name, audio_port_type_t type, audio_port_role_t role) : in AudioPort() function 42 virtual ~AudioPort() = default; 85 virtual void importAudioPort(const sp<AudioPort>& port, bool force = false); 122 bool equals(const sp<AudioPort>& other) const; 173 virtual sp<AudioPort> getAudioPort() const = 0;
|
D | DeviceDescriptorBase.h | 34 class DeviceDescriptorBase : public AudioPort, public AudioPortConfig 55 virtual sp<AudioPort> getAudioPort() const { in getAudioPort() 56 return sp<AudioPort>::fromExisting(const_cast<DeviceDescriptorBase*>(this)); in getAudioPort() 94 AudioPort::toAudioPort(port); in toAudioPortInternal()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioPortFw.aidl | 20 import android.media.audio.common.AudioPort; 27 AudioPort hal;
|
D | AudioHwModule.aidl | 19 import android.media.audio.common.AudioPort; 29 AudioPort[] ports;
|
/frameworks/av/media/libaudiohal/impl/ |
D | Hal2AidlMapper.h | 61 int32_t ioHandle, ::aidl::android::media::audio::common::AudioPort* port); 64 ::aidl::android::media::audio::common::AudioPort* port); 76 const ::aidl::android::media::audio::common::AudioPort& devicePort); 96 const ::aidl::android::media::audio::common::AudioPort& devicePort, bool connected); 124 using Ports = std::map<int32_t /*port ID*/, ::aidl::android::media::audio::common::AudioPort>; 142 const ::aidl::android::media::audio::common::AudioPort& p); 214 int32_t portId, ::aidl::android::media::audio::common::AudioPort* port); 221 std::optional<::aidl::android::media::audio::common::AudioPort> mRemoteSubmixIn; 222 std::optional<::aidl::android::media::audio::common::AudioPort> mRemoteSubmixOut; 233 std::pair<int32_t, ::aidl::android::media::audio::common::AudioPort>
|
D | Hal2AidlMapper.cpp | 44 using aidl::android::media::audio::common::AudioPort; 110 bool Hal2AidlMapper::audioDeviceMatches(const AudioDevice& device, const AudioPort& p) { in audioDeviceMatches() 293 mDisconnectedPortReplacement = std::pair<int32_t, AudioPort>(); in eraseConnectedPort() 629 status_t Hal2AidlMapper::getAudioMixPort(int32_t ioHandle, AudioPort* port) { in getAudioMixPort() 640 ::aidl::android::media::audio::common::AudioPort* port) { in getAudioPortCached() 652 std::vector<AudioPort> ports; in initialize() 694 AudioPort connectedRSubmixIn = *mRemoteSubmixIn; in initialize() 711 AudioPort tempConnectedRSubmixOut = *mRemoteSubmixOut; in initialize() 765 status_t Hal2AidlMapper::prepareToDisconnectExternalDevice(const AudioPort& devicePort) { in prepareToDisconnectExternalDevice() 980 status_t Hal2AidlMapper::setDevicePortConnectedState(const AudioPort& devicePort, bool connected) { in setDevicePortConnectedState() [all …]
|
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/include/core-mock/ |
D | ModuleMock.h | 53 ndk::ScopedAStatus connectExternalDevice(const AudioPort&, AudioPort*) override { in connectExternalDevice() argument 62 ndk::ScopedAStatus getAudioPort(int32_t, AudioPort*) override { in getAudioPort() argument 68 ndk::ScopedAStatus getAudioPorts(std::vector<AudioPort>*) override { in getAudioPorts() argument 124 AudioPort createPort(int32_t id, const std::string& name, int32_t flags, bool isInput, 130 std::vector<AudioPort> mPorts;
|
/frameworks/av/media/libaudiofoundation/tests/ |
D | audiofoundation_parcelable_test.cpp | 51 sp<AudioPort> getAudioPort() const override { return nullptr; } in getAudioPort() 115 sp<AudioPort> audioPort = new AudioPort( in TEST() 122 sp<AudioPort> audioPortFromParcel = new AudioPort( in TEST()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | IOProfile.h | 35 class IOProfile : public AudioPort, public PolicyAudioPort 49 virtual sp<AudioPort> asAudioPort() const { in asAudioPort() 50 return static_cast<AudioPort*>(const_cast<IOProfile*>(this)); in asAudioPort() 62 AudioPort::setFlags(flags); in setFlags()
|
D | DeviceDescriptor.h | 79 virtual sp<AudioPort> asAudioPort() const { in asAudioPort() 80 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/media/libaudiohal/tests/ |
D | CoreAudioHalAidl_test.cpp | 51 using ::aidl::android::media::audio::common::AudioPort; 91 std::vector<AudioPort> ports; 138 AudioPort createPort(int32_t id, const std::string& name, int32_t flags, bool isInput, in createPort() 140 AudioPort port; in createPort() 149 AudioRoute createRoute(const std::vector<AudioPort>& sources, const AudioPort& sink) { in createRoute() 167 AudioPort micInDevice = in getTestConfiguration() 174 AudioPort micInBackDevice = in getTestConfiguration() 180 AudioPort primaryInMix = in getTestConfiguration() 185 AudioPort speakerOutDevice = createPort(c.nextPortId++, "Speaker", 0, false, in getTestConfiguration() 190 AudioPort btOutDevice = in getTestConfiguration() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | IOProfile.cpp | 28 : AudioPort(name, AUDIO_PORT_TYPE_MIX, role), in IOProfile() 199 status_t status = AudioPort::readFromParcelable(parcelable); in readFromParcelable() 245 AudioPort::dump(&portStr, spaces, extraInfo.c_str()); in dump()
|
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/ |
D | ModuleMock.cpp | 133 AudioPort ModuleMock::createPort(int32_t id, const std::string& name, int32_t flags, bool isInput, in createPort() 135 AudioPort port; in createPort()
|
/frameworks/av/media/audioaidlconversion/include/media/ |
D | AidlConversionNdkCpp.h | 49 DECLARE_CONVERTERS(android::media::audio::common, AudioPort);
|