Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/jni/
DNativeMultinetworkJni.cpp330 uint8_t ffBuf[5001] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck() local
331 memset(ffBuf, 0xFF, sizeof(ffBuf)); in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck()
332 ffBuf[5000] = '\0'; in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck()
333 fd = android_res_nsend(handle, ffBuf, sizeof(ffBuf), 0); in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck()
337 ffBuf[500] = '\0'; in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck()
338 fd = android_res_nsend(handle, ffBuf, 501, 0); in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck()
/packages/modules/Connectivity/tests/cts/net/native/dns/
DNativeDnsAsyncTest.cpp251 std::vector<uint8_t> ffBuf(5000, 0xFF); in TEST_F() local
253 NETWORK_UNSPECIFIED, ffBuf.data(), ffBuf.size(), 0); in TEST_F()
257 fd = android_res_nsend(NETWORK_UNSPECIFIED, ffBuf.data(), 500, 0); in TEST_F()