Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp52 jbyteArray jdata, jint filter_age) { in com_android_server_ApfTest_apfSimulate() argument
57 uint32_t data_len = jdata ? env->GetArrayLength(jdata) : 0; in com_android_server_ApfTest_apfSimulate()
70 if (jdata) { in com_android_server_ApfTest_apfSimulate()
72 env->GetByteArrayRegion(jdata, 0, data_len, jbuf + ram_len - data_len); in com_android_server_ApfTest_apfSimulate()
80 if (jdata) { in com_android_server_ApfTest_apfSimulate()
81 env->SetByteArrayRegion(jdata, 0, data_len, jbuf + ram_len - data_len); in com_android_server_ApfTest_apfSimulate()
218 jbyteArray jdata, jstring jpcap_filename) { in com_android_server_ApfTest_dropsAllPackets() argument
222 uint32_t data_len = env->GetArrayLength(jdata); in com_android_server_ApfTest_dropsAllPackets()
236 env->GetByteArrayRegion(jdata, 0, data_len, jbuf + ram_len - data_len); in com_android_server_ApfTest_dropsAllPackets()
253 env->SetByteArrayRegion(jdata, 0, data_len, jbuf + ram_len - data_len); in com_android_server_ApfTest_dropsAllPackets()
[all …]