/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | DeviceDescriptor.h | 29 class DeviceDescriptor : public AudioPort, public AudioPortConfig 33 explicit DeviceDescriptor(audio_devices_t type, const String8 &tagName = String8("")); 35 virtual ~DeviceDescriptor() {} in ~DeviceDescriptor() 41 bool equals(const sp<DeviceDescriptor>& other) const; 67 class DeviceVector : public SortedVector<sp<DeviceDescriptor> > 72 ssize_t add(const sp<DeviceDescriptor>& item); 74 ssize_t remove(const sp<DeviceDescriptor>& item); 75 ssize_t indexOf(const sp<DeviceDescriptor>& item) const; 79 sp<DeviceDescriptor> getDevice(audio_devices_t type, const String8& address) const; 81 sp<DeviceDescriptor> getDeviceFromId(audio_port_handle_t id) const; [all …]
|
D | AudioPolicyConfig.h | 41 sp<DeviceDescriptor> &defaultOutputDevices, 63 void addAvailableDevice(const sp<DeviceDescriptor> &availableDevice) in addAvailableDevice() 101 void setDefaultOutputDevice(const sp<DeviceDescriptor> &defaultDevice) in setDefaultOutputDevice() 106 const sp<DeviceDescriptor> &getDefaultOutputDevice() const { return mDefaultOutputDevices; } in getDefaultOutputDevice() 110 mDefaultOutputDevices = new DeviceDescriptor(AUDIO_DEVICE_OUT_SPEAKER); in setDefault() 112 sp<DeviceDescriptor> defaultInputDevice = new DeviceDescriptor(AUDIO_DEVICE_IN_BUILTIN_MIC); in setDefault() 142 sp<DeviceDescriptor> &mDefaultOutputDevices;
|
D | SessionRoute.h | 26 class DeviceDescriptor; variable 44 sp<DeviceDescriptor> deviceDescriptor, in SessionRoute() 64 sp<DeviceDescriptor> mDeviceDescriptor; 111 const sp<DeviceDescriptor>& deviceDescriptor,
|
D | AudioSourceDescriptor.h | 30 class DeviceDescriptor; variable 35 AudioSourceDescriptor(const sp<DeviceDescriptor> device, const audio_attributes_t *attributes, in AudioSourceDescriptor() 44 const sp<DeviceDescriptor> mDevice;
|
D | IOProfile.h | 109 void addSupportedDevice(const sp<DeviceDescriptor> &device) in addSupportedDevice() 119 sp<DeviceDescriptor> getSupportedDeviceByAddress(audio_devices_t type, String8 address) const in getSupportedDeviceByAddress()
|
D | HwModule.h | 61 sp<DeviceDescriptor> getRouteSinkDevice(const sp<AudioRoute> &route) const; 107 sp<DeviceDescriptor> getDeviceDescriptor(const audio_devices_t device,
|
D | Serializer.h | 123 typedef DeviceDescriptor Element; 124 typedef sp<DeviceDescriptor> PtrElement;
|
D | AudioRoute.h | 29 class DeviceDescriptor; variable
|
D | ConfigParsingUtils.h | 45 static void loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc);
|
D | AudioOutputDescriptor.h | 34 class DeviceDescriptor; variable
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | DeviceDescriptor.cpp | 28 DeviceDescriptor::DeviceDescriptor(audio_devices_t type, const String8 &tagName) : in DeviceDescriptor() function in android::DeviceDescriptor 39 audio_port_handle_t DeviceDescriptor::getId() const in getId() 44 void DeviceDescriptor::attach(const sp<HwModule>& module) in attach() 50 bool DeviceDescriptor::equals(const sp<DeviceDescriptor>& other) const in equals() 70 ssize_t DeviceVector::indexOf(const sp<DeviceDescriptor>& item) const in indexOf() 93 ssize_t DeviceVector::add(const sp<DeviceDescriptor>& item) in add() 109 ssize_t DeviceVector::remove(const sp<DeviceDescriptor>& item) in remove() 135 sp<DeviceDescriptor> DeviceVector::getDevice(audio_devices_t type, const String8& address) const in getDevice() 137 sp<DeviceDescriptor> device; in getDevice() 153 sp<DeviceDescriptor> DeviceVector::getDeviceFromId(audio_port_handle_t id) const in getDeviceFromId() [all …]
|
D | HwModule.cpp | 53 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in addOutputProfile() 115 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in addInputProfile() 145 sp<DeviceDescriptor> HwModule::getRouteSinkDevice(const sp<AudioRoute> &route) const in getRouteSinkDevice() 147 sp<DeviceDescriptor> sinkDevice = 0; in getRouteSinkDevice() 204 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(route); in refreshSupportedDevices() 278 sp<DeviceDescriptor> HwModuleCollection::getDeviceDescriptor(const audio_devices_t device, in getDeviceDescriptor() 303 sp<DeviceDescriptor> devDesc = new DeviceDescriptor(device); in getDeviceDescriptor()
|
D | ConfigParsingUtils.cpp | 92 void ConfigParsingUtils::loadDeviceDescriptorGains(cnode *root, sp<DeviceDescriptor> &deviceDesc) in loadDeviceDescriptorGains() 118 sp<DeviceDescriptor> deviceDesc = new DeviceDescriptor(type, String8(root->name)); in loadHwModuleDevice() 303 sp<DeviceDescriptor> dev = new DeviceDescriptor(singleType); in loadDevicesFromTag() 307 sp<DeviceDescriptor> deviceDesc = in loadDevicesFromTag() 345 sp<DeviceDescriptor> defaultOutputDevice = new DeviceDescriptor(device); in loadModuleGlobalConfig()
|
D | SessionRoute.cpp | 93 const sp<DeviceDescriptor>& descriptor, in addRoute()
|
D | Serializer.cpp | 469 sp<DeviceDescriptor> device = in deserialize() 483 sp<DeviceDescriptor> device = in deserialize()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 298 virtual const sp<DeviceDescriptor> &getDefaultOutputDevice() const in getDefaultOutputDevice() 393 status_t checkOutputsForDevice(const sp<DeviceDescriptor>& devDesc, 398 status_t checkInputsForDevice(const sp<DeviceDescriptor>& devDesc, 505 sp<DeviceDescriptor> fillAudioPortConfigForDevice( 531 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc); 567 sp<DeviceDescriptor> mDefaultOutputDevice; // output device selected by default at boot time
|
D | AudioPolicyManager.cpp | 119 sp<DeviceDescriptor> devDesc = in setDeviceConnectionStateInt() 341 sp<DeviceDescriptor> devDesc = in getDeviceConnectionState() 382 sp<DeviceDescriptor> devDesc = in handleDeviceConfigChange() 483 sp<DeviceDescriptor> txSourceDeviceDesc; in createTelephonyPatch() 539 sp<DeviceDescriptor> AudioPolicyManager::fillAudioPortConfigForDevice( in fillAudioPortConfigForDevice() 544 sp<DeviceDescriptor> deviceDesc = deviceList.itemAt(0); in fillAudioPortConfigForDevice() 851 sp<DeviceDescriptor> deviceDesc; in getOutputForAttr() 1499 sp<DeviceDescriptor> deviceDesc; in getInputForAttr() 2822 sp<DeviceDescriptor> dev = mAvailableOutputDevices.getDeviceFromId(port->id); in getAudioPort() 2922 sp<DeviceDescriptor> devDesc = in createAudioPatch() [all …]
|
/frameworks/av/services/audiopolicy/engine/interface/ |
D | AudioPolicyManagerObserver.h | 56 virtual const sp<DeviceDescriptor> &getDefaultOutputDevice() const = 0;
|
D | AudioPolicyManagerInterface.h | 133 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.h | 86 virtual android::status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState() 164 status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc,
|
D | Engine.cpp | 222 status_t Engine::setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/ |
D | Android.mk | 6 src/DeviceDescriptor.cpp \
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.h | 90 virtual status_t setDeviceConnectionState(const sp<DeviceDescriptor> /*devDesc*/, in setDeviceConnectionState() argument
|