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
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.java35 import android.net.apf.ApfGenerator.IllegalInstructionException;
774 long generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked()
879 private void generateArpFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateArpFilterLocked()
940 private void generateIPv4FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv4FilterLocked()
1017 private void generateIPv6FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv6FilterLocked()
1105 private ApfGenerator emitPrologueLocked() throws IllegalInstructionException { in emitPrologueLocked()
1189 private void emitEpilogue(ApfGenerator gen) throws IllegalInstructionException { in emitEpilogue()
1259 } catch (IllegalInstructionException|IllegalStateException e) { in installNewProgramLocked()
/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java34 import android.net.apf.ApfGenerator.IllegalInstructionException;
164 throws IllegalInstructionException, Exception { in assertDataMemoryContents()
177 throws IllegalInstructionException { in assertVerdict()
183 throws IllegalInstructionException { in assertPass()
188 throws IllegalInstructionException { in assertDrop()
193 throws IllegalInstructionException { in assertPass()
198 throws IllegalInstructionException { in assertDrop()
208 public void testApfInstructions() throws IllegalInstructionException { in testApfInstructions()
611 @Test(expected = ApfGenerator.IllegalInstructionException.class)
618 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()