Lines Matching refs:Metrics

106   void ExpectCommonPostReady(Metrics::WiFiApMode ap_mode,  in ExpectCommonPostReady()
107 Metrics::WiFiChannel channel, in ExpectCommonPostReady()
108 Metrics::WiFiNetworkPhyMode mode, in ExpectCommonPostReady()
109 Metrics::WiFiSecurity security, in ExpectCommonPostReady()
113 Metrics::kWiFiApModeMax)); in ExpectCommonPostReady()
116 Metrics::kMetricNetworkChannelMax)); in ExpectCommonPostReady()
119 Metrics::kWiFiNetworkPhyModeMax)); in ExpectCommonPostReady()
122 Metrics::kWiFiSecurityMax)); in ExpectCommonPostReady()
126 Metrics::kMetricNetworkSignalStrengthMin, in ExpectCommonPostReady()
127 Metrics::kMetricNetworkSignalStrengthMax, in ExpectCommonPostReady()
128 Metrics::kMetricNetworkSignalStrengthNumBuckets)); in ExpectCommonPostReady()
134 Metrics metrics_; // This must be destroyed after all |service_|s.
149 Metrics::kTimerHistogramMillisecondsMin, in TEST_F()
150 Metrics::kTimerHistogramMillisecondsMax, in TEST_F()
151 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
159 Metrics::kTimerHistogramMillisecondsMin, in TEST_F()
160 Metrics::kTimerHistogramMillisecondsMax, in TEST_F()
161 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
169 Metrics::kTimerHistogramMillisecondsMin, in TEST_F()
170 Metrics::kTimerHistogramMillisecondsMax, in TEST_F()
171 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
180 SendEnumToUMA(Metrics::kMetricNetworkServiceErrors, in TEST_F()
181 Metrics::kNetworkServiceErrorBadPassphrase, in TEST_F()
182 Metrics::kNetworkServiceErrorMax)); in TEST_F()
190 Metrics::kTimerHistogramMillisecondsMin, in TEST_F()
191 Metrics::kTimerHistogramMillisecondsMax, in TEST_F()
192 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
206 ExpectCommonPostReady(Metrics::kWiFiApModeManaged, in TEST_F()
207 Metrics::kWiFiChannel2412, in TEST_F()
208 Metrics::kWiFiNetworkPhyMode11a, in TEST_F()
209 Metrics::kWiFiSecurityWep, in TEST_F()
218 wep_wifi_service_->physical_mode_ = Metrics::kWiFiNetworkPhyMode11a; in TEST_F()
225 ExpectCommonPostReady(Metrics::kWiFiApModeManaged, in TEST_F()
226 Metrics::kWiFiChannel2412, in TEST_F()
227 Metrics::kWiFiNetworkPhyMode11a, in TEST_F()
228 Metrics::kWiFiSecurityWep, in TEST_F()
232 Metrics::kTimerHistogramMillisecondsMin, in TEST_F()
233 Metrics::kTimerHistogramMillisecondsMax, in TEST_F()
234 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
244 ExpectCommonPostReady(Metrics::kWiFiApModeManaged, in TEST_F()
245 Metrics::kWiFiChannel2412, in TEST_F()
246 Metrics::kWiFiNetworkPhyMode11a, in TEST_F()
247 Metrics::kWiFiSecurityWep, in TEST_F()
257 ExpectCommonPostReady(Metrics::kWiFiApModeManaged, in TEST_F()
258 Metrics::kWiFiChannel2412, in TEST_F()
259 Metrics::kWiFiNetworkPhyMode11a, in TEST_F()
260 Metrics::kWiFiSecurity8021x, in TEST_F()
263 eap_wifi_service_->physical_mode_ = Metrics::kWiFiNetworkPhyMode11a; in TEST_F()
282 ExpectCommonPostReady(Metrics::kWiFiApModeAdHoc, in TEST_F()
283 Metrics::kWiFiChannel2412, in TEST_F()
284 Metrics::kWiFiNetworkPhyMode11b, in TEST_F()
285 Metrics::kWiFiSecurityNone, in TEST_F()
288 adhoc_wifi_service->physical_mode_ = Metrics::kWiFiNetworkPhyMode11b; in TEST_F()
296 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(2411)); in TEST_F()
297 EXPECT_EQ(Metrics::kWiFiChannel2412, metrics_.WiFiFrequencyToChannel(2412)); in TEST_F()
298 EXPECT_EQ(Metrics::kWiFiChannel2472, metrics_.WiFiFrequencyToChannel(2472)); in TEST_F()
299 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(2473)); in TEST_F()
300 EXPECT_EQ(Metrics::kWiFiChannel2484, metrics_.WiFiFrequencyToChannel(2484)); in TEST_F()
301 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5169)); in TEST_F()
302 EXPECT_EQ(Metrics::kWiFiChannel5170, metrics_.WiFiFrequencyToChannel(5170)); in TEST_F()
303 EXPECT_EQ(Metrics::kWiFiChannel5190, metrics_.WiFiFrequencyToChannel(5190)); in TEST_F()
304 EXPECT_EQ(Metrics::kWiFiChannel5180, metrics_.WiFiFrequencyToChannel(5180)); in TEST_F()
305 EXPECT_EQ(Metrics::kWiFiChannel5200, metrics_.WiFiFrequencyToChannel(5200)); in TEST_F()
306 EXPECT_EQ(Metrics::kWiFiChannel5230, metrics_.WiFiFrequencyToChannel(5230)); in TEST_F()
307 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5231)); in TEST_F()
308 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5239)); in TEST_F()
309 EXPECT_EQ(Metrics::kWiFiChannel5240, metrics_.WiFiFrequencyToChannel(5240)); in TEST_F()
310 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5241)); in TEST_F()
311 EXPECT_EQ(Metrics::kWiFiChannel5320, metrics_.WiFiFrequencyToChannel(5320)); in TEST_F()
312 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5321)); in TEST_F()
313 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5499)); in TEST_F()
314 EXPECT_EQ(Metrics::kWiFiChannel5500, metrics_.WiFiFrequencyToChannel(5500)); in TEST_F()
315 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5501)); in TEST_F()
316 EXPECT_EQ(Metrics::kWiFiChannel5700, metrics_.WiFiFrequencyToChannel(5700)); in TEST_F()
317 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5701)); in TEST_F()
318 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5744)); in TEST_F()
319 EXPECT_EQ(Metrics::kWiFiChannel5745, metrics_.WiFiFrequencyToChannel(5745)); in TEST_F()
320 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5746)); in TEST_F()
321 EXPECT_EQ(Metrics::kWiFiChannel5825, metrics_.WiFiFrequencyToChannel(5825)); in TEST_F()
322 EXPECT_EQ(Metrics::kWiFiChannelUndef, metrics_.WiFiFrequencyToChannel(5826)); in TEST_F()
340 Metrics::kMetricTimeOnlineSecondsMin, in TEST_F()
341 Metrics::kMetricTimeOnlineSecondsMax, in TEST_F()
342 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
343 EXPECT_CALL(library_, SendToUMA(Metrics::kMetricTimeToDropSeconds, in TEST_F()
345 Metrics::kMetricTimeToDropSecondsMin, in TEST_F()
346 Metrics::kMetricTimeToDropSecondsMax, in TEST_F()
347 Metrics::kTimerHistogramNumBuckets)).Times(0); in TEST_F()
357 Metrics::kMetricTimeOnlineSecondsMin, in TEST_F()
358 Metrics::kMetricTimeOnlineSecondsMax, in TEST_F()
359 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
360 EXPECT_CALL(library_, SendToUMA(Metrics::kMetricTimeToDropSeconds, in TEST_F()
362 Metrics::kMetricTimeToDropSecondsMin, in TEST_F()
363 Metrics::kMetricTimeToDropSecondsMax, in TEST_F()
364 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
375 Metrics::kMetricDisconnectMin, in TEST_F()
376 Metrics::kMetricDisconnectMax, in TEST_F()
377 Metrics::kMetricDisconnectNumBuckets)); in TEST_F()
384 Metrics::kMetricDisconnectMin, in TEST_F()
385 Metrics::kMetricDisconnectMax, in TEST_F()
386 Metrics::kMetricDisconnectNumBuckets)); in TEST_F()
395 EXPECT_EQ(Metrics::kPortalResultDNSFailure, in TEST_F()
396 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
400 EXPECT_EQ(Metrics::kPortalResultDNSTimeout, in TEST_F()
401 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
405 EXPECT_EQ(Metrics::kPortalResultConnectionFailure, in TEST_F()
406 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
410 EXPECT_EQ(Metrics::kPortalResultConnectionTimeout, in TEST_F()
411 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
415 EXPECT_EQ(Metrics::kPortalResultHTTPFailure, in TEST_F()
416 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
420 EXPECT_EQ(Metrics::kPortalResultHTTPTimeout, in TEST_F()
421 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
425 EXPECT_EQ(Metrics::kPortalResultSuccess, in TEST_F()
426 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
430 EXPECT_EQ(Metrics::kPortalResultContentFailure, in TEST_F()
431 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
435 EXPECT_EQ(Metrics::kPortalResultContentTimeout, in TEST_F()
436 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
440 EXPECT_EQ(Metrics::kPortalResultUnknown, in TEST_F()
441 Metrics::PortalDetectionResultToEnum(result)); in TEST_F()
448 Metrics::kMetricTimeToConnectMillisecondsMin, in TEST_F()
449 Metrics::kMetricTimeToConnectMillisecondsMax, in TEST_F()
450 Metrics::kMetricTimeToConnectMillisecondsNumBuckets)); in TEST_F()
461 Metrics::kMetricTimeToDisableMillisecondsMin, in TEST_F()
462 Metrics::kMetricTimeToDisableMillisecondsMax, in TEST_F()
463 Metrics::kMetricTimeToDisableMillisecondsNumBuckets)); in TEST_F()
474 Metrics::kMetricTimeToEnableMillisecondsMin, in TEST_F()
475 Metrics::kMetricTimeToEnableMillisecondsMax, in TEST_F()
476 Metrics::kMetricTimeToEnableMillisecondsNumBuckets)); in TEST_F()
487 Metrics::kMetricTimeToInitializeMillisecondsMin, in TEST_F()
488 Metrics::kMetricTimeToInitializeMillisecondsMax, in TEST_F()
489 Metrics::kMetricTimeToInitializeMillisecondsNumBuckets)); in TEST_F()
499 Metrics::kMetricTimeToScanMillisecondsMin, in TEST_F()
500 Metrics::kMetricTimeToScanMillisecondsMax, in TEST_F()
501 Metrics::kMetricTimeToScanMillisecondsNumBuckets)); in TEST_F()
512 Metrics::kMetricTimeToScanMillisecondsMin, in TEST_F()
513 Metrics::kMetricTimeToScanMillisecondsMax, in TEST_F()
514 Metrics::kMetricTimeToScanMillisecondsNumBuckets)); in TEST_F()
523 Metrics::kMetricTimeToConnectMillisecondsMin, in TEST_F()
524 Metrics::kMetricTimeToConnectMillisecondsMax, in TEST_F()
525 Metrics::kMetricTimeToConnectMillisecondsNumBuckets)); in TEST_F()
529 Metrics::kMetricTimeToScanMillisecondsMin, in TEST_F()
530 Metrics::kMetricTimeToScanMillisecondsMax + in TEST_F()
531 Metrics::kMetricTimeToConnectMillisecondsMax, in TEST_F()
532 Metrics::kMetricTimeToScanMillisecondsNumBuckets + in TEST_F()
533 Metrics::kMetricTimeToConnectMillisecondsNumBuckets)); in TEST_F()
544 Metrics::kMetricTimeToConnectMillisecondsMin, in TEST_F()
545 Metrics::kMetricTimeToConnectMillisecondsMax, in TEST_F()
546 Metrics::kMetricTimeToConnectMillisecondsNumBuckets)).Times(0); in TEST_F()
550 Metrics::kMetricTimeToScanMillisecondsMin, in TEST_F()
551 Metrics::kMetricTimeToScanMillisecondsMax + in TEST_F()
552 Metrics::kMetricTimeToConnectMillisecondsMax, in TEST_F()
553 Metrics::kMetricTimeToScanMillisecondsNumBuckets + in TEST_F()
554 Metrics::kMetricTimeToConnectMillisecondsNumBuckets)). in TEST_F()
595 Metrics::kMetricTimeToScanMillisecondsMax + 1); in TEST_F()
609 SendEnumToUMA(Metrics::kMetricCellular3GPPRegistrationDelayedDrop, in TEST_F()
610 Metrics::kCellular3GPPRegistrationDelayedDropPosted, in TEST_F()
611 Metrics::kCellular3GPPRegistrationDelayedDropMax)); in TEST_F()
616 SendEnumToUMA(Metrics::kMetricCellular3GPPRegistrationDelayedDrop, in TEST_F()
617 Metrics::kCellular3GPPRegistrationDelayedDropCanceled, in TEST_F()
618 Metrics::kCellular3GPPRegistrationDelayedDropMax)); in TEST_F()
626 Metrics::kMetricTimeToConnectMillisecondsMin, in TEST_F()
627 Metrics::kMetricTimeToConnectMillisecondsMax, in TEST_F()
628 Metrics::kMetricTimeToConnectMillisecondsNumBuckets)); in TEST_F()
630 SendToUMA(Metrics::kMetricCellularAutoConnectTotalTime, in TEST_F()
632 Metrics::kMetricCellularAutoConnectTotalTimeMin, in TEST_F()
633 Metrics::kMetricCellularAutoConnectTotalTimeMax, in TEST_F()
634 Metrics::kMetricCellularAutoConnectTotalTimeNumBuckets)); in TEST_F()
636 SendToUMA(Metrics::kMetricCellularAutoConnectTries, in TEST_F()
638 Metrics::kMetricCellularAutoConnectTriesMin, in TEST_F()
639 Metrics::kMetricCellularAutoConnectTriesMax, in TEST_F()
640 Metrics::kMetricCellularAutoConnectTriesNumBuckets)); in TEST_F()
666 SendEnumToUMA(Metrics::kMetricCellularDrop, in TEST_F()
668 Metrics::kCellularDropTechnologyMax)); in TEST_F()
670 SendToUMA(Metrics::kMetricCellularSignalStrengthBeforeDrop, in TEST_F()
672 Metrics::kMetricCellularSignalStrengthBeforeDropMin, in TEST_F()
673 Metrics::kMetricCellularSignalStrengthBeforeDropMax, in TEST_F()
674 Metrics::kMetricCellularSignalStrengthBeforeDropNumBuckets)); in TEST_F()
682 EXPECT_CALL(library_, SendEnumToUMA(Metrics::kMetricCellularFailure, in TEST_F()
683 Metrics::kMetricCellularConnectionFailure, in TEST_F()
684 Metrics::kMetricCellularMaxFailure)); in TEST_F()
690 SendEnumToUMA(Metrics::kMetricCellularOutOfCreditsReason, in TEST_F()
691 Metrics::kCellularOutOfCreditsReasonConnectDisconnectLoop, in TEST_F()
692 Metrics::kCellularOutOfCreditsReasonMax)); in TEST_F()
694 Metrics::kCellularOutOfCreditsReasonConnectDisconnectLoop); in TEST_F()
698 SendEnumToUMA(Metrics::kMetricCellularOutOfCreditsReason, in TEST_F()
699 Metrics::kCellularOutOfCreditsReasonTxCongested, in TEST_F()
700 Metrics::kCellularOutOfCreditsReasonMax)); in TEST_F()
702 Metrics::kCellularOutOfCreditsReasonTxCongested); in TEST_F()
706 SendEnumToUMA(Metrics::kMetricCellularOutOfCreditsReason, in TEST_F()
707 Metrics::kCellularOutOfCreditsReasonElongatedTimeWait, in TEST_F()
708 Metrics::kCellularOutOfCreditsReasonMax)); in TEST_F()
710 Metrics::kCellularOutOfCreditsReasonElongatedTimeWait); in TEST_F()
714 EXPECT_CALL(library_, SendEnumToUMA(Metrics::kMetricCorruptedProfile, in TEST_F()
715 Metrics::kCorruptedProfile, in TEST_F()
716 Metrics::kCorruptedProfileMax)); in TEST_F()
752 SendToUMA(Metrics::kMetricServicesOnSameNetwork, in TEST_F()
754 Metrics::kMetricServicesOnSameNetworkMin, in TEST_F()
755 Metrics::kMetricServicesOnSameNetworkMax, in TEST_F()
756 Metrics::kMetricServicesOnSameNetworkNumBuckets)); in TEST_F()
762 SendEnumToUMA(Metrics::kMetricUserInitiatedEvents, in TEST_F()
763 Metrics::kUserInitiatedEventWifiScan, in TEST_F()
764 Metrics::kUserInitiatedEventMax)); in TEST_F()
765 metrics_.NotifyUserInitiatedEvent(Metrics::kUserInitiatedEventWifiScan); in TEST_F()
770 SendToUMA(Metrics::kMetricWifiTxBitrate, in TEST_F()
772 Metrics::kMetricWifiTxBitrateMin, in TEST_F()
773 Metrics::kMetricWifiTxBitrateMax, in TEST_F()
774 Metrics::kMetricWifiTxBitrateNumBuckets)); in TEST_F()
780 SendEnumToUMA(Metrics::kMetricWifiUserInitiatedConnectionResult, in TEST_F()
781 Metrics::kUserInitiatedConnectionResultSuccess, in TEST_F()
782 Metrics::kUserInitiatedConnectionResultMax)); in TEST_F()
784 Metrics::kMetricWifiUserInitiatedConnectionResult, in TEST_F()
785 Metrics::kUserInitiatedConnectionResultSuccess); in TEST_F()
791 Metrics::kFallbackDNSTestResultSuccess, in TEST_F()
792 Metrics::kFallbackDNSTestResultMax)); in TEST_F()
794 Metrics::kFallbackDNSTestResultSuccess); in TEST_F()
800 Metrics::kNetworkProblemDNSFailure, in TEST_F()
801 Metrics::kNetworkProblemMax)); in TEST_F()
803 Metrics::kNetworkProblemDNSFailure); in TEST_F()
809 Metrics::kDhcpClientStatusReboot, in TEST_F()
810 Metrics::kDhcpClientStatusMax)); in TEST_F()
811 metrics_.NotifyDhcpClientStatus(Metrics::kDhcpClientStatusReboot); in TEST_F()
820 Metrics::kDeviceTechnologyTypeCellular, in TEST_F()
821 Metrics::kDeviceTechnologyTypeMax)); in TEST_F()
826 const Metrics::WakeOnWiFiFeaturesEnabledState state = in TEST_F()
827 Metrics::kWakeOnWiFiFeaturesEnabledStateNone; in TEST_F()
831 Metrics::kWakeOnWiFiFeaturesEnabledStateMax)); in TEST_F()
836 const Metrics::VerifyWakeOnWiFiSettingsResult result = in TEST_F()
837 Metrics::kVerifyWakeOnWiFiSettingsResultSuccess; in TEST_F()
841 Metrics::kVerifyWakeOnWiFiSettingsResultMax)); in TEST_F()
846 const Metrics::WiFiConnectionStatusAfterWake status = in TEST_F()
847 Metrics::kWiFiConnetionStatusAfterWakeOnWiFiEnabledWakeConnected; in TEST_F()
850 status, Metrics::kWiFiConnetionStatusAfterWakeMax)); in TEST_F()
861 const Metrics::WakeOnWiFiThrottled result_true = in TEST_F()
862 Metrics::kWakeOnWiFiThrottledTrue; in TEST_F()
866 result_true, Metrics::kWakeOnWiFiThrottledMax)); in TEST_F()
869 const Metrics::WakeOnWiFiThrottled result_false = in TEST_F()
870 Metrics::kWakeOnWiFiThrottledFalse; in TEST_F()
874 result_false, Metrics::kWakeOnWiFiThrottledMax)); in TEST_F()
890 SendToUMA(Metrics::kMetricSuspendActionTimeTaken, in TEST_F()
892 Metrics::kMetricSuspendActionTimeTakenMillisecondsMin, in TEST_F()
893 Metrics::kMetricSuspendActionTimeTakenMillisecondsMax, in TEST_F()
894 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
895 EXPECT_CALL(library_, SendEnumToUMA(Metrics::kMetricSuspendActionResult, in TEST_F()
896 Metrics::kSuspendActionResultSuccess, in TEST_F()
897 Metrics::kSuspendActionResultMax)); in TEST_F()
914 SendToUMA(Metrics::kMetricSuspendActionTimeTaken, in TEST_F()
916 Metrics::kMetricSuspendActionTimeTakenMillisecondsMin, in TEST_F()
917 Metrics::kMetricSuspendActionTimeTakenMillisecondsMax, in TEST_F()
918 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
919 EXPECT_CALL(library_, SendEnumToUMA(Metrics::kMetricSuspendActionResult, in TEST_F()
920 Metrics::kSuspendActionResultFailure, in TEST_F()
921 Metrics::kSuspendActionResultMax)); in TEST_F()
943 SendToUMA(Metrics::kMetricDarkResumeActionTimeTaken, in TEST_F()
945 Metrics::kMetricDarkResumeActionTimeTakenMillisecondsMin, in TEST_F()
946 Metrics::kMetricDarkResumeActionTimeTakenMillisecondsMax, in TEST_F()
947 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
948 EXPECT_CALL(library_, SendEnumToUMA(Metrics::kMetricDarkResumeActionResult, in TEST_F()
949 Metrics::kDarkResumeActionResultSuccess, in TEST_F()
950 Metrics::kDarkResumeActionResultMax)); in TEST_F()
953 SendEnumToUMA(Metrics::kMetricDarkResumeUnmatchedScanResultReceived, in TEST_F()
954 Metrics::kDarkResumeUnmatchedScanResultsReceivedFalse, in TEST_F()
955 Metrics::kDarkResumeUnmatchedScanResultsReceivedMax)); in TEST_F()
956 EXPECT_CALL(library_, SendToUMA(Metrics::kMetricDarkResumeScanNumRetries, in TEST_F()
958 Metrics::kMetricDarkResumeScanNumRetriesMin, in TEST_F()
959 Metrics::kMetricDarkResumeScanNumRetriesMax, in TEST_F()
960 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
982 SendToUMA(Metrics::kMetricDarkResumeActionTimeTaken, in TEST_F()
984 Metrics::kMetricDarkResumeActionTimeTakenMillisecondsMin, in TEST_F()
985 Metrics::kMetricDarkResumeActionTimeTakenMillisecondsMax, in TEST_F()
986 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
987 EXPECT_CALL(library_, SendEnumToUMA(Metrics::kMetricDarkResumeActionResult, in TEST_F()
988 Metrics::kDarkResumeActionResultFailure, in TEST_F()
989 Metrics::kDarkResumeActionResultMax)); in TEST_F()
992 SendEnumToUMA(Metrics::kMetricDarkResumeUnmatchedScanResultReceived, in TEST_F()
993 Metrics::kDarkResumeUnmatchedScanResultsReceivedFalse, in TEST_F()
994 Metrics::kDarkResumeUnmatchedScanResultsReceivedMax)); in TEST_F()
995 EXPECT_CALL(library_, SendToUMA(Metrics::kMetricDarkResumeScanNumRetries, in TEST_F()
997 Metrics::kMetricDarkResumeScanNumRetriesMin, in TEST_F()
998 Metrics::kMetricDarkResumeScanNumRetriesMax, in TEST_F()
999 Metrics::kTimerHistogramNumBuckets)); in TEST_F()
1048 SendEnumToUMA(Metrics::kMetricDarkResumeScanRetryResult, in TEST_F()
1049 Metrics::kDarkResumeScanRetryResultConnected, in TEST_F()
1050 Metrics::kDarkResumeScanRetryResultMax)); in TEST_F()
1055 SendEnumToUMA(Metrics::kMetricDarkResumeScanRetryResult, in TEST_F()
1056 Metrics::kDarkResumeScanRetryResultNotConnected, in TEST_F()
1057 Metrics::kDarkResumeScanRetryResultMax)); in TEST_F()
1078 SendEnumToUMA(Metrics::kMetricConnectionDiagnosticsIssue, in TEST_F()
1079 Metrics::kConnectionDiagnosticsIssueIPCollision, in TEST_F()
1080 Metrics::kConnectionDiagnosticsIssueMax)); in TEST_F()
1099 EXPECT_DEATH(Metrics::PortalDetectionResultToEnum(result), in TEST_F()
1108 EXPECT_DEATH(Metrics::PortalDetectionResultToEnum(result), in TEST_F()
1117 EXPECT_DEATH(Metrics::PortalDetectionResultToEnum(result), in TEST_F()