Searched refs:mappings (Results 1 – 11 of 11) sorted by relevance
224 Map<String, String> mappings = in EapMsChapV2SuccessRequest() local227 if (!mappings.containsKey(AUTH_STRING_LABEL) in EapMsChapV2SuccessRequest()228 || mappings.size() != NUM_REQUIRED_ATTRIBUTES) { in EapMsChapV2SuccessRequest()233 String authStringHex = mappings.get(AUTH_STRING_LABEL); in EapMsChapV2SuccessRequest()240 this.message = mappings.get(MESSAGE_LABEL); in EapMsChapV2SuccessRequest()333 Map<String, String> mappings = in EapMsChapV2FailureRequest() local335 if (!mappings.containsKey(ERROR_LABEL) in EapMsChapV2FailureRequest()336 || !mappings.containsKey(RETRY_LABEL) in EapMsChapV2FailureRequest()337 || !mappings.containsKey(CHALLENGE_LABEL) in EapMsChapV2FailureRequest()338 || !mappings.containsKey(PASSWORD_CHANGE_PROTOCOL_LABEL) in EapMsChapV2FailureRequest()[all …]
47 std::vector<DnsResponderClient::DnsResponderClient::Mapping> mappings; in RunGetAddrInfoStressTest() local48 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(num_hosts, domains, &mappings)); in RunGetAddrInfoStressTest()49 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(MAXNS, mappings, &dns, &servers)); in RunGetAddrInfoStressTest()56 thread = std::thread([&mappings, num_queries]() { in RunGetAddrInfoStressTest()58 uint32_t ofs = arc4random_uniform(mappings.size()); in RunGetAddrInfoStressTest()59 auto& mapping = mappings[ofs]; in RunGetAddrInfoStressTest()
668 std::vector<DnsResponderClient::Mapping> mappings; in TEST_F() local669 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(1, domains, &mappings)); in TEST_F()670 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(4, mappings, &dns, &servers)); in TEST_F()671 ASSERT_EQ(1U, mappings.size()); in TEST_F()672 const DnsResponderClient::Mapping& mapping = mappings[0]; in TEST_F()1657 std::vector<DnsResponderClient::Mapping> mappings; in TEST_F() local1662 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(1, domains, &mappings)); in TEST_F()1663 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(MAXNS + 1, mappings, &dns, &servers)); in TEST_F()
38 std::vector<Mapping>* mappings) { in SetupMappings() argument39 mappings->resize(numHosts * domains.size()); in SetupMappings()40 auto mappingsIt = mappings->begin(); in SetupMappings()156 void DnsResponderClient::SetupDNSServers(unsigned numServers, const std::vector<Mapping>& mappings, in SetupDNSServers() argument167 for (const auto& mapping : mappings) { in SetupDNSServers()
72 std::vector<Mapping>* mappings);123 static void SetupDNSServers(unsigned numServers, const std::vector<Mapping>& mappings,
65 std::string toString(const std::unordered_map<uid_t, PackageInfo>& mappings) { in toString() argument67 for (const auto& [uid, info] : mappings) { in toString()
69 std::unordered_map<std::string, ApplicationCategoryType> mappings; in toPackageToAppCategoryMappings() local71 mappings[meta.packageName] = meta.appCategoryType; in toPackageToAppCategoryMappings()73 return mappings; in toPackageToAppCategoryMappings()
243 # This tag can be used to specify a number of word-keyword mappings (TCL only).
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...