Merge "Clarify UDP encapsulation socket API"

am: b676aef03c

Change-Id: Ie1e7ea81440afee2618211d989989cf5daff3e1e
This commit is contained in:
Lorenzo Colitti 2018-03-30 06:35:22 +00:00 • committed by android-build-merger
commit 9ef3a6cf3f

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();