Add the NOT_SUSPENDED capability to Ethernet - doc part

Test: ConnectivityServiceTest, EthernetManagerTest
Bug: 150570873
Original-Change: https://android-review.googlesource.com/1307373
Merged-In: I151dfaa90b245dfc67d83516081b965284386d6a
Change-Id: I151dfaa90b245dfc67d83516081b965284386d6a
This commit is contained in:
Treehugger Robot
2020-05-11 13:57:36 +00:00
committed by Chalard Jean
parent 92d678d8ad
commit 81ffe374d8

View File

@@ -446,13 +446,14 @@
<!-- Regex of wired ethernet ifaces --> <!-- Regex of wired ethernet ifaces -->
<string translatable="false" name="config_ethernet_iface_regex">eth\\d</string> <string translatable="false" name="config_ethernet_iface_regex">eth\\d</string>
<!-- Configuration of Ethernet interfaces in the following format: <!-- Configuration of Ethernet interfaces in the following format:
<interface name|mac address>;[Network Capabilities];[IP config];[Override Transport] <interface name|mac address>;[Network Capabilities];[IP config];[Override Transport]
Where Where
[Network Capabilities] Optional. A comma seprated list of network capabilities. [Network Capabilities] Optional. A comma seprated list of network capabilities.
Values must be from NetworkCapabilities#NET_CAPABILITIES_* constants. Values must be from NetworkCapabilities#NET_CAPABILITY_* constants.
The NOT_ROAMING, NOT_CONGESTED and NOT_SUSPENDED capabilities are always
added automatically because this configuration provides no way to update
them dynamically.
[IP config] Optional. If empty or not specified - DHCP will be used, otherwise [IP config] Optional. If empty or not specified - DHCP will be used, otherwise
use the following format to specify static IP configuration: use the following format to specify static IP configuration:
ip=<ip-address/mask> gateway=<ip-address> dns=<comma-sep-ip-addresses> ip=<ip-address/mask> gateway=<ip-address> dns=<comma-sep-ip-addresses>