Home
last modified time | relevance | path

Searched refs:mSecurityType (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherPasswordPreferenceController.java61 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()
DWifiTetherSecurityPreferenceController.java38 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()
DAddWifiFragment.java64 mSecurityType = intent.getIntExtra(
90 private int mSecurityType = AccessPoint.SECURITY_NONE; field in AddWifiFragment
108 mSecurityType = savedInstanceState.getInt(KEY_SECURITY_TYPE, AccessPoint.SECURITY_NONE); in onCreate()
116 mSecurityType, /* password= */ null, /* hidden= */ true, in onCreate()
137 outState.putInt(KEY_SECURITY_TYPE, mSecurityType); in onSaveInstanceState()
157 !TextUtils.isEmpty(mNetworkName) && WifiUtil.isOpenNetwork(mSecurityType)); in setButtonEnabledState()
DAccessPointSecurity.java33 private final int mSecurityType; field in AccessPointSecurity
54 mSecurityType = securityType; in AccessPointSecurity()
58 return mSecurityType; in getSecurityType()
63 switch(mSecurityType) { in toString()
DNetworkPasswordPreferenceController.java56 mSecurityType = intent.getIntExtra(
81 private int mSecurityType = AccessPoint.SECURITY_NONE; field in NetworkPasswordPreferenceController
114 preference.setVisible(!WifiUtil.isOpenNetwork(mSecurityType)); in updateState()
121 WifiUtil.connectToAccessPoint(getContext(), mNetworkName, mSecurityType, in handlePreferenceChanged() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java187 securityType = builder.mSecurityType; in WifiInfo()
218 private String mSecurityType; field in WifiInfo.Builder
243 mSecurityType = securityType; in setSecurityType()