Home
last modified time | relevance | path

Searched refs:storedTypes (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java205 final EnumSet<Credential.Type> storedTypes = credential.getStoredTypes(); in deleteWifiCredential() local
208 if (storedTypes.contains(Credential.Type.USER_KEY)) { in deleteWifiCredential()
212 if (storedTypes.contains(Credential.Type.USER_CERTIFICATE)) { in deleteWifiCredential()
216 if (storedTypes.contains(Credential.Type.CA_CERTIFICATE)) { in deleteWifiCredential()
331 c.storedTypes.add(type); in getCredentialsForUid()
422 detail.setVisibility(item.storedTypes.contains(credentialViewTypes.valueAt(i)) in getCredentialView()
467 final EnumSet<Type> storedTypes = EnumSet.noneOf(Type.class); field in UserCredentialsSettings.Credential
480 storedTypes.add(i); in Credential()
490 for (Type i : storedTypes) { in writeToParcel()
518 return storedTypes; in getStoredTypes()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUserCredentialsSettings.java205 final EnumSet<Credential.Type> storedTypes = credential.getStoredTypes(); in deleteWifiCredential() local
208 if (storedTypes.contains(Credential.Type.USER_KEY)) { in deleteWifiCredential()
212 if (storedTypes.contains(Credential.Type.USER_CERTIFICATE)) { in deleteWifiCredential()
216 if (storedTypes.contains(Credential.Type.CA_CERTIFICATE)) { in deleteWifiCredential()
331 c.storedTypes.add(type); in getCredentialsForUid()
422 detail.setVisibility(item.storedTypes.contains(credentialViewTypes.valueAt(i)) in getCredentialView()
467 final EnumSet<Type> storedTypes = EnumSet.noneOf(Type.class); field in UserCredentialsSettings.Credential
480 storedTypes.add(i); in Credential()
490 for (Type i : storedTypes) { in writeToParcel()
518 return storedTypes; in getStoredTypes()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUserCredentialsTest.java42 c.storedTypes.add(Credential.Type.CA_CERTIFICATE); in testCredentialIsParcelable()
43 c.storedTypes.add(Credential.Type.USER_KEY); in testCredentialIsParcelable()
52 assertEquals(c.storedTypes, r.storedTypes); in testCredentialIsParcelable()