/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 …]
|
/external/adhd/cras/src/server/ |
D | dev_io.c | 380 snd_pcm_uframes_t remainder, hw_level, cap_limit; in capture_to_streams() local 392 hw_level = rc; in capture_to_streams() 394 cras_iodev_update_highest_hw_level(idev, hw_level); in capture_to_streams() 399 if (hw_level < idev->min_cb_level / 2) in capture_to_streams() 401 else if (hw_level > idev->max_cb_level * 2) in capture_to_streams() 405 if (cras_iodev_update_rate(idev, hw_level, &hw_tstamp)) in capture_to_streams() 409 cap_limit = get_stream_limit(adev, hw_level, &cap_limit_stream); in capture_to_streams() 412 remainder = MIN(hw_level, cap_limit); in capture_to_streams() 415 hw_level, remainder); in capture_to_streams() 575 void update_dev_wakeup_time(struct open_dev *adev, unsigned int *hw_level) in update_dev_wakeup_time() argument [all …]
|
D | cras_iodev.c | 54 unsigned int hw_level, fr_to_write; in default_no_stream_playback() local 62 hw_level = rc; in default_no_stream_playback() 65 if (hw_level == 0) { in default_no_stream_playback() 73 hw_level = rc; in default_no_stream_playback() 77 odev->info.idx, hw_level, target_hw_level); in default_no_stream_playback() 79 fr_to_write = cras_iodev_buffer_avail(odev, hw_level); in default_no_stream_playback() 80 if (hw_level <= target_hw_level) { in default_no_stream_playback() 81 fr_to_write = MIN(target_hw_level - hw_level, fr_to_write); in default_no_stream_playback() 1230 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level) in cras_iodev_buffer_avail() argument 1233 return hw_level; in cras_iodev_buffer_avail() [all …]
|
D | cras_server_metrics.c | 64 int cras_server_metrics_highest_hw_level(unsigned hw_level, in cras_server_metrics_highest_hw_level() argument 71 data.value = hw_level; in cras_server_metrics_highest_hw_level()
|
D | cras_iodev.h | 531 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level); 636 unsigned int *hw_level, 761 unsigned int hw_level);
|
D | cras_server_metrics.h | 22 int cras_server_metrics_highest_hw_level(unsigned hw_level,
|
/external/adhd/cras/src/tests/ |
D | server_metrics_unittest.cc | 33 unsigned int hw_level = 1000; in TEST() local 36 cras_server_metrics_highest_hw_level(hw_level, CRAS_STREAM_INPUT); in TEST() 41 EXPECT_EQ(sent_msg->data.value, hw_level); in TEST() 47 cras_server_metrics_highest_hw_level(hw_level, CRAS_STREAM_OUTPUT); in TEST() 52 EXPECT_EQ(sent_msg->data.value, hw_level); in TEST()
|
D | iodev_stub.cc | 103 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level) { in cras_iodev_buffer_avail() argument 135 unsigned int *hw_level, in cras_iodev_frames_to_play_in_sleep() argument 139 *hw_level = 0; in cras_iodev_frames_to_play_in_sleep() 144 unsigned int hw_level) in cras_iodev_update_highest_hw_level() argument
|
D | iodev_unittest.cc | 1535 unsigned int hw_level = 50; in TEST() local 1561 fr_queued = hw_level; in TEST() 1562 zeros_to_fill = min_cb_level * 2 - hw_level; in TEST() 1578 hw_level = min_cb_level * 2; in TEST() 1579 fr_queued = hw_level; in TEST() 1922 unsigned int min_cb_level = 512, hw_level; in TEST() local 1942 hw_level = min_cb_level + 50; in TEST() 1943 fr_queued = hw_level; in TEST() 1946 EXPECT_EQ(got_hw_level, hw_level); in TEST() 1951 hw_level = 2 * min_cb_level + 50; in TEST() [all …]
|
D | dev_io_unittest.cc | 73 int cras_server_metrics_highest_hw_level(unsigned hw_level, in cras_server_metrics_highest_hw_level() argument
|
D | audio_thread_unittest.cc | 1060 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level) in cras_iodev_buffer_avail() argument 1085 int cras_server_metrics_highest_hw_level(unsigned hw_level, in cras_server_metrics_highest_hw_level() argument 1107 unsigned int *hw_level, in cras_iodev_frames_to_play_in_sleep() argument 1110 *hw_level = cras_iodev_frames_queued(odev, hw_tstamp); in cras_iodev_frames_to_play_in_sleep() 1156 unsigned int hw_level) in cras_iodev_update_highest_hw_level() argument
|
D | timing_unittest.cc | 414 int cras_server_metrics_highest_hw_level(unsigned hw_level, in cras_server_metrics_highest_hw_level() argument
|
D | alsa_io_unittest.cc | 2928 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level) in cras_iodev_buffer_avail() argument
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_image.c | 985 uint32_t hw_level = 0; in radv_image_view_make_descriptor() local 997 hw_level = iview->base_mip; in radv_image_view_make_descriptor() 1002 hw_level, hw_level + iview->level_count - 1, in radv_image_view_make_descriptor()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_descriptors.c | 700 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() 751 hw_level, hw_level, in si_set_shader_image_desc()
|