Home
last modified time | relevance | path

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

/system/netd/resolv/
Dres_stats.cpp49 void android_net_res_stats_aggregate(res_stats* stats, int* successes, int* errors, int* timeouts, in android_net_res_stats_aggregate() argument
88 *successes = s; in android_net_res_stats_aggregate()
113 int successes = -1; in res_stats_usable_server() local
119 android_net_res_stats_aggregate(stats, &successes, &errors, &timeouts, &internal_errors, in res_stats_usable_server()
121 if (successes >= 0 && errors >= 0 && timeouts >= 0) { in res_stats_usable_server()
122 int total = successes + errors + timeouts; in res_stats_usable_server()
123 LOG(INFO) << __func__ << ": NS stats: S " << successes << " + E " << errors << " + T " in res_stats_usable_server()
127 int success_rate = successes * 100 / total; in res_stats_usable_server()
DResolverStats.h41 int successes{-1};
68 cur[STATS_SUCCESSES] = successes; in encode()
83 successes = cur[STATS_SUCCESSES]; in decode()
DResolverController.cpp160 android_net_res_stats_aggregate(&res_stats[i], &cur_stats.successes, &cur_stats.errors, in getDnsInfo()
327 int total = s.successes + s.errors + s.timeouts + s.internal_errors; in dump()
331 total, s.successes, s.errors, s.timeouts, s.internal_errors, in dump()
Dresolver_test.cpp1168 EXPECT_EQ(1, res_stats[2].successes); in TEST_F()
/system/netd/resolv/include/netd_resolv/
Dstats.h47 LIBNETD_RESOLV_PUBLIC void android_net_res_stats_aggregate(res_stats* stats, int* successes,
/system/core/bootstat/
Dboot_reason_test.sh1377 successes=
1382 if [ -z "${successes}" ]; then
1383 successes=${t}
1385 successes="${successes} ${t}"
1398 if [ -n "${successes}" ]; then
1399 echo "${GREEN}[ PASSED ]${NORMAL} ${successes}"