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.java34 import android.net.apf.ApfGenerator.IllegalInstructionException;
625 long generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked()
719 private void generateArpFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateArpFilterLocked()
774 private void generateIPv4FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv4FilterLocked()
843 private void generateIPv6FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv6FilterLocked()
908 private ApfGenerator beginProgramLocked() throws IllegalInstructionException { in beginProgramLocked()
994 } catch (IllegalInstructionException|IllegalStateException e) { in installNewProgramLocked()
/frameworks/base/tests/net/java/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.java25 import android.net.apf.ApfGenerator.IllegalInstructionException;
135 throws IllegalInstructionException { in assertVerdict()
140 throws IllegalInstructionException { in assertPass()
145 throws IllegalInstructionException { in assertDrop()
150 throws IllegalInstructionException { in assertPass()
155 throws IllegalInstructionException { in assertDrop()
165 public void testApfInstructions() throws IllegalInstructionException { in testApfInstructions()