Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java171 private void assertVerdict(int expected, byte[] program, byte[] packet, int filterAge) { in assertVerdict() argument
172 assertReturnCodesEqual(expected, apfSimulate(program, packet, null, filterAge)); in assertVerdict()
179 private void assertPass(byte[] program, byte[] packet, int filterAge) { in assertPass() argument
180 assertVerdict(PASS, program, packet, filterAge); in assertPass()
187 private void assertDrop(byte[] program, byte[] packet, int filterAge) { in assertDrop() argument
188 assertVerdict(DROP, program, packet, filterAge); in assertDrop()
218 private void assertVerdict(int expected, ApfGenerator gen, byte[] packet, int filterAge) in assertVerdict() argument
221 filterAge)); in assertVerdict()
224 private void assertPass(ApfGenerator gen, byte[] packet, int filterAge) in assertPass() argument
226 assertVerdict(PASS, gen, packet, filterAge); in assertPass()
[all …]