Searched refs:latencyFactor (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsTlsTransport.cpp | 305 int latencyFactor = Experiments::getInstance()->getFlag("dot_validation_latency_factor", in validate() local 311 (latencyFactor >= 0 && latencyOffsetMs >= 0 && latencyFactor + latencyOffsetMs != 0); in validate() 316 LOG(INFO) << fmt::format("Use flags: latencyFactor={}, latencyOffsetMs={}", latencyFactor, in validate() 368 return dotProbeTimeUs < (latencyFactor * udpProbeTimeUs + latencyOffsetMs * 1000); in validate()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 4755 int latencyFactor; in TEST_F() local 4759 latencyFactor = std::stoi(GetProperty(kDotValidationLatencyFactorFlag, "3")); in TEST_F() 4763 latencyFactor = std::stoi(GetProperty(kDotValidationLatencyFactorFlag, "-1")); in TEST_F() 4767 (latencyFactor >= 0 && latencyOffsetMs >= 0 && in TEST_F() 4768 latencyFactor + latencyOffsetMs != 0); in TEST_F() 4870 int latencyFactor; in TEST_F() member 4887 SCOPED_TRACE(fmt::format("testConfig: [{}, {}, {}]", config.latencyFactor, in TEST_F() 4898 std::to_string(config.latencyFactor)); in TEST_F()
|