HomeSort by relevance Sort by last modified time
    Searched refs:audio_stream_type_t (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /frameworks/av/services/audiopolicy/common/managerdefinitions/include/
IVolumeCurvesCollection.h 28 virtual void clearCurrentVolumeIndex(audio_stream_type_t stream) = 0;
29 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device,
31 virtual bool canBeMuted(audio_stream_type_t stream) = 0;
32 virtual int getVolumeIndexMin(audio_stream_type_t stream) const = 0;
33 virtual int getVolumeIndex(audio_stream_type_t stream, audio_devices_t device) = 0;
34 virtual int getVolumeIndexMax(audio_stream_type_t stream) const = 0;
35 virtual float volIndexToDb(audio_stream_type_t stream, device_category device,
37 virtual status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) = 0;
40 virtual void switchVolumeCurve(audio_stream_type_t src, audio_stream_type_t dst) = 0
    [all...]
StreamDescriptor.h 66 class StreamDescriptorCollection : public DefaultKeyedVector<audio_stream_type_t, StreamDescriptor>,
72 virtual void clearCurrentVolumeIndex(audio_stream_type_t stream);
73 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device,
75 virtual bool canBeMuted(audio_stream_type_t stream);
76 virtual int getVolumeIndexMin(audio_stream_type_t stream) const
80 virtual int getVolumeIndex(audio_stream_type_t stream, audio_devices_t device)
84 virtual int getVolumeIndexMax(audio_stream_type_t stream) const
88 virtual float volIndexToDb(audio_stream_type_t stream, device_category device,
90 virtual status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax);
92 virtual void switchVolumeCurve(audio_stream_type_t streamSrc, audio_stream_type_t streamDst)
    [all...]
VolumeCurve.h 53 VolumeCurve(device_category device, audio_stream_type_t stream) :
57 audio_stream_type_t getStreamType() const { return mStreamType; }
68 audio_stream_type_t mStreamType;
153 class VolumeCurvesCollection : public KeyedVector<audio_stream_type_t, VolumeCurvesForStream>,
161 audio_stream_type_t stream = static_cast<audio_stream_type_t>(i);
167 virtual status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax)
173 virtual void clearCurrentVolumeIndex(audio_stream_type_t stream)
177 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device, int index)
181 virtual bool canBeMuted(audio_stream_type_t stream) { return getCurvesFor(stream).canBeMuted();
    [all...]
AudioOutputDescriptor.h 56 audio_stream_type_t stream,
60 virtual void changeRefCount(audio_stream_type_t stream, int delta);
63 bool isStreamActive(audio_stream_type_t stream,
112 virtual void changeRefCount(audio_stream_type_t stream, int delta);
114 audio_stream_type_t stream,
146 audio_stream_type_t stream,
163 bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
172 bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
186 bool isAnyOutputActive(audio_stream_type_t streamToIgnore) const;
197 bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const
    [all...]
SessionRoute.h 33 static const audio_stream_type_t STREAM_TYPE_NA = AUDIO_STREAM_DEFAULT;
41 audio_stream_type_t streamType,
70 const audio_stream_type_t mStreamType;
107 audio_stream_type_t streamType,
  /frameworks/av/services/audiopolicy/engineconfigurable/src/
Stream.h 32 class Element<audio_stream_type_t>
56 status_t setIdentifier(audio_stream_type_t identifier);
61 audio_stream_type_t getIdentifier() const { return mIdentifier; }
65 * Property may be routing_strategy, audio_stream_type_t, audio_usage_t, audio_source_t
80 audio_stream_type_t mIdentifier; /**< Unique numerical Identifier of a policy base element*/
84 audio_stream_type_t mVolumeProfile; /**< Volume Profile followed by this stream. */
87 typedef Element<audio_stream_type_t> Stream;
Stream.cpp 29 status_t Element<audio_stream_type_t>::setIdentifier(audio_stream_type_t identifier)
48 status_t Element<audio_stream_type_t>::set<routing_strategy>(routing_strategy strategy)
59 routing_strategy Element<audio_stream_type_t>::get<routing_strategy>() const
66 status_t Element<audio_stream_type_t>::set<audio_stream_type_t>(audio_stream_type_t volumeProfile)
77 audio_stream_type_t Element<audio_stream_type_t>::get<audio_stream_type_t>() cons
    [all...]
Engine.h 64 virtual routing_strategy getStrategyForStream(audio_stream_type_t stream)
66 return mPolicyEngine->getPropertyForKey<routing_strategy, audio_stream_type_t>(stream);
106 virtual status_t addStream(const std::string &name, audio_stream_type_t stream)
108 return mPolicyEngine->add<audio_stream_type_t>(name, stream);
123 virtual bool setStrategyForStream(const audio_stream_type_t &stream,
126 return mPolicyEngine->setPropertyForKey<routing_strategy, audio_stream_type_t>(strategy,
129 virtual bool setVolumeProfileForStream(const audio_stream_type_t &stream,
130 const audio_stream_type_t &volumeProfile);
155 bool setVolumeProfileForStream(const audio_stream_type_t &stream,
Engine.cpp 48 StreamCollection &Engine::getCollection<audio_stream_type_t>()
69 const StreamCollection &Engine::getCollection<audio_stream_type_t>() const
178 bool Engine::PluginInterfaceImpl::setVolumeProfileForStream(const audio_stream_type_t &stream,
179 const audio_stream_type_t &profile)
181 if (mPolicyEngine->setPropertyForKey<audio_stream_type_t, audio_stream_type_t>(stream,
  /frameworks/av/services/audiopolicy/engineconfigurable/interface/
AudioPolicyPluginInterface.h 62 virtual android::status_t addStream(const std::string &name, audio_stream_type_t id) = 0;
108 virtual bool setStrategyForStream(const audio_stream_type_t &stream, routing_strategy strategy) = 0;
118 virtual bool setVolumeProfileForStream(const audio_stream_type_t &stream,
119 const audio_stream_type_t &volumeProfile) = 0;
  /frameworks/av/services/audiopolicy/
AudioPolicyInterface.h 100 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
109 audio_stream_type_t *stream,
119 audio_stream_type_t stream,
123 audio_stream_type_t stream,
127 audio_stream_type_t stream,
156 virtual void initStreamVolume(audio_stream_type_t stream,
163 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream,
170 virtual status_t getStreamVolumeIndex(audio_stream_type_t stream,
175 virtual uint32_t getStrategyForStream(audio_stream_type_t stream) = 0;
178 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream) = 0
    [all...]
  /hardware/libhardware/include/hardware/
audio_policy.h 132 audio_stream_type_t stream,
143 audio_stream_type_t stream,
150 audio_stream_type_t stream,
180 audio_stream_type_t stream,
187 audio_stream_type_t stream,
192 audio_stream_type_t stream,
199 audio_stream_type_t stream,
205 audio_stream_type_t stream,
211 audio_stream_type_t stream);
215 audio_stream_type_t stream)
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
StreamDescriptor.cpp 105 add(static_cast<audio_stream_type_t>(stream), StreamDescriptor());
109 bool StreamDescriptorCollection::canBeMuted(audio_stream_type_t stream)
114 void StreamDescriptorCollection::clearCurrentVolumeIndex(audio_stream_type_t stream)
119 void StreamDescriptorCollection::addCurrentVolumeIndex(audio_stream_type_t stream,
125 void StreamDescriptorCollection::setVolumeCurvePoint(audio_stream_type_t stream,
132 const VolumeCurvePoint *StreamDescriptorCollection::getVolumeCurvePoint(audio_stream_type_t stream,
138 void StreamDescriptorCollection::setVolumeIndexMin(audio_stream_type_t stream,int volIndexMin)
143 void StreamDescriptorCollection::setVolumeIndexMax(audio_stream_type_t stream,int volIndexMax)
148 float StreamDescriptorCollection::volIndexToDb(audio_stream_type_t stream, device_category category,
157 status_t StreamDescriptorCollection::initStreamVolume(audio_stream_type_t stream
    [all...]
  /frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
Stream.cpp 32 mId = static_cast<audio_stream_type_t>(context.getItemAsInteger(MappingKeyIdentifier));
47 static_cast<audio_stream_type_t>(params.volumeProfile));
Stream.h 52 audio_stream_type_t mId; /**< stream type identifier to link with audio.h. */
  /frameworks/av/include/media/
IAudioPolicyService.h 55 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
64 audio_stream_type_t *stream,
73 audio_stream_type_t stream,
76 audio_stream_type_t stream,
79 audio_stream_type_t stream,
97 virtual status_t initStreamVolume(audio_stream_type_t stream,
100 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream,
103 virtual status_t getStreamVolumeIndex(audio_stream_type_t stream,
106 virtual uint32_t getStrategyForStream(audio_stream_type_t stream) = 0;
107 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream) = 0
    [all...]
AudioSystem.h 65 static status_t setStreamVolume(audio_stream_type_t stream, float value,
67 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
71 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
72 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
79 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
83 static status_t isStreamActiveRemotely(audio_stream_type_t stream, bool *state,
112 audio_stream_type_t stream);
115 audio_stream_type_t stream);
118 audio_stream_type_t stream);
209 static audio_io_handle_t getOutput(audio_stream_type_t stream
    [all...]
AudioPolicyHelper.h 21 static audio_stream_type_t audio_attributes_to_stream_type(const audio_attributes_t *attr)
64 static void stream_type_to_audio_attributes(audio_stream_type_t streamType,
  /hardware/libhardware/modules/audio/
audio_policy.c 98 audio_stream_type_t stream,
109 audio_stream_type_t stream, int session)
115 audio_stream_type_t stream, int session)
149 audio_stream_type_t stream, int index_min,
155 audio_stream_type_t stream,
162 audio_stream_type_t stream,
169 audio_stream_type_t stream,
177 audio_stream_type_t stream,
185 audio_stream_type_t stream)
191 audio_stream_type_t stream
    [all...]
  /frameworks/av/services/audiopolicy/service/
AudioPolicyService.h 72 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
82 audio_stream_type_t *stream,
91 audio_stream_type_t stream,
94 audio_stream_type_t stream,
97 audio_stream_type_t stream,
115 virtual status_t initStreamVolume(audio_stream_type_t stream,
118 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream,
121 virtual status_t getStreamVolumeIndex(audio_stream_type_t stream,
125 virtual uint32_t getStrategyForStream(audio_stream_type_t stream);
126 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream)
    [all...]
  /frameworks/av/services/audiopolicy/managerdefault/
AudioPolicyManager.h 103 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
112 audio_stream_type_t *stream,
121 audio_stream_type_t stream,
124 audio_stream_type_t stream,
127 audio_stream_type_t stream,
150 virtual void initStreamVolume(audio_stream_type_t stream,
153 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream,
156 virtual status_t getStreamVolumeIndex(audio_stream_type_t stream,
161 virtual uint32_t getStrategyForStream(audio_stream_type_t stream);
166 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream)
    [all...]
  /device/asus/fugu/libaudio/
ATVAudioPolicyManager.h 44 virtual float computeVolume(audio_stream_type_t stream,
  /hardware/libhardware_legacy/audio/
audio_policy_hal.cpp 137 audio_stream_type_t stream,
154 audio_stream_type_t stream, audio_session_t session)
162 audio_stream_type_t stream, audio_session_t session)
206 audio_stream_type_t stream, int index_min,
215 audio_stream_type_t stream,
225 audio_stream_type_t stream,
235 audio_stream_type_t stream,
246 audio_stream_type_t stream,
257 audio_stream_type_t stream)
264 audio_stream_type_t stream
    [all...]
  /hardware/qcom/audio/legacy/alsa_sound/
audio_policy_hal.cpp 137 audio_stream_type_t stream,
152 audio_stream_type_t stream, int session)
160 audio_stream_type_t stream, int session)
204 audio_stream_type_t stream, int index_min,
213 audio_stream_type_t stream,
223 audio_stream_type_t stream,
233 audio_stream_type_t stream,
244 audio_stream_type_t stream,
255 audio_stream_type_t stream)
262 audio_stream_type_t stream
    [all...]
  /frameworks/av/services/audiopolicy/engine/interface/
AudioPolicyManagerInterface.h 77 virtual routing_strategy getStrategyForStream(audio_stream_type_t stream) = 0;

Completed in 551 milliseconds

1 2 3 4