android_packages_modules_Co.../tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chalard Jean 409913a215 Fix a bug where non-VPN networks would update VPN uids.
Previously, non VPNs would not be created when updateVpnUids()
is called inside handleRegisterNetworkAgent. Because the network
is not created, netd would refuse to set the UIDs with an error.
Now that networks are created immediately with the
QUEUE_NETWORK_AGENT_EVENTS_IN_SYSTEM_SERVER flag,
the network is created and netd does set the UID for any
network as if they were a VPN. This results in the UID having
the wrong default network, which in turns prevents it from
accessing Internet.

Test: new test in this patch
Bug: 408717088
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:97e690169779f9790aa8d6026fca6bdc3d61e1b3)
Merged-In: If68ea7d60919c0c7e177480f6167196381e00f35
Change-Id: If68ea7d60919c0c7e177480f6167196381e00f35
2025-04-15 16:36:05 -07:00
..
java Fix a bug where non-VPN networks would update VPN uids. 2025-04-15 16:36:05 -07:00
jni bpf: move isAtLeastX to BpfUtils.h 2025-02-24 18:58:22 -08:00
res Check network slicing declaration for network request 2023-02-28 17:38:30 +09:00
Android.bp Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -07:00
AndroidManifest.xml Add QUERY_ALL_PACKAGES to FrameworksNetTestsLib 2023-09-19 15:32:21 +09:00
AndroidTest.xml [SettingsProvider] fix connectivity test 2022-04-20 09:29:40 -07:00
jarjar-excludes.txt Allow jarjar com.android.server* 2023-02-14 15:43:43 +00:00
jarjar-rules.txt Add jarjar rule for com.android.testutils.TestBpfMap 2022-02-03 22:53:07 +01:00
OWNERS Set test component in common OWNERS 2023-06-21 02:54:13 +00:00