blob: 942d07966632fe803733d0884896348eeed388fb [file] [log] [blame]
Motomu Utsumi3a586fc2024-01-22 16:21:48 +09001package: "com.android.net.flags"
Paul Duffin8a4c9f62024-04-25 09:46:33 +01002container: "com.android.tethering"
Motomu Utsumi3a586fc2024-01-22 16:21:48 +09003
Remi NGUYEN VAN9d5920e2025-04-02 09:49:20 +09004# This file contains aconfig flags for toggling features entirely implemented within the tethering
5# module. Flags used from platform code must be in the android.net.platform.flags package in
6# frameworks/base.
Motomu Utsumi3a586fc2024-01-22 16:21:48 +09007
8flag {
Motomu Utsumi3a586fc2024-01-22 16:21:48 +09009 name: "set_data_saver_via_cm"
Oriol Prieto Gasco646b09f2024-03-01 17:12:02 +000010 is_exported: true
Motomu Utsumi3a586fc2024-01-22 16:21:48 +090011 namespace: "android_core_networking"
12 description: "Set data saver through ConnectivityManager API"
13 bug: "297836825"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +000014 is_fixed_read_only: true
Motomu Utsumi3a586fc2024-01-22 16:21:48 +090015}
16
17flag {
18 name: "support_is_uid_networking_blocked"
Oriol Prieto Gasco646b09f2024-03-01 17:12:02 +000019 is_exported: true
Motomu Utsumi3a586fc2024-01-22 16:21:48 +090020 namespace: "android_core_networking"
21 description: "This flag controls whether isUidNetworkingBlocked is supported"
22 bug: "297836825"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +000023 is_fixed_read_only: true
Motomu Utsumi3a586fc2024-01-22 16:21:48 +090024}
25
26flag {
27 name: "basic_background_restrictions_enabled"
Oriol Prieto Gasco646b09f2024-03-01 17:12:02 +000028 is_exported: true
Motomu Utsumi3a586fc2024-01-22 16:21:48 +090029 namespace: "android_core_networking"
30 description: "Block network access for apps in a low importance background state"
31 bug: "304347838"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +000032 is_fixed_read_only: true
Motomu Utsumi3a586fc2024-01-22 16:21:48 +090033}
34
35flag {
Yan Yan4862fd52024-02-12 20:57:38 +000036 name: "ipsec_transform_state"
Oriol Prieto Gasco646b09f2024-03-01 17:12:02 +000037 is_exported: true
Yan Yan4862fd52024-02-12 20:57:38 +000038 namespace: "android_core_networking_ipsec"
39 description: "The flag controls the access for getIpSecTransformState and IpSecTransformState"
40 bug: "308011229"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +000041 is_fixed_read_only: true
Yan Yan4862fd52024-02-12 20:57:38 +000042}
43
Quang Anh Luong1252f7f2024-02-07 13:41:40 +090044flag {
Lorenzo Colitti172fe792024-11-13 17:16:50 +000045 name: "tethering_with_soft_ap_config"
46 is_exported: true
47 namespace: "android_core_networking"
48 description: "The flag controls the access for the parcelable TetheringRequest with getSoftApConfiguration/setSoftApConfiguration API"
49 bug: "216524590"
50 is_fixed_read_only: true
51}
52
53flag {
Motomu Utsumi52f294c2024-02-15 15:21:39 +090054 name: "request_restricted_wifi"
Oriol Prieto Gasco646b09f2024-03-01 17:12:02 +000055 is_exported: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090056 namespace: "android_core_networking"
57 description: "Flag for API to support requesting restricted wifi"
58 bug: "315835605"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +000059 is_fixed_read_only: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090060}
61
62flag {
63 name: "net_capability_local_network"
Oriol Prieto Gasco646b09f2024-03-01 17:12:02 +000064 is_exported: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090065 namespace: "android_core_networking"
66 description: "Flag for local network capability API"
67 bug: "313000440"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +000068 is_fixed_read_only: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090069}
70
71flag {
72 name: "support_transport_satellite"
Oriol Prieto Gasco646b09f2024-03-01 17:12:02 +000073 is_exported: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090074 namespace: "android_core_networking"
75 description: "Flag for satellite transport API"
76 bug: "320514105"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +000077 is_fixed_read_only: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090078}
79
80flag {
81 name: "nsd_subtypes_support_enabled"
Oriol Prieto Gasco646b09f2024-03-01 17:12:02 +000082 is_exported: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090083 namespace: "android_core_networking"
84 description: "Flag for API to support nsd subtypes"
85 bug: "265095929"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +000086 is_fixed_read_only: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090087}
88
89flag {
90 name: "register_nsd_offload_engine_api"
Oriol Prieto Gasco646b09f2024-03-01 17:12:02 +000091 is_exported: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090092 namespace: "android_core_networking"
93 description: "Flag for API to register nsd offload engine"
94 bug: "301713539"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +000095 is_fixed_read_only: true
Motomu Utsumi52f294c2024-02-15 15:21:39 +090096}
Motomu Utsumie6295a22024-04-25 13:15:34 +090097
98flag {
99 name: "metered_network_firewall_chains"
100 is_exported: true
101 namespace: "android_core_networking"
102 description: "Flag for metered network firewall chain API"
103 bug: "332628891"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +0000104 is_fixed_read_only: true
Motomu Utsumie6295a22024-04-25 13:15:34 +0900105}
Motomu Utsumi9e75aad2024-04-24 17:39:47 +0900106
107flag {
108 name: "blocked_reason_oem_deny_chains"
109 is_exported: true
110 namespace: "android_core_networking"
111 description: "Flag for oem deny chains blocked reasons API"
112 bug: "328732146"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +0000113 is_fixed_read_only: true
Motomu Utsumi9e75aad2024-04-24 17:39:47 +0900114}
Motomu Utsumicfd5a512024-05-27 02:12:43 +0000115
116flag {
117 name: "blocked_reason_network_restricted"
118 is_exported: true
119 namespace: "android_core_networking"
120 description: "Flag for BLOCKED_REASON_NETWORK_RESTRICTED API"
121 bug: "339559837"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +0000122 is_fixed_read_only: true
Motomu Utsumicfd5a512024-05-27 02:12:43 +0000123}
Motomu Utsumi154ce632024-05-31 13:01:06 +0900124
125flag {
126 name: "net_capability_not_bandwidth_constrained"
127 is_exported: true
128 namespace: "android_core_networking"
129 description: "Flag for NET_CAPABILITY_NOT_BANDWIDTH_CONSTRAINED API"
130 bug: "343823469"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +0000131 is_fixed_read_only: true
Motomu Utsumi154ce632024-05-31 13:01:06 +0900132}
Seungjae Yoo07b8fe12024-06-19 16:18:51 +0900133
134flag {
135 name: "tethering_request_virtual"
136 is_exported: true
137 namespace: "android_core_networking"
138 description: "Flag for introducing TETHERING_VIRTUAL type"
139 bug: "340376953"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +0000140 is_fixed_read_only: true
Seungjae Yoo07b8fe12024-06-19 16:18:51 +0900141}
Junyu Laid0e04942024-07-10 18:10:05 +0800142
143flag {
144 name: "netstats_add_entries"
145 is_exported: true
146 namespace: "android_core_networking"
147 description: "Flag for NetworkStats#addEntries API"
148 bug: "335680025"
Motomu Utsumi66bb1c32024-08-20 05:50:08 +0000149 is_fixed_read_only: true
Junyu Laid0e04942024-07-10 18:10:05 +0800150}
Junyu Lai9bd74752024-08-29 17:18:25 +0800151
152flag {
153 name: "tethering_active_sessions_metrics"
154 is_exported: true
155 namespace: "android_core_networking"
156 description: "Flag for collecting tethering active sessions metrics"
157 bug: "354619988"
158 is_fixed_read_only: true
159}
Patrick Rohra3b97392024-12-12 14:34:19 -0800160
161flag {
162 name: "ipv6_over_ble"
163 is_exported: true
164 namespace: "android_core_networking"
165 description: "API flag for IPv6 over BLE"
166 bug: "372936361"
167 is_fixed_read_only: true
168}
Jacque Li2003e6e2024-10-21 20:02:15 +0000169
170flag {
171 name: "restrict_local_network"
172 is_exported: true
173 namespace: "android_core_networking"
174 description: "Flag for controlling access to the local network behind a new runtime permission. Requires ConnectivityCompatChanges.RESTRICT_LOCAL_NETWORK to enable feature."
Jacque Li0c67f352025-02-12 10:53:05 -0500175 bug: "388774939"
Jacque Li2003e6e2024-10-21 20:02:15 +0000176 is_fixed_read_only: true
177}
Yuyang Huang9e74d412025-04-30 14:58:03 +0900178
179flag {
180 name: "mdns_advertising_improvement"
181 is_exported: true
182 namespace: "android_core_networking"
183 description: "Flag for MDNS advertising quality, reliability and performance improvement"
184 bug: "373270045"
185}
Chuwei Hec666f382025-04-22 10:57:12 +0900186
187flag {
188 name: "ethernet_desktop_config"
189 namespace: "android_core_networking"
190 description: "The flag controls support for ethernet configuration tracking and store by MAC address."
191 bug: "397536853"
192 is_fixed_read_only: true
193}
Sewook Seo63052522025-03-30 11:31:57 +0000194
195flag {
196 name: "qos_filter_ip_range_matching"
197 namespace: "android_core_networking"
198 description: "Flag for API to provide IP address range based QoS socket matching."
199 bug: "406146808"
200 is_fixed_read_only: true
201}
Junyu Lai19ff6a12025-06-09 12:43:19 +0800202
203flag {
204 name: "netstats_transport_type"
205 is_exported: true
206 namespace: "android_core_networking"
207 description: "Flag for NetworkTemplate#get/setTransportType API"
208 bug: "419123367"
209 is_fixed_read_only: true
210}
Jimi Chen92e23ac2025-06-02 13:25:24 +0000211
212flag {
213 name: "carrier_aware_avoid_bad_wifi"
214 namespace: "android_core_networking"
215 description: "Flag for API to provide carrier-aware avoid bad Wi-Fi setting."
216 bug: "410976315"
217 is_fixed_read_only: true
218}