Home
last modified time | relevance | path

Searched refs:proxyHost (Results 1 – 2 of 2) sorted by relevance

/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java53 final TextView proxyHost = findViewById(R.id.proxyhost); in onCreate() local
64 proxyHost.setText(prefs.getString(Prefs.PROXY_HOSTNAME, "")); in onCreate()
73 if (!checkProxyConfigs(proxyHost.getText().toString(), in onCreate()
103 .putString(Prefs.PROXY_HOSTNAME, proxyHost.getText().toString()) in onCreate()
120 private boolean checkProxyConfigs(String proxyHost, String proxyPort) { in checkProxyConfigs() argument
121 final boolean hasIncompleteProxyConfigs = proxyHost.isEmpty() != proxyPort.isEmpty(); in checkProxyConfigs()
DToyVpnService.java111 final String proxyHost = prefs.getString(ToyVpnClient.Prefs.PROXY_HOSTNAME, ""); in connect() local
115 proxyHost, proxyPort, allow, packages)); in connect()