Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/apf/
DApfGenerator.java30 public class ApfGenerator { class
395 public ApfGenerator defineLabel(String name) throws IllegalInstructionException { in defineLabel()
405 public ApfGenerator addJump(String target) { in addJump()
416 public ApfGenerator addLoad8(Register register, int offset) { in addLoad8()
427 public ApfGenerator addLoad16(Register register, int offset) { in addLoad16()
438 public ApfGenerator addLoad32(Register register, int offset) { in addLoad32()
450 public ApfGenerator addLoad8Indexed(Register register, int offset) { in addLoad8Indexed()
462 public ApfGenerator addLoad16Indexed(Register register, int offset) { in addLoad16Indexed()
474 public ApfGenerator addLoad32Indexed(Register register, int offset) { in addLoad32Indexed()
484 public ApfGenerator addAdd(int value) { in addAdd()
[all …]
DApfFilter.java25 import android.net.apf.ApfGenerator;
26 import android.net.apf.ApfGenerator.IllegalInstructionException;
27 import android.net.apf.ApfGenerator.Register;
597 long generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked()
686 private void generateArpFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateArpFilterLocked()
741 private void generateIPv4FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv4FilterLocked()
810 private void generateIPv6FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv6FilterLocked()
874 private ApfGenerator beginProgramLocked() throws IllegalInstructionException { in beginProgramLocked()
875 ApfGenerator gen = new ApfGenerator(); in beginProgramLocked()
937 ApfGenerator gen = beginProgramLocked(); in installNewProgramLocked()
[all …]
/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java24 import android.net.apf.ApfGenerator;
25 import android.net.apf.ApfGenerator.IllegalInstructionException;
26 import android.net.apf.ApfGenerator.Register;
129 private void assertVerdict(int expected, ApfGenerator gen, byte[] packet, int filterAge) in assertVerdict()
134 private void assertPass(ApfGenerator gen, byte[] packet, int filterAge) in assertPass()
139 private void assertDrop(ApfGenerator gen, byte[] packet, int filterAge) in assertDrop()
144 private void assertPass(ApfGenerator gen) in assertPass()
149 private void assertDrop(ApfGenerator gen) in assertDrop()
164 ApfGenerator gen = new ApfGenerator(); in testApfInstructions()
168 gen = new ApfGenerator(); in testApfInstructions()
[all …]
DBpf2Apf.java19 import android.net.apf.ApfGenerator;
20 import android.net.apf.ApfGenerator.IllegalInstructionException;
21 import android.net.apf.ApfGenerator.Register;
55 private static void convertLine(String line, ApfGenerator gen) in convertLine()
310 ApfGenerator gen = new ApfGenerator(); in convert()
323 ApfGenerator gen = new ApfGenerator(); in main()
/frameworks/base/services/
Dprofile-classes1615 Landroid/net/apf/ApfGenerator;
1616 Landroid/net/apf/ApfGenerator$ExtendedOpcodes;
1617 Landroid/net/apf/ApfGenerator$IllegalInstructionException;
1618 Landroid/net/apf/ApfGenerator$Instruction;
1619 Landroid/net/apf/ApfGenerator$Opcodes;
1620 Landroid/net/apf/ApfGenerator$Register;