/packages/modules/NetworkStack/tests/unit/src/android/net/util/ |
D | ConnectivityPacketSummaryTest.java | 50 final String packet = in testParseICMPv6DADProbe() local 72 final String packet = in testParseICMPv6RS() local 94 final String packet = in testParseICMPv6RA() local 127 final String packet = in testParseICMPv6NS() local 150 final String packet = in testInvalidICMPv6NDLength() local 175 final String packet = in testParseICMPv6NA() local 196 final String packet = in testParseARPRequest() local 215 final String packet = in testParseARPReply() local 236 final String packet = in testParseDHCPv4Discover() local 282 final String packet = in testParseDHCPv4Offer() local [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 248 final DhcpOfferPacket packet = assertOffer(getPacket()); in testDiscover() local 267 final DhcpAckPacket packet = assertAck(getPacket()); in testDiscover_RapidCommit() local 286 final DhcpNakPacket packet = assertNak(getPacket()); in testDiscover_OutOfAddresses() local 315 final DhcpAckPacket packet = assertAck(getPacket()); in testRequest_Selecting_Ack() local 333 final DhcpNakPacket packet = assertNak(getPacket()); in testRequest_Selecting_Nak() local 441 final DhcpOfferPacket packet = assertOffer(getPacket()); in testChangePrefixOnDecline() local 451 private void assertMatchesLease(@NonNull DhcpPacket packet, @NonNull Inet4Address srvAddr, in assertMatchesLease() 462 private void assertMatchesTestLease(@NonNull DhcpPacket packet, @Nullable String hostname) { in assertMatchesTestLease() 466 private void assertMatchesTestLease(@NonNull DhcpPacket packet) { in assertMatchesTestLease() 470 private void assertMatchesClient(@NonNull DhcpPacket packet) { in assertMatchesClient() [all …]
|
D | DhcpPacketTest.java | 171 ByteBuffer packet = new TestDhcpPacket(DHCP_MESSAGE_TYPE_OFFER) in assertDomainAndVendorInfoParses() local 217 ByteBuffer packet = testPacket.build(); in assertLeaseTimeParses() local 272 ByteBuffer packet = new TestDhcpPacket(type, clientIp, yourIp) in checkIpAddress() local 339 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testOffer1() local 372 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testOffer2() local 407 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in runCapportOptionTest() local 452 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testCapportOption_Invalid() local 679 private void checkMtu(ByteBuffer packet, int expectedMtu, byte[] mtuBytes) throws Exception { in checkMtu() 696 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testMtu() local 769 final ByteBuffer packet = ByteBuffer.wrap(HexDump.hexStringToByteArray( in testBadHwaddrLength() local [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacketListener.java | 58 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf.mBytes, length, in handlePacket() local 88 protected abstract void onReceive(@NonNull DhcpPacket packet, @NonNull Inet4Address srcAddr, in onReceive() 90 protected abstract void logParseError(@NonNull byte[] packet, int length, in logParseError()
|
D | DhcpClient.java | 556 private void confirmDhcpLease(DhcpPacket packet, DhcpResults results) { in confirmDhcpLease() 620 final DhcpPacket packet = DhcpPacket.decodeFullPacket(recvbuf, length, in handlePacket() local 712 final ByteBuffer packet = DhcpPacket.buildDiscoverPacket( in sendDiscoverPacket() local 726 final ByteBuffer packet = DhcpPacket.buildRequestPacket( in sendRequestPacket() local 741 final ByteBuffer packet = DhcpPacket.buildDeclinePacket(DhcpPacket.ENCAP_L2, in sendDeclinePacket() local 1032 public boolean isValidPacket(DhcpPacket packet) { in isValidPacket() 1048 public void setDhcpLeaseExpiry(DhcpPacket packet) { in setDhcpLeaseExpiry() 1137 protected abstract void receivePacket(DhcpPacket packet); in receivePacket() 1226 private void receiveOfferOrAckPacket(final DhcpPacket packet, final boolean acceptRapidCommit) { in receiveOfferOrAckPacket() 1269 protected void receivePacket(DhcpPacket packet) { in receivePacket() [all …]
|
D | DhcpServer.java | 496 private void processPacket(@NonNull DhcpPacket packet) { in processPacket() 528 private void processDiscover(@NonNull DhcpDiscoverPacket packet) in processDiscover() 549 private void processRequest(@NonNull DhcpRequestPacket packet) in processRequest() 570 private void processRelease(@NonNull DhcpReleasePacket packet) in processRelease() 579 private void processDecline(@NonNull DhcpDeclinePacket packet) in processDecline() 705 private boolean transmitAck(@NonNull DhcpPacket packet, @NonNull DhcpLease lease, in transmitAck() 804 private MacAddress getMacAddr(@NonNull DhcpPacket packet) throws MalformedPacketException { in getMacAddr() 824 protected void onReceive(@NonNull DhcpPacket packet, @NonNull Inet4Address srcAddr, in onReceive() 841 protected void logParseError(@NonNull byte[] packet, int length, in logParseError()
|
D | DhcpPacket.java | 826 private static Inet4Address readIpAddress(ByteBuffer packet) { in readIpAddress() 879 private static int skipOption(ByteBuffer packet, int optionLen) in skipOption() 906 static DhcpPacket decodeFullPacket(ByteBuffer packet, int pktType, byte[] optionsToSkip) in decodeFullPacket() 1306 public static DhcpPacket decodeFullPacket(byte[] packet, int length, int pktType, in decodeFullPacket() 1321 public static DhcpPacket decodeFullPacket(byte[] packet, int length, int pktType) in decodeFullPacket()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapStateMachine.java | 112 protected EapResult transitionAndProcess(EapState newState, byte[] packet) { in transitionAndProcess() 117 protected DecodeResult decode(@NonNull byte[] packet) { in decode() 187 public EapResult process(@NonNull byte[] packet) { in process() 218 public EapResult process(@NonNull byte[] packet) { in process() 269 public EapResult process(@NonNull byte[] packet) { in process() 358 public EapResult process(byte[] packet) { in process()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 171 private void assertVerdict(int expected, byte[] program, byte[] packet, int filterAge) { in assertVerdict() 175 private void assertVerdict(int expected, byte[] program, byte[] packet) { in assertVerdict() 179 private void assertPass(byte[] program, byte[] packet, int filterAge) { in assertPass() 183 private void assertPass(byte[] program, byte[] packet) { in assertPass() 187 private void assertDrop(byte[] program, byte[] packet, int filterAge) { in assertDrop() 191 private void assertDrop(byte[] program, byte[] packet) { in assertDrop() 205 int expected, byte[] program, byte[] packet, byte[] data, byte[] expected_data) in assertDataMemoryContents() 218 private void assertVerdict(int expected, ApfGenerator gen, byte[] packet, int filterAge) in assertVerdict() 224 private void assertPass(ApfGenerator gen, byte[] packet, int filterAge) in assertPass() 229 private void assertDrop(ApfGenerator gen, byte[] packet, int filterAge) in assertDrop() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/ |
D | EapResult.java | 64 public final byte[] packet; field in EapResult.EapResponse 67 protected EapResponse(byte[] packet) { in EapResponse()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/arp/ |
D | ArpPacketTest.java | 163 final ArpPacket packet = ArpPacket.parseArpPacket(TEST_ARP_PROBE, TEST_ARP_PROBE.length); in testParseArpProbePacket() local 173 final ArpPacket packet = ArpPacket.parseArpPacket(TEST_ARP_ANNOUNCE, in testParseArpAnnouncePacket() local
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | BleDeviceMessageStream.java | 172 BlePacket packet = mPacketQueue.remove(); in writeNextMessageInQueue() local 216 BlePacket packet; in onCharacteristicWrite() local 270 void processPacket(@NonNull BlePacket packet) { in processPacket()
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
D | NativeLlcpConnectionlessSocket.java | 61 LlcpPacket packet = doReceiveFrom(mLinkMiu); in receive() local
|
/packages/modules/DnsResolver/ |
D | res_cache.cpp | 267 static void _dnsPacket_init(DnsPacket* packet, const uint8_t* buff, int bufflen) { in _dnsPacket_init() argument 273 static void _dnsPacket_rewind(DnsPacket* packet) { in _dnsPacket_rewind() 277 static void _dnsPacket_skip(DnsPacket* packet, int count) { in _dnsPacket_skip() 285 static int _dnsPacket_readInt16(DnsPacket* packet) { in _dnsPacket_readInt16() 299 static int _dnsPacket_checkBytes(DnsPacket* packet, int numBytes, const void* bytes) { in _dnsPacket_checkBytes() 314 static int _dnsPacket_checkQName(DnsPacket* packet) { in _dnsPacket_checkQName() 345 static int _dnsPacket_checkQR(DnsPacket* packet) { in _dnsPacket_checkQR() 369 static int _dnsPacket_checkQuery(DnsPacket* packet) { in _dnsPacket_checkQuery() 437 static unsigned _dnsPacket_hashBytes(DnsPacket* packet, int numBytes, unsigned hash) { in _dnsPacket_hashBytes() 449 static unsigned _dnsPacket_hashQName(DnsPacket* packet, unsigned hash) { in _dnsPacket_hashQName() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunDiscover.java | 328 DatagramPacket packet = in send() local 353 DatagramPacket packet = new DatagramPacket(new byte[3074], 3074); in receive() local
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeMessage.java | 136 byte[] packet, in decode() 382 DecodeResult decode(int expectedMsgId, IkeHeader ikeHeader, byte[] packet); in decode() 402 byte[] packet, in decode() 578 byte[] packet, in decode()
|
D | IkeHeader.java | 134 public IkeHeader(byte[] packet) throws IkeProtocolException { in IkeHeader()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ |
D | EapMessage.java | 122 public static EapMessage decode(@NonNull byte[] packet) throws EapSilentException { in decode()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 773 Ra(byte[] packet, int length) throws InvalidRaException { in Ra() 866 boolean matches(byte[] packet, int length) { in matches() 1065 TcpKeepaliveAck(final TcpKeepaliveAckData packet, final byte[] srcDstAddr) { in TcpKeepaliveAck() 1107 TcpKeepaliveAckV4(final TcpKeepaliveAckData packet) { in TcpKeepaliveAckV4() 1150 TcpKeepaliveAckV6(final TcpKeepaliveAckData packet) { in TcpKeepaliveAckV6() 1707 private void hexDump(String msg, byte[] packet, int length) { in hexDump() 1729 synchronized ProcessRaResult processRa(byte[] packet, int length) { in processRa()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpReachabilityMonitorTest.kt | 142 val packet = pendingPackets.poll() ?: throw ErrnoException("No pending packet", EAGAIN) in readPacket() constant
|
/packages/apps/Nfc/src/com/android/nfc/echoserver/ |
D | EchoServer.java | 291 LlcpPacket packet; in run() local
|
/packages/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 37 ScopedByteArrayRO packet(env, jpacket); in com_android_server_ApfTest_apfSimulate() local
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 2923 ReceivedIkePacket packet = in testCreateIkeLocalIkeAuthHandlesFirstFrag() local 2971 ReceivedIkePacket packet = in testCreateIkeLocalIkeAuthHandlesLastFragOk() local 3003 ReceivedIkePacket packet = in testCreateIkeLocalIkeAuthHandlesLastFragError() local 3425 ReceivedIkePacket packet = in testRekeyIkeLocalDeleteWithRequestFragOnNewSa() local 4717 ReceivedIkePacket packet = in testIdleHandlesDecryptPacketFailed() local 4735 ReceivedIkePacket packet = in testHandlesUnencryptedPacket() local
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | Cea708Parser.java | 273 CcPacket packet = mCcPackets.pollFirst(); in processClosedCaptions() local
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeMessageTest.java | 656 byte[] packet, in decodeSkf()
|