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
Junyu Lai e003152e2c [BR02] Implement isUidNetworkingBlocked
This is needed for data stall detection mechanism in NetworkStack
to get the information about whether the network is blocked for
a given uid and conditions. Because the API will be called
frequently from NetworkStack to resolve all status for all uids
on the device, the API cannot call into the service which
creates IPC. Instead, the API need to directly access bpf maps
in the user process to retrieve the status. In this case the
user process is the network stack, the access control is provided
by linux file permission and selinux.

Test: atest FrameworksNetTests:android.net.connectivity.android.net.BpfNetMapsReaderTest
Test: atest FrameworksNetTests:android.net.connectivity.android.net.ConnectivityManagerTest
NO_IFTTT=Refactor only change for firewall chains definitions
Bug: 297836825

Change-Id: Iaf983b71ec98cbfe5152dcfade8a3120f938f135
2023-10-31 16:33:41 +08:00
bpf_progs Write Data Saver setting to BPF map 2023-10-31 01:36:03 +00:00
clatd remove clatd OWNERS 2023-09-12 11:48:34 -07:00
common Add java class for Ingress discard bpf map key value 2023-10-26 15:48:22 +09:00
Cronet Merge "Add third_party/cpu_features to Cronet's copybara" into main 2023-09-12 17:48:34 +00:00
framework [BR02] Implement isUidNetworkingBlocked 2023-10-31 16:33:41 +08:00
framework-t [Thread] make the Manager and Controller class 'final' 2023-10-25 22:03:11 +08:00
nearby Clean up obsolete aliases for Truth. 2023-10-07 00:48:10 +00:00
netbpfload netbpfload: prep work to support <U 2023-10-25 18:40:53 +00:00
netd move BPF_CGROUP_INET*_BIND registration into BpfHandler 2023-10-06 14:31:20 -07:00
remoteauth Clean up obsolete aliases for Truth. 2023-10-07 00:48:10 +00:00
service [BR02] Implement isUidNetworkingBlocked 2023-10-31 16:33:41 +08:00
service-t Support NetworkStatsEventLogger 2023-10-25 19:23:35 +08:00
staticlibs Merge "Cleanup modifyRoutes" into main 2023-10-27 13:11:29 +00:00
tests [BR02] Implement isUidNetworkingBlocked 2023-10-31 16:33:41 +08:00
Tethering Merge "SyncSM8.2: make IpServer support syncSM" into main 2023-10-30 07:51:54 +00:00
thread Merge "Clean up obsolete aliases for Truth." into main 2023-10-26 09:07:59 +00:00
tools gn2bp: delete obsolete version in p/m/C 2023-03-29 16:23:45 -07:00
.gitignore Ignores VS Code files from git 2023-08-27 20:10:55 +08:00
OWNERS Move OWNER reference master=>main. 2023-07-18 17:12:49 +00:00
OWNERS_core_networking Cleanup OWNERS 2023-01-23 15:55:23 +00:00
OWNERS_core_networking_xts Adjust owners for incremental NsdManager changes 2023-08-18 14:49:34 +09:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Merge "Respect SkipPresubmit annotation for ConnectivityCoverageTests" into main 2023-10-19 06:58:40 +00:00