Home
last modified time | relevance | path

Searched refs:Credential (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
DCredentialTest.java53 private static Credential createCredential(Credential.UserCredential userCred, in createCredential()
54 Credential.CertificateCredential certCred, in createCredential()
55 Credential.SimCredential simCred, in createCredential()
58 Credential cred = new Credential(); in createCredential()
81 private static Credential createCredentialWithCertificateCredential() in createCredentialWithCertificateCredential()
83 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in createCredentialWithCertificateCredential()
96 private static Credential createCredentialWithSimCredential() { in createCredentialWithSimCredential()
97 Credential.SimCredential simCred = new Credential.SimCredential(); in createCredentialWithSimCredential()
108 private static Credential createCredentialWithUserCredential() { in createCredentialWithUserCredential()
109 Credential.UserCredential userCred = new Credential.UserCredential(); in createCredentialWithUserCredential()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java31 import android.net.wifi.hotspot2.pps.Credential;
214 Credential credential = new Credential(); in verifyModifyOriginalConfig()
215 credential.setUserCredential(new Credential.UserCredential()); in verifyModifyOriginalConfig()
239 Credential credential = new Credential(); in verifyModifyRetrievedConfig()
240 credential.setUserCredential(new Credential.UserCredential()); in verifyModifyRetrievedConfig()
261 Credential credential = new Credential(); in installCertsAndKeysSuccess()
262 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in installCertsAndKeysSuccess()
313 Credential credential = new Credential(); in installCertsAndKeysFailure()
314 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in installCertsAndKeysFailure()
363 Credential credential = new Credential(); in uninstallCertsAndKeys()
[all …]
DPasspointXmlUtilsTest.java23 import android.net.wifi.hotspot2.pps.Credential;
114 Credential credential = new Credential(); in createFullPasspointConfiguration()
119 Credential.UserCredential userCredential = new Credential.UserCredential(); in createFullPasspointConfiguration()
128 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in createFullPasspointConfiguration()
132 Credential.SimCredential simCredential = new Credential.SimCredential(); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java23 import android.net.wifi.hotspot2.pps.Credential;
143 Credential credential = new Credential(); in createFullPasspointConfiguration()
148 Credential.UserCredential userCredential = new Credential.UserCredential(); in createFullPasspointConfiguration()
157 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in createFullPasspointConfiguration()
161 Credential.SimCredential simCredential = new Credential.SimCredential(); in createFullPasspointConfiguration()
DPasspointManagerTest.java69 import android.net.wifi.hotspot2.pps.Credential;
306 Credential credential = new Credential(); in createTestConfigWithUserCredential()
309 Credential.UserCredential userCredential = new Credential.UserCredential(); in createTestConfigWithUserCredential()
313 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in createTestConfigWithUserCredential()
331 Credential credential = new Credential(); in createTestConfigWithSimCredential()
333 Credential.SimCredential simCredential = new Credential.SimCredential(); in createTestConfigWithSimCredential()
1358 Credential credential = new Credential(); in addLegacyPasspointConfigWithUserCredential()
1359 Credential.UserCredential userCredential = new Credential.UserCredential(); in addLegacyPasspointConfigWithUserCredential()
1436 Credential credential = new Credential(); in addLegacyPasspointConfigWithSimCredential()
1437 Credential.SimCredential simCredential = new Credential.SimCredential(); in addLegacyPasspointConfigWithSimCredential()
[all …]
DPasspointProvisionerTest.java53 import android.net.wifi.hotspot2.pps.Credential;
274 when(mPasspointConfiguration.getCredential()).thenReturn(new Credential()); in setUp()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DConfigParserTest.java23 import android.net.wifi.hotspot2.pps.Credential;
94 Credential credential = new Credential(); in generateConfigurationFromProfile()
96 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateConfigurationFromProfile()
102 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in generateConfigurationFromProfile()
108 Credential.SimCredential simCredential = new Credential.SimCredential(); in generateConfigurationFromProfile()
DPasspointConfigurationTest.java23 import android.net.wifi.hotspot2.pps.Credential;
67 private static Credential createCredential() { in createCredential()
68 Credential cred = new Credential(); in createCredential()
72 cred.setSimCredential(new Credential.SimCredential()); in createCredential()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java24 import android.net.wifi.hotspot2.pps.Credential;
25 import android.net.wifi.hotspot2.pps.Credential.SimCredential;
26 import android.net.wifi.hotspot2.pps.Credential.UserCredential;
448 Credential credential = new Credential(); in convertFromWifiConfig()
456 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in convertFromWifiConfig()
457 certCred.setCertType(Credential.CertificateCredential.CERT_TYPE_X509V3); in convertFromWifiConfig()
619 Credential.UserCredential credential) { in buildEnterpriseConfigForUserCredential()
628 case Credential.UserCredential.AUTH_METHOD_PAP: in buildEnterpriseConfigForUserCredential()
631 case Credential.UserCredential.AUTH_METHOD_MSCHAP: in buildEnterpriseConfigForUserCredential()
634 case Credential.UserCredential.AUTH_METHOD_MSCHAPV2: in buildEnterpriseConfigForUserCredential()
[all …]
DPasspointXmlUtils.java20 import android.net.wifi.hotspot2.pps.Credential;
265 private static void serializeCredential(XmlSerializer out, Credential credential) in serializeCredential()
325 Credential.UserCredential userCredential) throws XmlPullParserException, IOException { in serializeUserCredential()
351 Credential.CertificateCredential certCredential) in serializeCertCredential()
373 Credential.SimCredential simCredential) throws XmlPullParserException, IOException { in serializeSimCredential()
521 private static Credential deserializeCredential(XmlPullParser in, int outerTagDepth) in deserializeCredential()
523 Credential credential = new Credential(); in deserializeCredential()
640 private static Credential.UserCredential deserializeUserCredential(XmlPullParser in, in deserializeUserCredential()
642 Credential.UserCredential userCredential = new Credential.UserCredential(); in deserializeUserCredential()
689 private static Credential.CertificateCredential deserializeCertCredential(XmlPullParser in, in deserializeCertCredential()
[all …]
DPasspointManager.java46 import android.net.wifi.hotspot2.pps.Credential;
552 Credential credential = new Credential(); in createEphemeralPasspointConfigForCarrier()
554 Credential.SimCredential simCredential = new Credential.SimCredential(); in createEphemeralPasspointConfigForCarrier()
622 Credential.SimCredential simCredential = config.getCredential().getSimCredential(); in installEphemeralPasspointConfigForCarrier()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java23 import android.net.wifi.hotspot2.pps.Credential;
139 Credential credential = new Credential(); in generateConfigurationFromPPSMOTree()
144 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateConfigurationFromPPSMOTree()
153 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in generateConfigurationFromPPSMOTree()
157 Credential.SimCredential simCredential = new Credential.SimCredential(); in generateConfigurationFromPPSMOTree()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java47 public final class Credential implements Parcelable { class
936 public Credential() {} in Credential() method in Credential
943 public Credential(Credential source) { in Credential() method in Credential
995 if (!(thatObject instanceof Credential)) { in equals()
999 Credential that = (Credential) thatObject; in equals()
1089 public static final @android.annotation.NonNull Creator<Credential> CREATOR =
1090 new Creator<Credential>() {
1092 public Credential createFromParcel(Parcel in) {
1093 Credential credential = new Credential();
1108 public Credential[] newArray(int size) {
[all …]
DCredential.aidl19 parcelable Credential;
DUpdateParameter.java272 && Credential.isX509CertificateEquals(mCaCertificate, that.mCaCertificate); in equals()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java20 import android.net.wifi.hotspot2.pps.Credential;
897 private static Credential parseCredential(PPSNode node) throws ParsingException { in parseCredential()
902 Credential credential = new Credential(); in parseCredential()
943 private static Credential.UserCredential parseUserCredential(PPSNode node) in parseUserCredential()
949 Credential.UserCredential userCred = new Credential.UserCredential(); in parseUserCredential()
987 private static void parseEAPMethod(PPSNode node, Credential.UserCredential userCred) in parseEAPMethod()
1024 private static Credential.CertificateCredential parseCertificateCredential(PPSNode node) in parseCertificateCredential()
1030 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in parseCertificateCredential()
1055 private static Credential.SimCredential parseSimCredential(PPSNode node) in parseSimCredential()
1061 Credential.SimCredential simCred = new Credential.SimCredential(); in parseSimCredential()
/frameworks/opt/net/wifi/tests/wifitests/assets/
Dr1.PerProviderSubscription.conf9 a:Credential+
74 a:Credential+
Dr2.PerProviderSubscription.conf57 a:Credential+
78 a:Credential+
Druckus.PerProviderSubscription.conf57 a:Credential+
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java19 import android.net.wifi.hotspot2.pps.Credential;
83 private Credential mCredential = null;
89 public void setCredential(Credential credential) { in setCredential()
97 public Credential getCredential() { in getCredential()
391 mCredential = new Credential(source.mCredential); in PasspointConfiguration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java66 import android.net.wifi.hotspot2.pps.Credential;
541 Credential credential = new Credential(); in createMockProvider()
545 credential.setCertCredential(new Credential.CertificateCredential()); in createMockProvider()
548 credential.setUserCredential(new Credential.UserCredential()); in createMockProvider()
553 Credential.SimCredential simCredential = new Credential.SimCredential(); in createMockProvider()
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto1440 // OPEN: Settings > Security > User Credential
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto2618 // OPEN: Settings > Security > User Credential