/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialogActivity.java | 228 final AccessPoint accessPoint = dialog.getController().getAccessPoint(); in onForget() local 229 if (accessPoint != null) { in onForget() 230 if (!accessPoint.isSaved()) { in onForget() 231 if (accessPoint.getNetworkInfo() != null && in onForget() 232 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget() 235 AccessPoint.convertToQuotedString(accessPoint.getSsidStr())); in onForget() 238 Log.e(TAG, "Failed to forget invalid network " + accessPoint.getConfig()); in onForget() 241 wifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget() 246 if (accessPoint != null) { in onForget() 248 accessPoint.saveWifiState(accessPointState); in onForget() [all …]
|
D | WifiDialog.java | 71 AccessPoint accessPoint, int mode) { in createModal() argument 72 return new WifiDialog(context, listener, accessPoint, mode, 0 /* style */, in createModal() 81 AccessPoint accessPoint, int mode, @StyleRes int style) { in createModal() argument 82 return new WifiDialog(context, listener, accessPoint, mode, style, in createModal() 86 /* package */ WifiDialog(Context context, WifiDialogListener listener, AccessPoint accessPoint, in WifiDialog() argument 91 mAccessPoint = accessPoint; in WifiDialog()
|
D | WifiConfigController.java | 220 public WifiConfigController(WifiConfigUiBase parent, View view, AccessPoint accessPoint, in WifiConfigController() argument 222 this (parent, view, accessPoint, mode, true /* requestFocus */); in WifiConfigController() 225 public WifiConfigController(WifiConfigUiBase parent, View view, AccessPoint accessPoint, in WifiConfigController() argument 230 mAccessPoint = accessPoint; in WifiConfigController() 236 initWifiConfigController(accessPoint, mode); in WifiConfigController() 240 public WifiConfigController(WifiConfigUiBase parent, View view, AccessPoint accessPoint, in WifiConfigController() argument 245 mAccessPoint = accessPoint; in WifiConfigController() 248 initWifiConfigController(accessPoint, mode); in WifiConfigController() 251 private void initWifiConfigController(AccessPoint accessPoint, int mode) { in initWifiConfigController() argument 253 mAccessPointSecurity = (accessPoint == null) ? AccessPoint.SECURITY_NONE : in initWifiConfigController() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/network/ |
D | NetworkMainState.java | 162 for (final AccessPoint accessPoint : accessPoints) { in updateWifiList() 163 accessPoint.setListener(this); in updateWifiList() 165 new String[]{KEY_WIFI_LIST, accessPoint.getKey()}); in updateWifiList() 166 accessPointPref.setTitle(accessPoint.getTitle()); in updateWifiList() 169 String.valueOf(accessPoint.getLevel())); in updateWifiList() 170 if (accessPoint.isActive() && !isCaptivePortal(accessPoint)) { in updateWifiList() 172 accessPoint.saveWifiState(apBundle); in updateWifiList() 179 WifiConnectionActivity.createIntent(mContext, accessPoint)); in updateWifiList() 308 public void onAccessPointChanged(AccessPoint accessPoint) { in onAccessPointChanged() argument 310 new String[]{KEY_WIFI_LIST, accessPoint.getKey()}); in onAccessPointChanged() [all …]
|
D | NetworkModule.java | 127 AccessPoint accessPoint = new AccessPoint(mContext, extras); in getAccessPoint() local 129 return accessPoint; in getAccessPoint() 134 accessPoint.getKey())) in getAccessPoint() 136 return matched == null ? accessPoint : new AccessPoint(mContext, matched.getExtras()); in getAccessPoint()
|
D | WifiDetailsState.java | 167 for (final AccessPoint accessPoint : accessPoints) { in onWifiListChanged() 168 if (TextUtils.equals(mAccessPoint.getSsidStr(), accessPoint.getSsidStr()) in onWifiListChanged() 169 && mAccessPoint.getSecurity() == accessPoint.getSecurity()) { in onWifiListChanged() 172 mAccessPoint = accessPoint; in onWifiListChanged()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiUtils.java | 71 public static WifiConfiguration getWifiConfig(AccessPoint accessPoint, ScanResult scanResult, in getWifiConfig() argument 73 if (accessPoint == null && scanResult == null) { in getWifiConfig() 81 if (accessPoint == null) { in getWifiConfig() 85 if (!accessPoint.isSaved()) { in getWifiConfig() 87 accessPoint.getSsidStr()); in getWifiConfig() 89 config.networkId = accessPoint.getConfig().networkId; in getWifiConfig() 90 config.hiddenSSID = accessPoint.getConfig().hiddenSSID; in getWifiConfig() 92 security = accessPoint.getSecurity(); in getWifiConfig()
|
D | NetworkFragment.java | 384 for (final AccessPoint accessPoint : accessPoints) { in updateWifiList() 385 accessPoint.setListener(this); in updateWifiList() 387 (RestrictedPreferenceAdapter<TvAccessPointPreference>) accessPoint.getTag(); in updateWifiList() 390 pref = new TvAccessPointPreference(accessPoint, themedContext, mUserBadgeCache, in updateWifiList() 394 accessPoint.setTag(restrictedPref); in updateWifiList() 399 if (accessPoint.isActive() && !isCaptivePortal(accessPoint)) { in updateWifiList() 403 WifiDetailsFragment.prepareArgs(pref.getExtras(), accessPoint); in updateWifiList() local 407 pref.setIntent(WifiConnectionActivity.createIntent(getContext(), accessPoint)); in updateWifiList() local 414 pref.setVisible(!restrictedPref.isRestricted() || accessPoint.isSaved()); in updateWifiList() 429 private boolean isCaptivePortal(AccessPoint accessPoint) { in isCaptivePortal() argument [all …]
|
D | WifiDetailsFragment.java | 80 public static void prepareArgs(@NonNull Bundle args, AccessPoint accessPoint) { in prepareArgs() argument 82 accessPoint.saveWifiState(apBundle); in prepareArgs() 132 for (final AccessPoint accessPoint : accessPoints) { in onWifiListChanged() 133 if (TextUtils.equals(mAccessPoint.getSsidStr(), accessPoint.getSsidStr()) in onWifiListChanged() 134 && mAccessPoint.getSecurity() == accessPoint.getSecurity()) { in onWifiListChanged() 137 mAccessPoint = accessPoint; in onWifiListChanged() 289 public static void prepareArgs(@NonNull Bundle args, AccessPoint accessPoint) { in prepareArgs() argument 291 accessPoint.saveWifiState(apBundle); in prepareArgs()
|
D | NetworkRequestDialogFragment.java | 367 final AccessPoint accessPoint = getItem(position); in getView() local 373 titleView.setText(accessPoint.getTitle()); in getView() 378 final String summaryString = accessPoint.getSettingsSummary(); in getView() 388 final int level = accessPoint.getLevel(); in getView() 502 for (AccessPoint accessPoint : allAccessPoints) { in getAccessPoints() 503 final String key = accessPoint.getKey(); in getAccessPoints() 505 result.add(accessPoint); in getAccessPoints()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | ConnectState.java | 205 for (AccessPoint accessPoint : accessPointList) { in onWifiListChanged() 206 if (accessPoint != null && AccessPoint.convertToQuotedString( in onWifiListChanged() 207 accessPoint.getSsidStr()).equals(mWifiConfiguration.SSID)) { in onWifiListChanged() 208 inferConnectionStatus(accessPoint); in onWifiListChanged() 214 private void inferConnectionStatus(AccessPoint accessPoint) { in inferConnectionStatus() argument 215 WifiConfiguration configuration = accessPoint.getConfig(); in inferConnectionStatus() 251 accessPoint.clearConfig(); in inferConnectionStatus()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 208 WifiManager wifiManager, AccessPoint accessPoint) { in getConfiguratorQrCodeGeneratorIntentOrNull() argument 210 if (isSupportConfiguratorQrCodeGenerator(context, accessPoint)) { in getConfiguratorQrCodeGeneratorIntentOrNull() 216 final WifiConfiguration wifiConfiguration = accessPoint.getConfig(); in getConfiguratorQrCodeGeneratorIntentOrNull() 220 if (accessPoint.isPskSaeTransitionMode()) { in getConfiguratorQrCodeGeneratorIntentOrNull() 418 AccessPoint accessPoint) { in isSupportConfiguratorQrCodeGenerator() argument 419 if (accessPoint.isPasspoint()) { in isSupportConfiguratorQrCodeGenerator() 422 return isSupportZxing(context, accessPoint.getSecurity()); in isSupportConfiguratorQrCodeGenerator()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | AccessPointPreference.java | 87 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() argument 89 this(accessPoint, context, cache, 0 /* iconResId */, forSavedNetworks); in AccessPointPreference() 93 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() argument 95 this(accessPoint, context, cache, iconResId, forSavedNetworks, in AccessPointPreference() 100 AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() argument 107 mAccessPoint = accessPoint; in AccessPointPreference()
|
D | TvAccessPointPreference.java | 36 public TvAccessPointPreference(AccessPoint accessPoint, Context context, in TvAccessPointPreference() argument 38 super(accessPoint, context, cache, forSavedNetworks); in TvAccessPointPreference() 39 mAccessPoint = accessPoint; in TvAccessPointPreference()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkRequestStoreDataTest.java | 117 AccessPoint accessPoint = new AccessPoint( in serializeDeserializeSingleNetworkRequestFromSingleApp() local 121 add(accessPoint); in serializeDeserializeSingleNetworkRequestFromSingleApp()
|
D | WifiScoreCardTest.java | 697 AccessPoint accessPoint = network.getAccessPoints(0); in testNetworksSerialization() local 699 accessPoint); in testNetworksSerialization()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 384 WifiConfigUiBase parent, View view, AccessPoint accessPoint, int mode) { in TestWifiConfigController() argument 385 super(parent, view, accessPoint, mode); in TestWifiConfigController() 389 WifiConfigUiBase parent, View view, AccessPoint accessPoint, int mode, in TestWifiConfigController() argument 391 super(parent, view, accessPoint, mode, wifiManager); in TestWifiConfigController()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkFactory.java | 1592 AccessPoint accessPoint = in isAccessPointApprovedInInternalApprovalList() 1594 if (!approvedAccessPoints.contains(accessPoint)) return false; in isAccessPointApprovedInInternalApprovalList() 1596 approvedAccessPoints.remove(accessPoint); in isAccessPointApprovedInInternalApprovalList() 1597 approvedAccessPoints.add(accessPoint); in isAccessPointApprovedInInternalApprovalList()
|