Home
last modified time | relevance | path

Searched refs:audio_devices_t (Results 1 – 25 of 78) sorted by relevance

1234

/frameworks/av/media/libaudiofoundation/include/media/
DAudioContainers.h31 using DeviceTypeSet = std::set<audio_devices_t>;
74 audio_devices_t deviceType) { in isSingleDeviceType()
78 typedef bool (*DeviceTypeUnaryPredicate)(audio_devices_t);
85 std::function<bool(audio_devices_t)> p) { in areAllOfSameDeviceType()
89 static inline void resetDeviceTypes(DeviceTypeSet& deviceTypes, audio_devices_t typeToAdd) { in resetDeviceTypes()
96 static inline audio_devices_t deviceTypesToBitMask(const DeviceTypeSet& deviceTypes) { in deviceTypesToBitMask()
97 audio_devices_t types = AUDIO_DEVICE_NONE; in deviceTypesToBitMask()
106 static inline DeviceTypeSet deviceTypesFromBitMask(audio_devices_t types) { in deviceTypesFromBitMask()
DDeviceDescriptorBase.h37 explicit DeviceDescriptorBase(audio_devices_t type);
38 DeviceDescriptorBase(audio_devices_t type, const std::string& address);
43 audio_devices_t type() const { return mDeviceTypeAddr.mType; } in type()
DAudioDeviceTypeAddr.h33 AudioDeviceTypeAddr(audio_devices_t type, const std::string& address) : in AudioDeviceTypeAddr()
50 audio_devices_t mType = AUDIO_DEVICE_NONE;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DDeviceDescriptor.h36 explicit DeviceDescriptor(audio_devices_t type);
37 DeviceDescriptor(audio_devices_t type, const std::string &tagName,
39 DeviceDescriptor(audio_devices_t type, const std::string &tagName,
117 sp<DeviceDescriptor> getDevice(audio_devices_t type, const String8 &address,
120 DeviceVector getDevicesFromType(audio_devices_t type) const { in getDevicesFromType()
134 DeviceVector getFirstDevicesFromTypes(std::vector<audio_devices_t> orderedTypes) const;
135 sp<DeviceDescriptor> getFirstExistingDevice(std::vector<audio_devices_t> orderedTypes) const;
147 void replaceDevicesByType(audio_devices_t typeToRemove, const DeviceVector &devicesToAdd);
153 bool containsDeviceWithType(audio_devices_t deviceType) const { in containsDeviceWithType()
157 bool onlyContainsDevicesWithType(audio_devices_t deviceType) const { in onlyContainsDevicesWithType()
DHwModule.h86 audio_devices_t device, const String8& address);
89 audio_devices_t device, const String8& address);
134 sp<HwModule> getModuleForDeviceType(audio_devices_t device,
160 sp<DeviceDescriptor> getDeviceDescriptor(const audio_devices_t type,
177 sp<DeviceDescriptor> createDevice(const audio_devices_t type,
DIVolumeCurves.h34 virtual void addCurrentVolumeIndex(audio_devices_t device, int index) = 0;
40 virtual bool hasVolumeIndexForDevice(audio_devices_t device) const = 0;
/frameworks/av/services/audiopolicy/common/include/
Dpolicy.h75 static inline bool apm_audio_out_device_distinguishes_on_address(audio_devices_t device) in apm_audio_out_device_distinguishes_on_address()
89 static inline bool apm_audio_in_device_distinguishes_on_address(audio_devices_t device) in apm_audio_in_device_distinguishes_on_address()
103 static inline bool device_distinguishes_on_address(audio_devices_t device) in device_distinguishes_on_address()
116 static inline bool device_has_encoding_capability(audio_devices_t device) in device_has_encoding_capability()
210 static inline audio_devices_t apm_extract_one_audio_device( in apm_extract_one_audio_device()
234 std::vector<audio_devices_t> a2dpDevices = android::Intersection( in apm_extract_one_audio_device()
DVolume.h88 static audio_devices_t getDeviceForVolume(const android::DeviceTypeSet& deviceTypes) in getDeviceForVolume()
96 audio_devices_t deviceType = apm_extract_one_audio_device(deviceTypes); in getDeviceForVolume()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h83 virtual status_t setDeviceConnectionState(audio_devices_t device,
89 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
92 virtual status_t handleDeviceConfigChange(audio_devices_t device,
162 audio_devices_t device) = 0;
169 audio_devices_t device) = 0;
173 audio_devices_t device) = 0;
176 audio_devices_t device) = 0;
188 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream) = 0;
233 audio_devices_t *device) = 0;
254 audio_stream_type_t stream, int index, audio_devices_t device) = 0;
[all …]
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h46 virtual status_t setDeviceConnectionState(audio_devices_t device,
51 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
53 virtual status_t handleDeviceConfigChange(audio_devices_t device,
95 audio_devices_t device) = 0;
98 audio_devices_t device) = 0;
102 audio_devices_t device) = 0;
105 audio_devices_t device) = 0;
111 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream) = 0;
183 audio_devices_t *device) = 0;
204 audio_stream_type_t stream, int index, audio_devices_t device) = 0;
DAudioSystem.h215 static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state,
218 static audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
220 static status_t handleDeviceConfigChange(audio_devices_t device,
265 audio_devices_t device);
268 audio_devices_t device);
272 audio_devices_t device);
275 audio_devices_t device);
282 static audio_devices_t getDevicesForStream(audio_stream_type_t stream);
343 audio_devices_t *device);
366 audio_stream_type_t stream, int index, audio_devices_t device);
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DInputSource.cpp47 status_t Element<audio_source_t>::set(audio_devices_t devices) in set()
66 audio_devices_t Element<audio_source_t>::get<audio_devices_t>() const in get()
DEngine.h83 bool setDeviceForInputSource(const audio_source_t &inputSource, audio_devices_t device) override in setDeviceForInputSource()
85 return setPropertyForKey<audio_devices_t, audio_source_t>(device, inputSource); in setDeviceForInputSource()
91 audio_devices_t devices) override;
/frameworks/av/services/audiopolicy/engine/common/src/
DLastRemovableMediaDevices.cpp46 std::vector<audio_devices_t> LastRemovableMediaDevices::getLastRemovableMediaDevices( in getLastRemovableMediaDevices()
49 std::vector<audio_devices_t> ret; in getLastRemovableMediaDevices()
58 device_out_group_t LastRemovableMediaDevices::getDeviceOutGroup(audio_devices_t device) const in getDeviceOutGroup()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp29 DeviceDescriptor::DeviceDescriptor(audio_devices_t type) : in DeviceDescriptor()
34 DeviceDescriptor::DeviceDescriptor(audio_devices_t type, in DeviceDescriptor()
41 DeviceDescriptor::DeviceDescriptor(audio_devices_t type, in DeviceDescriptor()
262 sp<DeviceDescriptor> DeviceVector::getDevice(audio_devices_t type, const String8& address, in getDevice()
325 std::vector<audio_devices_t> orderedTypes) const in getFirstDevicesFromTypes()
337 std::vector<audio_devices_t> orderedTypes) const { in getFirstExistingDevice()
357 audio_devices_t deviceType = apm_extract_one_audio_device(types()); in getDeviceForOpening()
366 audio_devices_t typeToRemove, const DeviceVector &devicesToAdd) { in replaceDevicesByType()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h108 status_t setAvailableInputDevices(audio_devices_t inputDevices);
117 status_t setAvailableOutputDevices(audio_devices_t outputDevices);
127 status_t setDeviceConnectionState(audio_devices_t type, const std::string address,
/frameworks/av/services/audiopolicy/engine/common/include/
DVolumeCurve.h96 audio_devices_t device = Volume::getDeviceForVolume(deviceTypes); in getVolumeIndex()
106 void addCurrentVolumeIndex(audio_devices_t device, int index) override in addCurrentVolumeIndex()
115 bool hasVolumeIndexForDevice(audio_devices_t device) const in hasVolumeIndexForDevice()
186 std::map<audio_devices_t, int> mIndexCur; /**< current volume index per device. */
DLastRemovableMediaDevices.h37 std::vector<audio_devices_t> getLastRemovableMediaDevices(
47 device_out_group_t getDeviceOutGroup(audio_devices_t device) const;
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h73 audio_devices_t deviceType,
83 audio_devices_t devices,
88 audio_devices_t outputDevice,
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h96 virtual status_t setDeviceConnectionState(audio_devices_t device,
101 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
103 virtual status_t handleDeviceConfigChange(audio_devices_t device,
159 audio_devices_t device);
162 audio_devices_t device);
166 audio_devices_t device);
169 audio_devices_t device);
175 audio_devices_t device,
193 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream);
251 audio_devices_t *device);
[all …]
/frameworks/av/media/libaudiohal/impl/
DDeviceHalLocal.h67 audio_devices_t devices,
77 audio_devices_t devices,
82 audio_devices_t outputDevice,
DDeviceHalHidl.h74 audio_devices_t devices,
84 audio_devices_t devices,
89 audio_devices_t outputDevice,
/frameworks/av/services/audiopolicy/engineconfigurable/interface/
DAudioPolicyPluginInterface.h85 audio_devices_t device) = 0;
99 audio_devices_t devices) = 0;
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
DEffectBundle.h71 audio_devices_t nOutputDevice; /* Output device for the effect */
72 audio_devices_t nVirtualizerForcedDevice; /* Forced device virtualization mode*/
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h64 virtual status_t setDeviceConnectionState(audio_devices_t device,
70 audio_devices_t device,
72 virtual status_t handleDeviceConfigChange(audio_devices_t device,
113 audio_devices_t device);
116 audio_devices_t device);
120 audio_devices_t device);
123 audio_devices_t device);
130 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream);
216 audio_devices_t *device);
246 audio_stream_type_t stream, int index, audio_devices_t device);
[all …]

1234