markchien | 6fbbdff | 2020-01-12 17:13:58 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2020 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | <resources xmlns:android="http://schemas.android.com/apk/res/android"> |
| 17 | <overlayable name="TetheringConfig"> |
| 18 | <policy type="product|system|vendor"> |
paulhu | 08294f9 | 2020-01-16 19:35:46 +0800 | [diff] [blame] | 19 | <!-- Params from config.xml that can be overlaid --> |
markchien | 6fbbdff | 2020-01-12 17:13:58 +0800 | [diff] [blame] | 20 | <item type="array" name="config_tether_usb_regexs"/> |
Milim Lee | 45a971b | 2019-10-17 05:02:33 +0900 | [diff] [blame] | 21 | <item type="array" name="config_tether_ncm_regexs" /> |
markchien | 6fbbdff | 2020-01-12 17:13:58 +0800 | [diff] [blame] | 22 | <item type="array" name="config_tether_wifi_regexs"/> |
Dedy Lansky | 6896f61 | 2019-11-21 00:36:14 +0200 | [diff] [blame] | 23 | <item type="array" name="config_tether_wigig_regexs"/> |
markchien | 6fbbdff | 2020-01-12 17:13:58 +0800 | [diff] [blame] | 24 | <item type="array" name="config_tether_wifi_p2p_regexs"/> |
| 25 | <item type="array" name="config_tether_bluetooth_regexs"/> |
| 26 | <item type="array" name="config_tether_dhcp_range"/> |
markchien | cab01b7 | 2021-06-01 22:25:24 +0800 | [diff] [blame] | 27 | <item type="integer" name="config_tether_usb_functions"/> |
Hungming Chen | 8bf2e7e | 2020-04-02 18:47:19 +0800 | [diff] [blame] | 28 | <!-- Use the BPF offload for tethering when the kernel has support. True by default. |
| 29 | If the device doesn't want to support tether BPF offload, this should be false. |
Hungming Chen | 5bc3af9 | 2020-05-12 19:15:24 +0800 | [diff] [blame] | 30 | Note that this setting could be overridden by device config. |
Hungming Chen | 8bf2e7e | 2020-04-02 18:47:19 +0800 | [diff] [blame] | 31 | --> |
| 32 | <item type="bool" name="config_tether_enable_bpf_offload"/> |
markchien | 9a0b95d | 2020-01-13 16:09:42 +0800 | [diff] [blame] | 33 | <item type="bool" name="config_tether_enable_legacy_dhcp_server"/> |
markchien | eb8fec2 | 2020-08-03 12:01:59 +0800 | [diff] [blame] | 34 | <item type="bool" name="config_tether_enable_legacy_wifi_p2p_dedicated_ip"/> |
markchien | fb65dfe | 2022-02-25 23:14:58 +0800 | [diff] [blame] | 35 | <item type="integer" name="config_p2p_leases_subnet_prefix_length"/> |
junyulai | 9606a22 | 2020-04-30 15:21:55 +0800 | [diff] [blame] | 36 | <item type="integer" name="config_tether_offload_poll_interval"/> |
markchien | 6fbbdff | 2020-01-12 17:13:58 +0800 | [diff] [blame] | 37 | <item type="array" name="config_tether_upstream_types"/> |
| 38 | <item type="bool" name="config_tether_upstream_automatic"/> |
| 39 | <!-- Configuration values for tethering entitlement check --> |
| 40 | <item type="array" name="config_mobile_hotspot_provision_app"/> |
| 41 | <item type="string" name="config_mobile_hotspot_provision_app_no_ui"/> |
| 42 | <item type="string" name="config_mobile_hotspot_provision_response"/> |
| 43 | <item type="integer" name="config_mobile_hotspot_provision_check_period"/> |
| 44 | <item type="string" name="config_wifi_tether_enable"/> |
paulhu | 08294f9 | 2020-01-16 19:35:46 +0800 | [diff] [blame] | 45 | <!-- Params from config.xml that can be overlaid --> |
markchien | 6fbbdff | 2020-01-12 17:13:58 +0800 | [diff] [blame] | 46 | </policy> |
| 47 | </overlayable> |
| 48 | </resources> |