Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/apf/
DApfV4GeneratorBase.java56 throws IllegalInstructionException { in ApfV4GeneratorBase()
88 public final Type defineLabel(String name) throws IllegalInstructionException { in defineLabel()
297 throws IllegalInstructionException; in addCountAndDropIfR0Equals()
305 throws IllegalInstructionException; in addCountAndPassIfR0Equals()
321 throws IllegalInstructionException; in addCountAndDropIfR0NotEquals()
329 throws IllegalInstructionException; in addCountAndPassIfR0NotEquals()
345 throws IllegalInstructionException; in addCountAndDropIfR0GreaterThan()
353 throws IllegalInstructionException; in addCountAndPassIfR0GreaterThan()
369 throws IllegalInstructionException; in addCountAndDropIfR0LessThan()
377 throws IllegalInstructionException; in addCountAndPassIfR0LessThan()
[all …]
DApfV4Generator.java65 throws IllegalInstructionException { in ApfV4Generator()
77 public ApfV4Generator(int version) throws IllegalInstructionException { in ApfV4Generator()
170 throws IllegalInstructionException { in addCountAndDropIfR0GreaterThan()
180 throws IllegalInstructionException { in addCountAndPassIfR0GreaterThan()
190 ApfCounterTracker.Counter cnt) throws IllegalInstructionException { in addCountAndDropIfBytesAtR0NotEqual()
198 ApfCounterTracker.Counter cnt) throws IllegalInstructionException { in addCountAndPassIfBytesAtR0NotEqual()
206 ApfCounterTracker.Counter cnt) throws IllegalInstructionException { in addCountAndDropIfBytesAtR0Equal()
213 ApfCounterTracker.Counter cnt) throws IllegalInstructionException { in addCountAndPassIfBytesAtR0Equal()
220 ApfCounterTracker.Counter cnt) throws IllegalInstructionException { in addCountAndPassIfR0IsOneOf()
234 ApfCounterTracker.Counter cnt) throws IllegalInstructionException { in addCountAndDropIfR0IsOneOf()
[all …]
DApfV6GeneratorBase.java51 public ApfV6GeneratorBase(int maximumApfProgramSize) throws IllegalInstructionException { in ApfV6GeneratorBase()
111 public final Type addData() throws IllegalInstructionException { in addData()
119 public final Type addData(byte[] data) throws IllegalInstructionException { in addData()
121 throw new IllegalInstructionException("data instruction has to come first"); in addData()
134 public final Type addExceptionBuffer(int bufSize) throws IllegalInstructionException { in addExceptionBuffer()
248 public final Type addDataCopy(@NonNull byte[] content) throws IllegalInstructionException { in addDataCopy()
250 throw new IllegalInstructionException("There is no instructions"); in addDataCopy()
437 throws IllegalInstructionException { in addJumpIfBytesAtR0Equal()
610 throws IllegalInstructionException { in addCountAndDropIfR0Equals()
617 throws IllegalInstructionException { in addCountAndPassIfR0Equals()
[all …]
DBaseApfGenerator.java50 public static class IllegalInstructionException extends Exception { class in BaseApfGenerator
51 IllegalInstructionException(String msg) { in IllegalInstructionException() method in BaseApfGenerator.IllegalInstructionException
380 throws IllegalInstructionException { in Instruction()
383 throw new IllegalInstructionException("illegal memory slot number: " + slot); in Instruction()
456 Instruction setLabel(String label) throws IllegalInstructionException { in setLabel()
458 throw new IllegalInstructionException("duplicate label " + label); in setLabel()
489 int maybeUpdateBytesImm(byte[] content) throws IllegalInstructionException { in maybeUpdateBytesImm()
491 throw new IllegalInstructionException(String.format( in maybeUpdateBytesImm()
497 throw new IllegalInstructionException( in maybeUpdateBytesImm()
518 void updateExceptionBufferSize(int bufSize) throws IllegalInstructionException { in updateExceptionBufferSize()
[all …]
DApfV6Generator.java38 public ApfV6Generator(int maximumApfProgramSize) throws IllegalInstructionException { in ApfV6Generator()
43 void updateExceptionBufferSize(int programSize) throws IllegalInstructionException { in updateExceptionBufferSize()
54 throws IllegalInstructionException { in ApfV6Generator()
DLegacyApfFilter.java50 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
986 long generateFilterLocked(ApfV4Generator gen) throws IllegalInstructionException { in generateFilterLocked()
1034 abstract void generateFilterLocked(ApfV4Generator gen) throws IllegalInstructionException; in generateFilterLocked()
1078 void generateFilterLocked(ApfV4Generator gen) throws IllegalInstructionException { in generateFilterLocked()
1180 abstract void generateFilterLocked(ApfV4Generator gen) throws IllegalInstructionException; in generateFilterLocked()
1194 void generateFilterLocked(ApfV4Generator gen) throws IllegalInstructionException { in generateFilterLocked()
1237 void generateFilterLocked(ApfV4Generator gen) throws IllegalInstructionException { in generateFilterLocked()
1310 private void generateArpFilterLocked(ApfV4Generator gen) throws IllegalInstructionException { in generateArpFilterLocked()
1378 private void generateIPv4FilterLocked(ApfV4Generator gen) throws IllegalInstructionException { in generateIPv4FilterLocked()
1461 int offset, String label) throws IllegalInstructionException { in generateKeepaliveFilters()
[all …]
DApfFilter.java116 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
1189 throws IllegalInstructionException { in generateFilterLocked()
1289 throws IllegalInstructionException; in generateFilterLocked()
1332 void generateFilterLocked(ApfV4GeneratorBase<?> gen) throws IllegalInstructionException { in generateFilterLocked()
1434 throws IllegalInstructionException; in generateFilterLocked()
1448 void generateFilterLocked(ApfV4GeneratorBase<?> gen) throws IllegalInstructionException { in generateFilterLocked()
1557 throws IllegalInstructionException { in generateArpFilterLocked()
1669 throws IllegalInstructionException { in generateIPv4FilterLocked()
1769 int offset, String label) throws IllegalInstructionException { in generateKeepaliveFilters()
1791 throws IllegalInstructionException { in generateV4KeepaliveFilters()
[all …]
DJumpTable.java128 throws ApfV4Generator.IllegalInstructionException { in generate()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTestUtils.java31 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
161 throws ApfV4Generator.IllegalInstructionException, Exception { in assertDataMemoryContents()
192 byte[] packet, int filterAge) throws ApfV4Generator.IllegalInstructionException { in assertVerdict()
213 throws ApfV4Generator.IllegalInstructionException { in assertPass()
221 throws ApfV4Generator.IllegalInstructionException { in assertDrop()
229 throws ApfV4Generator.IllegalInstructionException { in assertPass()
237 throws ApfV4Generator.IllegalInstructionException { in assertDrop()
403 protected ApfV4GeneratorBase<?> emitPrologueLocked() throws IllegalInstructionException { in emitPrologueLocked()
499 protected ApfV4Generator emitPrologueLocked() throws IllegalInstructionException { in emitPrologueLocked()
DBpf2Apf.java23 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
78 throws IllegalInstructionException { in convertLine()
318 public static byte[] convert(String bpf) throws IllegalInstructionException { in convert()
DApfTest.java76 import android.net.apf.BaseApfGenerator.IllegalInstructionException;
274 private void assertPass(ApfV4Generator gen) throws ApfV4Generator.IllegalInstructionException { in assertPass()
278 private void assertDrop(ApfV4Generator gen) throws ApfV4Generator.IllegalInstructionException { in assertDrop()
299 throws ApfV4Generator.IllegalInstructionException { in assertPass()
304 throws ApfV4Generator.IllegalInstructionException { in assertDrop()
335 public void testApfInstructions() throws IllegalInstructionException { in testApfInstructions()
750 @Test(expected = ApfV4Generator.IllegalInstructionException.class)
757 public void testApfDataOpcodesWantApfV3() throws IllegalInstructionException, Exception { in testApfDataOpcodesWantApfV3()
762 } catch (IllegalInstructionException expected) { in testApfDataOpcodesWantApfV3()
768 } catch (IllegalInstructionException expected) { in testApfDataOpcodesWantApfV3()
[all …]
DLegacyApfTest.java250 private void assertPass(ApfV4Generator gen) throws ApfV4Generator.IllegalInstructionException { in assertPass()
254 private void assertDrop(ApfV4Generator gen) throws ApfV4Generator.IllegalInstructionException { in assertDrop()
275 throws ApfV4Generator.IllegalInstructionException { in assertPass()
280 throws ApfV4Generator.IllegalInstructionException { in assertDrop()
DApfNewTest.kt53 import android.net.apf.BaseApfGenerator.IllegalInstructionException
186 assertFailsWith<IllegalInstructionException> { gen.addData(ByteArray(3) { 0x01 }) } in testDataInstructionMustComeFirst()