Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherPasswordPreferenceController.java81 public String getPasswordValidated(int securityType) { in getPasswordValidated() argument
83 if (securityType == SoftApConfiguration.SECURITY_TYPE_OPEN) { in getPasswordValidated()
92 public void updateVisibility(int securityType) { in updateVisibility() argument
93 mPreference.setVisible(securityType != SoftApConfiguration.SECURITY_TYPE_OPEN); in updateVisibility()
DWifiTetherSettings.java207 final int securityType = mSecurityPreferenceController.getSecurityType(); in buildNewConfig() local
211 .setPassphrase(mPasswordPreferenceController.getPasswordValidated(securityType), in buildNewConfig()
212 securityType) in buildNewConfig()
DWifiTetherSecurityPreferenceController.java55 private String getSummaryForSecurityType(int securityType) { in getSummaryForSecurityType() argument
56 if (securityType == SoftApConfiguration.SECURITY_TYPE_OPEN) { in getSummaryForSecurityType()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherPasswordPreferenceController.java104 public String getPasswordValidated(int securityType) { in getPasswordValidated() argument
106 if (securityType == SoftApConfiguration.SECURITY_TYPE_OPEN) { in getPasswordValidated()
115 public void updateVisibility(int securityType) { in updateVisibility() argument
116 mPreference.setVisible(securityType != SoftApConfiguration.SECURITY_TYPE_OPEN); in updateVisibility()
DWifiTetherSettings.java214 final int securityType = mSecurityPreferenceController.getSecurityType(); in buildNewConfig() local
216 if (securityType == SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) { in buildNewConfig()
218 mPasswordPreferenceController.getPasswordValidated(securityType), in buildNewConfig()
DWifiTetherSecurityPreferenceController.java60 private String getSummaryForSecurityType(int securityType) { in getSummaryForSecurityType() argument
61 if (securityType == SoftApConfiguration.SECURITY_TYPE_OPEN) { 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/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragmentTest.java306 securityType, in generateRegularWifiConfiguration() argument
310 config.allowedKeyManagement.set(securityType); in generateRegularWifiConfiguration()
319 int securityType, in generateRegularWifiSuggestion() argument
323 switch (securityType) { in generateRegularWifiSuggestion()
/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/Car/Settings/src/com/android/car/settings/wifi/
DAccessPointSecurity.java52 private AccessPointSecurity(Context context, int securityType) { in AccessPointSecurity() argument
54 mSecurityType = securityType; in AccessPointSecurity()
DNetworkSecurityPreferenceController.java138 private void notifySecurityChange(int securityType) { in notifySecurityChange() argument
140 intent.putExtra(KEY_SECURITY_TYPE, securityType); in notifySecurityChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppUtils.java408 int securityType = softApConfiguration.getSecurityType(); in isSupportHotspotConfiguratorQrCodeGenerator() local
409 return securityType == SoftApConfiguration.SECURITY_TYPE_WPA2_PSK in isSupportHotspotConfiguratorQrCodeGenerator()
410 || securityType == SoftApConfiguration.SECURITY_TYPE_OPEN; in isSupportHotspotConfiguratorQrCodeGenerator()
/packages/apps/Settings/src/com/android/settings/
DAllInOneTetherSettings.java372 final int securityType = mSecurityPreferenceController.getSecurityType(); in buildNewConfig() local
374 if (securityType == SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) { in buildNewConfig()
376 mPasswordPreferenceController.getPasswordValidated(securityType), in buildNewConfig()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DAddWifiFragmentTest.java148 private void sendSecurityChangeBroadcastIntent(int securityType) { in sendSecurityChangeBroadcastIntent() argument
150 intent.putExtra(NetworkSecurityPreferenceController.KEY_SECURITY_TYPE, securityType); in sendSecurityChangeBroadcastIntent()
/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()