Home
last modified time | relevance | path

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

/aosp_15_r20/system/media/audio_utils/
H A Dhal_smoothness.c53 static bool add_check_overflow(unsigned int *data, unsigned int add_amount) { in add_check_overflow() function
66 if (add_check_overflow(&smoothness_meta->metrics.underrun_count, 1)) { in increment_underrun()
70 if (add_check_overflow(&smoothness_meta->metrics.total_frames_lost, in increment_underrun()
87 if (add_check_overflow(&smoothness_meta->metrics.overrun_count, 1)) { in increment_overrun()
91 if (add_check_overflow(&smoothness_meta->metrics.total_frames_lost, in increment_overrun()
115 if (add_check_overflow(&total_frames, total_frames_written)) { in calc_smoothness_value()
154 if (add_check_overflow(&smoothness_meta->metrics.total_writes, 1)) { in increment_total_writes()
158 if (add_check_overflow(&smoothness_meta->metrics.total_frames_written, in increment_total_writes()