Lines Matching defs:networks
330 * Sets the underlying networks used by the VPN for its upstream connections.
332 * <p>Used by the system to know the actual networks that carry traffic for apps affected by
341 * <p>{@code networks} is one of the following:
345 * networks to carry app traffic, but prefers or uses wifi more than mobile, wifi should appear
357 * @param networks An array of networks the VPN uses to tunnel traffic to/from its servers.
361 public boolean setUnderlyingNetworks(Network[] networks) {
363 return getService().setUnderlyingNetworksForVpn(networks);
745 * Sets the underlying networks used by the VPN for its upstream connections.
749 * @param networks An array of networks the VPN uses to tunnel traffic to/from its servers.
753 public Builder setUnderlyingNetworks(Network[] networks) {
754 mConfig.underlyingNetworks = networks != null ? networks.clone() : null;