Home | History | Annotate | Download | only in net

Lines Matching refs:vpn

48 import com.android.server.connectivity.Vpn;
54 * connected and kicks off VPN connection, managing any required {@code netd}
60 /** Number of VPN attempts before waiting for user intervention. */
65 private static final String ACTION_VPN_SETTINGS = "android.net.vpn.SETTINGS";
66 private static final String EXTRA_PICK_LOCKDOWN = "android.net.vpn.PICK_LOCKDOWN";
73 private final Vpn mVpn;
92 ConnectivityService connService, Vpn vpn, VpnProfile profile) {
96 mVpn = Preconditions.checkNotNull(vpn);
116 * Watch for state changes to both active egress network, kicking off a VPN
117 * connection when ready, or setting firewall rules once VPN is connected.
127 // Restart VPN when egress network disconnected or changed
160 Slog.d(TAG, "Active network connected; starting VPN");
169 Slog.e(TAG, "Failed to start VPN", e);
173 Slog.e(TAG, "Invalid VPN profile; requires IP-based server and DNS");
186 Slog.d(TAG, "VPN connected using iface=" + iface +