Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp155 std::vector<uint32_t> apf_program((ram_len + 3) / 4, 0); in com_android_server_ApfTest_compareBpfApf() local
157 reinterpret_cast<jbyte*>(apf_program.data())); in com_android_server_ApfTest_compareBpfApf()
199 apf_program.data(), program_len, ram_len, in com_android_server_ApfTest_compareBpfApf()
220 ScopedByteArrayRO apf_program(env, jprogram); in com_android_server_ApfTest_dropsAllPackets() local
221 uint32_t apf_program_len = (uint32_t)apf_program.size(); in com_android_server_ApfTest_dropsAllPackets()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1003 byte[] apf_program = Bpf2Apf.convert(compileToBpf(tcpdump_filter)); in testApfAgainstBpf()
1005 compareBpfApf(mApfVersion, tcpdump_filter, pcap_filename, apf_program)); in testApfAgainstBpf()