Lines Matching defs:network

287         private void connect(Network network) {
289 mNetwork = network;
299 Network network;
309 network = mNetwork;
312 if (network == null) {
319 Log.d(TAG, "OSU SSID Associated at " + network.toString());
322 mOSUClient.provision(mOSUManager, network, mKeyManager);
324 mOSUClient.remediate(mOSUManager, network, mKeyManager, mHomeSP, mFlowType);
337 public void requestUserInput(URL target, Network network, URL endRedirect) {
342 intent.putExtra(ConnectivityManager.EXTRA_NETWORK, network);
443 // Go straight to provisioning if the network is already selected.
444 // Also note that mOSUNwkID is left unset to leave the network around after
495 public void setActiveNetwork(WifiConfiguration wifiConfiguration, Network network) {
496 Log.d(TAG, "Network change: " + network + ", cfg " +
500 network != null &&
505 Log.d(TAG, "New network " + network + ", current OSU " + mPendingOSU);
506 initiateProvisioning(mPendingOSU, network);
538 * Called when an OSU has been selected and the associated network is fully connected.
541 * e.g. WiFi is turned off or the OSU network is otherwise detected as
543 * @param network The currently associated network (for the OSU SSID).
547 private void initiateProvisioning(OSUInfo osuInfo, Network network)
564 mProvisioningThread.connect(network);
690 throw new IOException("Remediation request for unidentified Passpoint network " +
693 Network network = mWifiNetworkAdapter.getCurrentNetwork();
694 if (network == null) {
695 throw new IOException("Failed to determine current network");
701 Log.d(TAG, "WNM Remediation on " + network.netId + " FQDN " + homeSP.getFQDN());
703 doRemediate(url, network, homeSP, false);
718 Network network = mWifiNetworkAdapter.getCurrentNetwork();
719 if (network == null) {
720 throw new IOException("Failed to determine current network");
729 doRemediate(updateInfo.getURI(), network, homeSP, policy);
733 Network network = mWifiNetworkAdapter.getCurrentNetwork();
734 if (network == null) {
735 throw new IOException("Failed to determine current network");
748 doRemediate(updateInfo.getURI(), network, homeSP, policy);
750 throw new IOException("No roaming network match: " + match);
755 Network network = mWifiNetworkAdapter.getCurrentNetwork();
756 doRemediate(updateInfo.getURI(), network, homeSP, policy);
762 private void doRemediate(String url, Network network, HomeSP homeSP, boolean policy)
779 osuThread.connect(network);
804 protected boolean startUserInput(URL target, Network network) throws IOException {
806 mWifiNetworkAdapter.launchBrowser(target, network, mRedirectListener.getURL());
816 // Delete the OSU network if it was added by the OSU flow
861 "Failed to save network configuration", osuInfo.getName(LOCALE));