Searched refs:dataRegion (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfStandaloneTest.kt | 93 val dataRegion = ByteArray(Counter.totalSize()) { 0 } in runApfTest() constant 99 dataRegion in runApfTest() 104 ), decodeCountersIntoMap(dataRegion)) in runApfTest() 175 dataRegion in runApfTest() 181 ), decodeCountersIntoMap(dataRegion)) in runApfTest() 211 apfTestHelpers.assertVerdict(APF_VERSION_4, ApfTestHelpers.DROP, program, rsPkt, dataRegion) in runApfTest() 217 ), decodeCountersIntoMap(dataRegion)) in runApfTest() 259 dataRegion in runApfTest() 267 ), decodeCountersIntoMap(dataRegion)) in runApfTest()
|
D | ApfTestHelpers.kt | 291 dataRegion: ByteArray = ByteArray(Counter.totalSize()) { 0 }, in verifyProgramRun() 295 assertVerdict(version, result, program, pkt, dataRegion) 305 assertEquals(cntMap, decodeCountersIntoMap(dataRegion), errMsg)
|
D | ApfGeneratorTest.kt | 1127 var dataRegion = ByteArray(Counter.totalSize()) { 0 } in doTestLoadStoreCounter() variable 1128 apfTestHelpers.assertVerdict(apfInterpreterVersion, PASS, program, testPacket, dataRegion) in doTestLoadStoreCounter() 1129 var counterMap = decodeCountersIntoMap(dataRegion) in doTestLoadStoreCounter() 1578 var dataRegion = ByteArray(Counter.totalSize()) { 0 } in testV2CountAndPassDrop() variable 1579 apfTestHelpers.assertVerdict(apfInterpreterVersion, DROP, program, testPacket, dataRegion) in testV2CountAndPassDrop() 1580 assertContentEquals(ByteArray(Counter.totalSize()) { 0 }, dataRegion) in testV2CountAndPassDrop() 1586 dataRegion = ByteArray(Counter.totalSize()) { 0 } in testV2CountAndPassDrop() 1587 apfTestHelpers.assertVerdict(apfInterpreterVersion, PASS, program, testPacket, dataRegion) in testV2CountAndPassDrop() 1588 assertContentEquals(ByteArray(Counter.totalSize()) { 0 }, dataRegion) in testV2CountAndPassDrop() 1957 val dataRegion = ByteArray(ramSize - program.size) { 0 } in testDebugBuffer() constant [all …]
|