Home
last modified time | relevance | path

Searched refs:serverIp (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/VpnServices/src/com/android/server/vpn/
DVpnDaemons.java48 public DaemonProxy startL2tp(String serverIp, String secret, in startL2tp() argument
50 return startMtpd(L2TP, serverIp, L2TP_PORT, secret, username, password, in startL2tp()
54 public DaemonProxy startPptp(String serverIp, String username, in startPptp() argument
56 return startMtpd(PPTP, serverIp, PPTP_PORT, null, username, password, in startPptp()
60 public DaemonProxy startIpsecForL2tp(String serverIp, String pskKey) in startIpsecForL2tp() argument
63 ipsec.sendCommand(serverIp, L2TP_PORT, pskKey); in startIpsecForL2tp()
67 public DaemonProxy startIpsecForL2tp(String serverIp, String userKeyKey, in startIpsecForL2tp() argument
70 ipsec.sendCommand(serverIp, L2TP_PORT, userKeyKey, userCertKey, in startIpsecForL2tp()
119 String serverIp, String port, String secret, String username, in startMtpd() argument
122 args.addAll(Arrays.asList(protocol, serverIp, port)); in startMtpd()
[all …]
DL2tpIpsecPskService.java31 protected void connect(String serverIp, String username, String password) in connect() argument
37 daemons.startIpsecForL2tp(serverIp, p.getPresharedKey()) in connect()
43 daemons.startL2tp(serverIp, in connect()
DL2tpIpsecService.java31 protected void connect(String serverIp, String username, String password) in connect() argument
37 DaemonProxy ipsec = daemons.startIpsecForL2tp(serverIp, in connect()
46 daemons.startL2tp(serverIp, in connect()
DPptpService.java28 protected void connect(String serverIp, String username, String password) in connect() argument
31 getDaemons().startPptp(serverIp, username, password, in connect()
DL2tpService.java28 protected void connect(String serverIp, String username, String password) in connect() argument
31 getDaemons().startL2tp(serverIp, in connect()
DVpnService.java84 protected abstract void connect(String serverIp, String username, in connect() argument
132 String serverIp = getIp(getProfile().getServerName()); in onConnect() local
133 saveLocalIpAndInterface(serverIp); in onConnect()
135 connect(serverIp, username, password); in onConnect()
355 private void saveLocalIpAndInterface(String serverIp) throws IOException { in saveLocalIpAndInterface() argument
358 s.connect(InetAddress.getByName(serverIp), port); in saveLocalIpAndInterface()