Home
last modified time | relevance | path

Searched refs:dname (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/framework/jni/
Dandroid_net_NetworkUtils.cpp125 jstring dname, jint ns_class, jint ns_type, jint flags) { in android_net_utils_resNetworkQuery() argument
126 const jsize javaCharsCount = env->GetStringLength(dname); in android_net_utils_resNetworkQuery()
127 const jsize byteCountUTF8 = env->GetStringUTFLength(dname); in android_net_utils_resNetworkQuery()
134 env->GetStringUTFRegion(dname, 0, javaCharsCount, queryname); in android_net_utils_resNetworkQuery()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkUtils.java133 long netHandle, String dname, int nsClass, int nsType, int flags) throws ErrnoException; in resNetworkQuery() argument
143 int netId, String dname, int nsClass, int nsType, int flags) throws ErrnoException { in resNetworkQuery() argument
144 return resNetworkQuery(new Network(netId).getNetworkHandle(), dname, nsClass, nsType, in resNetworkQuery()
/packages/modules/DnsResolver/
Dres_mkquery.cpp101 const char* dname, // domain name in res_nmkquery() argument
139 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, lastdnptr)) < 0) return (-1); in res_nmkquery()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DDnsPacketTest.java64 private void assertRecordParses(DnsPacket.DnsRecord record, String dname, in assertRecordParses() argument
66 assertEquals(record.dName, dname); in assertRecordParses()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java446 final String dname = ""; in doTestRawQueryRoot() local
450 mDns.rawQuery(network, dname, CLASS_IN, TYPE_AAAA, FLAG_NO_CACHE_LOOKUP, in doTestRawQueryRoot()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp2557 const char* dname; in TEST_F() member
2569 SCOPED_TRACE(td.dname); in TEST_F()
2570 td.fd = resNetworkQuery(TEST_NETID, td.dname, ns_c_in, td.queryType, 0); in TEST_F()
2578 SCOPED_TRACE(td.dname); in TEST_F()