Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 20 of 20) sorted by relevance

/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_data_injection_test.c184 size_t bytes_written; in main() local
299 bytes_written = oslo_driver_set_param_blk(smd, PARAM_BLK_ID_FRAME_DATA_INJECTION, in main()
301 if (bytes_written == 0) { in main()
305 frame_data_bytes_remaining -= bytes_written; in main()
306 data_ptr += bytes_written; in main()
Doslo_iaxxx_sensor_control.c118 size_t bytes_written = 0; in oslo_driver_set_param_blk() local
141 bytes_written = spb.blk_size; in oslo_driver_set_param_blk()
144 return bytes_written; in oslo_driver_set_param_blk()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dring_buffer.cpp158 unsigned int bytes_written = 0; // bytes written into rb so far in rb_write() local
229 while (bytes_written < length) { in rb_write()
246 (length - bytes_written)); in rb_write()
287 (buf + bytes_written), in rb_write()
319 bytes_written += cur_copy_len; in rb_write()
323 rbc->total_bytes_written += bytes_written - total_push_in_rd_ptr; in rb_write()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp388 int bytes_written; in RecordingThreadEntry() local
559bytes_written = mproxyRecordingHandle->sync_ptr->c.control.appl_ptr - mproxyRecordingHandle->sync_… in RecordingThreadEntry()
560 …if ((bytes_written >= mproxyRecordingHandle->sw_p->start_threshold) && (!mproxyRecordingHandle->st… in RecordingThreadEntry()
775 int bytes_written; in PlaybackThreadEntry() local
1008bytes_written = musbPlaybackHandle->sync_ptr->c.control.appl_ptr - musbPlaybackHandle->sync_ptr->s… in PlaybackThreadEntry()
1009 …andle->sync_ptr->c.control.appl_ptr, musbPlaybackHandle->sync_ptr->s.status.hw_ptr, bytes_written); in PlaybackThreadEntry()
1016 if (bytes_written <= usbPeriod && musbPlaybackHandle->start) { in PlaybackThreadEntry()
1022 …if ((bytes_written >= musbPlaybackHandle->sw_p->start_threshold) && (!musbPlaybackHandle->start)) { in PlaybackThreadEntry()
/hardware/ril/libril/
Dsap_service.cpp225 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in connectReq()
266 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in disconnectReq()
319 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in apduReq()
361 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in transferAtrReq()
403 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in powerReq()
444 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in resetSimReq()
488 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in transferCardReaderStatusReq()
532 return addPayloadAndDispatchRequest(msg, stream.bytes_written, buffer); in setTransferProtocolReq()
/hardware/interfaces/bluetooth/1.0/default/test/
Dbluetooth_address_test.cc63 size_t bytes_written = write(fd, string, length); in FileWriteString() local
65 EXPECT_EQ(length, bytes_written) << strerror(errno); in FileWriteString()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_swvenc_hevc.cpp1168 int bytes_written = 0; in dump_buffer() local
1172 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
1174 if (bytes_written >0) in dump_buffer()
1175 bytes += bytes_written * width; in dump_buffer()
1180 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
1182 if (bytes_written >0) in dump_buffer()
1183 bytes += bytes_written * width; in dump_buffer()
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_pcm.c526 int bytes_written; in pcm_write_mmap() local
550 bytes_written = pcm->sync_ptr->c.control.appl_ptr - pcm->sync_ptr->s.status.hw_ptr; in pcm_write_mmap()
551 if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) { in pcm_write_mmap()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp739 int canDisplay = 1, contigous_drop_frame = 0, bytes_written = 0, ret = 0; in fbd_thread() local
847 bytes_written = 0; in fbd_thread()
865bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile); in fbd_thread()
874bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile); in fbd_thread()
883 bytes_written = fwrite_helper((const char *)pBuffer->pBuffer, in fbd_thread()
886 if (bytes_written < 0) { in fbd_thread()
890 bytes_written); in fbd_thread()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp617 int canDisplay = 1, contigous_drop_frame = 0, bytes_written = 0, ret = 0; in fbd_thread() local
727 bytes_written = fwrite((const char *)pBuffer->pBuffer, in fbd_thread()
729 if (bytes_written < 0) { in fbd_thread()
734 bytes_written); in fbd_thread()
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp301 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
5535 int bytes_written = 0; in empty_this_buffer_proxy() local
5537 bytes_written = write(inputBufferFile, temp, drv_ctx.video_resolution_input.frame_width); in empty_this_buffer_proxy()
5543 bytes_written += write(inputBufferFile, temp, drv_ctx.video_resolution_input.frame_width); in empty_this_buffer_proxy()
6325 int bytes_written = 0; in fill_buffer_done() local
6327 bytes_written = write(outputBufferFile, temp, drv_ctx.video_resolution_output.frame_width); in fill_buffer_done()
6333 bytes_written += write(outputBufferFile, temp, drv_ctx.video_resolution_output.frame_width); in fill_buffer_done()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp141 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
1664 int bytes_written = 0; in log_output_buffers() local
1669 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
1675 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
7228 int bytes_written = 0; in dump_buffer() local
7232 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7234 if (bytes_written >0) in dump_buffer()
7235 bytes += bytes_written * width; in dump_buffer()
7240 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7242 if (bytes_written >0) in dump_buffer()
[all …]
Domx_vdec_hevc.cpp150 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
5940 int bytes_written = 0; in fill_buffer_done() local
5942bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
5948bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
Domx_vdec_msm8974.cpp152 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
1552 int bytes_written = 0; in log_output_buffers() local
1554 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
1560 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp135 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
1681 int bytes_written = 0; in log_output_buffers() local
1686 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
1692 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
7443 int bytes_written = 0; in dump_buffer() local
7447 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7449 if (bytes_written >0) in dump_buffer()
7450 bytes += bytes_written * width; in dump_buffer()
7455 bytes_written = fwrite(temp, width, 1, pFile); in dump_buffer()
7457 if (bytes_written >0) in dump_buffer()
[all …]
Domx_vdec_v4l2.cpp166 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
1936 int bytes_written = 0; in log_output_buffers() local
1952 bytes_written = fwrite(temp, y_meta_stride, 1, m_debug.out_ymeta_file); in log_output_buffers()
1958 bytes_written += fwrite(temp, uv_meta_stride, 1, m_debug.out_uvmeta_file); in log_output_buffers()
1975 int bytes_written = 0; in log_output_buffers() local
1977 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
1983 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
Domx_vdec_hevc.cpp146 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
5904 int bytes_written = 0; in fill_buffer_done() local
5906bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
5912bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, outputBufferFile1); in fill_buffer_done()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp206 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
2145 int bytes_written = 0; in log_output_buffers() local
2160 bytes_written = fwrite(temp, y_meta_stride, 1, m_debug.out_ymeta_file); in log_output_buffers()
2166 bytes_written += fwrite(temp, uv_meta_stride, 1, m_debug.out_uvmeta_file); in log_output_buffers()
2183 int bytes_written = 0; in log_output_buffers() local
2185 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
2191 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
2207 int bytes_written = 0; in log_output_buffers() local
2209 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 2, m_debug.outfile); in log_output_buffers()
2215 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 2, m_debug.outfile); in log_output_buffers()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp202 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
2091 int bytes_written = 0; in log_output_buffers() local
2106 bytes_written = fwrite(temp, y_meta_stride, 1, m_debug.out_ymeta_file); in log_output_buffers()
2112 bytes_written += fwrite(temp, uv_meta_stride, 1, m_debug.out_uvmeta_file); in log_output_buffers()
2129 int bytes_written = 0; in log_output_buffers() local
2131 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
2137 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
2153 int bytes_written = 0; in log_output_buffers() local
2155 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 2, m_debug.outfile); in log_output_buffers()
2161 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 2, m_debug.outfile); in log_output_buffers()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp181 int error_code = 0,rc=0,bytes_read = 0,bytes_written = 0; in async_message_thread() local
2140 int bytes_written = 0; in log_output_buffers() local
2156 bytes_written = fwrite(temp, y_meta_stride, 1, m_debug.out_ymeta_file); in log_output_buffers()
2162 bytes_written += fwrite(temp, uv_meta_stride, 1, m_debug.out_uvmeta_file); in log_output_buffers()
2179 int bytes_written = 0; in log_output_buffers() local
2181 bytes_written = fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()
2187 bytes_written += fwrite(temp, drv_ctx.video_resolution.frame_width, 1, m_debug.outfile); in log_output_buffers()