Home
last modified time | relevance | path

Searched refs:accessPoint (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialogActivity.java53 AccessPoint accessPoint = null; in onCreate() local
55 accessPoint = new AccessPoint(this, accessPointState); in onCreate()
58 WifiDialog dialog = new WifiDialog(this, this, accessPoint, WifiConfigUiBase.MODE_CONNECT); in onCreate()
72 final AccessPoint accessPoint = dialog.getController().getAccessPoint(); in onForget() local
73 if (accessPoint != null) { in onForget()
74 if (!accessPoint.isSaved()) { in onForget()
75 if (accessPoint.getNetworkInfo() != null && in onForget()
76 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget()
79 AccessPoint.convertToQuotedString(accessPoint.getSsidStr())); in onForget()
82 Log.e(TAG, "Failed to forget invalid network " + accessPoint.getConfig()); in onForget()
[all …]
DWifiSettings.java532 private void showDialog(AccessPoint accessPoint, int dialogMode) { in showDialog() argument
533 if (accessPoint != null) { in showDialog()
534 WifiConfiguration config = accessPoint.getConfig(); in showDialog()
535 if (isEditabilityLockedDown(getActivity(), config) && accessPoint.isActive()) { in showDialog()
548 mDlgAccessPoint = accessPoint; in showDialog()
620 for (AccessPoint accessPoint : accessPoints) { in onAccessPointsChanged()
622 if (accessPoint.getLevel() != -1) { in onAccessPointsChanged()
623 String key = accessPoint.getBssid(); in onAccessPointsChanged()
632 preference = new LongPressAccessPointPreference(accessPoint, in onAccessPointsChanged()
637 if (mOpenSsid != null && mOpenSsid.equals(accessPoint.getSsidStr()) in onAccessPointsChanged()
[all …]
DWifiDialog.java48 public WifiDialog(Context context, WifiDialogListener listener, AccessPoint accessPoint, in WifiDialog() argument
50 this(context, listener, accessPoint, mode); in WifiDialog()
54 public WifiDialog(Context context, WifiDialogListener listener, AccessPoint accessPoint, in WifiDialog() argument
59 mAccessPoint = accessPoint; in WifiDialog()
DLongPressAccessPointPreference.java48 public LongPressAccessPointPreference(AccessPoint accessPoint, Context context, in LongPressAccessPointPreference() argument
50 super(accessPoint, context, cache, forSavedNetworks); in LongPressAccessPointPreference()
DSavedAccessPointsWifiSettings.java123 private void showDialog(LongPressAccessPointPreference accessPoint, boolean edit) { in showDialog() argument
130 mDlgAccessPoint = accessPoint.getAccessPoint(); in showDialog()
DWifiConfigController.java163 public WifiConfigController(WifiConfigUiBase parent, View view, AccessPoint accessPoint, in WifiConfigController() argument
168 mAccessPoint = accessPoint; in WifiConfigController()
169 mAccessPointSecurity = (accessPoint == null) ? AccessPoint.SECURITY_NONE : in WifiConfigController()
170 accessPoint.getSecurity(); in WifiConfigController()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java231 for (final AccessPoint accessPoint : accessPoints) { in updateWifiList()
232 accessPoint.setListener(this); in updateWifiList()
233 AccessPointPreference pref = (AccessPointPreference) accessPoint.getTag(); in updateWifiList()
235 pref = new AccessPointPreference(accessPoint, themedContext, mUserBadgeCache, in updateWifiList()
237 accessPoint.setTag(pref); in updateWifiList()
241 if (accessPoint.isActive()) { in updateWifiList()
243 WifiDetailsFragment.prepareArgs(pref.getExtras(), accessPoint); in updateWifiList() local
247 pref.setIntent(WifiConnectionActivity.createIntent(getContext(), accessPoint)); in updateWifiList() local
272 public void onAccessPointChanged(AccessPoint accessPoint) { in onAccessPointChanged() argument
273 ((AccessPointPreference) accessPoint.getTag()).refresh(); in onAccessPointChanged()
[all …]
DWifiDetailsFragment.java61 public static void prepareArgs(@NonNull Bundle args, AccessPoint accessPoint) { in prepareArgs() argument
63 accessPoint.saveWifiState(apBundle); in prepareArgs()
123 for (final AccessPoint accessPoint : accessPoints) { in onWifiListChanged()
124 if (TextUtils.equals(mAccessPoint.getSsidStr(), accessPoint.getSsidStr()) in onWifiListChanged()
125 && mAccessPoint.getSecurity() == accessPoint.getSecurity()) { in onWifiListChanged()
128 mAccessPoint = accessPoint; in onWifiListChanged()
186 public static void prepareArgs(@NonNull Bundle args, AccessPoint accessPoint) { in prepareArgs() argument
188 accessPoint.saveWifiState(apBundle); in prepareArgs()
DWifiSecurity.java58 public static WifiSecurity getSecurity(AccessPoint accessPoint) { in getSecurity() argument
59 switch (accessPoint.getSecurity()) { in getSecurity()