/external/cronet/components/metrics/ |
D | unsent_log_store_metrics_impl_unittest.cc | 15 base::HistogramTester histogram_tester; in TEST() local 18 histogram_tester.ExpectBucketCount("UMA.UnsentLogs.DroppedSize", 99999, 1); in TEST() 23 base::HistogramTester histogram_tester; in TEST() local 26 histogram_tester.ExpectBucketCount("UMA.UnsentLogs.Dropped", 17, 1); in TEST() 33 base::HistogramTester histogram_tester; in TEST() local 36 histogram_tester.ExpectBucketCount("UMA.UnsentLogs.UnsentCount", 99, 1); in TEST() 37 histogram_tester.ExpectBucketCount("UMA.UnsentLogs.SentCount", 19999, 1); in TEST() 38 histogram_tester.ExpectBucketCount("UMA.UnsentLogs.UnsentPercentage", in TEST() 40 histogram_tester.ExpectBucketCount("UMA.UnsentLogs.PersistedSizeInKB", 63, 1); in TEST() 45 base::HistogramTester histogram_tester; in TEST() local [all …]
|
D | stability_metrics_helper_unittest.cc | 53 base::HistogramTester histogram_tester; in TEST_F() local 71 histogram_tester.ExpectUniqueSample("CrashExitCodes.Renderer", 1, 3); in TEST_F() 72 histogram_tester.ExpectBucketCount("BrowserRenderProcessHost.ChildCrashes", in TEST_F() 74 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() 76 histogram_tester.ExpectBucketCount( in TEST_F() 78 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() 82 histogram_tester.ExpectBucketCount( in TEST_F() 87 histogram_tester.ExpectBucketCount("BrowserRenderProcessHost.ChildKills", in TEST_F() 89 histogram_tester.ExpectBucketCount("BrowserRenderProcessHost.ChildKills", in TEST_F() 91 histogram_tester.ExpectBucketCount( in TEST_F() [all …]
|
D | stability_metrics_provider_unittest.cc | 34 base::HistogramTester histogram_tester; in TEST_F() local 47 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() 49 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() 54 base::HistogramTester histogram_tester; in TEST_F() local 74 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() 76 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() 102 base::HistogramTester histogram_tester; in TEST_F() local 123 histogram_tester.ExpectUniqueSample("Stability.Counts2", in TEST_F() 125 histogram_tester.ExpectTotalCount("Stability.Internals.SystemCrashCount", in TEST_F()
|
D | metrics_state_manager_unittest.cc | 550 base::HistogramTester histogram_tester; in TEST_F() local 556 histogram_tester.ExpectTotalCount("UMA.IsClonedInstall", 0); in TEST_F() 566 base::HistogramTester histogram_tester; in TEST_F() local 569 histogram_tester.ExpectUniqueSample("UMA.DataValidation.LogNormal", 189, 1); in TEST_F() 581 base::HistogramTester histogram_tester; in TEST_F() local 584 histogram_tester.ExpectUniqueSample("UMA.DataValidation.LogNormal", 2081, 1); in TEST_F() 666 base::HistogramTester histogram_tester; in TEST_F() local 679 histogram_tester.ExpectUniqueSample("UMA.IsClonedInstall", 1, 1); in TEST_F() 684 histogram_tester.ExpectUniqueSample("UMA.IsClonedInstall", 1, 1); in TEST_F() 691 histogram_tester.ExpectUniqueSample("UMA.IsClonedInstall", 1, 2); in TEST_F() [all …]
|
D | metrics_service_unittest.cc | 474 base::HistogramTester histogram_tester; in TEST_P() local 508 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_P() 513 base::HistogramTester histogram_tester; in TEST_P() local 578 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_P() 653 base::HistogramTester histogram_tester; in TEST_P() local 672 histogram_tester.ExpectBucketCount(kOnDidCreateMetricsLogHistogramName, true, in TEST_P() 677 histogram_tester.ExpectBucketCount(kOnDidCreateMetricsLogHistogramName, true, in TEST_P() 686 base::HistogramTester histogram_tester; in TEST_P() local 704 histogram_tester.ExpectBucketCount(kProvideHistogramsHistogramName, true, 1); in TEST_P() 708 histogram_tester.ExpectBucketCount(kProvideHistogramsHistogramName, true, 2); in TEST_P() [all …]
|
/external/cronet/crypto/ |
D | unexportable_key_metrics_unittest.cc | 18 base::HistogramTester histogram_tester; in TEST() local 19 histogram_tester.ExpectTotalCount("Crypto.TPMSupport2", 0); in TEST() 20 histogram_tester.ExpectTotalCount("Crypto.TPMDuration.NewKeyCreationECDSA", in TEST() 22 histogram_tester.ExpectTotalCount( in TEST() 24 histogram_tester.ExpectTotalCount("Crypto.TPMDuration.MessageSigningECDSA", in TEST() 26 histogram_tester.ExpectTotalCount("Crypto.TPMOperation.NewKeyCreation", 0); in TEST() 27 histogram_tester.ExpectTotalCount("Crypto.TPMOperation.WrappedKeyCreation", in TEST() 29 histogram_tester.ExpectTotalCount("Crypto.TPMOperation.MessageSigning", 0); in TEST() 30 histogram_tester.ExpectTotalCount("Crypto.TPMOperation.MessageVerify", 0); in TEST() 35 histogram_tester.GetAllSamples("Crypto.TPMSupport2"), in TEST() [all …]
|
/external/cronet/components/metrics/content/ |
D | content_stability_metrics_provider_unittest.cc | 78 base::HistogramTester histogram_tester; in TEST_F() local 96 histogram_tester.ExpectUniqueSample( in TEST_F() 99 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() 101 histogram_tester.ExpectUniqueSample( in TEST_F() 104 histogram_tester.ExpectUniqueSample( in TEST_F() 106 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() 122 base::HistogramTester histogram_tester; in TEST_F() local 160 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() 162 histogram_tester.ExpectBucketCount( in TEST_F() 164 histogram_tester.ExpectBucketCount("Stability.Counts2", in TEST_F() [all …]
|
D | content_stability_metrics_provider_browsertest.cc | 87 base::HistogramTester histogram_tester; in IN_PROC_BROWSER_TEST_F() local 103 histogram_tester.ExpectUniqueSample( in IN_PROC_BROWSER_TEST_F() 113 histogram_tester.ExpectUniqueSample( in IN_PROC_BROWSER_TEST_F() 119 histogram_tester.ExpectUniqueSample("ChildProcess.LaunchFailed.WinLastError", in IN_PROC_BROWSER_TEST_F()
|
/external/cronet/base/files/ |
D | important_file_writer_unittest.cc | 350 base::HistogramTester histogram_tester; in TEST_F() local 366 histogram_tester.ExpectTotalCount("ImportantFile.SerializationDuration", 0); in TEST_F() 367 histogram_tester.ExpectTotalCount("ImportantFile.WriteDuration", 0); in TEST_F() 371 base::HistogramTester histogram_tester; in TEST_F() local 401 histogram_tester.ExpectTotalCount("ImportantFile.SerializationDuration", 1); in TEST_F() 402 histogram_tester.ExpectTotalCount("ImportantFile.WriteDuration", 1); in TEST_F() 407 base::HistogramTester histogram_tester; in TEST_F() local 437 histogram_tester.ExpectTotalCount("ImportantFile.SerializationDuration", 1); in TEST_F() 438 histogram_tester.ExpectTotalCount("ImportantFile.WriteDuration", 0); in TEST_F() 454 base::HistogramTester histogram_tester; in TEST_F() local [all …]
|
/external/cronet/net/disk_cache/simple/ |
D | simple_file_tracker_unittest.cc | 277 base::HistogramTester histogram_tester; in TEST_F() local 297 histogram_tester.ExpectBucketCount("SimpleCache.FileDescriptorLimiterAction", in TEST_F() 300 histogram_tester.ExpectBucketCount("SimpleCache.FileDescriptorLimiterAction", in TEST_F() 302 histogram_tester.ExpectBucketCount("SimpleCache.FileDescriptorLimiterAction", in TEST_F() 311 histogram_tester.ExpectBucketCount("SimpleCache.FileDescriptorLimiterAction", in TEST_F() 314 histogram_tester.ExpectBucketCount("SimpleCache.FileDescriptorLimiterAction", in TEST_F() 316 histogram_tester.ExpectBucketCount("SimpleCache.FileDescriptorLimiterAction", in TEST_F() 335 histogram_tester.ExpectBucketCount("SimpleCache.FileDescriptorLimiterAction", in TEST_F() 338 histogram_tester.ExpectBucketCount("SimpleCache.FileDescriptorLimiterAction", in TEST_F() 341 histogram_tester.ExpectBucketCount("SimpleCache.FileDescriptorLimiterAction", in TEST_F() [all …]
|
/external/cronet/net/cert/internal/ |
D | trust_store_mac_unittest.cc | 309 base::HistogramTester histogram_tester; in TEST_P() local 433 histogram_tester.ExpectTotalCount( in TEST_P() 435 histogram_tester.ExpectTotalCount( in TEST_P() 437 histogram_tester.ExpectTotalCount( in TEST_P() 439 histogram_tester.ExpectTotalCount( in TEST_P() 450 histogram_tester.ExpectTotalCount( in TEST_P() 462 histogram_tester.ExpectTotalCount( in TEST_P() 464 histogram_tester.ExpectTotalCount( in TEST_P() 466 histogram_tester.ExpectTotalCount( in TEST_P()
|
/external/cronet/net/websockets/ |
D | websocket_stream_test.cc | 579 base::HistogramTester histogram_tester; in TEST_P() local 596 auto samples = histogram_tester.GetHistogramSamplesSinceCreation( in TEST_P() 731 base::HistogramTester histogram_tester; in TEST_P() local 749 auto samples = histogram_tester.GetHistogramSamplesSinceCreation( in TEST_P() 891 base::HistogramTester histogram_tester; in TEST_P() local 904 auto samples = histogram_tester.GetHistogramSamplesSinceCreation( in TEST_P() 957 base::HistogramTester histogram_tester; in TEST_P() local 979 auto samples = histogram_tester.GetHistogramSamplesSinceCreation( in TEST_P() 1051 base::HistogramTester histogram_tester; in TEST_P() local 1067 auto samples = histogram_tester.GetHistogramSamplesSinceCreation( in TEST_P() [all …]
|
/external/cronet/net/nqe/ |
D | network_quality_estimator_unittest.cc | 59 void ExpectBucketCountAtLeast(base::HistogramTester* histogram_tester, in ExpectBucketCountAtLeast() argument 64 histogram_tester->GetAllSamples(histogram); in ExpectBucketCountAtLeast() 210 base::HistogramTester histogram_tester; in TEST_F() local 272 histogram_tester.GetAllSamples("NQE.RTT.OnECTComputation").size()); in TEST_F() 274 histogram_tester.ExpectBucketCount( in TEST_F() 286 histogram_tester.ExpectTotalCount("NQE.RatioMedianRTT.WiFi", 0); in TEST_F() 318 base::HistogramTester histogram_tester; in TEST_F() local 357 histogram_tester.ExpectUniqueSample("NQE.RTT.ObservationSource", in TEST_F() 394 histogram_tester.ExpectBucketCount( in TEST_F() 397 histogram_tester.ExpectBucketCount( in TEST_F() [all …]
|
D | network_qualities_prefs_manager_unittest.cc | 254 base::HistogramTester histogram_tester; in TEST_F() local 256 histogram_tester.ExpectUniqueSample("NQE.Prefs.ReadSize", kMaxCacheSize, 1); in TEST_F()
|
/external/libchrome/base/files/ |
D | important_file_writer_unittest.cc | 331 base::HistogramTester histogram_tester; in TEST_F() local 336 histogram_tester.ExpectTotalCount("ImportantFile.FileCreateError", 0); in TEST_F() 337 histogram_tester.ExpectTotalCount("ImportantFile.FileCreateError.test", 0); in TEST_F() 343 histogram_tester.ExpectTotalCount("ImportantFile.FileCreateError", 1); in TEST_F() 344 histogram_tester.ExpectTotalCount("ImportantFile.FileCreateError.test", 0); in TEST_F() 347 histogram_tester.ExpectTotalCount("ImportantFile.FileCreateError", 1); in TEST_F() 348 histogram_tester.ExpectTotalCount("ImportantFile.FileCreateError.test", 1); in TEST_F()
|
/external/cronet/net/url_request/ |
D | url_request_throttler_unittest.cc | 192 base::HistogramTester histogram_tester; in TEST_F() local 197 histogram_tester.ExpectBucketCount(kRequestThrottledHistogramName, 0, 0); in TEST_F() 198 histogram_tester.ExpectBucketCount(kRequestThrottledHistogramName, 1, 1); in TEST_F() 202 base::HistogramTester histogram_tester; in TEST_F() local 209 histogram_tester.ExpectBucketCount(kRequestThrottledHistogramName, 0, 2); in TEST_F() 210 histogram_tester.ExpectBucketCount(kRequestThrottledHistogramName, 1, 0); in TEST_F()
|
/external/cronet/net/socket/ |
D | ssl_connect_job_unittest.cc | 1317 base::HistogramTester histogram_tester; in TEST_F() local 1326 histogram_tester.ExpectUniqueSample("Net.SSL_Connection_Error_ECH", OK, 1); in TEST_F() 1327 histogram_tester.ExpectTotalCount("Net.SSL_Connection_Latency_ECH", 1); in TEST_F() 1330 histogram_tester.ExpectUniqueSample("Net.SSL.ECHResult", in TEST_F() 1333 histogram_tester.ExpectTotalCount("Net.SSL.ECHResult", 0); in TEST_F() 1391 base::HistogramTester histogram_tester; in TEST_F() local 1398 histogram_tester.ExpectUniqueSample("Net.SSL.ECHResult", in TEST_F() 1453 base::HistogramTester histogram_tester; in TEST_F() local 1460 histogram_tester.ExpectUniqueSample("Net.SSL.ECHResult", in TEST_F() 1505 base::HistogramTester histogram_tester; in TEST_F() local [all …]
|
/external/cronet/net/http/ |
D | http_stream_factory_job_controller_unittest.cc | 2369 base::HistogramTester histogram_tester; in TestMainJobSucceedsAfterAltJobFailed() local 2407 histogram_tester.ExpectUniqueSample("Net.AlternateServiceFailed", -ERR_FAILED, in TestMainJobSucceedsAfterAltJobFailed() 2467 base::HistogramTester histogram_tester; in TestMainJobSucceedsAfterIgnoredError() local 2502 histogram_tester.ExpectUniqueSample("Net.AlternateServiceFailed", in TestMainJobSucceedsAfterIgnoredError() 4538 base::HistogramTester histogram_tester; in TEST_F() local 4542 histogram_tester.ExpectUniqueSample( in TEST_F() 4580 base::HistogramTester histogram_tester; in TEST_F() local 4584 histogram_tester.ExpectUniqueSample( in TEST_F() 4625 base::HistogramTester histogram_tester; in TEST_F() local 4629 histogram_tester.ExpectUniqueSample( in TEST_F() [all …]
|
D | http_proxy_connect_job_unittest.cc | 287 base::HistogramTester histogram_tester; in TEST_P() local 303 histogram_tester.ExpectTotalCount( in TEST_P() 306 histogram_tester.ExpectTotalCount( in TEST_P() 1018 base::HistogramTester histogram_tester; in TEST_P() local 1031 histogram_tester.ExpectTotalCount( in TEST_P() 1033 histogram_tester.ExpectTotalCount( in TEST_P() 1045 base::HistogramTester histogram_tester; in TEST_P() local 1064 histogram_tester.ExpectTotalCount( in TEST_P() 1066 histogram_tester.ExpectTotalCount( in TEST_P() 1204 base::HistogramTester histogram_tester; in TEST_P() local [all …]
|
/external/cronet/net/spdy/ |
D | alps_decoder_test.cc | 347 base::HistogramTester histogram_tester; in TEST_P() local 364 histogram_tester.ExpectUniqueSample( in TEST_P() 369 histogram_tester.ExpectUniqueSample( in TEST_P()
|
D | spdy_session_unittest.cc | 926 base::HistogramTester histogram_tester; in TEST_F() local 978 histogram_tester.ExpectBucketCount( in TEST_F() 981 histogram_tester.ExpectTotalCount("Net.SpdyPushedStreamFate", 1); in TEST_F() 2037 base::HistogramTester histogram_tester; in TEST_F() local 2041 histogram_tester.ExpectBucketCount("Net.SpdyHeadersCompressionPercentage", 76, in TEST_F() 6544 base::HistogramTester histogram_tester; in TEST_F() local 6555 histogram_tester.ExpectUniqueSample( in TEST_F() 6558 histogram_tester.ExpectUniqueSample( in TEST_F() 6561 histogram_tester.ExpectUniqueSample("Net.SpdySession.AlpsAcceptChEntries", in TEST_F() 6564 histogram_tester.ExpectTotalCount("Net.SpdySession.AcceptChForOrigin", 0); in TEST_F() [all …]
|
/external/cronet/base/threading/ |
D | hang_watcher_unittest.cc | 419 base::HistogramTester histogram_tester; in TEST_F() local 427 EXPECT_THAT(histogram_tester.GetAllSamples("HangWatcher.IsThreadHung." in TEST_F() 437 EXPECT_THAT(histogram_tester.GetAllSamples("HangWatcher.IsThreadHung." in TEST_F() 442 EXPECT_THAT(histogram_tester.GetAllSamples("HangWatcher.IsThreadHung." in TEST_F() 449 base::HistogramTester histogram_tester; in TEST_F() local 458 EXPECT_THAT(histogram_tester.GetAllSamples("HangWatcher.IsThreadHung." in TEST_F() 463 EXPECT_THAT(histogram_tester.GetAllSamples("HangWatcher.IsThreadHung." in TEST_F()
|
/external/cronet/net/cert/ |
D | cert_verify_proc_builtin_unittest.cc | 248 base::HistogramTester histogram_tester; in TEST_F() local 258 EXPECT_THAT(histogram_tester.GetAllSamples( in TEST_F() 296 base::HistogramTester histogram_tester; in TEST_F() local 309 EXPECT_THAT(histogram_tester.GetAllSamples( in TEST_F() 361 base::HistogramTester histogram_tester; in TEST_F() local 385 EXPECT_THAT(histogram_tester.GetAllSamples( in TEST_F()
|
/external/cronet/net/disk_cache/ |
D | entry_unittest.cc | 5675 base::HistogramTester histogram_tester; in TEST_F() local 5682 histogram_tester.ExpectUniqueSample("SimpleCache.Http.SyncOpenPrefetchMode", in TEST_F() 5687 base::HistogramTester histogram_tester; in TEST_F() local 5694 histogram_tester.ExpectUniqueSample("SimpleCache.Http.SyncOpenPrefetchMode", in TEST_F() 5699 base::HistogramTester histogram_tester; in TEST_F() local 5709 histogram_tester.ExpectUniqueSample("SimpleCache.Http.SyncOpenPrefetchMode", in TEST_F() 5732 base::HistogramTester histogram_tester; in TEST_F() local 5739 histogram_tester.ExpectUniqueSample("SimpleCache.Http.SyncCheckEOFResult", in TEST_F() 5744 base::HistogramTester histogram_tester; in TEST_F() local 5751 histogram_tester.ExpectUniqueSample("SimpleCache.Http.SyncCheckEOFResult", in TEST_F() [all …]
|
/external/cronet/base/profiler/ |
D | stack_sampler_unittest.cc | 289 HistogramTester histogram_tester; in TEST() local 323 histogram_tester.ExpectUniqueSample( in TEST() 330 histogram_tester.ExpectUniqueSample( in TEST()
|