Home | History | Annotate | Download | only in wifi

Lines Matching refs:AccessPoint

29 import com.android.settingslib.wifi.AccessPoint;
53 AccessPoint accessPoint = null;
55 accessPoint = new AccessPoint(this, accessPointState);
58 WifiDialog dialog = new WifiDialog(this, this, accessPoint, WifiConfigUiBase.MODE_CONNECT);
72 final AccessPoint accessPoint = dialog.getController().getAccessPoint();
73 if (accessPoint != null) {
74 if (!accessPoint.isSaved()) {
75 if (accessPoint.getNetworkInfo() != null &&
76 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) {
79 AccessPoint.convertToQuotedString(accessPoint.getSsidStr()));
82 Log.e(TAG, "Failed to forget invalid network " + accessPoint.getConfig());
85 wifiManager.forget(accessPoint.getConfig().networkId, null /* listener */);
90 if (accessPoint != null) {
92 accessPoint.saveWifiState(accessPointState);
102 final AccessPoint accessPoint = dialog.getController().getAccessPoint();
106 if (accessPoint != null && accessPoint.isSaved()) {
107 wifiManager.connect(accessPoint.getConfig(), null /* listener */);
111 if (accessPoint != null) {
112 // accessPoint is null for "Add network"
113 NetworkInfo networkInfo = accessPoint.getNetworkInfo();
121 if (accessPoint != null) {
123 accessPoint.saveWifiState(accessPointState);