Home
last modified time | relevance | path

Searched refs:hostname2 (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DnsResolver/
Dgetaddrinfo.cpp627 char* hostname2 = strdup(hostname); in explore_numeric_scope() local
628 if (hostname2 == NULL) return EAI_MEMORY; in explore_numeric_scope()
630 hostname2[cp - hostname] = '\0'; in explore_numeric_scope()
631 addr = hostname2; in explore_numeric_scope()
642 free(hostname2); in explore_numeric_scope()
649 free(hostname2); in explore_numeric_scope()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordRepositoryTest.kt989 val hostname2 = arrayOf("MyHost2", "local") in testGetReply_keyQuestionForHostname_returnsKeyRecord() constant
1001 val query2 = makeQuery(TYPE_KEY to hostname2) in testGetReply_keyQuestionForHostname_returnsKeyRecord()
1005 assertEquals(listOf(MdnsKeyRecord(hostname2, in testGetReply_keyQuestionForHostname_returnsKeyRecord()
1008 assertEquals(listOf(MdnsNsecRecord(hostname2, 0L, true, SHORT_TTL, in testGetReply_keyQuestionForHostname_returnsKeyRecord()
1009 hostname2 /* nextDomain */, in testGetReply_keyQuestionForHostname_returnsKeyRecord()
1034 val hostname2 = arrayOf("MyHost2", "local") in testGetReply_keyRecordForHostRemoved_noAnswertoKeyQuestion() constant
1041 val query2 = makeQuery(TYPE_KEY to hostname2) in testGetReply_keyRecordForHostRemoved_noAnswertoKeyQuestion()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp4626 constexpr char hostname2[] = "query2.example.com."; in TEST_F() local
4629 {hostname2, ns_type::ns_t_a, "1.2.3.5"}, in TEST_F()
4712 std::tie(result, timeTakenMs) = safe_getaddrinfo_time_taken(hostname2, nullptr, hints); in TEST_F()
4716 EXPECT_EQ(1U, GetNumQueries(dns, hostname2)); in TEST_F()
6377 constexpr char hostname2[] = "query2.example.com."; in TEST_F() local
6380 {hostname2, ns_type::ns_t_a, "1.2.3.5"}, in TEST_F()
6427 threads[1] = std::thread(queryAndCheck, hostname2, records); in TEST_F()