Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java610 byte[][] packetList = new byte[1][]; in encryptAndEncode()
611 packetList[0] = encodeHeaderAndBody(ikeHeader, skPayload, firstInnerPayload); in encryptAndEncode()
616 "Build a complete IKE message: " + getIkeLog().pii(packetList[0])); in encryptAndEncode()
617 return packetList; in encryptAndEncode()
639 byte[][] packetList = new byte[totalFragments][]; in encryptAndEncode()
663 packetList[i] = encodeHeaderAndBody(skfHeader, skfPayload, fragFirstInnerPayload); in encryptAndEncode()
672 + getIkeLog().pii(packetList[i])); in encryptAndEncode()
675 return packetList; in encryptAndEncode()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java923 byte[][] packetList = in verifyEncodeAndEncryptFragments()
936 assertEquals(expectedTotalFragments, packetList.length); in verifyEncodeAndEncryptFragments()
947 for (int i = 0; i < packetList.length; i++) { in verifyEncodeAndEncryptFragments()
948 byte[] p = packetList[i]; in verifyEncodeAndEncryptFragments()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java1264 final List<DhcpPacket> packetList) throws Exception {
1265 for (DhcpPacket packet : packetList) {
1310 final List<DhcpPacket> packetList = new ArrayList<>();
1313 packetList.add(packet);
1337 return packetList;
1341 return packetList;
1641 final List<ArpPacket> packetList = new ArrayList<ArpPacket>();
1645 packetList.add(packet);
1647 assertEquals(5, packetList.size());
1648 assertArpProbe(packetList.get(0));
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java1701 byte[][] packetList = in sendEncryptedIkeMessage()
1708 sendEncryptedIkePackets(packetList); in sendEncryptedIkeMessage()
1712 Arrays.asList(packetList), msg.ikeHeader.messageId); in sendEncryptedIkeMessage()
1716 private void sendEncryptedIkePackets(byte[][] packetList) { in sendEncryptedIkePackets() argument
1717 for (byte[] packet : packetList) { in sendEncryptedIkePackets()