Home
last modified time | relevance | path

Searched refs:getMetricCode (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/credentials/java/com/android/server/credentials/
DRequestSession.java174 finishSession(!isUiActive, ApiStatus.CLIENT_CANCELED.getMetricCode()); in setCancellationListener()
230 ApiStatus.CLIENT_CANCELED.getMetricCode()); in onUiSelection()
327 ApiStatus.CLIENT_CANCELED.getMetricCode()); in getProviderDataForUi()
355 ApiStatus.CLIENT_CANCELED.getMetricCode()); in respondToClientWithResponseAndFinish()
361 ApiStatus.SUCCESS.getMetricCode()); in respondToClientWithResponseAndFinish()
366 finishSession(/*propagateCancellation=*/false, ApiStatus.FAILURE.getMetricCode()); in respondToClientWithResponseAndFinish()
385 … finishSession(/*propagateCancellation=*/true, ApiStatus.CLIENT_CANCELED.getMetricCode()); in respondToClientWithErrorAndFinish()
398 ApiStatus.USER_CANCELED.getMetricCode()); in respondToClientWithErrorAndFinish()
401 ApiStatus.FAILURE.getMetricCode()); in respondToClientWithErrorAndFinish()
421 finishSession(isUiWaitingForData(), ApiStatus.CLIENT_CANCELED.getMetricCode()); in binderDied()
DGetCandidateRequestSession.java199 finishSession(/*propagateCancellation=*/false, ApiStatus.FAILURE.getMetricCode()); in respondToFinalReceiverWithFailureAndFinish()
253 finishSession(/*propagateCancellation=*/ false, ApiStatus.SUCCESS.getMetricCode()); in respondToFinalReceiverWithResponseAndFinish()
256 finishSession(/*propagateCancellation=*/ false, ApiStatus.FAILURE.getMetricCode()); in respondToFinalReceiverWithResponseAndFinish()
DCreateRequestSession.java147 ProviderStatusForMetrics.FINAL_SUCCESS.getMetricCode()); in onFinalResponseReceived()
151 ProviderStatusForMetrics.FINAL_FAILURE.getMetricCode()); in onFinalResponseReceived()
DGetRequestSession.java148 ProviderStatusForMetrics.FINAL_SUCCESS.getMetricCode()); in onFinalResponseReceived()
152 ProviderStatusForMetrics.FINAL_FAILURE.getMetricCode()); in onFinalResponseReceived()
DMetricUtilities.java407 /* api_name */apiName.getMetricCode(), in logApiCalledSimpleV2()
409 /* api_status */ apiStatus.getMetricCode()); in logApiCalledSimpleV2()
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/
DRequestSessionMetric.java303 finalStatus.getMetricCode()); in collectFinalPhaseProviderMetricStatus()
376 /* apiStatus */ ApiStatus.USER_CANCELED.getMetricCode()); in logFailureOrUserCancel()
379 /* apiStatus */ ApiStatus.FAILURE.getMetricCode()); in logFailureOrUserCancel()
395 if (mInitialPhaseMetric.getApiName() == GET_CREDENTIAL.getMetricCode() in logCandidatePhaseMetrics()
397 .getMetricCode()) { in logCandidatePhaseMetrics()
DProviderSessionMetric.java133 .getMetricCode()); in collectAuthEntryUpdate()
138 .getMetricCode()); in collectAuthEntryUpdate()
171 .getMetricCode()); in collectCandidateMetricUpdate()
176 .getMetricCode()); in collectCandidateMetricUpdate()
DCandidateBrowsingPhaseMetric.java31 private int mEntryEnum = EntryEnum.UNKNOWN.getMetricCode();
DApiStatus.java43 public int getMetricCode() { in getMetricCode() method in ApiStatus
DProviderStatusForMetrics.java49 public int getMetricCode() { in getMetricCode() method in ProviderStatusForMetrics
DInitialPhaseMetric.java32 private int mApiName = ApiName.UNKNOWN.getMetricCode();
DEntryEnum.java71 public int getMetricCode() { in getMetricCode() method in EntryEnum
DApiName.java92 public int getMetricCode() { in getMetricCode() method in ApiName
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/metrics/
DApiStatusTest.java43 .map(ApiStatus::getMetricCode).collect(Collectors.toSet()); in getMetricCode_matchesWestWorldMetricCode_success()
DEntryEnumTest.java43 .map(EntryEnum::getMetricCode).collect(Collectors.toSet()); in getMetricCode_matchesWestWorldMetricCode_success()
DApiNameTest.java44 .map(ApiName::getMetricCode).collect(Collectors.toSet()); in getMetricCode_matchesWestWorldMetricCode_success()