No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
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
bpf_progs Merge "Revert "bpf: offload.c - comment out CRITICAL mark"" into main 2024-04-25 00:34:04 +00:00
clatd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
common Add blocked reason for internet permission 2024-05-24 13:45:51 +09:00
Cronet Move Cronet's MTS/CTS to external/cronet 2024-05-02 11:54:56 +00:00
DnsResolver Add firewall chains for HAPPY_BOX and user/admin PENALTY_BOX 2024-04-23 15:04:28 +09:00
framework Add blocked reason for internet permission 2024-05-24 13:45:51 +09:00
framework-t Fix a Rare Race In Clearing ResourceId 2024-05-06 22:27:19 +00:00
nearby Test BluetoothFinderManager for SDK at least V 2024-03-02 22:11:44 +00:00
netbpfload Merge "NetBpfLoad: log on success" into main 2024-05-21 18:04:10 +00:00
netd BpfHandler.cpp: change LOG_TAG "BpfHandler" to "NetdUpdatable" 2024-05-20 12:52:15 -07:00
remoteauth Switch to libjni_legacy 2024-05-15 23:47:49 +00:00
service Add blocked reason for internet permission 2024-05-24 13:45:51 +09:00
service-t Merge "Revert "Allow MAC addresses to configure IP configurations"" into main 2024-05-14 16:36:05 +00:00
staticlibs Merge changes I0ec79adf,Icf5aadc4 into main 2024-05-21 06:30:56 +00:00
tests Add blocked reason for internet permission 2024-05-24 13:45:51 +09:00
Tethering NetBpfLoad: use exec path for api level 35+ (ie. V) 2024-04-15 02:13:56 -07:00
thread Merge changes I0ec79adf,Icf5aadc4 into main 2024-05-21 06:30:56 +00:00
tools Update aospify_device for T device 2024-05-22 13:10:19 +09:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Update OWNERS to reflect reorg. 2024-04-10 23:24:14 +00:00
OWNERS_core_networking_xts xTS OWNERS: allow maze to +2 APF fw CTS tests 2024-03-12 02:42:59 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Merge "Move Cronet's MTS/CTS to external/cronet" into main 2024-05-17 12:24:06 +00:00