Searched refs:responseCounts (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/ |
D | ProviderSessionMetric.java | 243 Map<String, Integer> responseCounts = new LinkedHashMap<>(); in collectCandidateEntryMetrics() local 251 responseCounts.put(entryKey, responseCounts.getOrDefault(entryKey, 0) + 1); in collectCandidateEntryMetrics() 253 ResponseCollective responseCollective = new ResponseCollective(responseCounts, entryCounts); in collectCandidateEntryMetrics() 278 Map<String, Integer> responseCounts = new LinkedHashMap<>(); in beginCreateCredentialResponseCollectionCandidateEntryMetrics() local 282 responseCounts.put(requestStrings[0], initialPhaseMetric.getUniqueRequestCounts()[0]); in beginCreateCredentialResponseCollectionCandidateEntryMetrics() 285 ResponseCollective responseCollective = new ResponseCollective(responseCounts, entryCounts); in beginCreateCredentialResponseCollectionCandidateEntryMetrics() 292 Map<String, Integer> responseCounts = new LinkedHashMap<>(); in beginGetCredentialResponseCollectionCandidateEntryMetrics() local 305 responseCounts.put(entryKey, responseCounts.getOrDefault(entryKey, 0) + 1); in beginGetCredentialResponseCollectionCandidateEntryMetrics() 308 ResponseCollective responseCollective = new ResponseCollective(responseCounts, entryCounts); in beginGetCredentialResponseCollectionCandidateEntryMetrics()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/shared/ |
D | ResponseCollective.java | 55 public ResponseCollective(@NonNull Map<String, Integer> responseCounts, in ResponseCollective() argument 57 mResponseCounts = responseCounts == null ? new LinkedHashMap<>() : in ResponseCollective() 58 new LinkedHashMap<>(responseCounts); in ResponseCollective() 147 Map<String, Integer> responseCounts = new LinkedHashMap<>(other.mResponseCounts); in combineCollectives() local 149 responseCounts.merge(response, mResponseCounts.get(response), Integer::sum); in combineCollectives() 157 return new ResponseCollective(responseCounts, entryCounts); in combineCollectives()
|