android_packages_modules_Co.../common
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai c279f1830e [BR07.1] Expose setDataSaverEnabled from ConnectivityManager
Currently, data saver switch is controlled in NPMS, which
calls into NetworkManagementService and netd when switching
status. In netd, BandwidthController manipulates the
bw_data_saver chain to control the overall behavior.

However, this code are all platform implementation, which
are not updatable. In order to migrate data saver switch
from iptables to bpf, this API is needed for Connectivity to
change the implementation to directly write bpf in later
patches.

Test: atest CtsHostsideNetworkTests:com.android.cts.net.HostsideRestrictBackgroundNetworkTests
Test: atest FrameworksServicesTests:NetworkManagementServiceTest
Bug: 297836825
Change-Id: I71fa41ca739fef8e191fba91b02758ad5f732d5c
2023-10-19 17:43:44 +08:00
..
src/com/android/net/module/util/bpf Fix errorprone warnings that should be errors 2022-11-02 10:13:14 -07:00
Android.bp Add aconfig_declarations for flags in android_core_networking 2023-10-06 20:10:20 +09:00
flags.aconfig [BR07.1] Expose setDataSaverEnabled from ConnectivityManager 2023-10-19 17:43:44 +08:00
TrunkStable.bp Prepare exposing Network{Request,Caps}.forbiddenCapabilities 2023-10-11 17:02:52 +09:00