Home
last modified time | relevance | path

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

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiAssociationTest.java62 SecurityType securityType = SecurityType.valueOf(securityTypeStr); in testWifiAssociation() local
71 WifiConfiguration config = getConfig(ssid, securityType, password); in testWifiAssociation()
80 private WifiConfiguration getConfig(String ssid, SecurityType securityType, String password) { in getConfig() argument
81 logv("Security type is %s", securityType.toString()); in getConfig()
84 switch (securityType) { in getConfig()
119 fail("Not a valid security type: " + securityType); in getConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java586 req.baseConfigs.securityConfig.securityType = NanDataPathSecurityType.OPEN; in publish()
663 req.baseConfigs.securityConfig.securityType = NanDataPathSecurityType.OPEN; in subscribe()
926 req.securityConfig.securityType = NanDataPathSecurityType.OPEN; in initiateDataPath()
930 req.securityConfig.securityType = NanDataPathSecurityType.PMK; in initiateDataPath()
936 req.securityConfig.securityType = NanDataPathSecurityType.PASSPHRASE; in initiateDataPath()
940 if (req.securityConfig.securityType != NanDataPathSecurityType.OPEN && isOutOfBand) { in initiateDataPath()
1003 req.securityConfig.securityType = NanDataPathSecurityType.OPEN; in respondToDataPathRequest()
1007 req.securityConfig.securityType = NanDataPathSecurityType.PMK; in respondToDataPathRequest()
1013 req.securityConfig.securityType = NanDataPathSecurityType.PASSPHRASE; in respondToDataPathRequest()
1017 if (req.securityConfig.securityType != NanDataPathSecurityType.OPEN && isOutOfBand) { in respondToDataPathRequest()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java201 int securityType = getSecurityType(jsonConfig.getString("security")); in getWifiConfiguration() local
202 switch (securityType) { in getWifiConfiguration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeApiTest.java676 equalTo(nidpr.securityConfig.securityType)); in validateInitiateDataPath()
687 equalTo(nidpr.securityConfig.securityType)); in validateInitiateDataPath()
739 equalTo(nrtdpir.securityConfig.securityType)); in validateRespondToDataPathRequest()
750 equalTo(nrtdpir.securityConfig.securityType)); in validateRespondToDataPathRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java415 void setSecurityType(SecurityType securityType) { in setSecurityType() argument
417 if (!Objects.equals(securityType, mSecurityType)) { in setSecurityType()
418 mSecurityType = securityType; in setSecurityType()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java383 public void setSecurityParams(@SecurityType int securityType) { in setSecurityParams() argument
393 switch (securityType) { in setSecurityParams()
426 throw new IllegalArgumentException("unknown security type " + securityType); in setSecurityParams()