android_packages_modules_Co.../framework
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi 11d3345daa Add firewall chains for HAPPY_BOX and user/admin PENALTY_BOX
Follow up CLs will update CS to generate blocked reason from bpf map
instead of asking NPMS.

However, one issue is NPMS set PENALTY_BOX for
BLOCKED_METERED_REASON_USER_RESTRICTED and
BLOCKED_METERED_REASON_ADMIN_DISABLED without telling the reason.
So, CS can not know the reason of PENALTY_BOX.

This CL add new firewall chain and match to distinguish reasons.
NPMS must call setUidFirewallRule with
FIREWALL_CHAIN_METERED_DENY_USER or FIREWALL_CHAIN_METERED_DENY_ADMIN
based on the reason so that CS can know the reason of restriction.

Bug: 332628891
Test: atest com.android.cts.net.HostsideRestrictBackgroundNetworkTests
Change-Id: Ia4ad4bdb345abc22c782630e828edfad2452db36
2024-04-23 15:04:28 +09:00
..
aidl-export/android/net Make TetheringRequest parcelable 2024-02-15 10:15:05 +09:00
api Add firewall chains for HAPPY_BOX and user/admin PENALTY_BOX 2024-04-23 15:04:28 +09:00
jni Check whether kernel is for X86 via JNI 2024-02-09 19:13:07 +00:00
proto [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
src/android/net Add firewall chains for HAPPY_BOX and user/admin PENALTY_BOX 2024-04-23 15:04:28 +09:00
Android.bp Merge "Revert^2 "Revert "Revert "Revert "cronet 121_0_6167_71: remove htt..."" into main 2024-04-09 18:24:33 +00:00
jarjar-excludes.txt Add LocalNetworkInfo and send callbacks when it changes 2023-11-07 17:29:38 +09:00
lint-baseline.xml Baseline NewApi issues 2024-01-25 02:41:58 +00:00