/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...] |
LongPressAccessPointPreference.java | 23 import com.android.settingslib.wifi.AccessPoint; 30 public LongPressAccessPointPreference(AccessPoint accessPoint, Context context, 32 super(accessPoint, context, cache, forSavedNetworks); 36 public LongPressAccessPointPreference(AccessPoint accessPoint, Context context, 38 super(accessPoint, context, cache, iconResId, forSavedNetworks);
|
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;
|
SavedAccessPointsWifiSettings.java | 39 import com.android.settingslib.wifi.AccessPoint; 55 private static final Comparator<AccessPoint> SAVED_NETWORK_COMPARATOR = 56 new Comparator<AccessPoint>() { 59 public int compare(AccessPoint ap1, AccessPoint ap2) { 83 private AccessPoint mDlgAccessPoint; 85 private AccessPoint mSelectedAccessPoint; 127 final List<AccessPoint> accessPoints = 146 private void showDialog(LongPressAccessPointPreference accessPoint, boolean edit) { 153 mDlgAccessPoint = accessPoint.getAccessPoint() [all...] |
WifiSettings.java | 70 import com.android.settingslib.wifi.AccessPoint; 71 import com.android.settingslib.wifi.AccessPoint.AccessPointListener; 139 private AccessPoint mSelectedAccessPoint; 158 private AccessPoint mDlgAccessPoint; 501 mSelectedAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) { 519 } else if (mSelectedAccessPoint.getSecurity() == AccessPoint.SECURITY_NONE) { 565 if (mSelectedAccessPoint.getSecurity() == AccessPoint.SECURITY_NONE) { 587 private void showDialog(AccessPoint accessPoint, int dialogMode) { 588 if (accessPoint != null) [all...] |
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
AccessPointTest.java | 70 final AccessPoint ap = new AccessPoint(InstrumentationRegistry.getTargetContext(), bundle); 88 AccessPoint originalAccessPoint = new AccessPoint(mContext, configuration); 93 AccessPoint copy = new AccessPoint(mContext, originalAccessPoint); 105 AccessPoint original = createAccessPointWithScanResultCache(); 107 AccessPoint copy = new AccessPoint(mContext, createWifiConfiguration()); 108 assertThat(copy.getRssi()).isEqualTo(AccessPoint.UNREACHABLE_RSSI) [all...] |
TestAccessPointBuilder.java | 27 * Build and return a valid AccessPoint. 29 * Only intended for testing the AccessPoint class; 39 private int mRssi = AccessPoint.UNREACHABLE_RSSI; 54 public AccessPoint build() { 60 bundle.putString(AccessPoint.KEY_SSID, ssid); 61 bundle.putParcelable(AccessPoint.KEY_CONFIG, wifiConfig); 62 bundle.putParcelable(AccessPoint.KEY_NETWORKINFO, mNetworkInfo); 63 bundle.putParcelable(AccessPoint.KEY_WIFIINFO, mWifiInfo); 65 bundle.putString(AccessPoint.KEY_FQDN, mFqdn); 68 bundle.putString(AccessPoint.KEY_PROVIDER_FRIENDLY_NAME, mProviderFriendlyName) [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
WifiTracker.java | 107 private final List<AccessPoint> mAccessPoints = new ArrayList<>(); 115 private final List<AccessPoint> mInternalAccessPoints = new ArrayList<>(); 372 public List<AccessPoint> getAccessPoints() { 400 for (AccessPoint accessPoint : getAccessPoints()) { 401 pw.println(" " + accessPoint); 469 List<AccessPoint> cachedAccessPoints = new ArrayList<>(mInternalAccessPoints); 470 ArrayList<AccessPoint> accessPoints = new ArrayList<>(); 473 for (AccessPoint accessPoint : cachedAccessPoints) [all...] |
WifiSavedConfigUtils.java | 32 * Passpoint profiles, represented by {@link AccessPoint}. 36 * @return List of {@link AccessPoint} 38 public static List<AccessPoint> getAllConfigs(Context context, WifiManager wifiManager) { 39 List<AccessPoint> savedConfigs = new ArrayList<>(); 53 savedConfigs.add(new AccessPoint(context, network)); 59 savedConfigs.add(new AccessPoint(context, config));
|
AccessPointPreference.java | 58 private AccessPoint mAccessPoint; 80 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, 85 mAccessPoint = accessPoint; 105 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, 110 mAccessPoint = accessPoint; 130 public AccessPoint getAccessPoint() { 183 if (mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) {
|
AccessPoint.java | 62 public class AccessPoint implements Comparable<AccessPoint> { 63 static final String TAG = "SettingsLib.AccessPoint"; 154 // used to co-relate internal vs returned accesspoint. 164 public AccessPoint(Context context, Bundle savedState) { 203 public AccessPoint(Context context, WifiConfiguration config) { 210 * Initialize an AccessPoint object for a {@link PasspointConfiguration}. This is mainly 213 public AccessPoint(Context context, PasspointConfiguration config) { 220 AccessPoint(Context context, AccessPoint other) [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
AccessPointListAdapter.java | 39 import com.android.settingslib.wifi.AccessPoint; 44 * Renders {@link AccessPoint} to a view to be displayed as a row in a list. 61 private List<AccessPoint> mAccessPoints; 64 @NonNull List<AccessPoint> accesssPoints) { 84 public void updateAccessPoints(@NonNull List<AccessPoint> accesssPoints) { 107 private final AccessPoint mAccessPoint; 109 public AccessPointClickListener(AccessPoint accessPoint) { 110 mAccessPoint = accessPoint; 116 if (mAccessPoint.getSecurity() == AccessPoint.SECURITY_NONE & [all...] |
CarWifiManager.java | 24 import com.android.settingslib.wifi.AccessPoint; 98 public List<AccessPoint> getAccessPoints() { 99 List<AccessPoint> accessPoints = new ArrayList<AccessPoint>(); 101 for (AccessPoint accessPoint : mWifiTracker.getAccessPoints()) { 103 if (accessPoint.getLevel() != -1) { 104 accessPoints.add(accessPoint); 123 public void connectToPublicWifi(AccessPoint accessPoint, WifiManager.ActionListener listener) [all...] |
AddWifiActivity.java | 29 import com.android.settingslib.wifi.AccessPoint; 35 * in the intent, then it needs to contain AccessPoint information, which is be use that to 42 private AccessPoint mAccessPoint; 100 case AccessPoint.SECURITY_NONE: 105 case AccessPoint.SECURITY_WEP: 112 case AccessPoint.SECURITY_PSK: 113 case AccessPoint.SECURITY_EAP: 150 mAccessPoint = new AccessPoint(this, bundle);
|
WifiDetailActivity.java | 31 import com.android.settingslib.wifi.AccessPoint; 44 private AccessPoint mAccessPoint; 75 mAccessPoint = new AccessPoint(this, getIntent().getExtras()); 124 AccessPoint.convertToQuotedString(mAccessPoint.getSsidStr()));
|
/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(), 130 final List<AccessPoint> accessPoints = mConnectivityListener.getAvailableNetworks(); 131 for (final AccessPoint accessPoint : accessPoints) { 132 if (TextUtils.equals(mAccessPoint.getSsidStr(), accessPoint.getSsidStr() [all...] |
NetworkFragment.java | 31 import com.android.settingslib.wifi.AccessPoint; 41 AccessPoint.AccessPointListener { 240 final Collection<AccessPoint> accessPoints = mConnectivityListener.getAvailableNetworks(); 242 for (final AccessPoint accessPoint : accessPoints) { 243 accessPoint.setListener(this); 244 AccessPointPreference pref = (AccessPointPreference) accessPoint.getTag(); 246 pref = new AccessPointPreference(accessPoint, themedContext, mUserBadgeCache, 248 accessPoint.setTag(pref); 252 if (accessPoint.isActive()) [all...] |
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/ |
Tcp6.c | 153 pRemoteAddress->sin6_port = SwapBytes16 ( pTcp6->ConfigData.AccessPoint.RemotePort );
155 &pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[0],
156 sizeof ( pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr ));
223 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[0],
224 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[1],
225 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[2],
226 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[3],
227 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[4],
228 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[5],
229 pTcp6->ConfigData.AccessPoint.RemoteAddress.Addr[6], [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
WifiNetworkDetailsFragment.java | 30 import com.android.settingslib.wifi.AccessPoint; 38 * <p>The AccessPoint should be saved to the intent Extras when launching this class via 39 * {@link AccessPoint#saveWifiState(Bundle)} in order to properly render this page. 44 private AccessPoint mAccessPoint; 49 mAccessPoint = new AccessPoint(context, getArguments());
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
TcpDispatcher.c | 77 EFI_TCP4_ACCESS_POINT *AccessPoint;
94 AccessPoint = &(ConfigData->AccessPoint);
100 AccessPoint->UseDefaultAddress = Tcb->UseDefaultAddr;
102 IP4_COPY_ADDRESS (&AccessPoint->StationAddress, &Tcb->LocalEnd.Ip);
104 IP4_COPY_ADDRESS (&AccessPoint->SubnetMask, &Tcb->SubnetMask);
105 AccessPoint->StationPort = NTOHS (Tcb->LocalEnd.Port);
107 IP4_COPY_ADDRESS (&AccessPoint->RemoteAddress, &Tcb->RemoteEnd.Ip);
109 AccessPoint->RemotePort = NTOHS (Tcb->RemoteEnd.Port);
110 AccessPoint->ActiveFlag = (BOOLEAN) (Tcb->State != TCP_LISTEN); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
Tcp4Dispatcher.c | 80 EFI_TCP4_ACCESS_POINT *AccessPoint;
97 AccessPoint = &(ConfigData->AccessPoint);
103 AccessPoint->UseDefaultAddress = Tcb->UseDefaultAddr;
105 IP4_COPY_ADDRESS (&AccessPoint->StationAddress, &Tcb->LocalEnd.Ip);
106 IP4_COPY_ADDRESS (&AccessPoint->SubnetMask, &Tcb->SubnetMask);
107 AccessPoint->StationPort = NTOHS (Tcb->LocalEnd.Port);
109 IP4_COPY_ADDRESS (&AccessPoint->RemoteAddress, &Tcb->RemoteEnd.Ip);
110 AccessPoint->RemotePort = NTOHS (Tcb->RemoteEnd.Port);
111 AccessPoint->ActiveFlag = (BOOLEAN) (Tcb->State != TCP_LISTEN); [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
WifiConfigControllerTest.java | 29 import com.android.settingslib.wifi.AccessPoint; 50 @Mock private AccessPoint mAccessPoint; 68 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); 129 AccessPoint accessPoint, int mode) { 130 super(parent, view, accessPoint, mode);
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
WifiSettingsUiTest.java | 51 import com.android.settingslib.wifi.AccessPoint; 116 AccessPoint accessPoint = new AccessPoint(mContext, config); 117 accessPoint.update(config, wifiInfo, networkInfo); 119 assertThat(accessPoint.getSsidStr()).isEqualTo(TEST_UNQUOTED_SSID); 120 assertThat(accessPoint.getBssid()).isEqualTo(TEST_BSSID); 121 assertThat(accessPoint.getNetworkInfo()).isNotNull(); 122 assertThat(accessPoint.isActive()).isTrue(); 123 assertThat(accessPoint.getSettingsSummary()).isEqualTo(CONNECTED) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkController.java | 24 import com.android.settingslib.wifi.AccessPoint; 107 int getIcon(AccessPoint ap); 108 boolean connect(AccessPoint ap); 112 void onAccessPointsChanged(List<AccessPoint> accessPoints);
|