Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/
DCredentialTest.java55 private static Credential createCredential(Credential.UserCredential userCred, in createCredential()
56 Credential.CertificateCredential certCred, in createCredential()
57 Credential.SimCredential simCred, in createCredential()
60 Credential cred = new Credential(); in createCredential()
83 private static Credential createCredentialWithCertificateCredential() in createCredentialWithCertificateCredential()
85 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in createCredentialWithCertificateCredential()
98 private static Credential createCredentialWithSimCredential() { in createCredentialWithSimCredential()
99 Credential.SimCredential simCred = new Credential.SimCredential(); in createCredentialWithSimCredential()
110 private static Credential createCredentialWithUserCredential() { in createCredentialWithUserCredential()
111 Credential.UserCredential userCred = new Credential.UserCredential(); in createCredentialWithUserCredential()
[all …]
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java95 final Credential item = (Credential) view.getTag(); in onClick()
111 protected void showCredentialDialogFragment(Credential item) { in showCredentialDialogFragment()
134 public static void show(Fragment target, Credential item) { in show()
148 final Credential item = (Credential) getArguments().getParcelable(ARG_CREDENTIAL); in onCreateDialog()
192 final Credential item = (Credential) getArguments().getParcelable(ARG_CREDENTIAL); in onShow()
211 private class RemoveCredentialsTask extends AsyncTask<Credential, Void, Credential[]> {
221 protected Credential[] doInBackground(Credential... credentials) { in doInBackground()
222 for (final Credential credential : credentials) { in doInBackground()
232 private void deleteWifiCredential(final Credential credential) { in deleteWifiCredential()
244 private void removeGrantsAndDelete(final Credential credential) { in removeGrantsAndDelete()
[all …]
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/
DUserCredentialsTest.java19 import static com.android.settings.UserCredentialsSettings.Credential;
41 Credential c = new Credential(alias, Process.SYSTEM_UID); in testCredentialIsParcelable()
43 c.storedTypes.add(Credential.Type.CA_CERTIFICATE); in testCredentialIsParcelable()
44 c.storedTypes.add(Credential.Type.USER_KEY); in testCredentialIsParcelable()
50 Credential r = Credential.CREATOR.createFromParcel(p); in testCredentialIsParcelable()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java34 import android.net.wifi.hotspot2.pps.Credential;
457 Credential credential = config2.getCredential(); in validateUniqueIdDifferentSimCredential()
477 Credential credential = config2.getCredential(); in validateUniqueIdDifferentRealm()
493 Credential credential = createCredentialWithUserCredential("user", "passwd"); in validateUniqueIdSameUserInUserCredential()
513 Credential credential = createCredentialWithUserCredential("user", "passwd"); in validateUniqueIdDifferentUserCredential()
533 Credential credential = createCredentialWithCertificateCredential(true, true); in validateUniqueIdDifferentCertCredential()
549 private static Credential createCredentialWithCertificateCredential(Boolean useCaCert0, in createCredentialWithCertificateCredential()
552 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in createCredentialWithCertificateCredential()
570 private static Credential createCredentialWithUserCredential(String username, String password) { in createCredentialWithUserCredential()
571 Credential.UserCredential userCred = new Credential.UserCredential(); in createCredentialWithUserCredential()
[all …]
DConfigParserTest.java23 import android.net.wifi.hotspot2.pps.Credential;
96 Credential credential = new Credential(); in generateConfigurationFromProfile()
98 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateConfigurationFromProfile()
104 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in generateConfigurationFromProfile()
110 Credential.SimCredential simCredential = new Credential.SimCredential(); in generateConfigurationFromProfile()
DPasspointTestUtils.java20 import android.net.wifi.hotspot2.pps.Credential;
56 private static Credential createCredential() { in createCredential()
57 Credential cred = new Credential(); in createCredential()
61 cred.setSimCredential(new Credential.SimCredential()); in createCredential()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUserCredentialsSettingsTest.java73 UserCredentialsSettings.Credential mSysCredential =
74 new UserCredentialsSettings.Credential(TEST_ALIAS, Process.SYSTEM_UID);
75 UserCredentialsSettings.Credential mWifiCredential =
76 new UserCredentialsSettings.Credential(TEST_ALIAS, Process.WIFI_UID);
97 .showCredentialDialogFragment(any(UserCredentialsSettings.Credential.class)); in setUp()
109 .showCredentialDialogFragment(any(UserCredentialsSettings.Credential.class)); in onClick_noCredentialInTag_doNothing()
122 .showCredentialDialogFragment(any(UserCredentialsSettings.Credential.class)); in onClick_credentialInNotUse_notSetUsedByNamesThenShowDialog()
138 .showCredentialDialogFragment(any(UserCredentialsSettings.Credential.class)); in onClick_credentialInUse_setUsedByNamesThenShowDialog()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java23 import android.net.wifi.hotspot2.pps.Credential;
142 Credential credential = new Credential(); in generateConfigurationFromPPSMOTree()
147 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateConfigurationFromPPSMOTree()
156 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in generateConfigurationFromPPSMOTree()
160 Credential.SimCredential simCredential = new Credential.SimCredential(); in generateConfigurationFromPPSMOTree()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java22 import android.net.wifi.hotspot2.pps.Credential;
121 Credential credential = new Credential(); in createFullPasspointConfiguration()
126 Credential.UserCredential userCredential = new Credential.UserCredential(); in createFullPasspointConfiguration()
135 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in createFullPasspointConfiguration()
139 Credential.SimCredential simCredential = new Credential.SimCredential(); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java30 import android.net.wifi.hotspot2.pps.Credential;
154 Credential credential = new Credential(); in createFullPasspointConfiguration()
159 Credential.UserCredential userCredential = new Credential.UserCredential(); in createFullPasspointConfiguration()
168 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in createFullPasspointConfiguration()
172 Credential.SimCredential simCredential = new Credential.SimCredential(); in createFullPasspointConfiguration()
DPasspointProviderTest.java34 import android.net.wifi.hotspot2.pps.Credential;
283 Credential credential = new Credential(); in generateTestPasspointConfiguration()
290 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateTestPasspointConfiguration()
292 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAPV2); in generateTestPasspointConfiguration()
300 Credential.CertificateCredential certCredential = in generateTestPasspointConfiguration()
301 new Credential.CertificateCredential(); in generateTestPasspointConfiguration()
310 certCredential.setCertType(Credential.CertificateCredential.CERT_TYPE_X509V3); in generateTestPasspointConfiguration()
314 Credential.SimCredential simCredential = new Credential.SimCredential(); in generateTestPasspointConfiguration()
337 Credential credential = passpointConfig.getCredential(); in verifyWifiConfigWithTestData()
370 Credential.UserCredential userCredential = credential.getUserCredential(); in verifyWifiConfigWithTestData()
[all …]
DPasspointManagerTest.java70 import android.net.wifi.hotspot2.pps.Credential;
386 Credential credential = new Credential(); in createTestConfigWithUserCredentialAndRealm()
389 Credential.UserCredential userCredential = new Credential.UserCredential(); in createTestConfigWithUserCredentialAndRealm()
393 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in createTestConfigWithUserCredentialAndRealm()
411 Credential credential = new Credential(); in createTestConfigWithSimCredential()
413 Credential.SimCredential simCredential = new Credential.SimCredential(); in createTestConfigWithSimCredential()
1719 Credential credential = new Credential(); in addLegacyPasspointConfigWithUserCredential()
1720 Credential.UserCredential userCredential = new Credential.UserCredential(); in addLegacyPasspointConfigWithUserCredential()
1797 Credential credential = new Credential(); in addLegacyPasspointConfigWithSimCredential()
1798 Credential.SimCredential simCredential = new Credential.SimCredential(); in addLegacyPasspointConfigWithSimCredential()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java31 import android.net.wifi.hotspot2.pps.Credential;
32 import android.net.wifi.hotspot2.pps.Credential.SimCredential;
33 import android.net.wifi.hotspot2.pps.Credential.UserCredential;
682 Credential credential = new Credential(); in convertFromWifiConfig()
690 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in convertFromWifiConfig()
691 certCred.setCertType(Credential.CertificateCredential.CERT_TYPE_X509V3); in convertFromWifiConfig()
979 Credential.UserCredential credential) { in buildEnterpriseConfigForUserCredential()
998 case Credential.UserCredential.AUTH_METHOD_PAP: in buildEnterpriseConfigForUserCredential()
1001 case Credential.UserCredential.AUTH_METHOD_MSCHAP: in buildEnterpriseConfigForUserCredential()
1004 case Credential.UserCredential.AUTH_METHOD_MSCHAPV2: in buildEnterpriseConfigForUserCredential()
[all …]
DPasspointXmlUtils.java20 import android.net.wifi.hotspot2.pps.Credential;
335 private static void serializeCredential(XmlSerializer out, Credential credential) in serializeCredential()
397 Credential.UserCredential userCredential) throws XmlPullParserException, IOException { in serializeUserCredential()
423 Credential.CertificateCredential certCredential) in serializeCertCredential()
445 Credential.SimCredential simCredential) throws XmlPullParserException, IOException { in serializeSimCredential()
614 private static Credential deserializeCredential(XmlPullParser in, int outerTagDepth) in deserializeCredential()
616 Credential credential = new Credential(); in deserializeCredential()
736 private static Credential.UserCredential deserializeUserCredential(XmlPullParser in, in deserializeUserCredential()
738 Credential.UserCredential userCredential = new Credential.UserCredential(); in deserializeUserCredential()
785 private static Credential.CertificateCredential deserializeCertCredential(XmlPullParser in, in deserializeCertCredential()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DCredential.java50 public final class Credential implements Parcelable { class
1002 public Credential() {} in Credential() method in Credential
1009 public Credential(Credential source) { in Credential() method in Credential
1063 if (!(thatObject instanceof Credential)) { in equals()
1067 Credential that = (Credential) thatObject; in equals()
1170 public static final @android.annotation.NonNull Creator<Credential> CREATOR =
1171 new Creator<Credential>() {
1173 public Credential createFromParcel(Parcel in) {
1174 Credential credential = new Credential();
1190 public Credential[] newArray(int size) {
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java20 import android.net.wifi.hotspot2.pps.Credential;
946 private static Credential parseCredential(PPSNode node) throws ParsingException { in parseCredential()
951 Credential credential = new Credential(); in parseCredential()
992 private static Credential.UserCredential parseUserCredential(PPSNode node) in parseUserCredential()
998 Credential.UserCredential userCred = new Credential.UserCredential(); in parseUserCredential()
1036 private static void parseEAPMethod(PPSNode node, Credential.UserCredential userCred) in parseEAPMethod()
1073 private static Credential.CertificateCredential parseCertificateCredential(PPSNode node) in parseCertificateCredential()
1079 Credential.CertificateCredential certCred = new Credential.CertificateCredential(); in parseCertificateCredential()
1104 private static Credential.SimCredential parseSimCredential(PPSNode node) in parseSimCredential()
1110 Credential.SimCredential simCred = new Credential.SimCredential(); in parseSimCredential()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java30 import android.net.wifi.hotspot2.pps.Credential;
529 Credential credential = new Credential(); in createTestConfigWithUserCredential()
532 Credential.UserCredential userCredential = new Credential.UserCredential(); in createTestConfigWithUserCredential()
536 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in createTestConfigWithUserCredential()
DWifiCarrierInfoManagerTest.java74 import android.net.wifi.hotspot2.pps.Credential;
1667 Credential credential = mock(Credential.class); in tryUpdateCarrierIdForPasspointWithNonSimCredential()
1681 Credential credential = mock(Credential.class); in tryUpdateCarrierIdForPasspointWithPrefixImsi()
1684 Credential.SimCredential simCredential = mock(Credential.SimCredential.class); in tryUpdateCarrierIdForPasspointWithPrefixImsi()
1697 Credential credential = mock(Credential.class); in tryUpdateCarrierIdForPasspointWithFullImsiAndActiveSim()
1700 Credential.SimCredential simCredential = mock(Credential.SimCredential.class); in tryUpdateCarrierIdForPasspointWithFullImsiAndActiveSim()
1713 Credential credential = mock(Credential.class); in tryUpdateCarrierIdForPasspointWithFullImsiAndInactiveSim()
1716 Credential.SimCredential simCredential = mock(Credential.SimCredential.class); in tryUpdateCarrierIdForPasspointWithFullImsiAndInactiveSim()
/packages/modules/Wifi/service/tests/wifitests/assets/
Dr1.PerProviderSubscription.conf9 a:Credential+
74 a:Credential+
Dr2.PerProviderSubscription.conf57 a:Credential+
78 a:Credential+
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-oauth-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-oauth-client-1.31.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt534 …ifi/hotspot2/omadm/PpsMoParser$PPSNode;)Landroid/net/wifi/hotspot2/pps/Credential$CertificateCrede…
535 …al(Landroid/net/wifi/hotspot2/omadm/PpsMoParser$PPSNode;)Landroid/net/wifi/hotspot2/pps/Credential;
537 …wifi/hotspot2/omadm/PpsMoParser$PPSNode;Landroid/net/wifi/hotspot2/pps/Credential$UserCredential;)V
558 …t/wifi/hotspot2/omadm/PpsMoParser$PPSNode;)Landroid/net/wifi/hotspot2/pps/Credential$SimCredential;
567 …/wifi/hotspot2/omadm/PpsMoParser$PPSNode;)Landroid/net/wifi/hotspot2/pps/Credential$UserCredential;
629 …d/net/wifi/hotspot2/PasspointConfiguration;->mCredential:Landroid/net/wifi/hotspot2/pps/Credential;
659 Landroid/net/wifi/hotspot2/pps/Credential$CertificateCredential;->CERT_SHA256_FINGER_PRINT_LENGTH:I
660 Landroid/net/wifi/hotspot2/pps/Credential$CertificateCredential;->CERT_TYPE_X509V3:Ljava/lang/Strin…
661 Landroid/net/wifi/hotspot2/pps/Credential$CertificateCredential;->mCertSha256Fingerprint:[B
662 Landroid/net/wifi/hotspot2/pps/Credential$CertificateCredential;->mCertType:Ljava/lang/String;
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java27 import android.net.wifi.hotspot2.pps.Credential;
159 private Credential mCredential = null;
165 public void setCredential(Credential credential) { in setCredential()
173 public Credential getCredential() { in getCredential()
748 mCredential = new Credential(source.mCredential); in PasspointConfiguration()
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/hotspot2/pps/
DCredential.aidl19 parcelable Credential;

12