Home
last modified time | relevance | path

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

/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java54 final TextView proxyPort = findViewById(R.id.proxyport); in onCreate() local
66 proxyPort.setText(proxyPortPrefValue == 0 ? "" : String.valueOf(proxyPortPrefValue)); in onCreate()
74 proxyPort.getText().toString())) { in onCreate()
95 proxyPortNum = Integer.parseInt(proxyPort.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.java112 final int proxyPort = prefs.getInt(ToyVpnClient.Prefs.PROXY_PORT, 0); in connect() local
115 proxyHost, proxyPort, allow, packages)); in connect()