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/
StreamDescriptor.h 61 class StreamDescriptorCollection : public DefaultKeyedVector<audio_stream_type_t, StreamDescriptor>
66 void clearCurrentVolumeIndex(audio_stream_type_t stream);
67 void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device, int index);
69 bool canBeMuted(audio_stream_type_t stream);
73 void setVolumeCurvePoint(audio_stream_type_t stream,
77 const VolumeCurvePoint *getVolumeCurvePoint(audio_stream_type_t stream,
80 void setVolumeIndexMin(audio_stream_type_t stream,int volIndexMin);
81 void setVolumeIndexMax(audio_stream_type_t stream,int volIndexMax);
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,
AudioOutputDescriptor.h 54 audio_stream_type_t stream,
58 virtual void changeRefCount(audio_stream_type_t stream, int delta);
61 bool isStreamActive(audio_stream_type_t stream,
107 virtual void changeRefCount(audio_stream_type_t stream, int delta);
109 audio_stream_type_t stream,
133 bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
142 bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
156 bool isAnyOutputActive(audio_stream_type_t streamToIgnore) const;
  /frameworks/av/services/audiopolicy/engineconfigurable/src/
Stream.h 33 class Element<audio_stream_type_t>
64 status_t setIdentifier(audio_stream_type_t identifier);
69 audio_stream_type_t getIdentifier() const { return mIdentifier; }
73 * Property may be routing_strategy, audio_stream_type_t, audio_usage_t, audio_source_t
94 audio_stream_type_t mIdentifier; /**< Unique numerical Identifier of a policy base element*/
110 typedef Element<audio_stream_type_t> Stream;
Engine.h 64 virtual routing_strategy getStrategyForStream(audio_stream_type_t stream)
66 return mPolicyEngine->getPropertyForKey<routing_strategy, audio_stream_type_t>(stream);
92 virtual status_t initStreamVolume(audio_stream_type_t stream,
101 audio_stream_type_t stream,
121 virtual status_t addStream(const std::string &name, audio_stream_type_t stream)
123 return mPolicyEngine->add<audio_stream_type_t>(name, stream);
138 virtual bool setStrategyForStream(const audio_stream_type_t &stream,
141 return mPolicyEngine->setPropertyForKey<routing_strategy, audio_stream_type_t>(strategy,
144 virtual bool setVolumeProfileForStream(const audio_stream_type_t &stream,
174 bool setVolumeProfileForStream(const audio_stream_type_t &stream
    [all...]
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
65 status_t Element<audio_stream_type_t>::setVolumeProfile(Volume::device_category category,
80 status_t Element<audio_stream_type_t>::initVolume(int indexMin, int indexMax)
94 float Element<audio_stream_type_t>::volIndexToDb(Volume::device_category deviceCategory,
Engine.cpp 48 StreamCollection &Engine::getCollection<audio_stream_type_t>()
69 const StreamCollection &Engine::getCollection<audio_stream_type_t>() const
118 bool Engine::setVolumeProfileForStream(const audio_stream_type_t &streamType,
122 Stream *stream = getFromCollection<audio_stream_type_t>(streamType);
203 audio_stream_type_t streamType,
206 Stream *stream = getFromCollection<audio_stream_type_t>(streamType);
214 status_t Engine::initStreamVolume(audio_stream_type_t streamType,
217 Stream *stream = getFromCollection<audio_stream_type_t>(streamType);
  /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,
96 virtual status_t initStreamVolume(audio_stream_type_t stream,
99 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream,
102 virtual status_t getStreamVolumeIndex(audio_stream_type_t stream,
105 virtual uint32_t getStrategyForStream(audio_stream_type_t stream) = 0;
106 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream) = 0
    [all...]
AudioSystem.h 60 static status_t setStreamVolume(audio_stream_type_t stream, float value,
62 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
66 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
67 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
74 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
78 static status_t isStreamActiveRemotely(audio_stream_type_t stream, bool *state,
106 audio_stream_type_t stream);
109 audio_stream_type_t stream);
112 audio_stream_type_t stream);
196 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,
  /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,
  /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,
114 virtual status_t initStreamVolume(audio_stream_type_t stream,
117 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream,
120 virtual status_t getStreamVolumeIndex(audio_stream_type_t stream,
124 virtual uint32_t getStrategyForStream(audio_stream_type_t stream);
125 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream)
    [all...]
  /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...]
  /cts/tests/tests/security/jni/
android_security_cts_AudioPolicyBinderTest.cpp 64 *output = AudioSystem::getOutput((audio_stream_type_t)stream);
100 status_t status = aps->startOutput(output, (audio_stream_type_t)(AUDIO_STREAM_MIN -1),
105 status = aps->startOutput(output, (audio_stream_type_t)AUDIO_STREAM_CNT,
128 status_t status = aps->stopOutput(output, (audio_stream_type_t)(AUDIO_STREAM_MIN -1),
133 status = aps->stopOutput(output, (audio_stream_type_t)AUDIO_STREAM_CNT,
154 status_t status = aps->isStreamActive((audio_stream_type_t)(-1), 0);
158 status = aps->isStreamActive((audio_stream_type_t)AUDIO_STREAM_CNT, 0);
179 if (aps->isStreamActiveRemotely((audio_stream_type_t)(AUDIO_STREAM_MIN -1), 0)) {
183 if (aps->isStreamActiveRemotely((audio_stream_type_t)AUDIO_STREAM_CNT, 0)) {
  /frameworks/av/services/audiopolicy/enginedefault/src/
Engine.h 66 virtual routing_strategy getStrategyForStream(audio_stream_type_t stream)
96 virtual status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax)
105 audio_stream_type_t stream,int indexInUi)
139 routing_strategy getStrategyForStream(audio_stream_type_t stream);
145 audio_stream_type_t stream, int indexInUi);
146 status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax);
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
StreamDescriptor.cpp 100 add(static_cast<audio_stream_type_t>(stream), StreamDescriptor());
104 bool StreamDescriptorCollection::canBeMuted(audio_stream_type_t stream)
109 void StreamDescriptorCollection::clearCurrentVolumeIndex(audio_stream_type_t stream)
114 void StreamDescriptorCollection::addCurrentVolumeIndex(audio_stream_type_t stream,
120 void StreamDescriptorCollection::setVolumeCurvePoint(audio_stream_type_t stream,
127 const VolumeCurvePoint *StreamDescriptorCollection::getVolumeCurvePoint(audio_stream_type_t stream,
133 void StreamDescriptorCollection::setVolumeIndexMin(audio_stream_type_t stream,int volIndexMin)
138 void StreamDescriptorCollection::setVolumeIndexMax(audio_stream_type_t stream,int volIndexMax)
  /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...]
  /frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
Stream.h 46 audio_stream_type_t mId; /**< stream type identifier to link with audio.h. */
VolumeProfile.h 58 audio_stream_type_t mId;
  /frameworks/av/services/audiopolicy/engine/interface/
AudioPolicyManagerInterface.h 77 virtual routing_strategy getStrategyForStream(audio_stream_type_t stream) = 0;
146 virtual float volIndexToDb(Volume::device_category deviceCategory, audio_stream_type_t stream,
157 virtual status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) = 0;
  /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...]
  /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, int session)
162 audio_stream_type_t stream, int 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...]

Completed in 313 milliseconds

1 2 3 4