Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java151 short authType = payload.getShort(); in parseCredential() local
152 populateAllowedKeyManagement(result.allowedKeyManagement, authType); in parseCredential()
176 private static void populateAllowedKeyManagement(BitSet allowedKeyManagement, short authType) { in populateAllowedKeyManagement() argument
177 if (authType == AUTH_TYPE_WPA_PSK || authType == AUTH_TYPE_WPA2_PSK in populateAllowedKeyManagement()
178 || authType == AUTH_TYPE_WPA_AND_WPA2_PSK) { in populateAllowedKeyManagement()
180 } else if (authType == AUTH_TYPE_WPA_EAP || authType == AUTH_TYPE_WPA2_EAP) { in populateAllowedKeyManagement()
182 } else if (authType == AUTH_TYPE_OPEN) { in populateAllowedKeyManagement()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/
DCredentialType.java52 public CredentialType(int authType, int credType) { in CredentialType() argument
53 super(authType); in CredentialType()
73 int authType = tunneled ? AuthParam.PARAM_TYPE_TUNNELED_EAP_METHOD_CREDENTIAL_TYPE in parse() local
75 return new CredentialType(authType, credType); in parse()
DExpandedEAPMethod.java42 public ExpandedEAPMethod(int authType, int vendorID, long vendorType) { in ExpandedEAPMethod() argument
43 super(authType); in ExpandedEAPMethod()
71 int authType = inner ? AuthParam.PARAM_TYPE_EXPANDED_INNER_EAP_METHOD in parse() local
73 return new ExpandedEAPMethod(authType, vendorID, vendorType); in parse()
DNonEAPInnerAuth.java54 public NonEAPInnerAuth(int authType) { in NonEAPInnerAuth() argument
56 mAuthType = authType; in NonEAPInnerAuth()
71 int authType = payload.get() & 0xFF; in parse() local
72 return new NonEAPInnerAuth(authType); in parse()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/
DSelfSignedTrustManager.java67 public void checkClientTrusted(X509Certificate[] chain, String authType) in checkClientTrusted() argument
69 trustManager.checkClientTrusted(chain, authType); in checkClientTrusted()
72 public void checkServerTrusted(X509Certificate[] chain, String authType) in checkServerTrusted() argument
74 trustManager.checkServerTrusted(chain, authType); in checkServerTrusted()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java532 int authType; in validateApWifiConfiguration() local
535 authType = apConfig.getSecurityType(); in validateApWifiConfiguration()
541 if (authType == SoftApConfiguration.SECURITY_TYPE_OPEN) { in validateApWifiConfiguration()
547 } else if (authType == SoftApConfiguration.SECURITY_TYPE_WPA2_PSK in validateApWifiConfiguration()
548 || authType == SoftApConfiguration.SECURITY_TYPE_WPA3_SAE_TRANSITION in validateApWifiConfiguration()
549 || authType == SoftApConfiguration.SECURITY_TYPE_WPA3_SAE) { in validateApWifiConfiguration()
565 if (authType != SoftApConfiguration.SECURITY_TYPE_WPA3_SAE in validateApWifiConfiguration()
DWifiConfigManager.java1521 int authType = config.getAuthType(); in removeExcessNetworks()
1522 return !(authType == WifiConfiguration.KeyMgmt.NONE in removeExcessNetworks()
1523 || authType == WifiConfiguration.KeyMgmt.OWE); in removeExcessNetworks()
DWifiMetrics.java618 SessionData(String ssid, long sessionStartTimeMillis, int band, int authType) { in SessionData() argument
622 mAuthType = authType; in SessionData()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java612 public void checkClientTrusted(X509Certificate[] chain, String authType) in checkClientTrusted() argument
615 Log.v(TAG, "checkClientTrusted " + authType); in checkClientTrusted()
620 public void checkServerTrusted(X509Certificate[] chain, String authType) in checkServerTrusted() argument
623 Log.v(TAG, "checkServerTrusted " + authType); in checkServerTrusted()
628 mDelegate.checkServerTrusted(chain, authType); in checkServerTrusted()
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnsXmlProcessor.java247 final String authType = apnValues.getAsString(Telephony.Carriers.AUTH_TYPE); in processApn() local
248 if (authType != null) { in processApn()
249 apnValues.put(Telephony.Carriers.AUTH_TYPE, parseInt(authType, -1, "apn authtype")); in processApn()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java308 @Override public void checkClientTrusted(X509Certificate[] chain, String authType) in checkClientTrusted() argument
311 @Override public void checkServerTrusted(X509Certificate[] chain, String authType) in checkServerTrusted() argument
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragment.java333 final int authType = specifiedConfig.getAuthType(); in isSavedWifiConfiguration() local
339 || authType != privilegedWifiConfiguration.getAuthType()) { in isSavedWifiConfiguration()
345 switch (authType) { in isSavedWifiConfiguration()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimAkaMethodStateMachine.java194 byte[] processUiccAuthentication(String tag, int authType, byte[] formattedChallenge) throws in processUiccAuthentication() argument
199 mEapUiccConfig.getAppType(), authType, base64Challenge); in processUiccAuthentication()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApBackupRestoreTest.java102 int authType = backup.getAuthType(); in assertWifiConfigurationEqualSoftApConfiguration() local