HomeSort by relevance Sort by last modified time
    Searched full:accesspoint (Results 1 - 25 of 28) sorted by null

1 2

  /packages/apps/Settings/src/com/android/settings/wifi/
WifiDialogActivity.java 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())
    [all...]
WifiDialog.java 28 import com.android.settingslib.wifi.AccessPoint;
42 private final AccessPoint mAccessPoint;
48 public WifiDialog(Context context, WifiDialogListener listener, AccessPoint accessPoint,
50 this(context, listener, accessPoint, mode);
54 public WifiDialog(Context context, WifiDialogListener listener, AccessPoint accessPoint,
59 mAccessPoint = accessPoint;
LongPressAccessPointPreference.java 35 import com.android.settingslib.wifi.AccessPoint;
48 public LongPressAccessPointPreference(AccessPoint accessPoint, Context context,
50 super(accessPoint, context, cache, forSavedNetworks);
SavedAccessPointsWifiSettings.java 34 import com.android.settingslib.wifi.AccessPoint;
52 private AccessPoint mDlgAccessPoint;
54 private AccessPoint mSelectedAccessPoint;
96 final List<AccessPoint> accessPoints = WifiTracker.getCurrentAccessPoints(context, true,
98 Collections.sort(accessPoints, new Comparator<AccessPoint>() {
99 public int compare(AccessPoint ap1, AccessPoint ap2) {
123 private void showDialog(LongPressAccessPointPreference accessPoint, boolean edit) {
130 mDlgAccessPoint = accessPoint.getAccessPoint();
140 mDlgAccessPoint = new AccessPoint(getActivity(), mAccessPointSavedState)
    [all...]
WifiSettings.java 71 import com.android.settingslib.wifi.AccessPoint;
72 import com.android.settingslib.wifi.AccessPoint.AccessPointListener;
126 private AccessPoint mSelectedAccessPoint;
145 private AccessPoint mDlgAccessPoint;
469 mSelectedAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) {
486 } else if (mSelectedAccessPoint.getSecurity() == AccessPoint.SECURITY_NONE) {
519 if (mSelectedAccessPoint.getSecurity() == AccessPoint.SECURITY_NONE &&
536 private void showDialog(AccessPoint accessPoint, int dialogMode) {
537 if (accessPoint != null)
    [all...]
WifiConfigController.java 63 import com.android.settingslib.wifi.AccessPoint;
84 private final AccessPoint mAccessPoint;
116 // e.g. AccessPoint.SECURITY_NONE
163 public WifiConfigController(WifiConfigUiBase parent, View view, AccessPoint accessPoint,
168 mAccessPoint = accessPoint;
169 mAccessPointSecurity = (accessPoint == null) ? AccessPoint.SECURITY_NONE :
170 accessPoint.getSecurity();
292 String summary = AccessPoint.getSummary
    [all...]
WriteWifiConfigToNfcDialog.java 46 import com.android.settingslib.wifi.AccessPoint;
247 if (mSecurity == AccessPoint.SECURITY_WEP) {
249 } else if (mSecurity == AccessPoint.SECURITY_PSK) {
WifiStatusTest.java 40 import com.android.settingslib.wifi.AccessPoint;
297 String summary = AccessPoint.getSummary(this, info.getSSID(),
  /frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
AccessPointTest.java 23 import com.android.settingslib.wifi.AccessPoint.AccessPointListener;
35 private AccessPoint mAccessPoint;
46 mAccessPoint = new AccessPoint(mContext, wifiConfig);
84 ArgumentCaptor<AccessPoint> accessPoint = ArgumentCaptor.forClass(AccessPoint.class);
86 .onLevelChanged(accessPoint.capture());
87 assertEquals(mAccessPoint, accessPoint.getValue());
91 ArgumentCaptor<AccessPoint> accessPoint = ArgumentCaptor.forClass(AccessPoint.class)
    [all...]
WifiTrackerTest.java 143 List<AccessPoint> accessPoints = mWifiTracker.getAccessPoints();
167 List<AccessPoint> accessPoints = mWifiTracker.getAccessPoints();
191 List<AccessPoint> accessPoints = mWifiTracker.getAccessPoints();
216 List<AccessPoint> accessPoints = mWifiTracker.getAccessPoints();
241 List<AccessPoint> accessPoints = mWifiTracker.getAccessPoints();
317 ssid, ssid, levelToRssi(level), AccessPoint.LOWER_FREQ_24GHZ, 0));
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
WifiSecurity.java 23 import com.android.settingslib.wifi.AccessPoint;
58 public static WifiSecurity getSecurity(AccessPoint accessPoint) {
59 switch (accessPoint.getSecurity()) {
60 case AccessPoint.SECURITY_WEP: return WEP;
61 case AccessPoint.SECURITY_PSK: return PSK;
62 case AccessPoint.SECURITY_EAP: return EAP;
63 case AccessPoint.SECURITY_NONE: return NONE;
WifiDetailsFragment.java 32 import com.android.settingslib.wifi.AccessPoint;
59 private AccessPoint mAccessPoint;
61 public static void prepareArgs(@NonNull Bundle args, AccessPoint accessPoint) {
63 accessPoint.saveWifiState(apBundle);
71 mAccessPoint = new AccessPoint(getContext(),
122 final List<AccessPoint> accessPoints = mConnectivityListener.getAvailableNetworks();
123 for (final AccessPoint accessPoint : accessPoints) {
124 if (TextUtils.equals(mAccessPoint.getSsidStr(), accessPoint.getSsidStr()
    [all...]
NetworkFragment.java 30 import com.android.settingslib.wifi.AccessPoint;
40 AccessPoint.AccessPointListener {
229 final Collection<AccessPoint> accessPoints = mConnectivityListener.getAvailableNetworks();
231 for (final AccessPoint accessPoint : accessPoints) {
232 accessPoint.setListener(this);
233 AccessPointPreference pref = (AccessPointPreference) accessPoint.getTag();
235 pref = new AccessPointPreference(accessPoint, themedContext, mUserBadgeCache,
237 accessPoint.setTag(pref);
241 if (accessPoint.isActive())
    [all...]
WifiConnectionActivity.java 26 import com.android.settingslib.wifi.AccessPoint;
40 public static Intent createIntent(Context context, AccessPoint result, WifiSecurity security) {
46 public static Intent createIntent(Context context, AccessPoint result) {
ConnectivityListener.java 36 import com.android.settingslib.wifi.AccessPoint;
263 public List<AccessPoint> getAvailableNetworks() {
WifiConfigHelper.java 28 import com.android.settingslib.wifi.AccessPoint;
67 config.SSID = AccessPoint.convertToQuotedString(ssid);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
WifiTracker.java 84 private ArrayList<AccessPoint> mAccessPoints = new ArrayList<>();
236 public List<AccessPoint> getAccessPoints() {
264 for (AccessPoint accessPoint : getAccessPoints()) {
265 pw.println(" " + accessPoint);
320 List<AccessPoint> cachedAccessPoints = getAccessPoints();
321 ArrayList<AccessPoint> accessPoints = new ArrayList<>();
324 for (AccessPoint accessPoint : cachedAccessPoints) {
325 accessPoint.clearConfig()
    [all...]
AccessPointPreference.java 50 private AccessPoint mAccessPoint;
70 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache,
74 mAccessPoint = accessPoint;
88 public AccessPoint getAccessPoint() {
123 mWifiSld.setState((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE)
AccessPoint.java 54 public class AccessPoint implements Comparable<AccessPoint> {
55 static final String TAG = "SettingsLib.AccessPoint";
130 public AccessPoint(Context context, Bundle savedState) {
162 AccessPoint(Context context, ScanResult result) {
167 AccessPoint(Context context, WifiConfiguration config) {
173 public int compareTo(@NonNull AccessPoint other) {
200 if (!(other instanceof AccessPoint)) return false;
201 return (this.compareTo((AccessPoint) other) == 0);
216 StringBuilder builder = new StringBuilder().append("AccessPoint(")
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
NetworkController.java 23 import com.android.settingslib.wifi.AccessPoint;
89 int getIcon(AccessPoint ap);
90 boolean connect(AccessPoint ap);
94 void onAccessPointsChanged(List<AccessPoint> accessPoints);
AccessPointControllerImpl.java 29 import com.android.settingslib.wifi.AccessPoint;
105 public int getIcon(AccessPoint ap) {
110 public boolean connect(AccessPoint ap) {
117 if (ap.getSecurity() != AccessPoint.SECURITY_NONE) {
137 private void fireAcccessPointsCallback(List<AccessPoint> aps) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
WifiTile.java 32 import com.android.settingslib.wifi.AccessPoint;
270 private AccessPoint[] mAccessPoints;
316 public void onAccessPointsChanged(final List<AccessPoint> accessPoints) {
317 mAccessPoints = accessPoints.toArray(new AccessPoint[accessPoints.size()]);
332 final AccessPoint ap = (AccessPoint) item.tag;
357 final AccessPoint ap = mAccessPoints[i];
363 item.overlay = ap.getSecurity() != AccessPoint.SECURITY_NONE
  /external/libweave/src/privet/
device_ui_kind.cc 18 {"AC", "accessPoint"},
  /frameworks/base/core/java/com/android/internal/app/
IBatteryStats.aidl 106 void noteWifiState(int wifiState, String accessPoint);
  /frameworks/base/services/core/java/com/android/server/am/
BatteryStatsService.java 765 public void noteWifiState(int wifiState, String accessPoint) {
768 mStats.noteWifiStateLocked(wifiState, accessPoint);
    [all...]

Completed in 361 milliseconds

1 2