Lines Matching refs:count

105             std::chrono::duration_cast<std::chrono::milliseconds>(durationInSecs).count();  in constructResourceUsageStats()
175 .count(); in getCurrentCollectionIntervalMillis()
178 .count(); in getCurrentCollectionIntervalMillis()
249 int bootIterations = static_cast<int>(kTestPostSystemEventDurationSecs.count() / in startPeriodicCollection()
250 kTestSystemEventCollectionIntervalSecs.count()); in startPeriodicCollection()
360 .count(), in TEST_F()
365 .count(), in TEST_F()
416 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
418 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
424 int maxIterations = static_cast<int>(kTestPostSystemEventDurationSecs.count() / in TEST_F()
425 kTestSystemEventCollectionIntervalSecs.count()); in TEST_F()
441 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
443 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
452 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
466 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestPeriodicMonitorIntervalSecs.count()) in TEST_F()
468 << kTestPeriodicMonitorIntervalSecs.count() << " seconds interval"; in TEST_F()
478 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestPeriodicMonitorIntervalSecs.count()) in TEST_F()
480 << kTestPeriodicMonitorIntervalSecs.count() << " seconds interval"; in TEST_F()
529 std::to_string(kTestCustomCollectionIntervalSecs.count()); in TEST_F()
531 std::to_string(kTestCustomCollectionDurationSecs.count()); in TEST_F()
595 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestCustomCollectionIntervalSecs.count()) in TEST_F()
597 << kTestCustomCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
641 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestPeriodicMonitorIntervalSecs.count()); in TEST_F()
728 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
730 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
760 std::to_string(kTestCustomCollectionIntervalSecs.count()); in TEST_F()
762 std::to_string(kTestCustomCollectionDurationSecs.count()); in TEST_F()
772 int maxIterations = static_cast<int>(kTestCustomCollectionDurationSecs.count() / in TEST_F()
773 kTestCustomCollectionIntervalSecs.count()); in TEST_F()
786 int secondsElapsed = (i == 0 ? 0 : kTestCustomCollectionIntervalSecs.count()); in TEST_F()
803 kTestCustomCollectionDurationSecs.count() % kTestCustomCollectionIntervalSecs.count()) in TEST_F()
804 << "Custom collection did't end after " << kTestCustomCollectionDurationSecs.count() in TEST_F()
834 std::to_string(kTestCustomCollectionIntervalSecs.count()); in TEST_F()
836 std::to_string(kTestCustomCollectionDurationSecs.count()); in TEST_F()
891 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
893 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
899 int maxIterations = static_cast<int>(kTestPostSystemEventDurationSecs.count() / in TEST_F()
900 kTestSystemEventCollectionIntervalSecs.count()); in TEST_F()
915 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
917 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
926 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
961 int maxIterations = static_cast<int>(kTestUserSwitchTimeoutSecs.count() / in TEST_F()
962 kTestSystemEventCollectionIntervalSecs.count()); in TEST_F()
975 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
977 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
986 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1021 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1023 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1029 maxIterations = static_cast<int>(kTestPostSystemEventDurationSecs.count() / in TEST_F()
1030 kTestSystemEventCollectionIntervalSecs.count()); in TEST_F()
1045 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1047 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1055 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1091 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1093 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1129 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1131 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1137 int maxIterations = static_cast<int>(kTestPostSystemEventDurationSecs.count() / in TEST_F()
1138 kTestSystemEventCollectionIntervalSecs.count()); in TEST_F()
1153 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1155 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1164 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1199 int maxIterations = static_cast<int>(kTestUserSwitchTimeoutSecs.count() / in TEST_F()
1200 kTestSystemEventCollectionIntervalSecs.count()); in TEST_F()
1213 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1215 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1223 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1249 maxIterations = static_cast<int>(kTestUserSwitchTimeoutSecs.count() / in TEST_F()
1250 kTestSystemEventCollectionIntervalSecs.count()); in TEST_F()
1263 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1265 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1273 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1315 std::to_string(kTestCustomCollectionIntervalSecs.count()); in TEST_F()
1317 std::to_string(kTestCustomCollectionDurationSecs.count()); in TEST_F()
1348 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestCustomCollectionIntervalSecs.count()) in TEST_F()
1350 << kTestCustomCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1379 int maxIterations = static_cast<int>(kTestWakeUpDurationSecs.count() / in TEST_F()
1380 kTestSystemEventCollectionIntervalSecs.count()); in TEST_F()
1392 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1394 << kTestSystemEventCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1405 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestSystemEventCollectionIntervalSecs.count()) in TEST_F()
1420 std::to_string(kTestCustomCollectionIntervalSecs.count()); in TEST_F()
1422 std::to_string(kTestCustomCollectionDurationSecs.count()); in TEST_F()
1452 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestCustomCollectionIntervalSecs.count()) in TEST_F()
1454 << kTestCustomCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1475 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestPeriodicMonitorIntervalSecs.count()) in TEST_F()
1477 << kTestPeriodicMonitorIntervalSecs.count() << " seconds interval"; in TEST_F()
1541 std::to_string(kTestCustomCollectionIntervalSecs.count()); in TEST_F()
1543 std::to_string(kTestCustomCollectionDurationSecs.count()); in TEST_F()
1577 ASSERT_EQ(mLooperStub->numSecondsElapsed(), kTestCustomCollectionIntervalSecs.count()) in TEST_F()
1579 << kTestCustomCollectionIntervalSecs.count() << " seconds interval"; in TEST_F()
1741 .count(); in TEST_F()