android_packages_modules_Co.../tests/unit/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi 72d4b516c9 Allow app-specific network creation with a new permission
If an app registers a network agent and doesn't have NETWORK_FACTORY or
PERMISSION_MAINLINE_NETWORK_STACK, but does have
CREATE_APP_SPECIFIC_NETWORK, ConnectivityService will:
- Allow it to create a network
- Force the capabilities to contain only the app's UID
- Force the network to be restricted
- Ignore attempts to change the UID or make the network non-restricted

Test: TH
Flag: android.net.platform.flags.create_app_specific_network_permission
Bug: 435313135
Change-Id: I5a9517515e64f799c88aca4a51636b1a08e15817
2025-08-15 12:54:49 +09:00
..
internal/net Move platform VPN related test to FrameworksVpnTests 2024-03-01 07:03:14 +00:00
metrics Include NET_CAPABILITY_NOT_VCN_MANAGED for tethering local network agent 2025-08-06 11:24:33 +08:00
server Allow app-specific network creation with a new permission 2025-08-15 12:54:49 +09:00