Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dmetrics_linux.cpp88 if (metrics.media_timer_avg_ms > 0 && metrics.total_scheduling_count > 0) { in Update()
89 if (media_timer_avg_ms < 0 || total_scheduling_count < 0) { in Update()
90 media_timer_avg_ms = metrics.media_timer_avg_ms; in Update()
93 media_timer_avg_ms = combine_averages( in Update()
94 media_timer_avg_ms, total_scheduling_count, in Update()
95 metrics.media_timer_avg_ms, metrics.total_scheduling_count); in Update()
126 media_timer_avg_ms == rhs.media_timer_avg_ms && in operator ==()
Dmetrics.cpp112 if (metrics.media_timer_avg_ms >= 0 && metrics.total_scheduling_count >= 0) { in Update()
113 if (media_timer_avg_ms < 0 || total_scheduling_count < 0) { in Update()
114 media_timer_avg_ms = metrics.media_timer_avg_ms; in Update()
117 media_timer_avg_ms = combine_averages( in Update()
118 media_timer_avg_ms, total_scheduling_count, in Update()
119 metrics.media_timer_avg_ms, metrics.total_scheduling_count); in Update()
150 media_timer_avg_ms == rhs.media_timer_avg_ms && in operator ==()
396 pimpl_->a2dp_session_metrics_.media_timer_avg_ms); in LogA2dpSession()
560 metrics_obj.media_timer_avg_ms = metrics->media_timer_avg_ms; in metrics_log_a2dp_session()
/system/bt/osi/test/
Dmetrics_test.cpp123 session->set_media_timer_avg_millis(metrics.media_timer_avg_ms); in MakeA2DPSession()
187 EXPECT_EQ(a.media_timer_avg_ms, b.media_timer_avg_ms); \
213 metrics1.media_timer_avg_ms = 50; in TEST()
215 metrics2.media_timer_avg_ms = 100; in TEST()
217 metrics_sum.media_timer_avg_ms = 75; in TEST()
244 metrics2.media_timer_avg_ms = 100; in TEST()
246 metrics_sum.media_timer_avg_ms = 100; in TEST()
270 metrics2.media_timer_avg_ms = 100; in TEST()
272 metrics_sum.media_timer_avg_ms = 100; in TEST()
297 metrics1.media_timer_avg_ms = 50; in TEST()
[all …]
/system/bt/osi/include/
Dmetrics.h64 int32_t media_timer_avg_ms; member
Dmetrics_cpp.h64 int32_t media_timer_avg_ms = -1; variable
/system/bt/btif/src/
Dbtif_media_task.c3484 metrics.media_timer_avg_ms = -1; in btif_update_a2dp_metrics()
3509 metrics.media_timer_avg_ms = enqueue_stats->total_scheduling_time_us / in btif_update_a2dp_metrics()