Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsTlsTransport.cpp303 int latencyFactor = Experiments::getInstance()->getFlag("dot_validation_latency_factor", in validate() local
309 (latencyFactor >= 0 && latencyOffsetMs >= 0 && latencyFactor + latencyOffsetMs != 0); in validate()
314 LOG(INFO) << fmt::format("Use flags: latencyFactor={}, latencyOffsetMs={}", latencyFactor, in validate()
366 return dotProbeTimeUs < (latencyFactor * udpProbeTimeUs + latencyOffsetMs * 1000); in validate()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp5041 int latencyFactor; in TEST_F() local
5045 latencyFactor = std::stoi(GetProperty(kDotValidationLatencyFactorFlag, "3")); in TEST_F()
5049 latencyFactor = std::stoi(GetProperty(kDotValidationLatencyFactorFlag, "-1")); in TEST_F()
5053 (latencyFactor >= 0 && latencyOffsetMs >= 0 && in TEST_F()
5054 latencyFactor + latencyOffsetMs != 0); in TEST_F()
5156 int latencyFactor; in TEST_F() member
5173 SCOPED_TRACE(fmt::format("testConfig: [{}, {}, {}]", config.latencyFactor, in TEST_F()
5184 std::to_string(config.latencyFactor)); in TEST_F()