Home
last modified time | relevance | path

Searched refs:credentialViewTypes (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java400 private static final SparseArray<Credential.Type> credentialViewTypes = new SparseArray<>(); field in UserCredentialsSettings
402 credentialViewTypes.put(R.id.contents_userkey, Credential.Type.USER_KEY); in credentialViewTypes.put()
403 credentialViewTypes.put(R.id.contents_usercrt, Credential.Type.USER_CERTIFICATE); in credentialViewTypes.put()
404 credentialViewTypes.put(R.id.contents_cacrt, Credential.Type.CA_CERTIFICATE); in credentialViewTypes.put()
420 for (int i = 0; i < credentialViewTypes.size(); i++) { in getCredentialView()
421 final View detail = view.findViewById(credentialViewTypes.keyAt(i)); in getCredentialView()
422 detail.setVisibility(item.storedTypes.contains(credentialViewTypes.valueAt(i)) in getCredentialView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUserCredentialsSettings.java400 private static final SparseArray<Credential.Type> credentialViewTypes = new SparseArray<>(); field in UserCredentialsSettings
402 credentialViewTypes.put(R.id.contents_userkey, Credential.Type.USER_KEY); in credentialViewTypes.put()
403 credentialViewTypes.put(R.id.contents_usercrt, Credential.Type.USER_CERTIFICATE); in credentialViewTypes.put()
404 credentialViewTypes.put(R.id.contents_cacrt, Credential.Type.CA_CERTIFICATE); in credentialViewTypes.put()
420 for (int i = 0; i < credentialViewTypes.size(); i++) { in getCredentialView()
421 final View detail = view.findViewById(credentialViewTypes.keyAt(i)); in getCredentialView()
422 detail.setVisibility(item.storedTypes.contains(credentialViewTypes.valueAt(i)) in getCredentialView()