Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/apf/
DApfGenerator.java34 public static class IllegalInstructionException extends Exception { class in ApfGenerator
35 IllegalInstructionException(String msg) { in IllegalInstructionException() method in ApfGenerator.IllegalInstructionException
136 void setLabel(String label) throws IllegalInstructionException { in setLabel()
138 throw new IllegalInstructionException("duplicate label " + label); in setLabel()
184 boolean shrink() throws IllegalInstructionException { in shrink()
233 void generate(byte[] bytecode) throws IllegalInstructionException { in generate()
267 private int calculateTargetLabelOffset() throws IllegalInstructionException { in calculateTargetLabelOffset()
277 throw new IllegalInstructionException("label not found: " + mTargetLabel); in calculateTargetLabelOffset()
282 throw new IllegalInstructionException("backward branches disallowed; label: " + in calculateTargetLabelOffset()
395 public ApfGenerator defineLabel(String name) throws IllegalInstructionException { in defineLabel()
[all …]
DApfFilter.java24 import android.net.apf.ApfGenerator.IllegalInstructionException;
488 long generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked()
572 private void generateArpFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateArpFilterLocked()
602 private void generateIPv4FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv4FilterLocked()
653 private void generateIPv6FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv6FilterLocked()
712 private ApfGenerator beginProgramLocked() throws IllegalInstructionException { in beginProgramLocked()
787 } catch (IllegalInstructionException e) { in installNewProgramLocked()
/frameworks/base/services/tests/servicestests/src/android/net/apf/
DBpf2Apf.java20 import android.net.apf.ApfGenerator.IllegalInstructionException;
56 throws IllegalInstructionException { in convertLine()
309 public static byte[] convert(String bpf) throws IllegalInstructionException { in convert()
DApfTest.java26 import android.net.apf.ApfGenerator.IllegalInstructionException;
86 throws IllegalInstructionException { in assertVerdict()
91 throws IllegalInstructionException { in assertPass()
96 throws IllegalInstructionException { in assertDrop()
101 throws IllegalInstructionException { in assertPass()
106 throws IllegalInstructionException { in assertDrop()
116 public void testApfInstructions() throws IllegalInstructionException { in testApfInstructions()