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

/frameworks/base/services/net/java/android/net/apf/
H A DApfGenerator.java34 public static class IllegalInstructionException extends Exception { class in class:ApfGenerator
35 IllegalInstructionException(String msg) { method in class:ApfGenerator.IllegalInstructionException
138 void setLabel(String label) throws IllegalInstructionException {
140 throw new IllegalInstructionException("duplicate label " + label);
186 boolean shrink() throws IllegalInstructionException {
235 void generate(byte[] bytecode) throws IllegalInstructionException {
269 private int calculateTargetLabelOffset() throws IllegalInstructionException {
279 throw new IllegalInstructionException("label not found: " + mTargetLabel);
284 throw new IllegalInstructionException("backward branches disallowed; label: " +
372 * {@code version} of the APF interpreter. Throws {@code IllegalInstructionException} i
[all...]
H A DApfFilter.java35 import android.net.apf.ApfGenerator.IllegalInstructionException;
774 long generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException {
879 private void generateArpFilterLocked(ApfGenerator gen) throws IllegalInstructionException {
940 private void generateIPv4FilterLocked(ApfGenerator gen) throws IllegalInstructionException {
1017 private void generateIPv6FilterLocked(ApfGenerator gen) throws IllegalInstructionException {
1105 private ApfGenerator emitPrologueLocked() throws IllegalInstructionException {
1189 private void emitEpilogue(ApfGenerator gen) throws IllegalInstructionException {
1259 } catch (IllegalInstructionException|IllegalStateException e) {
/frameworks/base/tests/net/java/android/net/apf/
H A DBpf2Apf.java20 import android.net.apf.ApfGenerator.IllegalInstructionException;
56 throws IllegalInstructionException {
309 public static byte[] convert(String bpf) throws IllegalInstructionException {
H A DApfTest.java34 import android.net.apf.ApfGenerator.IllegalInstructionException;
164 throws IllegalInstructionException, Exception {
177 throws IllegalInstructionException {
183 throws IllegalInstructionException {
188 throws IllegalInstructionException {
193 throws IllegalInstructionException {
198 throws IllegalInstructionException {
208 public void testApfInstructions() throws IllegalInstructionException {
611 @Test(expected = ApfGenerator.IllegalInstructionException.class)
618 public void testApfDataOpcodesWantApfV3() throws IllegalInstructionException, Exceptio
[all...]

Completed in 46 milliseconds