Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java105 private void assertVerdict(int expected, byte[] program, byte[] packet, int filterAge) { in assertVerdict() argument
106 assertReturnCodesEqual(expected, apfSimulate(program, packet, filterAge)); in assertVerdict()
113 private void assertPass(byte[] program, byte[] packet, int filterAge) { in assertPass() argument
114 assertVerdict(PASS, program, packet, filterAge); in assertPass()
121 private void assertDrop(byte[] program, byte[] packet, int filterAge) { in assertDrop() argument
122 assertVerdict(DROP, program, packet, filterAge); in assertDrop()
129 private void assertVerdict(int expected, ApfGenerator gen, byte[] packet, int filterAge) in assertVerdict() argument
131 assertReturnCodesEqual(expected, apfSimulate(gen.generate(), packet, filterAge)); in assertVerdict()
134 private void assertPass(ApfGenerator gen, byte[] packet, int filterAge) in assertPass() argument
136 assertVerdict(PASS, gen, packet, filterAge); in assertPass()
[all …]