Home
last modified time | relevance | path

Searched defs:stream (Results 1 – 25 of 90) sorted by relevance

1234

/hardware/libhardware/modules/audio/
Daudio_hw.c49 struct audio_stream_out stream; member
58 struct audio_stream_in stream; member
66 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
74 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
83 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
93 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
101 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
109 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
118 static int out_standby(struct audio_stream *stream) in out_standby()
125 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
[all …]
Daudio_policy.c98 audio_stream_type_t stream, in ap_get_output()
109 audio_stream_type_t stream, int session) in ap_start_output()
115 audio_stream_type_t stream, int session) in ap_stop_output()
149 audio_stream_type_t stream, int index_min, in ap_init_stream_volume()
155 audio_stream_type_t stream, in ap_set_stream_volume_index()
162 audio_stream_type_t stream, in ap_get_stream_volume_index()
169 audio_stream_type_t stream, in ap_set_stream_volume_index_for_device()
177 audio_stream_type_t stream, in ap_get_stream_volume_index_for_device()
185 audio_stream_type_t stream) in ap_get_strategy_for_stream()
191 audio_stream_type_t stream) in ap_get_devices_for_stream()
[all …]
/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp46 struct audio_stream_out stream; member
52 struct audio_stream_in stream; member
121 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
128 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
138 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
145 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
152 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
160 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
169 static int out_standby(struct audio_stream *stream) in out_standby()
176 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp45 struct audio_stream_out stream; member
51 struct audio_stream_in stream; member
142 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
149 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
159 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
166 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
173 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
180 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
189 static int out_standby(struct audio_stream *stream) in out_standby()
196 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
[all …]
Daudio_policy_hal.cpp137 audio_stream_type_t stream, in ap_get_output()
152 audio_stream_type_t stream, int session) in ap_start_output()
160 audio_stream_type_t stream, int session) in ap_stop_output()
204 audio_stream_type_t stream, int index_min, in ap_init_stream_volume()
213 audio_stream_type_t stream, in ap_set_stream_volume_index()
223 audio_stream_type_t stream, in ap_get_stream_volume_index()
233 audio_stream_type_t stream, in ap_set_stream_volume_index_for_device()
244 audio_stream_type_t stream, in ap_get_stream_volume_index_for_device()
255 audio_stream_type_t stream) in ap_get_strategy_for_stream()
262 audio_stream_type_t stream) in ap_get_devices_for_stream()
[all …]
DAudioPolicyManagerALSA.cpp66 for (int stream = 0; stream < AudioSystem::NUM_STREAM_TYPES; stream++) { in setPhoneState() local
155 for (int stream = 0; stream < AudioSystem::NUM_STREAM_TYPES; stream++) { in setPhoneState() local
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c79 struct audio_stream_out stream; member
112 struct audio_stream_in stream; member
292 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
299 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
304 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
312 static uint32_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
318 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
329 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
334 static int out_standby(struct audio_stream *stream) in out_standby()
347 static int out_dump(const struct audio_stream *stream, int fd) { in out_dump()
[all …]
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp178 struct audio_stream_out stream; member
190 struct audio_stream_in stream; member
277 struct audio_stream_out * const stream) in audio_stream_out_get_submix_stream_out()
286 struct audio_stream * const stream) in audio_stream_get_submix_stream_out()
296 struct audio_stream_in * const stream) in audio_stream_in_get_submix_stream_in()
305 struct audio_stream * const stream) in audio_stream_get_submix_stream_in()
610 static size_t calculate_stream_pipe_size_in_frames(const struct audio_stream *stream, in audio_config_compare()
622 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in audio_config_compare()
636 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in audio_config_compare()
659 static size_t out_get_buffer_size(const struct audio_stream *stream) in audio_config_compare()
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/
DAudioPrimaryHidlHalTest.cpp19 static void testGetDevice(IStream* stream, AudioDevice expectedDevice) { in testGetDevice()
35 static void testSetDevice(IStream* stream, const DeviceAddress& address) { in testSetDevice()
48 static void testConnectedState(IStream* stream) { in testConnectedState()
/hardware/qcom/audio/hal/audio_extn/
Daudiozoom.h22 #define audio_extn_audiozoom_set_microphone_direction(stream, dir) (-ENOSYS) argument
23 #define audio_extn_audiozoom_set_microphone_field_dimension(stream, zoom) (-ENOSYS) argument
/hardware/ril/libril/
Dsap_service.cpp214 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in connectReq() local
255 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in disconnectReq() local
308 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in apduReq() local
350 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferAtrReq() local
392 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in powerReq() local
433 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in resetSimReq() local
476 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferCardReaderStatusReq() local
520 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in setTransferProtocolReq() local
537 pb_istream_t stream; in sapDecodeMessage() local
/hardware/qcom/audio/hal/
Daudio_hw.c2746 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
2758 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
2769 static uint32_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
2776 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
2789 static int out_standby_l(struct audio_stream *stream) in out_standby_l()
2847 static int out_standby(struct audio_stream *stream) in out_standby()
2861 static int out_on_error(struct audio_stream *stream) in out_on_error()
2883 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
2960 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
3249 static char* out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters()
[all …]
/hardware/libhardware/modules/camera/3_4/
Drequest_tracker.cpp63 for (const auto stream : RequestStreams(*request)) { in Add() local
96 for (const auto stream : RequestStreams(*request)) { in Remove() local
131 for (const auto stream : RequestStreams(request)) { in CanAddRequest() local
Dstatic_properties.cpp278 const camera3_stream_t* stream = stream_config->streams[i]; in SanityCheckStreamConfiguration() local
301 const camera3_stream_t* stream = stream_config->streams[i]; in InputStreamsSupported() local
352 const camera3_stream_t* stream = stream_config->streams[i]; in InputStreamsSupported() local
378 const camera3_stream_t* stream = stream_config->streams[i]; in OutputStreamsSupported() local
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_preview.c628 mm_camera_stream_t *stream = NULL; in mm_app_add_metadata_stream() local
707 mm_camera_stream_t *stream = NULL; in mm_app_add_analysis_stream() local
771 mm_camera_stream_t *stream = NULL; in mm_app_add_ZSL_preview_stream() local
841 mm_camera_stream_t *stream = NULL; in mm_app_add_preview_stream() local
944 mm_camera_stream_t *stream = NULL; in mm_app_add_raw_stream() local
1026 mm_camera_stream_t *stream = NULL; in mm_app_add_ZSL_snapshot_stream() local
1115 mm_camera_stream_t *stream = NULL; in mm_app_add_snapshot_stream() local
1198 mm_camera_stream_t *stream = NULL; in mm_app_add_preview_channel() local
1228 mm_camera_stream_t *stream = NULL; in mm_app_stop_and_del_channel() local
1268 mm_camera_stream_t *stream = NULL; in mm_app_start_preview() local
Dmm_qcamera_rdi.c100 mm_camera_stream_t *stream = NULL; in mm_app_add_rdi_stream() local
202 mm_camera_stream_t *stream = NULL; in mm_app_add_rdi_snapshot_stream() local
250 mm_camera_stream_t *stream = NULL; in mm_app_add_rdi_channel() local
282 mm_camera_stream_t *stream = NULL; in mm_app_stop_and_del_rdi_channel() local
Dmm_qcamera_video.c342 mm_camera_stream_t *stream = NULL; in mm_app_add_video_preview_stream() local
402 mm_camera_stream_t *stream = NULL; in mm_app_add_video_snapshot_stream() local
463 mm_camera_stream_t *stream = NULL; in mm_app_add_video_stream() local
539 mm_camera_stream_t *stream = NULL; in mm_app_add_video_channel() local
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraStream.cpp74 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in get_bufs() local
118 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in get_bufs_deffered() local
146 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in put_bufs() local
180 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in put_bufs_deffered() local
205 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in invalidate_buf() local
242 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in clean_invalidate_buf() local
279 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in clean_buf() local
318 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in set_config_ops() local
693 QCameraStream *stream = (QCameraStream*)data; in backgroundAllocate() local
713 QCameraStream *stream = (QCameraStream*)data; in backgroundMap() local
[all …]
DQCamera2HWICallbacks.cpp694 mm_camera_super_buf_t *super_frame, QCameraStream * stream, in synchronous_stream_cb_routine()
799 QCameraStream * stream, in preview_stream_cb_routine()
973 int32_t QCamera2HardwareInterface::sendPreviewCallback(QCameraStream *stream, in sendPreviewCallback()
1157 QCameraStream *stream, in nodisplay_preview_stream_cb_routine()
1241 QCameraStream *stream, void *userdata) in secure_stream_cb_routine()
1318 QCameraStream *stream, in rdi_mode_stream_cb_routine()
1406 QCameraStream *stream, in postview_stream_cb_routine()
1469 QCameraStream *stream, in video_stream_cb_routine()
1896 QCameraStream * stream, in preview_raw_stream_cb_routine()
1949 QCameraStream * stream, in snapshot_raw_stream_cb_routine()
[all …]
/hardware/interfaces/camera/device/3.2/default/
Dconvert.cpp102 buffer_handle_t* bufPtr, BufferStatus status, camera3_stream_t* stream, int acquireFence, in convertFromHidl()
119 Camera3Stream* stream = static_cast<Camera3Stream*>( in convertToHidl() local
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp185 Camera3Stream stream; in preProcessConfigurationLocked_3_4() local
234 for (const auto& stream : requestedConfiguration.streams) { in preProcessConfigurationLocked_3_4() local
257 for (const auto& stream : requestedConfiguration.streams) { in postProcessConfigurationLocked_3_4() local
278 for (const auto& stream : requestedConfiguration.streams) { in postProcessConfigurationLocked_3_4() local
295 for (const auto& stream : requestedConfiguration.streams) { in postProcessConfigurationFailureLocked_3_4() local
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.cpp482 QCamera3Stream *stream, void *userdata) in streamCbRoutine()
766 camera3_stream_t *stream, in QCamera3ProcessingChannel()
838 QCamera3Stream *stream) in streamCbRoutine()
1400 QCamera3Stream *stream) in checkStreamCbErrors()
1604 int32_t QCamera3ProcessingChannel::translateStreamTypeAndFormat(camera3_stream_t *stream, in translateStreamTypeAndFormat()
1931 camera3_stream_t *stream, in QCamera3RegularChannel()
2341 camera3_stream_t *stream, in QCamera3RawChannel()
2381 QCamera3Stream * stream) in streamCbRoutine()
2406 QCamera3Stream *stream = getStreamByIndex(0); in dumpRawSnapshot() local
2443 QCamera3Stream *stream = getStreamByIndex(0); in convertLegacyToRaw16() local
[all …]
DQCamera3Stream.cpp89 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in get_bufs() local
126 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in put_bufs() local
159 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in invalidate_buf() local
199 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in clean_invalidate_buf() local
239 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in clean_buf() local
637 QCamera3Stream* stream = (QCamera3Stream *)userdata; in dataNotifyCB() local
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp66 sp<IStreamIn> stream; in TEST_P() local
142 static void testGetDevices(IStream* stream, AudioDevice expectedDevice) { in testGetDevices()
161 static void testSetDevices(IStream* stream, const DeviceAddress& address) { in testSetDevices()
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h826 explicit StreamHelper(sp<Stream>& stream) : mStream(stream) {} in StreamHelper()
910 sp<Stream> stream; variable
1126 static void testGetAudioProperties(IStream* stream, AudioConfig expectedConfig) { in testGetAudioProperties()
1147 static void checkGetNoParameter(IStream* stream, hidl_vec<hidl_string> keys, in checkGetNoParameter()
1223 static void testMmapBufferOfInvalidSize(IStream* stream) { in testMmapBufferOfInvalidSize()
1235 static void testGetMmapPositionOfNonMmapedStream(IStream* stream) { in testGetMmapPositionOfNonMmapedStream()
1290 static void testPrepareForReading(IStreamIn* stream, uint32_t frameSize, uint32_t framesCount) { in testPrepareForReading()
1355 static void testPrepareForWriting(IStreamOut* stream, uint32_t frameSize, uint32_t framesCount) { in testPrepareForWriting()
1425 static bool isAsyncModeSupported(IStreamOut* stream) { in isAsyncModeSupported()
1480 static void testDrain(IStreamOut* stream, AudioDrain type) { in testDrain()

1234