OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:res_params
(Results
1 - 2
of
2
) sorted by null
/system/netd/server/
ResolverController.cpp
163
__res_params
res_params
;
local
164
res_params
.sample_validity = params[INetd::RESOLVER_PARAMS_SAMPLE_VALIDITY];
165
res_params
.success_threshold = params[INetd::RESOLVER_PARAMS_SUCCESS_THRESHOLD];
166
res_params
.min_samples = params[INetd::RESOLVER_PARAMS_MIN_SAMPLES];
167
res_params
.max_samples = params[INetd::RESOLVER_PARAMS_MAX_SAMPLES];
170
&
res_params
);
178
__res_params
res_params
;
180
int ret = getDnsInfo(netId, servers, domains, &
res_params
, &res_stats);
189
(*params)[INetd::RESOLVER_PARAMS_SAMPLE_VALIDITY] =
res_params
.sample_validity;
190
(*params)[INetd::RESOLVER_PARAMS_SUCCESS_THRESHOLD] =
res_params
.success_threshold
[
all
...]
/system/netd/tests/
netd_test.cpp
487
__res_params
res_params
;
local
489
ASSERT_TRUE(GetResolverInfo(&res_servers, &res_domains, &
res_params
, &res_stats));
494
res_params
.sample_validity);
496
res_params
.success_threshold);
497
EXPECT_EQ(mDefaultParams_Binder[INetd::RESOLVER_PARAMS_MIN_SAMPLES],
res_params
.min_samples);
498
EXPECT_EQ(mDefaultParams_Binder[INetd::RESOLVER_PARAMS_MAX_SAMPLES],
res_params
.max_samples);
755
__res_params
res_params
;
local
757
ASSERT_TRUE(GetResolverInfo(&res_servers, &res_domains, &
res_params
, &res_stats));
762
res_params
.sample_validity);
764
res_params
.success_threshold)
820
__
res_params
res_params
;
local
[
all
...]
Completed in 61 milliseconds