Home
last modified time | relevance | path

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

/cts/tests/tests/net/native/dns/
DNativeDnsAsyncTest.cpp33 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()
/cts/tests/tests/net/jni/
DNativeMultinetworkJni.cpp70 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()