Home
last modified time | relevance | path

Searched refs:Stream (Results 1 – 25 of 52) sorted by relevance

123

/hardware/interfaces/audio/core/all-versions/default/
DStream.cpp38 Stream::Stream(audio_stream_t* stream) : mStream(stream) {} in Stream() function in android::hardware::audio::CPP_VERSION::implementation::Stream
40 Stream::~Stream() { in ~Stream()
45 Result Stream::analyzeStatus(const char* funcName, int status) { in analyzeStatus()
50 Result Stream::analyzeStatus(const char* funcName, int status, in analyzeStatus()
55 char* Stream::halGetParameters(const char* keys) { in halGetParameters()
59 int Stream::halSetParameters(const char* keysAndValues) { in halSetParameters()
64 Return<uint64_t> Stream::getFrameSize() { in getFrameSize()
71 Return<uint64_t> Stream::getFrameCount() { in getFrameCount()
77 Return<uint64_t> Stream::getBufferSize() { in getBufferSize()
81 Return<uint32_t> Stream::getSampleRate() { in getSampleRate()
[all …]
DStreamOut.cpp85 mStatus.retval = Stream::analyzeStatus("write", writeResult); in doWrite()
143 mStreamCommon(new Stream(&stream->common)), in StreamOut()
321 return Stream::analyzeStatus("set_volume", mStream->set_volume(mStream, left, right), in setVolume()
350 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForWriting()
352 Stream::MAX_BUFFER_SIZE); in prepareForWriting()
406 Result retval = Stream::analyzeStatus("get_render_position", in getRenderPosition()
417 retval = Stream::analyzeStatus("get_next_write_timestamp", in getNextWriteTimestamp()
433 return Stream::analyzeStatus("set_callback", result, {ENOSYS} /*ignore*/); in setCallback()
480 ? Stream::analyzeStatus("pause", mStream->pause(mStream), {ENOSYS} /*ignore*/) in pause()
486 ? Stream::analyzeStatus("resume", mStream->resume(mStream), {ENOSYS} /*ignore*/) in resume()
[all …]
DStreamIn.cpp95 mStatus.retval = Stream::analyzeStatus("read", readResult); in doRead()
144 mStreamCommon(new Stream(&stream->common)), in StreamIn()
337 return Stream::analyzeStatus("set_gain", mStream->set_gain(mStream, gain)); in setGain()
366 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForReading()
368 Stream::MAX_BUFFER_SIZE); in prepareForReading()
433 retval = Stream::analyzeStatus("get_capture_position", in getCapturePositionImpl()
513 return Stream::analyzeStatus( in setMicrophoneDirection()
527 return Stream::analyzeStatus("set_microphone_field_dimension", in setMicrophoneFieldDimension()
/hardware/libhardware/modules/camera/3_0/
DStream.cpp35 Stream::Stream(int id, camera3_stream_t *s) in Stream() function in default_camera_hal::Stream
51 Stream::~Stream() in ~Stream()
57 void Stream::setUsage(uint32_t usage) in setUsage()
67 void Stream::setMaxBuffers(uint32_t max_buffers) in setMaxBuffers()
77 int Stream::getType() in getType()
82 bool Stream::isInputType() in isInputType()
88 bool Stream::isOutputType() in isOutputType()
94 const char* Stream::typeToString(int type) in typeToString()
107 const char* Stream::formatToString(int format) in formatToString()
147 bool Stream::isRegistered() in isRegistered()
[all …]
DCamera.h70 Stream *reuseStream(camera3_stream_t *astream);
72 void destroyStreams(Stream **array, int count);
74 bool isValidStreamSet(Stream **array, int count);
76 void setupStreams(Stream **array, int count);
107 Stream **mStreams;
DStream.h27 class Stream {
29 Stream(int id, camera3_stream_t *s);
30 ~Stream();
DCamera.cpp147 Stream **newStreams = NULL; in configureStreams()
163 newStreams = new Stream*[stream_config->num_streams]; in configureStreams()
178 newStreams[i] = new Stream(mId, astream); in configureStreams()
212 void Camera::destroyStreams(Stream **streams, int count) in destroyStreams()
224 Stream *Camera::reuseStream(camera3_stream_t *astream) in reuseStream()
226 Stream *priv = reinterpret_cast<Stream*>(astream->priv); in reuseStream()
237 bool Camera::isValidStreamSet(Stream **streams, int count) in isValidStreamSet()
272 void Camera::setupStreams(Stream **streams, int count) in setupStreams()
310 Stream *stream = reinterpret_cast<Stream*>(buf_set->stream->priv); in registerStreamBuffers()
/hardware/libhardware/modules/usbcamera/
DStream.cpp36 Stream::Stream(int id, camera3_stream_t *s) in Stream() function in usb_camera_hal::Stream
42 Stream::~Stream() { in ~Stream()
50 void Stream::setUsage(uint32_t usage) { in setUsage()
57 void Stream::setMaxBuffers(uint32_t max_buffers) { in setMaxBuffers()
64 int Stream::getType() { in getType()
68 bool Stream::isInputType() { in isInputType()
73 bool Stream::isOutputType() { in isOutputType()
78 const char* Stream::typeToString(int type) { in typeToString()
90 const char* Stream::formatToString(int format) { in formatToString()
129 bool Stream::isValidReuseStream(int id, camera3_stream_t *s) { in isValidReuseStream()
[all …]
DCamera.h94 Stream *reuseStreamLocked(camera3_stream_t *astream);
97 void destroyStreamsLocked(android::Vector<Stream *> &streams);
99 bool isValidStreamSetLocked(const android::Vector<Stream *> &streams);
101 void setupStreamsLocked(android::Vector<Stream *> &streams);
122 android::Vector<Stream *> mStreams;
DStream.h28 class Stream {
30 Stream(int id, camera3_stream_t *s);
31 ~Stream();
DCamera.cpp203 android::Vector<Stream *> newStreams; in configureStreams()
236 newStreams.add(new Stream(mId, astream)); in configureStreams()
269 void Camera::destroyStreamsLocked(android::Vector<Stream *> &streams) { in destroyStreamsLocked()
276 Stream *Camera::reuseStreamLocked(camera3_stream_t *astream) { in reuseStreamLocked()
277 Stream *priv = reinterpret_cast<Stream*>(astream->priv); in reuseStreamLocked()
288 bool Camera::isValidStreamSetLocked(const android::Vector<Stream *> &streams) { in isValidStreamSetLocked()
318 void Camera::setupStreamsLocked(android::Vector<Stream *> &streams) { in setupStreamsLocked()
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DStream.h48 struct Stream : public IStream, public ParametersUtil { struct
49 explicit Stream(audio_stream_t* stream);
115 virtual ~Stream();
142 return Stream::analyzeStatus("start", result); in start()
149 return Stream::analyzeStatus("stop", result); in stop()
161 retval = Stream::analyzeStatus( in createMmapBuffer()
201 retval = Stream::analyzeStatus("get_mmap_position", in getMmapPosition()
/hardware/interfaces/audio/policy/1.0/xml/api/
Dcurrent.txt11 method public audio.policy.V1_0.Stream getStreamType();
18 method public void setStreamType(audio.policy.V1_0.Stream);
191 public enum Stream {
193 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_ACCESSIBILITY;
194 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_ALARM;
195 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_ASSISTANT;
196 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_BLUETOOTH_SCO;
197 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_DEFAULT;
198 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_DTMF;
199 enum_constant public static final audio.policy.V1_0.Stream AUDIO_STREAM_ENFORCED_AUDIBLE;
[all …]
/hardware/interfaces/audio/4.0/config/api/
Dcurrent.txt339 public enum Stream {
341 …enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_ACCESSIBILIT…
342 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_ALARM;
343 …enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_BLUETOOTH_SC…
344 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_DTMF;
345 …enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_ENFORCED_AUD…
346 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_MUSIC;
347 …enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_NOTIFICATION;
348 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_PATCH;
349 enum_constant public static final audio.policy.configuration.V4_0.Stream AUDIO_STREAM_REROUTING;
[all …]
/hardware/interfaces/cas/1.2/
Dtypes.hal55 * Live Stream.
59 * Playback Recorded Stream.
63 * Record Live Stream.
/hardware/interfaces/audio/6.0/config/api/
Dcurrent.txt366 public enum Stream {
368 …enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_ACCESSIBILIT…
369 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_ALARM;
370 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_ASSISTANT;
371 …enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_BLUETOOTH_SC…
372 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_DTMF;
373 …enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_ENFORCED_AUD…
374 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_MUSIC;
375 …enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_NOTIFICATION;
376 enum_constant public static final audio.policy.configuration.V6_0.Stream AUDIO_STREAM_PATCH;
[all …]
/hardware/interfaces/camera/device/3.4/default/include/
Dconvert.h37 void convertFromHidl(const Stream &src, Camera3Stream* dst);
/hardware/interfaces/audio/5.0/config/api/
Dcurrent.txt358 public enum Stream {
360 …enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ACCESSIBILIT…
361 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ALARM;
362 …enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_BLUETOOTH_SC…
363 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_DTMF;
364 …enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_ENFORCED_AUD…
365 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_MUSIC;
366 …enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_NOTIFICATION;
367 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_PATCH;
368 enum_constant public static final audio.policy.configuration.V5_0.Stream AUDIO_STREAM_REROUTING;
[all …]
/hardware/interfaces/camera/device/3.2/default/include/
Dconvert.h45 void convertFromHidl(const Stream &src, Camera3Stream* dst);
/hardware/interfaces/camera/device/3.4/default/
Dconvert.cpp47 void convertFromHidl(const Stream &src, Camera3Stream* dst) { in convertFromHidl()
/hardware/interfaces/camera/device/3.4/
Dtypes.hal21 import @3.2::Stream;
28 * Stream:
34 * This version extends the @3.2 Stream with the physicalCameraId and bufferSize field.
36 struct Stream {
38 * The definition of Stream from the prior version
40 @3.2::Stream v3_2;
65 * The size of a buffer from this Stream, in bytes.
84 * parameters, and the streams vector contains @3.4::Stream.
91 vec<Stream> streams;
/hardware/interfaces/audio/2.0/
DIStreamOutCallback.hal34 * Stream hit an error.
/hardware/interfaces/audio/6.0/
DIStreamOutCallback.hal34 * Stream hit an error.
/hardware/interfaces/audio/5.0/
DIStreamOutCallback.hal34 * Stream hit an error.
/hardware/interfaces/audio/4.0/
DIStreamOutCallback.hal34 * Stream hit an error.

123