/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | SecurityParams.java | 60 private @SecurityType int mSecurityType = WifiConfiguration.SECURITY_TYPE_PSK; field in SecurityParams 139 this.mSecurityType = source.mSecurityType; in SecurityParams() 166 if (this.mSecurityType != that.mSecurityType) return false; in equals() 187 return Objects.hash(mSecurityType, mEnabled, in hashCode() 200 return mSecurityType; in getSecurityType() 210 return type == mSecurityType; in isSecurityType() 220 return params.mSecurityType == mSecurityType; in isSameSecurityType() 432 sbuf.append(" Type: ").append(mSecurityType).append("\n"); in toString() 548 dest.writeInt(mSecurityType); in writeToParcel() 567 params.mSecurityType = in.readInt(); in createFromParcel() [all …]
|
D | SoftApConfiguration.java | 220 private final @SecurityType int mSecurityType; field in SoftApConfiguration 340 mSecurityType = securityType; in SoftApConfiguration() 367 && mSecurityType == other.mSecurityType in equals() 384 mChannels.toString(), mSecurityType, mMaxNumberOfClients, mAutoShutdownEnabled, in hashCode() 422 dest.writeInt(mSecurityType); in writeToParcel() 621 return mSecurityType; in getSecurityType() 813 switch (mSecurityType) { in toWifiConfiguration() 822 Log.e(TAG, "Convert fail, unsupported security type :" + mSecurityType); in toWifiConfiguration() 863 private int mSecurityType; field in SoftApConfiguration.Builder 885 mSecurityType = SECURITY_TYPE_OPEN; in Builder() [all …]
|
D | WifiInfo.java | 113 private int mSecurityType; field in WifiInfo 439 mSecurityType = -1; in WifiInfo() 479 mSecurityType = -1; in reset() 546 mSecurityType = source.mSecurityType; in WifiInfo() 1192 .append(", Security type: ").append(mSecurityType) in toString() 1282 dest.writeInt(mSecurityType); in writeToParcel() 1337 info.mSecurityType = in.readInt(); 1481 && Objects.equals(mSecurityType, thatWifiInfo.mSecurityType); in equals() 1526 mSecurityType); in hashCode() 1560 mSecurityType = convertSecurityTypeToWifiInfo(securityType); in setCurrentSecurityType() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherSecurityPreferenceController.java | 38 private int mSecurityType; field in WifiTetherSecurityPreferenceController 57 mSecurityType = getCarSoftApConfig().getSecurityType(); in onCreateInternal() 64 getPreference().setValue(String.valueOf(mSecurityType)); in onCreateInternal() 70 mSecurityType = Integer.parseInt(newValue.toString()); in handlePreferenceChanged() 76 mSharedPreferences.edit().putInt(KEY_SECURITY_TYPE, mSecurityType).commit(); in handlePreferenceChanged() 84 preference.setValue(Integer.toString(mSecurityType)); in updateState() 89 int stringResId = mSecurityType == SoftApConfiguration.SECURITY_TYPE_WPA2_PSK in getSummary()
|
D | WifiTetherPasswordPreferenceController.java | 61 private int mSecurityType; field in WifiTetherPasswordPreferenceController 77 mSecurityType = getCarSoftApConfig().getSecurityType(); in onCreateInternal() 86 if (mSecurityType != newSecurityType && newSecurityType != SHARED_SECURITY_TYPE_UNSET) { in onStartInternal() 88 mSecurityType = newSecurityType; in onStartInternal() 133 if (mSecurityType == SoftApConfiguration.SECURITY_TYPE_OPEN) { in getSyncedPassword() 161 if (mSecurityType == SoftApConfiguration.SECURITY_TYPE_OPEN) { in updateApSecurity() 168 .setPassphrase(passwordOrNullIfOpen, mSecurityType) in updateApSecurity() 179 getPreference().setVisible(mSecurityType != SoftApConfiguration.SECURITY_TYPE_OPEN); in updatePasswordDisplay()
|
D | AddWifiFragment.java | 67 mSecurityType = intent.getIntExtra( 93 private int mSecurityType = WifiEntry.SECURITY_NONE; field in AddWifiFragment 111 mSecurityType = savedInstanceState.getInt(KEY_SECURITY_TYPE, WifiEntry.SECURITY_NONE); in onCreate() 119 mSecurityType, /* password= */ null, /* hidden= */ true, in onCreate() 140 outState.putInt(KEY_SECURITY_TYPE, mSecurityType); in onSaveInstanceState() 160 !TextUtils.isEmpty(mNetworkName) && WifiUtil.isOpenNetwork(mSecurityType)); in setButtonEnabledState()
|
D | WifiEntrySecurity.java | 33 private final int mSecurityType; field in WifiEntrySecurity 57 mSecurityType = securityType; in WifiEntrySecurity() 61 return mSecurityType; in getSecurityType() 66 switch(mSecurityType) { in toString()
|
D | NetworkPasswordPreferenceController.java | 59 mSecurityType = intent.getIntExtra( 84 private int mSecurityType = WifiEntry.SECURITY_NONE; field in NetworkPasswordPreferenceController 117 preference.setVisible(!WifiUtil.isOpenNetwork(mSecurityType)); in updateState() 124 WifiUtil.connectToWifiEntry(getContext(), mNetworkName, mSecurityType, in handlePreferenceChanged() local
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherPasswordPreferenceController.java | 49 private int mSecurityType; field in WifiTetherPasswordPreferenceController 81 mSecurityType = config.getSecurityType(); in updateDisplay() 126 mSecurityType = securityType; in setSecurityType() 132 return WifiUtils.isHotspotPasswordValid(value, mSecurityType); in isTextValid()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | WifiInfo.java | 187 securityType = builder.mSecurityType; in WifiInfo() 218 private String mSecurityType; field in WifiInfo.Builder 243 mSecurityType = securityType; in setSecurityType()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiScoreCard.java | 776 private SecurityType mSecurityType = null; field in WifiScoreCard.PerBssid 823 return mSecurityType; in getSecurityType() 827 if (!Objects.equals(securityType, mSecurityType)) { in setSecurityType() 828 mSecurityType = securityType; in setSecurityType() 848 if (mSecurityType != null) { in toAccessPoint() 849 builder.setSecurityType(mSecurityType); in toAccessPoint() 864 if (mSecurityType == null) { in merge() 865 mSecurityType = prev; in merge() 866 } else if (!mSecurityType.equals(prev)) { in merge() 869 + "SecurityType changed: " + prev + " to " + mSecurityType); in merge()
|