Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/apf/
DApfGenerator.java34 public static class IllegalInstructionException extends Exception { class in ApfGenerator
35 IllegalInstructionException(String msg) { in IllegalInstructionException() method in ApfGenerator.IllegalInstructionException
138 void setLabel(String label) throws IllegalInstructionException { in setLabel()
140 throw new IllegalInstructionException("duplicate label " + label); in setLabel()
186 boolean shrink() throws IllegalInstructionException { in shrink()
235 void generate(byte[] bytecode) throws IllegalInstructionException { in generate()
269 private int calculateTargetLabelOffset() throws IllegalInstructionException { in calculateTargetLabelOffset()
279 throw new IllegalInstructionException("label not found: " + mTargetLabel); in calculateTargetLabelOffset()
284 throw new IllegalInstructionException("backward branches disallowed; label: " + in calculateTargetLabelOffset()
375 ApfGenerator(int version) throws IllegalInstructionException { in ApfGenerator()
[all …]
DApfFilter.java45 import android.net.apf.ApfGenerator.IllegalInstructionException;
906 long generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked()
955 abstract void generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException; in generateFilterLocked()
998 void generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked()
1100 abstract void generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException; in generateFilterLocked()
1113 void generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked()
1156 void generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked()
1216 private void generateArpFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateArpFilterLocked()
1284 private void generateIPv4FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv4FilterLocked()
1366 int offset, String label) throws IllegalInstructionException { in generateKeepaliveFilters()
[all …]
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java48 import android.net.apf.ApfGenerator.IllegalInstructionException;
206 throws IllegalInstructionException, Exception { in assertDataMemoryContents()
219 throws IllegalInstructionException { in assertVerdict()
225 throws IllegalInstructionException { in assertPass()
230 throws IllegalInstructionException { in assertDrop()
235 throws IllegalInstructionException { in assertPass()
240 throws IllegalInstructionException { in assertDrop()
250 public void testApfInstructions() throws IllegalInstructionException { in testApfInstructions()
653 @Test(expected = ApfGenerator.IllegalInstructionException.class)
660 public void testApfDataOpcodesWantApfV3() throws IllegalInstructionException, Exception { in testApfDataOpcodesWantApfV3()
[all …]
DBpf2Apf.java20 import android.net.apf.ApfGenerator.IllegalInstructionException;
56 throws IllegalInstructionException { in convertLine()
309 public static byte[] convert(String bpf) throws IllegalInstructionException { in convert()