Searched refs:rtt_avg (Results 1 – 5 of 5) sorted by relevance
/packages/modules/DnsResolver/ |
D | res_stats.cpp | 49 int* internal_errors, int* rtt_avg, time_t* last_sample_time) { in android_net_res_stats_aggregate() argument 93 *rtt_avg = rtt_sum / rtt_count; in android_net_res_stats_aggregate() 95 *rtt_avg = -1; in android_net_res_stats_aggregate() 116 int rtt_avg = -1; in res_stats_usable_server() local 119 &rtt_avg, &last_sample_time); in res_stats_usable_server() 124 << ", rtt = " << rtt_avg << ", min_samples = " << unsigned(params->min_samples); in res_stats_usable_server()
|
D | ResolverStats.h | 45 int rtt_avg{-1}; 72 cur[STATS_RTT_AVG] = rtt_avg; in encode() 87 rtt_avg = cur[STATS_RTT_AVG]; in decode()
|
D | stats.h | 47 int* internal_errors, int* rtt_avg, time_t* last_sample_time);
|
D | ResolverController.cpp | 145 &cur_stats.rtt_avg, &cur_stats.last_sample_time); in getDnsInfo() 321 s.rtt_avg, time_delta, s.usable ? "" : " BROKEN"); in dump()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 161 rtt_avg = val; in setRttAvg() 170 int rtt_avg = -1; member 378 if (res_stats[index].rtt_avg < 0 || stats.rtt_avg < 0) { in expectStatsFromGetResolverInfo() 379 EXPECT_EQ(res_stats[index].rtt_avg, stats.rtt_avg); in expectStatsFromGetResolverInfo() 381 EXPECT_NEAR(res_stats[index].rtt_avg, stats.rtt_avg, RTT_TOLERANCE_MS); in expectStatsFromGetResolverInfo() 389 EXPECT_LE(res_stats[index].rtt_avg, stats.rtt_avg + RTT_TOLERANCE_MS); in expectStatsFromGetResolverInfo()
|