android_packages_modules_Co.../Tethering/tests/integration
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chris Desir 6fecb23808 Fix NullPointerException in waitForRouterAdvertisement
The failure is caused by a RA packet read race condition. The test
receives a callback that local-only tethering has started and
immediately begins listening for an RA. However, the system's RA daemon
may not have finished initializing.

The test's packet reader times out waiting for an RA and returns a null
packet. The waitForRouterAdvertisement then uses the null packet
checking for RA, causing NPE. Change modifies waitForRouterAdvertisement
to check if a packet is null before processing it.

Flag: EXEMPT bugfix
Bug: 418010532
Test: atest android.net.EthernetTetheringTest#testLocalOnlyTethering
Change-Id: Ic534c53766958ae48a82687a9bd6d09297f074f2
2025-05-30 12:33:34 -07:00
..
base/android/net Fix NullPointerException in waitForRouterAdvertisement 2025-05-30 12:33:34 -07:00
src/android/net Remove RecorderCallback. 2025-05-19 16:35:53 +09:00
Android.bp Make java_sdk_library dependencies explicit 2024-09-10 00:01:31 +00:00
AndroidManifest.xml EthernetTetheringTest: toggle wifi while test network is not selected 2022-09-14 04:03:24 +00:00