/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialogActivity.java | 259 final AccessPoint accessPoint = dialog.getController().getAccessPoint(); in onForget() 260 if (accessPoint != null) { in onForget() 261 if (!accessPoint.isSaved()) { in onForget() 262 if (accessPoint.getNetworkInfo() != null && in onForget() 263 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget() 266 AccessPoint.convertToQuotedString(accessPoint.getSsidStr())); in onForget() 269 Log.e(TAG, "Failed to forget invalid network " + accessPoint.getConfig()); in onForget() 272 mWifiManager.forget(accessPoint.getConfig().networkId, null /* listener */); in onForget() 277 if (accessPoint != null) { in onForget() 279 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 | 229 public WifiConfigController(WifiConfigUiBase parent, View view, AccessPoint accessPoint, in WifiConfigController() argument 231 this (parent, view, accessPoint, mode, true /* requestFocus */); in WifiConfigController() 234 public WifiConfigController(WifiConfigUiBase parent, View view, AccessPoint accessPoint, in WifiConfigController() argument 239 mAccessPoint = accessPoint; in WifiConfigController() 245 initWifiConfigController(accessPoint, mode); in WifiConfigController() 249 public WifiConfigController(WifiConfigUiBase parent, View view, AccessPoint accessPoint, in WifiConfigController() argument 254 mAccessPoint = accessPoint; in WifiConfigController() 257 initWifiConfigController(accessPoint, mode); in WifiConfigController() 260 private void initWifiConfigController(AccessPoint accessPoint, int mode) { in initWifiConfigController() argument 262 mAccessPointSecurity = (accessPoint == null) ? AccessPoint.SECURITY_NONE : in initWifiConfigController() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkFragment.java | 407 for (final AccessPoint accessPoint : newAccessPoints) { in updateWifiList() 408 accessPoint.setListener(this); in updateWifiList() 410 mPrefMap.get(accessPoint.getWifiEntry()); in updateWifiList() 413 pref = new TvAccessPointPreference(accessPoint, themedContext, mUserBadgeCache, in updateWifiList() 420 restrictedPref.setApSaved(accessPoint.isSaved()); in updateWifiList() 422 restrictedPref.setApSaved(accessPoint.isSaved()); in updateWifiList() 426 newPrefMap.put(accessPoint.getWifiEntry(), restrictedPref); in updateWifiList() 428 if (isCaptivePortal(accessPoint)) { in updateWifiList() 432 accessPoint.getWifiEntry().signIn(null); in updateWifiList() 435 } else if (accessPoint.isActive()) { in updateWifiList() [all …]
|
D | WifiDetailsFragment.java | 83 final AccessPoint accessPoint; field in WifiDetailsFragment.AccessPointBinder 85 public AccessPointBinder(AccessPoint accessPoint) { in AccessPointBinder() argument 86 this.accessPoint = accessPoint; in AccessPointBinder() 90 public static void prepareArgs(@NonNull Bundle args, AccessPoint accessPoint) { in prepareArgs() argument 91 args.putBinder(ARG_ACCESS_POINT_STATE, DataBinder.with(accessPoint)); in prepareArgs() 138 for (final AccessPoint accessPoint : accessPoints) { in onWifiListChanged() 139 if (TextUtils.equals(mAccessPoint.getSsidStr(), accessPoint.getSsidStr()) in onWifiListChanged() 140 && mAccessPoint.getSecurity() == accessPoint.getSecurity()) { in onWifiListChanged() 143 mAccessPoint = accessPoint; in onWifiListChanged() 293 public static void prepareArgs(@NonNull Bundle args, AccessPoint accessPoint) { in prepareArgs() argument [all …]
|
D | NetworkRequestDialogFragment.java | 365 final AccessPoint accessPoint = getItem(position); in getView() local 371 titleView.setText(accessPoint.getTitle()); in getView() 376 final String summaryString = accessPoint.getSettingsSummary(); in getView() 386 final int level = accessPoint.getLevel(); in getView() 500 for (AccessPoint accessPoint : allAccessPoints) { in getAccessPoints() 501 final String key = accessPoint.getKey(); in getAccessPoints() 503 result.add(accessPoint); in getAccessPoints()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | ConnectState.java | 220 for (AccessPoint accessPoint : mConnectivityListener.getAvailableNetworks()) { in getEntryForNetworkId() 221 if (accessPoint.getConfig() != null in getEntryForNetworkId() 222 && accessPoint.getConfig().networkId == networkId) { in getEntryForNetworkId() 223 result = accessPoint.getWifiEntry(); in getEntryForNetworkId() 224 } else if (accessPoint.getWifiEntry().canDisconnect()) { in getEntryForNetworkId() 225 accessPoint.getWifiEntry().disconnect(null); in getEntryForNetworkId() 234 for (AccessPoint accessPoint : mConnectivityListener.getAvailableNetworks()) { in getEntryForConfiguration() 235 if (AccessPoint.convertToQuotedString(accessPoint.getSsidStr()) in getEntryForConfiguration() 237 && accessPoint.getWifiEntry().getSecurityTypes() in getEntryForConfiguration() 239 result = accessPoint.getWifiEntry(); in getEntryForConfiguration() [all …]
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | WifiDetailsState.java | 81 public static void prepareArgs(@NonNull Bundle args, AccessPoint accessPoint) { in prepareArgs() argument 82 args.putBinder(ARG_ACCESS_POINT_STATE, DataBinder.with(accessPoint)); in prepareArgs() 161 for (final AccessPoint accessPoint : accessPoints) { in onWifiListChanged() 162 if (TextUtils.equals(mAccessPoint.getSsidStr(), accessPoint.getSsidStr()) in onWifiListChanged() 163 && mAccessPoint.getSecurity() == accessPoint.getSecurity()) { in onWifiListChanged() 166 mAccessPoint = accessPoint; in onWifiListChanged() 282 PreferenceCompat preferenceCompat, Context context, AccessPoint accessPoint, in updateRestrictedPreference() argument 284 WifiConfiguration wifiConfiguration = accessPoint.getConfig(); in updateRestrictedPreference()
|
D | NetworkState.java | 177 for (final AccessPoint accessPoint : accessPoints) { in updateWifiList() 178 accessPoint.setListener(this); in updateWifiList() 183 accessPoint, new String[]{KEY_WIFI_LIST, accessPoint.getKey()}); in updateWifiList() 290 public void onAccessPointChanged(AccessPoint accessPoint) { in onAccessPointChanged() argument 292 new String[]{KEY_WIFI_LIST, accessPoint.getKey()}); in onAccessPointChanged() 299 public void onLevelChanged(AccessPoint accessPoint) { in onLevelChanged() argument 301 new String[]{KEY_WIFI_LIST, accessPoint.getKey()}); in onLevelChanged()
|
D | AccessPointPreferenceController.java | 46 PreferenceCompatManager preferenceCompatManager, AccessPoint accessPoint, in AccessPointPreferenceController() argument 49 mAccessPoint = accessPoint; in AccessPointPreferenceController() 95 private boolean isCaptivePortal(AccessPoint accessPoint) { in isCaptivePortal() argument 99 if (accessPoint.getWifiEntry().getConnectedState() != WifiEntry.CONNECTED_STATE_CONNECTED) { in isCaptivePortal()
|
D | WifiUtils.java | 33 public static String buildLoggingSummary(AccessPoint accessPoint, WifiConfiguration config) { in buildLoggingSummary() argument 35 final WifiInfo info = accessPoint.getInfo(); in buildLoggingSummary() 38 if (accessPoint.isActive() && info != null) { in buildLoggingSummary()
|
D | ProxySettingsPreferenceController.java | 41 PreferenceCompatManager preferenceCompatManager, AccessPoint accessPoint) { in ProxySettingsPreferenceController() argument 43 mAccessPoint = accessPoint; in ProxySettingsPreferenceController()
|
D | IpSettingsPreferenceController.java | 40 PreferenceCompatManager preferenceCompatManager, AccessPoint accessPoint) { in IpSettingsPreferenceController() argument 42 mAccessPoint = accessPoint; in IpSettingsPreferenceController()
|
D | ForgetNetworkPreferenceController.java | 44 PreferenceCompatManager preferenceCompatManager, AccessPoint accessPoint) { in ForgetNetworkPreferenceController() argument 46 mAccessPoint = accessPoint; in ForgetNetworkPreferenceController()
|
D | AccessPoint.java | 292 void onAccessPointChanged(AccessPoint accessPoint); in onAccessPointChanged() argument 306 void onLevelChanged(AccessPoint accessPoint); in onLevelChanged() argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
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()
|
D | AccessPointPreference.java | 86 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() argument 88 this(accessPoint, context, cache, 0 /* iconResId */, forSavedNetworks); in AccessPointPreference() 92 public AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() argument 94 this(accessPoint, context, cache, iconResId, forSavedNetworks, in AccessPointPreference() 99 AccessPointPreference(AccessPoint accessPoint, Context context, UserBadgeCache cache, in AccessPointPreference() argument 106 mAccessPoint = accessPoint; in AccessPointPreference()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 224 WifiManager wifiManager, AccessPoint accessPoint) { in getConfiguratorQrCodeGeneratorIntentOrNull() argument 226 if (isSupportConfiguratorQrCodeGenerator(context, accessPoint)) { in getConfiguratorQrCodeGeneratorIntentOrNull() 232 final WifiConfiguration wifiConfiguration = accessPoint.getConfig(); in getConfiguratorQrCodeGeneratorIntentOrNull() 236 if (accessPoint.isPskSaeTransitionMode()) { in getConfiguratorQrCodeGeneratorIntentOrNull() 483 AccessPoint accessPoint) { in isSupportConfiguratorQrCodeGenerator() argument 484 if (accessPoint.isPasspoint()) { in isSupportConfiguratorQrCodeGenerator() 487 return isSupportZxing(context, accessPoint.getSecurity()); in isSupportConfiguratorQrCodeGenerator()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkRequestStoreDataTest.java | 116 AccessPoint accessPoint = new AccessPoint( in serializeDeserializeSingleNetworkRequestFromSingleApp() local 119 Set<AccessPoint> accessPoints = Set.of(accessPoint); in serializeDeserializeSingleNetworkRequestFromSingleApp()
|
D | WifiScoreCardTest.java | 696 AccessPoint accessPoint = network.getAccessPoints(0); in testNetworksSerialization() local 698 accessPoint); in testNetworksSerialization()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 392 WifiConfigUiBase parent, View view, AccessPoint accessPoint, int mode) { in TestWifiConfigController() argument 393 super(parent, view, accessPoint, mode); in TestWifiConfigController() 397 WifiConfigUiBase parent, View view, AccessPoint accessPoint, int mode, in TestWifiConfigController() argument 399 super(parent, view, accessPoint, mode, wifiManager); in TestWifiConfigController()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkFactory.java | 1817 AccessPoint accessPoint = in isAccessPointApprovedInInternalApprovalList() 1819 if (approvedAccessPoints.contains(accessPoint)) { in isAccessPointApprovedInInternalApprovalList() 1821 approvedAccessPoints.remove(accessPoint); in isAccessPointApprovedInInternalApprovalList() 1822 approvedAccessPoints.add(accessPoint); in isAccessPointApprovedInInternalApprovalList()
|