List of usage examples for android.net VpnService subclass-usage
From source file org.uproxy.tun2socks.TunnelVpnService.java
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) public class TunnelVpnService extends VpnService { private static final String LOG_TAG = "TunnelVpnService"; public static final String TUNNEL_VPN_DISCONNECT_BROADCAST = "tunnelVpnDisconnectBroadcast"; public static final String TUNNEL_VPN_START_BROADCAST = "tunnelVpnStartBroadcast";
From source file com.net.monitor.LocalVPNService.java
public class LocalVPNService extends VpnService { private static final String TAG = LocalVPNService.class.getSimpleName(); private static final String VPN_ADDRESS = "10.0.0.2"; // Only IPv4 support for now private static final String VPN_ROUTE = "0.0.0.0"; // Intercept everything public static final String BROADCAST_VPN_STATE = "xyz.hexene.localvpn.VPN_STATE";
From source file com.avalond.ad_blocak.vpn.AdVpnService.java
/** * @author kevin */ public class AdVpnService extends VpnService implements Handler.Callback { public static final int VPN_STATUS_STARTING = 0;
From source file xyz.hexene.localvpn.LocalVPNService.java
public class LocalVPNService extends VpnService { private static final String TAG = LocalVPNService.class.getSimpleName(); private static final String VPN_ADDRESS = "10.0.0.2"; // Only IPv4 support for now private static final String VPN_ROUTE = "0.0.0.0"; // Intercept everything public static final String BROADCAST_VPN_STATE = "xyz.hexene.localvpn.VPN_STATE";
From source file org.jak_linux.dns66.vpn.AdVpnService.java
public class AdVpnService extends VpnService implements Handler.Callback { /* The handler may only keep a weak reference around, otherwise it leaks */ private static class MyHandler extends Handler { private final WeakReference<Handler.Callback> callback; public MyHandler(Handler.Callback callback) {
From source file hosts.file.localvpn.LocalVPNService.java
public class LocalVPNService extends VpnService { private static final String TAG = LocalVPNService.class.getSimpleName(); private static final String VPN_ADDRESS = "10.0.0.2"; // Only IPv4 support for now private static final String VPN_ROUTE = "0.0.0.0"; // Intercept everything public static final String BROADCAST_VPN_STATE = "hosts.file.localvpn.VPN_STATE";
From source file de.flyingsnail.ipv6droid.android.AyiyaVpnService.java
/** * The Android service controlling the VpnThread. * Created by pelzi on 15.08.13. */ public class AyiyaVpnService extends VpnService {
From source file com.example.android.toyvpn.ToyVpnService.java
public class ToyVpnService extends VpnService implements Handler.Callback, Runnable { private static final String TAG = "ToyVpnService"; private String mServerAddress; private int mServerPort = 1050; private PendingIntent mConfigureIntent;
From source file me.xingrz.prox.ProxVpnService.java
public class ProxVpnService extends VpnService implements Runnable, AutoConfigManager.ConfigLoadCallback { private static final FormattingLogger logger = FormattingLoggers.getContextLogger(); private static InetAddress getAddressQuietly(String address) { try {
From source file eu.faircode.netguard.SinkholeService.java
public class SinkholeService extends VpnService { private static final String TAG = "NetGuard.Service"; private boolean foreground; private boolean last_roaming; private ParcelFileDescriptor vpn = null;