/packages/modules/Connectivity/tests/cts/net/native/dns/ |
D | NativeDnsAsyncTest.cpp | 33 constexpr int MAXPACKET = 8 * 1024; variable 80 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() 81 int res = getAsyncResponse(fd, TIMEOUT_MS, &rcode, buf, MAXPACKET); in expectAnswersValid() 97 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() 98 int res = getAsyncResponse(fd, TIMEOUT_MS, &rcode, buf, MAXPACKET); in expectAnswersNotValid() 128 uint8_t buf1[MAXPACKET] = {}; in TEST() 133 uint8_t buf2[MAXPACKET] = {}; in TEST() 166 uint8_t buf[MAXPACKET] = {}; in TEST() 231 std::vector<uint8_t> largeBuf(2 * MAXPACKET, 0); in TEST()
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 70 static const int MAXPACKET = 8 * 1024; variable 125 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() 126 int res = getAsyncResponse(env, fd, TIMEOUT_MS, &rcode, buf, MAXPACKET); in expectAnswersValid() 141 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() 142 int res = getAsyncResponse(env, fd, TIMEOUT_MS, &rcode, buf, MAXPACKET); in expectAnswersNotValid() 173 uint8_t buf1[MAXPACKET] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() 178 uint8_t buf2[MAXPACKET] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNsendCheck() 228 uint8_t buf[MAXPACKET] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() 290 uint8_t largeBuf[2 * MAXPACKET] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 46 constexpr unsigned int MAXPACKET = 8 * 1024; variable 1251 char tmpbuf[MAXPACKET]; in TEST_F() 1295 char tmpbuf[MAXPACKET]; in TEST_F() 1317 char tmpbuf[MAXPACKET]; in TEST_F() 1358 char tmpbuf[MAXPACKET]; in TEST_F() 1378 char tmpbuf[MAXPACKET]; in TEST_F() 1411 char tmpbuf[MAXPACKET]; in TEST_F() 1463 char tmpbuf[MAXPACKET]; in TEST_F() 1485 char tmpbuf[MAXPACKET]; in TEST_F()
|
D | resolv_integration_test.cpp | 79 constexpr int MAXPACKET = (8 * 1024); variable 2265 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() 2267 int res = getAsyncResponse(fd, &rcode, buf, MAXPACKET); in expectAnswersValid() 2274 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() 2276 int res = getAsyncResponse(fd, &rcode, buf, MAXPACKET); in expectAnswersNotValid() 2300 uint8_t buf[MAXPACKET] = {}; in TEST_F() 2302 int res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F() 2306 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() 2319 res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F() 2323 res = getAsyncResponse(fd1, &rcode, buf, MAXPACKET); in TEST_F() [all …]
|
D | resolv_cache_unit_test.cpp | 72 uint8_t buf[MAXPACKET] = {}; in makeQuery() 96 char answer[MAXPACKET] = {}; in makeAnswer() 159 std::vector<char> answer(MAXPACKET); in cacheLookup() 288 const std::vector<char> queryEmpty(MAXPACKET, 0); in TEST_F() 399 const std::vector<char> queryEmpty(MAXPACKET, 0); in TEST_F()
|
D | resolv_gold_test.cpp | 51 constexpr unsigned int MAXPACKET = 8 * 1024; variable 213 char tmpbuf[MAXPACKET]; in VerifyGetHostByName()
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 909 std::vector<uint8_t> msg(MAXPACKET, 0); in run() 912 int msgLen = b64_pton(mMsg.c_str(), msg.data(), MAXPACKET); in run() 934 std::vector<uint8_t> ansBuf(MAXPACKET, 0); in run() 941 nsendAns = resolv_res_nsend(&mNetContext, msg.data(), msgLen, ansBuf.data(), MAXPACKET, in run() 1134 char tmpbuf[MAXPACKET]; in run() 1294 char tmpbuf[MAXPACKET]; in run()
|
D | resolv_private.h | 88 constexpr int MAXPACKET = 8 * 1024; variable
|
D | res_query.cpp | 109 uint8_t buf[MAXPACKET]; in res_nquery()
|
D | gethnamaddr.cpp | 99 uint8_t buf[MAXPACKET]; 547 const size_t line_buf_size = MAXPACKET; in netbsd_gethostent_r()
|
D | DnsTlsTransport.cpp | 134 std::vector<uint8_t> buf(MAXPACKET); in sendUdpQuery()
|
D | getaddrinfo.cpp | 122 std::vector<uint8_t> answer = std::vector<uint8_t>(MAXPACKET, 0); // buffer to put answer 1622 uint8_t buf[MAXPACKET]; in doQuery() 1733 uint8_t buf[MAXPACKET]; in res_queryN()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | DnsResolver.java | 62 private static final int MAXPACKET = 8 * 1024; field in DnsResolver
|