Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfStandaloneTest.kt27 import android.net.apf.BaseApfGenerator.APF_VERSION_4
28 import android.net.apf.BaseApfGenerator.MemorySlot
29 import android.net.apf.BaseApfGenerator.Register.R0
30 import android.net.apf.BaseApfGenerator.Register.R1
340 gen.addLoadData(BaseApfGenerator.Register.R0, 0) // R0 = *(R1 + 0) in generateApfV4Program()
342 gen.addStoreData(BaseApfGenerator.Register.R0, 0) // *(R1 + 0) = R0 in generateApfV4Program()
343 gen.addJump(BaseApfGenerator.PASS_LABEL) in generateApfV4Program()
346 gen.addLoadData(BaseApfGenerator.Register.R0, 0) // R0 = *(R1 + 0) in generateApfV4Program()
348 gen.addStoreData(BaseApfGenerator.Register.R0, 0) // *(R1 + 0) = R0 in generateApfV4Program()
349 gen.addJump(BaseApfGenerator.DROP_LABEL) in generateApfV4Program()
DBpf2Apf.java19 import static android.net.apf.BaseApfGenerator.MemorySlot;
20 import static android.net.apf.BaseApfGenerator.Register.R0;
21 import static android.net.apf.BaseApfGenerator.Register.R1;
23 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
24 import android.net.apf.BaseApfGenerator.Register;
DJumpTableTest.kt19 import android.net.apf.BaseApfGenerator.MemorySlot
20 import android.net.apf.BaseApfGenerator.Register.R0
DApfNewTest.kt49 import android.net.apf.BaseApfGenerator.APF_VERSION_2
50 import android.net.apf.BaseApfGenerator.APF_VERSION_3
51 import android.net.apf.BaseApfGenerator.APF_VERSION_6
52 import android.net.apf.BaseApfGenerator.DROP_LABEL
53 import android.net.apf.BaseApfGenerator.IllegalInstructionException
54 import android.net.apf.BaseApfGenerator.MemorySlot
55 import android.net.apf.BaseApfGenerator.PASS_LABEL
56 import android.net.apf.BaseApfGenerator.Register.R0
57 import android.net.apf.BaseApfGenerator.Register.R1
DApfTest.java20 import static android.net.apf.BaseApfGenerator.APF_VERSION_3;
21 import static android.net.apf.BaseApfGenerator.DROP_LABEL;
22 import static android.net.apf.BaseApfGenerator.MemorySlot;
23 import static android.net.apf.BaseApfGenerator.PASS_LABEL;
24 import static android.net.apf.BaseApfGenerator.Register.R0;
25 import static android.net.apf.BaseApfGenerator.Register.R1;
76 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
DApfTestUtils.java31 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DApfIntegrationTest.kt33 import android.net.apf.BaseApfGenerator
34 import android.net.apf.BaseApfGenerator.MemorySlot
35 import android.net.apf.BaseApfGenerator.Register.R0
36 import android.net.apf.BaseApfGenerator.Register.R1
400 addJumpIfR0NotEquals(ETH_P_IPV6.toLong(), BaseApfGenerator.PASS_LABEL) in addPassIfNotIcmpv6EchoReply()
404 addJumpIfR0NotEquals(IPPROTO_ICMPV6.toLong(), BaseApfGenerator.PASS_LABEL) in addPassIfNotIcmpv6EchoReply()
408 addJumpIfR0NotEquals(0x81, BaseApfGenerator.PASS_LABEL) in addPassIfNotIcmpv6EchoReply()
444 gen.addJumpIfBytesAtR0NotEqual(data, BaseApfGenerator.PASS_LABEL) in testDropPingReply()
447 gen.addJump(BaseApfGenerator.DROP_LABEL) in testDropPingReply()
/packages/modules/NetworkStack/src/android/net/apf/
DApfV4GeneratorBase.java19 import static android.net.apf.BaseApfGenerator.Rbit.Rbit0;
20 import static android.net.apf.BaseApfGenerator.Register.R0;
21 import static android.net.apf.BaseApfGenerator.Register.R1;
47 BaseApfGenerator {
556 return append(new BaseApfGenerator.Instruction(ExtendedOpcodes.LDM, slot.value, r)); in addLoadFromMemory()
DJumpTable.java19 import static android.net.apf.BaseApfGenerator.MemorySlot;
20 import static android.net.apf.BaseApfGenerator.Register.R0;
DBaseApfGenerator.java19 import static android.net.apf.BaseApfGenerator.Rbit.Rbit0;
20 import static android.net.apf.BaseApfGenerator.Rbit.Rbit1;
21 import static android.net.apf.BaseApfGenerator.Register.R0;
40 public abstract class BaseApfGenerator { class
42 public BaseApfGenerator(int mVersion, boolean mDisableCounterRangeCheck) { in BaseApfGenerator() method in BaseApfGenerator
DDnsUtils.java19 import static android.net.apf.BaseApfGenerator.MemorySlot;
20 import static android.net.apf.BaseApfGenerator.Register.R0;
21 import static android.net.apf.BaseApfGenerator.Register.R1;
DApfV4Generator.java18 import static android.net.apf.BaseApfGenerator.Rbit.Rbit1;
19 import static android.net.apf.BaseApfGenerator.Register.R0;
20 import static android.net.apf.BaseApfGenerator.Register.R1;
DApfV6GeneratorBase.java18 import static android.net.apf.BaseApfGenerator.Rbit.Rbit0;
19 import static android.net.apf.BaseApfGenerator.Rbit.Rbit1;
20 import static android.net.apf.BaseApfGenerator.Register.R0;
21 import static android.net.apf.BaseApfGenerator.Register.R1;
DLegacyApfFilter.java19 import static android.net.apf.BaseApfGenerator.MemorySlot;
20 import static android.net.apf.BaseApfGenerator.Register.R0;
21 import static android.net.apf.BaseApfGenerator.Register.R1;
50 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
DApfFilter.java71 import static android.net.apf.BaseApfGenerator.MemorySlot;
72 import static android.net.apf.BaseApfGenerator.Register.R0;
73 import static android.net.apf.BaseApfGenerator.Register.R1;
116 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
/packages/modules/NetworkStack/
DAndroid.bp423 "src/android/net/apf/BaseApfGenerator.java",