OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ResolverStats
(Results
1 - 4
of
4
) sorted by null
/system/netd/server/
ResolverStats.h
25
struct
ResolverStats
{
52
// Read the serialized
resolverstats
starting at |in[ofs]|.
58
static void encodeAll(const std::vector<
ResolverStats
>& stats, std::vector<int32_t>* out);
60
// Decodes the serialized
ResolverStats
from |in| and appends them to stats.
61
static bool decodeAll(const std::vector<int32_t>& in, std::vector<
ResolverStats
>* stats);
65
inline void
ResolverStats
::encode(std::vector<int32_t>* out) const {
78
// Read the serialized
resolverstats
starting at |in[ofs]|.
79
inline ssize_t
ResolverStats
::decode(const std::vector<int32_t>& in, ssize_t ofs) {
94
inline void
ResolverStats
::encodeAll(const std::vector<
ResolverStats
>& stats
[
all
...]
ResolverController.cpp
41
#include "
ResolverStats
.h"
71
std::vector<android::net::
ResolverStats
>* stats) {
72
using android::net::
ResolverStats
;
74
static_assert(
ResolverStats
::STATS_SUCCESSES == INetd::RESOLVER_STATS_SUCCESSES &&
75
ResolverStats
::STATS_ERRORS == INetd::RESOLVER_STATS_ERRORS &&
76
ResolverStats
::STATS_TIMEOUTS == INetd::RESOLVER_STATS_TIMEOUTS &&
77
ResolverStats
::STATS_INTERNAL_ERRORS == INetd::RESOLVER_STATS_INTERNAL_ERRORS &&
78
ResolverStats
::STATS_RTT_AVG == INetd::RESOLVER_STATS_RTT_AVG &&
79
ResolverStats
::STATS_LAST_SAMPLE_TIME == INetd::RESOLVER_STATS_LAST_SAMPLE_TIME &&
80
ResolverStats
::STATS_USABLE == INetd::RESOLVER_STATS_USABLE &
[
all
...]
ResolverController.h
29
struct
ResolverStats
;
49
std::vector<android::net::
ResolverStats
>* stats);
/system/netd/tests/
netd_test.cpp
51
#include "
ResolverStats
.h"
58
using android::net::
ResolverStats
;
299
__res_params* params, std::vector<
ResolverStats
>* stats) {
317
return
ResolverStats
::decodeAll(stats32, stats);
488
std::vector<
ResolverStats
> res_stats;
756
std::vector<
ResolverStats
> res_stats;
821
std::vector<
ResolverStats
> res_stats;
Completed in 70 milliseconds