Home
last modified time | relevance | path

Searched refs:securityType (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherPasswordPreferenceController.java80 public String getPasswordValidated(int securityType) { in getPasswordValidated() argument
82 if (securityType == WifiConfiguration.KeyMgmt.NONE) { in getPasswordValidated()
91 public void updateVisibility(int securityType) { in updateVisibility() argument
92 mPreference.setVisible(securityType != WifiConfiguration.KeyMgmt.NONE); in updateVisibility()
DWifiTetherSettings.java208 final int securityType = mSecurityPreferenceController.getSecurityType(); in buildNewConfig() local
211 config.allowedKeyManagement.set(securityType); in buildNewConfig()
212 config.preSharedKey = mPasswordPreferenceController.getPasswordValidated(securityType); in buildNewConfig()
DWifiTetherSecurityPreferenceController.java56 private String getSummaryForSecurityType(int securityType) { in getSummaryForSecurityType() argument
57 if (securityType == WifiConfiguration.KeyMgmt.NONE) { in getSummaryForSecurityType()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherPasswordPreferenceController.java80 public String getPasswordValidated(int securityType) { in getPasswordValidated() argument
82 if (securityType == WifiConfiguration.KeyMgmt.NONE) { in getPasswordValidated()
91 public void updateVisibility(int securityType) { in updateVisibility() argument
92 mPreference.setVisible(securityType != WifiConfiguration.KeyMgmt.NONE); in updateVisibility()
DWifiTetherSettings.java208 final int securityType = mSecurityPreferenceController.getSecurityType(); in buildNewConfig() local
211 config.allowedKeyManagement.set(securityType); in buildNewConfig()
212 config.preSharedKey = mPasswordPreferenceController.getPasswordValidated(securityType); in buildNewConfig()
DWifiTetherSecurityPreferenceController.java56 private String getSummaryForSecurityType(int securityType) { in getSummaryForSecurityType() argument
57 if (securityType == WifiConfiguration.KeyMgmt.NONE) { in getSummaryForSecurityType()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java71 public final String securityType; field in WifiInfo
144 bundle.putString(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE, securityType); in toPersistableBundle()
187 securityType = builder.mSecurityType; in WifiInfo()
242 public Builder setSecurityType(String securityType) { in setSecurityType() argument
243 mSecurityType = securityType; in setSecurityType()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java108 String securityType = wifiInfo.securityType != null ? wifiInfo.securityType : NONE; in generateWifiConfiguration() local
109 switch (securityType) { in generateWifiConfiguration()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java305 final int securityType = in getPortFromSecurityType() local
307 return (securityType & HostAuth.FLAG_SSL) != 0 ? SMTP_PORT_SSL : SMTP_PORT_NORMAL; in getPortFromSecurityType()
397 final int securityType = in collectUserInputInternal() local
399 sendAuth.setConnection(mBaseScheme, serverAddress, serverPort, securityType); in collectUserInputInternal()
DAccountSetupIncomingFragment.java437 final int securityType = in getSslSelected() local
439 return ((securityType & HostAuth.FLAG_SSL) != 0); in getSslSelected()
573 final int securityType = in collectUserInputInternal() local
575 recvAuth.setConnection(mBaseScheme, serverAddress, serverPort, securityType); in collectUserInputInternal()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DAccessPointSecurity.java49 private AccessPointSecurity(Context context, int securityType) { in AccessPointSecurity() argument
51 mSecurityType = securityType; in AccessPointSecurity()
DNetworkSecurityPreferenceController.java99 private void notifySecurityChange(int securityType) { in notifySecurityChange() argument
101 intent.putExtra(KEY_SECURITY_TYPE, securityType); in notifySecurityChange()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/model/
DWifiInfoRoboTest.java60 assertEquals(TEST_SECURITY_TYPE, wifiInfo.securityType); in testBuilderWriteAndReadBack()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java66 assertEquals(TEST_SECURITY_TYPE, wifiInfo.securityType); in testBuilderWriteAndReadBack()