android_packages_modules_Co.../service
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi ee96ba0e60 Add blocked reason for internet permission
Currently, even if apps don't have INTERNET permission and can not use
network, network access is considered not blocked and
ConnectivityService send onBlockedStatusChanged callback with
blocked=false.
This CL introduced BLOCKED_REASON_NETWORK_RESTRICTED and consider
network access from apps targetting W+ on V+ releases is blocked if apps
don't have INTERNET permission.
Permission is set when the user is added or package is installed and
permission is removed when the user is removed or packages is
uninstalled.
So ConnectivityService does not need to monitor permission change to
send onBlockedStatusChanged callback by permission change.

Test: CSBlockedReasonsTest
Bug: 339559837

Change-Id: I58d2a4eddc714e205f5b96219f95b637f2826c58
2024-05-24 13:45:51 +09:00
..
aidl_api/connectivity_native_aidl_interface Vendor AIDL interface for port blocking via eBPF 2022-03-25 09:14:48 -07:00
binder/android/net/connectivity/aidl Vendor AIDL interface for port blocking via eBPF 2022-03-25 09:14:48 -07:00
jni NetBpfLoad: use exec path for api level 35+ (ie. V) 2024-04-15 02:13:56 -07:00
libconnectivity [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
native/libs/libclat [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
proto Add SystemMessages protos to Connectivity 2021-03-18 20:04:52 +09:00
ServiceConnectivityResources [Thread] add resourceoverlay config for vendor and model name 2024-03-18 20:13:37 +08:00
src/com/android Add blocked reason for internet permission 2024-05-24 13:45:51 +09:00
Android.bp Inform the DNS resolver of the interfaces in a network. 2024-04-17 23:05:14 +09:00
jarjar-excludes.txt Allow jarjar com.android.server* 2023-02-14 15:43:43 +00:00
lint-baseline.xml Prepare for @RequiresApi class retention 2024-02-02 12:04:05 -08:00
proguard.flags Move the Thread proguard flags to ConnectivityService's proguard.flags 2024-01-26 09:14:53 +00:00