/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | DeviceDescriptor.h | 29 class DeviceDescriptor : public AudioPort, public AudioPortConfig 33 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, String8 address) const; 81 sp<DeviceDescriptor> getDeviceFromId(audio_port_handle_t id) const; [all …]
|
D | AudioPolicyConfig.h | 41 sp<DeviceDescriptor> &defaultOutputDevices, 64 void addAvailableDevice(const sp<DeviceDescriptor> &availableDevice) in addAvailableDevice() 100 void setDefaultOutputDevice(const sp<DeviceDescriptor> &defaultDevice) in setDefaultOutputDevice() 105 const sp<DeviceDescriptor> &getDefaultOutputDevice() const { return mDefaultOutputDevices; } in getDefaultOutputDevice() 109 mDefaultOutputDevices = new DeviceDescriptor(AUDIO_DEVICE_OUT_SPEAKER); in setDefault() 111 sp<DeviceDescriptor> defaultInputDevice = new DeviceDescriptor(AUDIO_DEVICE_IN_BUILTIN_MIC); in setDefault() 141 sp<DeviceDescriptor> &mDefaultOutputDevices;
|
D | SessionRoute.h | 26 class DeviceDescriptor; variable 43 sp<DeviceDescriptor> deviceDescriptor, in SessionRoute() 63 sp<DeviceDescriptor> mDeviceDescriptor; 109 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 | 89 void addSupportedDevice(const sp<DeviceDescriptor> &device) in addSupportedDevice() 99 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 | 121 typedef DeviceDescriptor Element; 122 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 | 32 class DeviceDescriptor; variable
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | DeviceDescriptor.cpp | 27 DeviceDescriptor::DeviceDescriptor(audio_devices_t type, const String8 &tagName) : in DeviceDescriptor() function in android::DeviceDescriptor 38 audio_port_handle_t DeviceDescriptor::getId() const in getId() 43 void DeviceDescriptor::attach(const sp<HwModule>& module) in attach() 49 bool DeviceDescriptor::equals(const sp<DeviceDescriptor>& other) const in equals() 69 ssize_t DeviceVector::indexOf(const sp<DeviceDescriptor>& item) const in indexOf() 82 sp<DeviceDescriptor> device = devices.itemAt(i); in add() 89 ssize_t DeviceVector::add(const sp<DeviceDescriptor>& item) in add() 105 ssize_t DeviceVector::remove(const sp<DeviceDescriptor>& item) in remove() 132 sp<DeviceDescriptor> DeviceVector::getDevice(audio_devices_t type, String8 address) const in getDevice() 134 sp<DeviceDescriptor> device; in getDevice() [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() 209 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(routes[j]); in refreshSupportedDevices() 293 sp<DeviceDescriptor> HwModuleCollection::getDeviceDescriptor(const audio_devices_t device, in getDeviceDescriptor() 322 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 sp<DeviceDescriptor> descriptor, in addRoute()
|
D | Serializer.cpp | 459 sp<DeviceDescriptor> device = in deserialize() 473 sp<DeviceDescriptor> device = in deserialize()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 271 virtual const sp<DeviceDescriptor> &getDefaultOutputDevice() const in getDefaultOutputDevice() 365 status_t checkOutputsForDevice(const sp<DeviceDescriptor> devDesc, 370 status_t checkInputsForDevice(const sp<DeviceDescriptor> devDesc, 505 void cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc); 538 sp<DeviceDescriptor> mDefaultOutputDevice; // output device selected by default at boot time
|
D | AudioPolicyManager.cpp | 75 sp<DeviceDescriptor> devDesc = in setDeviceConnectionStateInt() 294 sp<DeviceDescriptor> devDesc = in getDeviceConnectionState() 362 sp<DeviceDescriptor> rxSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting() 366 sp<DeviceDescriptor> rxSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting() 405 sp<DeviceDescriptor> txSourceDeviceDesc = deviceList.itemAt(0); in updateCallRouting() 410 sp<DeviceDescriptor> txSinkDeviceDesc = deviceList.itemAt(0); in updateCallRouting() 737 sp<DeviceDescriptor> deviceDesc; in getOutputForAttr() 1392 sp<DeviceDescriptor> deviceDesc; in getInputForAttr() 2477 sp<DeviceDescriptor> devDesc = in createAudioPatch() 2535 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
|