Searched refs:params32 (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 100 std::vector<int32_t> params32; in GetResolverInfo() local 103 auto rv = dnsResolverService->getResolverInfo(netId, servers, domains, tlsServers, ¶ms32, 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/ |
D | dnsresolver_binder_test.cpp | 298 std::vector<int32_t> params32; in TEST_F() local 302 ¶ms32, &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()
|