Home
last modified time | relevance | path

Searched refs:params32 (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp100 std::vector<int32_t> params32; in GetResolverInfo() local
103 auto rv = dnsResolverService->getResolverInfo(netId, servers, domains, tlsServers, &params32, in GetResolverInfo()
106 if (!rv.isOk() || params32.size() != static_cast<size_t>(IDnsResolver::RESOLVER_PARAMS_COUNT)) { in GetResolverInfo()
111 static_cast<uint16_t>(params32[IDnsResolver::RESOLVER_PARAMS_SAMPLE_VALIDITY]), in GetResolverInfo()
113 static_cast<uint8_t>(params32[IDnsResolver::RESOLVER_PARAMS_SUCCESS_THRESHOLD]), in GetResolverInfo()
115 static_cast<uint8_t>(params32[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES]), in GetResolverInfo()
117 static_cast<uint8_t>(params32[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES]), in GetResolverInfo()
118 .base_timeout_msec = params32[IDnsResolver::RESOLVER_PARAMS_BASE_TIMEOUT_MSEC], in GetResolverInfo()
119 .retry_count = params32[IDnsResolver::RESOLVER_PARAMS_RETRY_COUNT], in GetResolverInfo()
/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp298 std::vector<int32_t> params32; in TEST_F() local
302 &params32, &stats32, in TEST_F()
311 params32[IDnsResolver::RESOLVER_PARAMS_SAMPLE_VALIDITY]); in TEST_F()
313 params32[IDnsResolver::RESOLVER_PARAMS_SUCCESS_THRESHOLD]); in TEST_F()
315 params32[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES]); in TEST_F()
317 params32[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES]); in TEST_F()
319 params32[IDnsResolver::RESOLVER_PARAMS_BASE_TIMEOUT_MSEC]); in TEST_F()
321 params32[IDnsResolver::RESOLVER_PARAMS_RETRY_COUNT]); in TEST_F()