Merge "Clarify UDP encapsulation socket API" am: db1e624ee1

am: bdc59ca370

Change-Id: I5fcf79691c670e710e46b3a9eac8a580c44028fb
This commit is contained in:
Lorenzo Colitti
2018-03-30 06:48:17 +00:00
committed by android-build-merger

View File

@@ -179,7 +179,7 @@ public class IpSecManagerTest {
IpSecManager.UdpEncapsulationSocket encapSocket =
mIpSecManager.openUdpEncapsulationSocket(TEST_UDP_ENCAP_PORT);
assertNotNull(encapSocket.getSocket());
assertNotNull(encapSocket.getFileDescriptor());
assertEquals(TEST_UDP_ENCAP_PORT, encapSocket.getPort());
encapSocket.close();
@@ -202,7 +202,7 @@ public class IpSecManagerTest {
IpSecManager.UdpEncapsulationSocket encapSocket =
mIpSecManager.openUdpEncapsulationSocket();
assertNotNull(encapSocket.getSocket());
assertNotNull(encapSocket.getFileDescriptor());
assertEquals(TEST_UDP_ENCAP_PORT, encapSocket.getPort());
encapSocket.close();