/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioContainers.h | 31 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()
|
D | DeviceDescriptorBase.h | 37 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()
|
D | AudioDeviceTypeAddr.h | 33 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/ |
D | DeviceDescriptor.h | 36 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()
|
D | HwModule.h | 86 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,
|
D | IVolumeCurves.h | 34 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/ |
D | policy.h | 75 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()
|
D | Volume.h | 88 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/ |
D | AudioPolicyInterface.h | 83 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/ |
D | IAudioPolicyService.h | 46 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;
|
D | AudioSystem.h | 215 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/ |
D | InputSource.cpp | 47 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()
|
D | Engine.h | 83 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/ |
D | LastRemovableMediaDevices.cpp | 46 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/ |
D | DeviceDescriptor.cpp | 29 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/ |
D | ParameterManagerWrapper.h | 108 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/ |
D | VolumeCurve.h | 96 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. */
|
D | LastRemovableMediaDevices.h | 37 std::vector<audio_devices_t> getLastRemovableMediaDevices( 47 device_out_group_t getDeviceOutGroup(audio_devices_t device) const;
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 73 audio_devices_t deviceType, 83 audio_devices_t devices, 88 audio_devices_t outputDevice,
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 96 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/ |
D | DeviceHalLocal.h | 67 audio_devices_t devices, 77 audio_devices_t devices, 82 audio_devices_t outputDevice,
|
D | DeviceHalHidl.h | 74 audio_devices_t devices, 84 audio_devices_t devices, 89 audio_devices_t outputDevice,
|
/frameworks/av/services/audiopolicy/engineconfigurable/interface/ |
D | AudioPolicyPluginInterface.h | 85 audio_devices_t device) = 0; 99 audio_devices_t devices) = 0;
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.h | 71 audio_devices_t nOutputDevice; /* Output device for the effect */ 72 audio_devices_t nVirtualizerForcedDevice; /* Forced device virtualization mode*/
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.h | 64 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 …]
|