b9b074bc037e95e404f9406377fe025c25f67450
Previously, CTS tests could block forever on attempting to read a packet from a UDP socket. This patch modifies the receive methods of the NativeUdpSocket wrapper, allowing it to gracefully fail if UDP packets are not received. This patch also updates the IKE over UDP encap socket test to use the NativeUdpSocket wrapper, preventing the tests from hanging in the same fashion. Bug: 70938121 Test: Ran updated tests on walleye + marlin Merged-In: I390e4585e85647eb8555e706d44b76f95dec931f Change-Id: I390e4585e85647eb8555e706d44b76f95dec931f (cherry picked from commit e2fcb9d64ba10f07a69a6b96a7f7e1465856172a)
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%