Searched refs:MetricUtilities (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/ |
D | MetricUtilitiesTest.java | 56 MetricUtilities.logApiCalledInitialPhase(null, -1); in logApiCalledInitialPhase_nullInitPhaseMetricAndNegativeSequence_success() 61 MetricUtilities.logApiCalledInitialPhase(new InitialPhaseMetric(-1), 1); in logApiCalledInitialPhase_invalidInitPhaseMetricAndPositiveSequence_success() 67 MetricUtilities.getHighlyUniqueInteger()); in logApiCalledInitialPhase_validInitPhaseMetric_success() 68 MetricUtilities.logApiCalledInitialPhase(validInitPhaseMetric, 1); in logApiCalledInitialPhase_validInitPhaseMetric_success() 73 MetricUtilities.logApiCalledAggregateCandidate(null, -1); in logApiCalledTotalCandidate_nullCandidateNegativeSequence_success() 78 MetricUtilities.logApiCalledAggregateCandidate(new CandidateAggregateMetric(-1), 1); in logApiCalledTotalCandidate_invalidCandidatePhasePositiveSequence_success() 83 MetricUtilities.logApiCalledAggregateCandidate( in logApiCalledTotalCandidate_validPhaseMetric_success() 84 new CandidateAggregateMetric(MetricUtilities.getHighlyUniqueInteger()), 1); in logApiCalledTotalCandidate_validPhaseMetric_success() 89 MetricUtilities.logApiCalledNoUidFinal(null, null, in logApiCalledNoUidFinal_nullNoUidFinalNegativeSequenceAndStatus_success() 95 MetricUtilities.logApiCalledNoUidFinal(new ChosenProviderFinalPhaseMetric(-1, -1), in logApiCalledNoUidFinal_invalidNoUidFinalPhasePositiveSequenceAndStatus_success() [all …]
|
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/ |
D | RequestSessionMetric.java | 19 import static com.android.server.credentials.MetricUtilities.DEFAULT_INT_32; 20 import static com.android.server.credentials.MetricUtilities.DELTA_EXCEPTION_CUT; 21 import static com.android.server.credentials.MetricUtilities.DELTA_RESPONSES_CUT; 22 import static com.android.server.credentials.MetricUtilities.generateMetricKey; 23 import static com.android.server.credentials.MetricUtilities.logApiCalledAggregateCandidate; 24 import static com.android.server.credentials.MetricUtilities.logApiCalledAuthenticationMetric; 25 import static com.android.server.credentials.MetricUtilities.logApiCalledCandidateGetMetric; 26 import static com.android.server.credentials.MetricUtilities.logApiCalledCandidatePhase; 27 import static com.android.server.credentials.MetricUtilities.logApiCalledFinalPhase; 28 import static com.android.server.credentials.MetricUtilities.logApiCalledNoUidFinal; [all …]
|
D | ProviderSessionMetric.java | 19 import static com.android.server.credentials.MetricUtilities.DELTA_RESPONSES_CUT; 20 import static com.android.server.credentials.MetricUtilities.generateMetricKey; 29 import com.android.server.credentials.MetricUtilities; 239 int numRemoteEntry = MetricUtilities.ZERO; in collectCandidateEntryMetrics() 240 int numActionEntries = MetricUtilities.ZERO; in collectCandidateEntryMetrics() 241 int numAuthEntries = MetricUtilities.ZERO; in collectCandidateEntryMetrics() 272 int numRemoteEntry = response.getRemoteCreateEntry() == null ? MetricUtilities.ZERO : in beginCreateCredentialResponseCollectionCandidateEntryMetrics() 273 MetricUtilities.UNIT; in beginCreateCredentialResponseCollectionCandidateEntryMetrics() 296 int numRemoteEntry = response.getRemoteCredentialEntry() != null ? MetricUtilities.ZERO : in beginGetCredentialResponseCollectionCandidateEntryMetrics() 297 MetricUtilities.UNIT; in beginGetCredentialResponseCollectionCandidateEntryMetrics()
|
D | CandidatePhaseMetric.java | 21 import com.android.server.credentials.MetricUtilities; 120 return MetricUtilities.DEFAULT_INT_32; in getTimestampFromReferenceStartMicroseconds()
|
D | CandidateAggregateMetric.java | 19 import com.android.server.credentials.MetricUtilities; 95 if (candidateMetric.getCandidateUid() == MetricUtilities.DEFAULT_INT_32) { in collectQueryAggregates() 132 if (authMetric.getProviderUid() == MetricUtilities.DEFAULT_INT_32) { in collectAuthAggregates()
|
D | ChosenProviderFinalPhaseMetric.java | 21 import com.android.server.credentials.MetricUtilities; 234 return MetricUtilities.DEFAULT_INT_32; in getTimestampFromReferenceStartMicroseconds()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/shared/ |
D | ResponseCollective.java | 21 import com.android.server.credentials.MetricUtilities; 125 return mEntryCounts.getOrDefault(e, MetricUtilities.ZERO); in getCountForEntry()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | CredentialManagerService.java | 794 MetricUtilities.logApiCalledInitialPhase(initMetric, in finalizeAndEmitInitialPhaseMetric() 808 MetricUtilities.logApiCalledSimpleV2( in setEnabledProviders() 814 MetricUtilities.logApiCalledSimpleV2( in setEnabledProviders() 850 MetricUtilities.logApiCalledSimpleV2( in setEnabledProviders() 857 MetricUtilities.logApiCalledSimpleV2( in setEnabledProviders() 867 MetricUtilities.logApiCalledSimpleV2( in setEnabledProviders() 872 MetricUtilities.logApiCalledSimpleV2( in setEnabledProviders() 894 MetricUtilities.logApiCalledSimpleV2( in isEnabledCredentialProviderService() 906 MetricUtilities.logApiCalledSimpleV2( in isEnabledCredentialProviderService() 914 MetricUtilities.logApiCalledSimpleV2( in isEnabledCredentialProviderService() [all …]
|
D | RequestSession.java | 145 mUniqueSessionInteger = MetricUtilities.getHighlyUniqueInteger(); in RequestSession() 147 MetricUtilities.getHighlyUniqueInteger()); in RequestSession() 394 boolean isUserCanceled = errorType.contains(MetricUtilities.USER_CANCELED_SUBSTRING); in respondToClientWithErrorAndFinish()
|
D | ProviderSession.java | 157 mProviderSessionUid = MetricUtilities.getPackageUid(mContext, mComponentName, userId); in ProviderSession()
|
D | MetricUtilities.java | 45 public class MetricUtilities { class
|