Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordRepositoryTest.kt988 val hostname1 = arrayOf("MyHost1", "local") in testGetReply_keyQuestionForHostname_returnsKeyRecord() constant
991 val query1 = makeQuery(TYPE_KEY to hostname1) in testGetReply_keyQuestionForHostname_returnsKeyRecord()
995 assertEquals(listOf(MdnsKeyRecord(hostname1, in testGetReply_keyQuestionForHostname_returnsKeyRecord()
1033 val hostname1 = arrayOf("MyHost1", "local") in testGetReply_keyRecordForHostRemoved_noAnswertoKeyQuestion() constant
1036 val query1 = makeQuery(TYPE_KEY to hostname1) in testGetReply_keyRecordForHostRemoved_noAnswertoKeyQuestion()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp4625 constexpr char hostname1[] = "query1.example.com."; in TEST_F() local
4628 {hostname1, ns_type::ns_t_a, "1.2.3.4"}, in TEST_F()
4697 auto [result, timeTakenMs] = safe_getaddrinfo_time_taken(hostname1, nullptr, hints); in TEST_F()
4701 EXPECT_EQ(1U, GetNumQueries(dns, hostname1)); in TEST_F()
4843 constexpr char hostname1[] = "query1.example.com."; in TEST_F() local
4845 {hostname1, ns_type::ns_t_a, "1.2.3.4"}, in TEST_F()
4896 int fd = resNetworkQuery(TEST_NETID, hostname1, ns_c_in, ns_t_a, in TEST_F()
6376 constexpr char hostname1[] = "query1.example.com."; in TEST_F() local
6379 {hostname1, ns_type::ns_t_a, "1.2.3.4"}, in TEST_F()
6426 threads[0] = std::thread(queryAndCheck, hostname1, records); in TEST_F()