Home
last modified time | relevance | path

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

/frameworks/base/services/credentials/java/com/android/server/credentials/
DCredentialDescriptionRegistry.java120 private Map<String, Set<CredentialDescription>> mCredentialDescriptions; field in CredentialDescriptionRegistry
124 this.mCredentialDescriptions = new HashMap<>(); in CredentialDescriptionRegistry()
133 if (!mCredentialDescriptions.containsKey(callingPackageName)) { in executeRegisterRequest()
134 mCredentialDescriptions.put(callingPackageName, new HashSet<>()); in executeRegisterRequest()
138 && mCredentialDescriptions.get(callingPackageName).size() in executeRegisterRequest()
141 int size = mCredentialDescriptions.get(callingPackageName).size(); in executeRegisterRequest()
142 mCredentialDescriptions.get(callingPackageName) in executeRegisterRequest()
144 mTotalDescriptionCount += mCredentialDescriptions.get(callingPackageName).size() - size; in executeRegisterRequest()
155 if (mCredentialDescriptions.containsKey(callingPackageName)) { in executeUnregisterRequest()
156 int size = mCredentialDescriptions.get(callingPackageName).size(); in executeUnregisterRequest()
[all …]
/frameworks/base/core/java/android/credentials/
DRegisterCredentialDescriptionRequest.java43 private final List<CredentialDescription> mCredentialDescriptions; field in RegisterCredentialDescriptionRequest
47 mCredentialDescriptions = Arrays.asList(requireNonNull(credentialDescription)); in RegisterCredentialDescriptionRequest()
52 mCredentialDescriptions = new ArrayList<>(requireNonNull(credentialDescriptions)); in RegisterCredentialDescriptionRequest()
59 mCredentialDescriptions = new ArrayList<>(); in RegisterCredentialDescriptionRequest()
62 mCredentialDescriptions.addAll(credentialDescriptions); in RegisterCredentialDescriptionRequest()
85 dest.writeTypedList(mCredentialDescriptions, flags); in writeToParcel()
90 return new HashSet<>(mCredentialDescriptions); in getCredentialDescriptions()
DUnregisterCredentialDescriptionRequest.java43 private final List<CredentialDescription> mCredentialDescriptions; field in UnregisterCredentialDescriptionRequest
47 mCredentialDescriptions = Arrays.asList(requireNonNull(credentialDescription)); in UnregisterCredentialDescriptionRequest()
52 mCredentialDescriptions = new ArrayList<>(requireNonNull(credentialDescriptions)); in UnregisterCredentialDescriptionRequest()
59 mCredentialDescriptions = new ArrayList<>(); in UnregisterCredentialDescriptionRequest()
62 mCredentialDescriptions.addAll(credentialDescriptions); in UnregisterCredentialDescriptionRequest()
85 dest.writeTypedList(mCredentialDescriptions, flags); in writeToParcel()
90 return new HashSet<>(mCredentialDescriptions); in getCredentialDescriptions()