Lines Matching refs:times

42     auto times = getUidCpuFreqTimes(0);  in TEST()  local
43 ASSERT_TRUE(times.has_value()); in TEST()
44 EXPECT_FALSE(times->empty()); in TEST()
108 auto times = getUidCpuFreqTimes(0); in TEST() local
109 ASSERT_TRUE(times.has_value()); in TEST()
114 ASSERT_NO_FATAL_FAILURE(TestUidTimesConsistent(*times, *concurrentTimes)); in TEST()
302 auto times = kv.second; in TEST() local
304 for (uint32_t policy = 0; policy < times.size(); ++policy) { in TEST()
305 for (uint32_t freqIdx = 0; freqIdx < times[policy].size(); ++freqIdx) { in TEST()
306 auto before = times[policy][freqIdx]; in TEST()
325 auto times = kv.second; in TEST() local
327 for (uint32_t i = 0; i < times.active.size(); ++i) { in TEST()
328 auto before = times.active[i]; in TEST()
332 for (uint32_t policy = 0; policy < times.policy.size(); ++policy) { in TEST()
333 for (uint32_t idx = 0; idx < times.policy[policy].size(); ++idx) { in TEST()
334 auto before = times.policy[policy][idx]; in TEST()
400 auto times = kv.second; in TEST() local
404 ASSERT_NO_FATAL_FAILURE(TestUidTimesConsistent(times, concurrentTimes)); in TEST()
412 auto times = getUidsCpuFreqTimes(); in TEST() local
413 ASSERT_TRUE(times.has_value()); in TEST()
414 ASSERT_FALSE(times->empty()); in TEST()
415 for (const auto &kv : *times) uid = std::max(uid, kv.first); in TEST()
440 auto times = getUidCpuFreqTimes(uid); in TEST() local
441 ASSERT_TRUE(times.has_value()); in TEST()
442 ASSERT_FALSE(times->empty()); in TEST()
450 for (size_t i = 0; i < times->size(); ++i) { in TEST()
451 for (auto x : (*times)[i]) sum += x; in TEST()
478 auto times = getUidCpuFreqTimes(0); in TEST() local
479 ASSERT_TRUE(times.has_value()); in TEST()
481 ASSERT_EQ(freqs->size(), times->size()); in TEST()
482 for (size_t i = 0; i < freqs->size(); ++i) EXPECT_EQ((*freqs)[i].size(), (*times)[i].size()); in TEST()