Home
last modified time | relevance | path

Searched refs:R1 (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/NetworkStack/src/android/net/apf/
DApfV4Generator.java20 import static android.net.apf.BaseApfGenerator.Register.R1;
97 return maybeAddLoadCounterOffset(R1, counter).addJump(mCountAndPassLabel); in addCountAndPass()
111 return maybeAddLoadCounterOffset(R1, counter).addJump(mCountAndDropLabel); in addCountAndDrop()
117 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0Equals(val, mCountAndDropLabel); in addCountAndDropIfR0Equals()
123 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0Equals(val, mCountAndPassLabel); in addCountAndPassIfR0Equals()
129 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0NotEquals(val, mCountAndDropLabel); in addCountAndDropIfR0NotEquals()
135 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0NotEquals(val, mCountAndPassLabel); in addCountAndPassIfR0NotEquals()
141 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0AnyBitsSet(val, mCountAndDropLabel); in addCountAndDropIfR0AnyBitsSet()
147 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0AnyBitsSet(val, mCountAndPassLabel); in addCountAndPassIfR0AnyBitsSet()
156 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0LessThan(val, mCountAndDropLabel); in addCountAndDropIfR0LessThan()
[all …]
DDnsUtils.java21 import static android.net.apf.BaseApfGenerator.Register.R1;
96 gen.addLoadFromMemory(R1, SLOT_CURRENT_PARSE_OFFSET); in genParseDnsLabel()
148 gen.addLoadFromMemory(R1, SLOT_DNS_HEADER_OFFSET); in genParseDnsLabel()
150 gen.addLoadFromMemory(R1, SLOT_CURRENT_PARSE_OFFSET); in genParseDnsLabel()
169 gen.addLoad8Indexed(R1, 0); in genParseDnsLabel()
222 gen.addLoadFromMemory(R1, SLOT_CURRENT_PARSE_OFFSET); in genFindNextDnsQuestion()
252 gen.addMove(R1); in genFindNextDnsQuestion()
316 gen.addLoadImmediate(R1, jumpTable.getIndex(LABEL_START_MATCH)); in addMatchLabel()
317 gen.addStoreToMemory(SLOT_RETURN_VALUE_INDEX, R1); in addMatchLabel()
372 gen.addMove(R1); in generateFilter()
[all …]
DApfV4GeneratorBase.java21 import static android.net.apf.BaseApfGenerator.Register.R1;
440 return append(new Instruction(Opcodes.JEQ, R1).setTargetLabel(tgt)); in addJumpIfR0EqualsR1()
448 return append(new Instruction(Opcodes.JNE, R1).setTargetLabel(tgt)); in addJumpIfR0NotEqualsR1()
456 return append(new Instruction(Opcodes.JGT, R1).setTargetLabel(tgt)); in addJumpIfR0GreaterThanR1()
464 return append(new Instruction(Opcodes.JLT, R1).setTargetLabel(target)); in addJumpIfR0LessThanR1()
472 return append(new Instruction(Opcodes.JSET, R1).setTargetLabel(tgt)); in addJumpIfR0AnyBitsSetR1()
DLegacyApfFilter.java21 import static android.net.apf.BaseApfGenerator.Register.R1;
130 gen.addLoadImmediate(R1, c.offset()); in maybeSetupCounter()
1090 gen.addNeg(R1); in generateFilterLocked()
1203 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateFilterLocked()
1212 gen.addLoad16(R1, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
1217 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateFilterLocked()
1405 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateIPv4FilterLocked()
1645 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateMdnsFilterLocked()
1663 gen.addLoadImmediate(R1, IPV6_HEADER_LEN); in generateMdnsFilterLocked()
DApfFilter.java73 import static android.net.apf.BaseApfGenerator.Register.R1;
1344 gen.addNeg(R1); in generateFilterLocked()
1457 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateFilterLocked()
1466 gen.addLoad16(R1, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
1471 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateFilterLocked()
1699 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateIPv4FilterLocked()
1717 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateIPv4FilterLocked()
2114 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateMdnsFilterLocked()
2132 gen.addLoadImmediate(R1, IPV6_HEADER_LEN); in generateMdnsFilterLocked()
2165 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE); in generateV4TcpPort7FilterLocked()
DBaseApfGenerator.java204 R1; enumConstant
207 return (this == R0) ? R1 : R0; in other()
DApfV6GeneratorBase.java21 import static android.net.apf.BaseApfGenerator.Register.R1;
439 return append(new Instruction(Opcodes.JBSMATCH, R1).addUnsigned( in addJumpIfBytesAtR0Equal()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dtouch_position_correction_utils.h35 static const float R1 = 0.25f; // Sweet spot in getSweetSpotFactor() local
53 } else if (x < R1) { in getSweetSpotFactor()
54 return (A * (R1 - x) + B * (x - R0)) / (R1 - R0); in getSweetSpotFactor()
56 return (B * (R2 - x) + C * (x - R1)) / (R2 - R1); in getSweetSpotFactor()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java25 import static android.net.apf.BaseApfGenerator.Register.R1;
466 gen.addLoadImmediate(R1, 1234567890); in testApfInstructions()
473 gen.addLoadImmediate(R1, -1234567890); in testApfInstructions()
480 gen.addLoadImmediate(R1, 1234567890); in testApfInstructions()
488 gen.addLoadImmediate(R1, 123456789); in testApfInstructions()
496 gen.addLoadImmediate(R1, 1); in testApfInstructions()
504 gen.addLoadImmediate(R1, -1); in testApfInstructions()
512 gen.addLoadImmediate(R1, 2); in testApfInstructions()
520 gen.addLoadImmediate(R1, 2); in testApfInstructions()
557 gen.addLoadImmediate(R1, 1); in testApfInstructions()
[all …]
DBpf2Apf.java21 import static android.net.apf.BaseApfGenerator.Register.R1;
93 Register dest = opcode.contains("x") ? R1 : R0; in convertLine()
159 Register src = opcode.contains("x") ? R1 : R0; in convertLine()
182 gen.addNeg(R1); in convertLine()
184 gen.addNeg(R1); in convertLine()
304 gen.addMove(R1); in convertLine()
DApfStandaloneTest.kt30 import android.net.apf.BaseApfGenerator.Register.R1
290 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE) in generateApfV4Program()
326 gen.addLoadFromMemory(R1, MemorySlot.IPV4_HEADER_SIZE) in generateApfV4Program()
378 gen.addLoadImmediate(R1, c.offset()) in maybeSetupCounter()
DApfNewTest.kt57 import android.net.apf.BaseApfGenerator.Register.R1
725 gen.addWriteU8(R1) in testApfInstructionsEncoding()
726 gen.addWriteU16(R1) in testApfInstructionsEncoding()
727 gen.addWriteU32(R1) in testApfInstructionsEncoding()
853 gen.addJumpIfOneOf(R1, List(32) { (it + 1).toLong() }.toSet(), DROP_LABEL) in testApfInstructionsEncoding()
868 gen.addJumpIfNoneOf(R1, setOf(0, 128, 256, 65536), DROP_LABEL) in testApfInstructionsEncoding()
908 .addLoadImmediate(R1, 0x04050607) in testWriteToTxBuffer()
909 .addWriteU32(R1) in testWriteToTxBuffer()
933 .addLoadImmediate(R1, 1) // len in testCopyToTxBuffer()
938 .addLoadImmediate(R1, 3) // len in testCopyToTxBuffer()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPRequestManagerTest.java145 NetworkDetail.HSRelease.R1); in requestR1ANQPElementsWithoutRC()
160 NetworkDetail.HSRelease.R1); in requestR1ANQPElementsWithRC()
207 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestSendFailure()
215 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestSendFailure()
232 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestSucceeded()
243 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestSucceeded()
261 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestFailed()
272 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestFailed()
280 NetworkDetail.HSRelease.R1); in requestANQPElementsAfterRequestFailed()
298 NetworkDetail.HSRelease.R1); in requestANQPElementsWithMaxRetries()
[all …]
DPasspointNetworkNominateHelperTest.java151 when(networkDetail.getHSRelease()).thenReturn(NetworkDetail.HSRelease.R1); in generateScanDetail()
/packages/modules/Bluetooth/system/gd/hci/
Dremote_name_request_test.cc433 address2, PageScanRepetitionMode::R1, 4, ClockOffsetValid::VALID), in TEST_F()
457 EXPECT_EQ(rnr_command.GetPageScanRepetitionMode(), PageScanRepetitionMode::R1); in TEST_F()
479 address2, PageScanRepetitionMode::R1, 4, ClockOffsetValid::VALID), in TEST_F()
516 address2, PageScanRepetitionMode::R1, 4, ClockOffsetValid::VALID), in TEST_F()
563 address2, PageScanRepetitionMode::R1, 4, ClockOffsetValid::VALID), in TEST_F()
612 address2, PageScanRepetitionMode::R1, 4, ClockOffsetValid::VALID), in TEST_F()
643 address2, PageScanRepetitionMode::R1, 4, ClockOffsetValid::VALID), in TEST_F()
/packages/modules/Bluetooth/tools/rootcanal/test/LMP/LIH/
DBV_78_C.py36 page_scan_repetition_mode=hci.PageScanRepetitionMode.R1,
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DApfIntegrationTest.kt36 import android.net.apf.BaseApfGenerator.Register.R1
478 gen.addLoadImmediate(R1, counterRegion) in clearApfMemory()
533 gen.addLoadImmediate(R1, counterRegion) in testFilterAgeIncreasesBetweenPackets()
/packages/modules/Bluetooth/tools/rootcanal/test/LMP/
Dpage_collision.py31 page_scan_repetition_mode=hci.PageScanRepetitionMode.R1,
/packages/modules/Bluetooth/system/gd/neighbor/
Dname_db.cc85 hci::PageScanRepetitionMode page_scan_repetition_mode = hci::PageScanRepetitionMode::R1; in ReadRemoteNameRequest()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DANQPRequestManager.java286 if (hsRelease == NetworkDetail.HSRelease.R1) { in getRequestElementIDs()
DNetworkDetail.java50 R1, enumConstant
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dpy_hci.py190 page_scan_repetition_mode=hci.PageScanRepetitionMode.R1,
Dpy_hal.py214 page_scan_repetition_mode=hci.PageScanRepetitionMode.R1,
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_impl.h282 PageScanRepetitionMode page_scan_repetition_mode = PageScanRepetitionMode::R1; in create_connection()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto341 // Histogram counting instances of scans with N many HotSpot 2.0 R1 APs
347 // Histogram counting instances of scans with N many unique HotSpot 2.0 R1 ESS.
359 // Histogram counting number of HotSpot 2.0 R1 APs per observed ESS in a scan
548 // Histogram of the EAP method type of all installed Passpoint profiles for R1

12