/external/adhd/scripts/audio_thread_log_viewer/ |
D | log.test | 11 496098.545994178 ODEV_NO_STREAMS dev:8 hw_level:992 write:1056 12 496098.546000808 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024 16 496098.567615773 ODEV_NO_STREAMS dev:8 hw_level:1040 write:1008 17 496098.567622518 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024 21 496098.589240896 ODEV_NO_STREAMS dev:8 hw_level:992 write:1056 22 496098.589247582 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024 26 496098.610854808 ODEV_NO_STREAMS dev:8 hw_level:992 write:1056 27 496098.610861519 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024 31 496098.632476082 ODEV_NO_STREAMS dev:8 hw_level:1040 write:1008 32 496098.632482753 SET_DEV_WAKE dev:8 hw_level:2048 sleep:1024 [all …]
|
D | README.md | 15 2019-07-02T15:30:46.539479158 cras atlog SET_DEV_WAKE dev:7 hw_level:216 sleep:1…
|
/external/adhd/cras/src/server/ |
D | cras_iodev.c | 75 unsigned int hw_level, fr_to_write; in default_no_stream_playback() local 83 hw_level = rc; in default_no_stream_playback() 86 if (hw_level == 0) { in default_no_stream_playback() 87 rc = cras_iodev_output_underrun(odev, hw_level, 0); in default_no_stream_playback() 94 hw_level = rc; in default_no_stream_playback() 98 hw_level, target_hw_level); in default_no_stream_playback() 100 fr_to_write = cras_iodev_buffer_avail(odev, hw_level); in default_no_stream_playback() 101 if (hw_level <= target_hw_level) { in default_no_stream_playback() 102 fr_to_write = MIN(target_hw_level - hw_level, fr_to_write); in default_no_stream_playback() 1315 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level) in cras_iodev_buffer_avail() argument [all …]
|
D | dev_io.c | 516 snd_pcm_uframes_t remainder, hw_level, cap_limit; in capture_to_streams() local 528 hw_level = rc; in capture_to_streams() 530 cras_iodev_update_highest_hw_level(idev, hw_level); in capture_to_streams() 537 if (hw_level < idev->min_cb_level / 2) in capture_to_streams() 539 else if (hw_level > idev->max_cb_level * 2) in capture_to_streams() 549 !!cras_iodev_update_rate(idev, hw_level, &hw_tstamp); in capture_to_streams() 560 cap_limit = get_stream_limit(adev, hw_level, &cap_limit_stream); in capture_to_streams() 563 remainder = MIN(hw_level, cap_limit); in capture_to_streams() 565 ATLOG(atlog, AUDIO_THREAD_READ_AUDIO, idev->info.idx, hw_level, in capture_to_streams() 736 void update_dev_wakeup_time(struct open_dev *adev, unsigned int *hw_level) in update_dev_wakeup_time() argument [all …]
|
D | cras_hfp_iodev.c | 74 unsigned int hw_level; in no_stream() local 80 hw_level = iodev->frames_queued(iodev, &hw_tstamp); in no_stream() 82 if (!hfpio->drain_complete && (hw_level <= hfpio->filled_zeros)) in no_stream() 95 if (hw_level > hfpio->filled_zeros) in no_stream() 96 valid_samples = hw_level - hfpio->filled_zeros; in no_stream() 99 if (level_target > hw_level) in no_stream() 101 level_target - hw_level); in no_stream()
|
D | cras_iodev.h | 277 unsigned int *hw_level, 570 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level); 675 unsigned int *hw_level, 687 unsigned int *hw_level, 778 int cras_iodev_output_underrun(struct cras_iodev *odev, unsigned int hw_level, 829 unsigned int hw_level);
|
D | cras_server_metrics.h | 60 unsigned int hw_level, unsigned int largest_cb_level, 64 int cras_server_metrics_highest_hw_level(unsigned hw_level,
|
D | cras_a2dp_iodev.c | 373 unsigned int *hw_level, in frames_to_play_in_sleep() argument 379 *hw_level = frames_queued(iodev, hw_tstamp); in frames_to_play_in_sleep() 380 if (*hw_level < a2dpio->write_block) in frames_to_play_in_sleep() 381 *hw_level = 0; in frames_to_play_in_sleep() 383 *hw_level -= a2dpio->write_block; in frames_to_play_in_sleep()
|
D | cras_server_metrics.c | 682 unsigned int hw_level, unsigned int largest_cb_level, in cras_server_metrics_highest_device_delay() argument 704 data.value = hw_level * 1000 / largest_cb_level; in cras_server_metrics_highest_device_delay() 729 int cras_server_metrics_highest_hw_level(unsigned hw_level, in cras_server_metrics_highest_hw_level() argument 736 data.value = hw_level; in cras_server_metrics_highest_hw_level()
|
D | cras_bt_io.c | 446 unsigned int *hw_level, in frames_to_play_in_sleep() argument 452 iodev, hw_level, hw_tstamp); in frames_to_play_in_sleep() 454 return dev->frames_to_play_in_sleep(dev, hw_level, hw_tstamp); in frames_to_play_in_sleep()
|
/external/adhd/cras/src/tests/ |
D | iodev_stub.cc | 167 int cras_iodev_buffer_avail(struct cras_iodev* iodev, unsigned hw_level) { in cras_iodev_buffer_avail() argument 180 unsigned int hw_level, in cras_iodev_output_underrun() argument 199 unsigned int* hw_level, in cras_iodev_frames_to_play_in_sleep() argument 202 *hw_level = 0; in cras_iodev_frames_to_play_in_sleep() 207 unsigned int hw_level) {} in cras_iodev_update_highest_hw_level() argument
|
D | metrics_stub.cc | 14 unsigned int hw_level, in cras_server_metrics_highest_device_delay() argument 20 int cras_server_metrics_highest_hw_level(unsigned hw_level, in cras_server_metrics_highest_hw_level() argument
|
D | server_metrics_unittest.cc | 84 unsigned int hw_level = 1000; in TEST() local 87 cras_server_metrics_highest_device_delay(hw_level, largest_cb_level, in TEST() 99 cras_server_metrics_highest_device_delay(hw_level, largest_cb_level, in TEST() 112 unsigned int hw_level = 1000; in TEST() local 114 cras_server_metrics_highest_hw_level(hw_level, CRAS_STREAM_INPUT); in TEST() 121 EXPECT_EQ(sent_msgs[0].data.value, hw_level); in TEST() 125 cras_server_metrics_highest_hw_level(hw_level, CRAS_STREAM_OUTPUT); in TEST() 132 EXPECT_EQ(sent_msgs[0].data.value, hw_level); in TEST()
|
D | iodev_unittest.cc | 1568 unsigned int hw_level = 50; in TEST() local 1594 fr_queued = hw_level; in TEST() 1595 zeros_to_fill = min_cb_level * 2 - hw_level; in TEST() 1611 hw_level = min_cb_level * 2; in TEST() 1612 fr_queued = hw_level; in TEST() 2040 unsigned int min_cb_level = 512, hw_level; in TEST() local 2068 hw_level = min_cb_level + 50; in TEST() 2069 fr_queued = hw_level; in TEST() 2072 EXPECT_EQ(got_hw_level, hw_level); in TEST() 2078 hw_level = min_cb_level + 50; in TEST() [all …]
|
D | audio_thread_unittest.cc | 1310 int cras_iodev_buffer_avail(struct cras_iodev* iodev, unsigned hw_level) { in cras_iodev_buffer_avail() argument 1321 unsigned int hw_level, in cras_iodev_output_underrun() argument 1338 unsigned int* hw_level, in cras_iodev_frames_to_play_in_sleep() argument 1340 *hw_level = cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_frames_to_play_in_sleep() 1387 unsigned int hw_level) {} in cras_iodev_update_highest_hw_level() argument
|
D | bt_io_unittest.cc | 484 unsigned int* hw_level, in cras_iodev_default_frames_to_play_in_sleep() argument
|
D | alsa_io_unittest.cc | 2949 int cras_iodev_buffer_avail(struct cras_iodev* iodev, unsigned hw_level) { in cras_iodev_buffer_avail() argument 3018 unsigned int hw_level, in cras_iodev_output_underrun() argument
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_image.c | 1523 uint32_t hw_level = 0; in radv_image_view_make_descriptor() local 1536 hw_level = iview->base_mip; in radv_image_view_make_descriptor() 1541 hw_level, hw_level + iview->level_count - 1, in radv_image_view_make_descriptor()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_descriptors.c | 708 unsigned width, height, depth, hw_level; in si_set_shader_image_desc() local 734 hw_level = level; in si_set_shader_image_desc() 745 hw_level = 0; in si_set_shader_image_desc() 749 screen, tex, false, res->b.b.target, view->format, swizzle, hw_level, hw_level, in si_set_shader_image_desc()
|