Searched refs:expectedParams (Results 1 – 2 of 2) sorted by relevance
352 final ResolverParamsParcel expectedParams = new ResolverParamsParcel(); in testSendDnsConfiguration() local353 expectedParams.netId = TEST_NETID; in testSendDnsConfiguration()354 expectedParams.sampleValiditySeconds = TEST_DEFAULT_SAMPLE_VALIDITY_SECONDS; in testSendDnsConfiguration()355 expectedParams.successThreshold = TEST_DEFAULT_SUCCESS_THRESHOLD_PERCENT; in testSendDnsConfiguration()356 expectedParams.minSamples = TEST_DEFAULT_MIN_SAMPLES; in testSendDnsConfiguration()357 expectedParams.maxSamples = TEST_DEFAULT_MAX_SAMPLES; in testSendDnsConfiguration()358 expectedParams.servers = new String[]{"3.3.3.3", "4.4.4.4"}; in testSendDnsConfiguration()359 expectedParams.domains = new String[]{}; in testSendDnsConfiguration()360 expectedParams.tlsName = ""; in testSendDnsConfiguration()361 expectedParams.tlsServers = new String[]{"3.3.3.3", "4.4.4.4"}; in testSendDnsConfiguration()[all …]
368 bool DP_checkSizesInt(uint32_t paramSize, uint32_t valueSize, uint32_t expectedParams, in DP_checkSizesInt() argument370 if (paramSize < expectedParams * sizeof(int32_t)) { in DP_checkSizesInt()372 (uint32_t)(expectedParams * sizeof(int32_t))); in DP_checkSizesInt()