Searched refs:guardrailTimes (Results 1 – 2 of 2) sorted by relevance
679 for (const auto& guardrailTimes : report.activation_guardrail_stats()) { in TEST() local680 if (uid1 == guardrailTimes.uid()) { in TEST()682 ASSERT_EQ(2, guardrailTimes.guardrail_met_sec_size()); in TEST()683 EXPECT_EQ(10, guardrailTimes.guardrail_met_sec(0)); in TEST()684 EXPECT_EQ(20, guardrailTimes.guardrail_met_sec(1)); in TEST()685 } else if (uid2 == guardrailTimes.uid()) { in TEST()688 ASSERT_EQ(maxCount, guardrailTimes.guardrail_met_sec_size()); in TEST()690 EXPECT_EQ(100 - maxCount + i, guardrailTimes.guardrail_met_sec(i)); in TEST()
400 auto& guardrailTimes = mActivationBroadcastGuardrailStats[uid]; in noteActivationBroadcastGuardrailHit() local401 if (guardrailTimes.size() == kMaxTimestampCount) { in noteActivationBroadcastGuardrailHit()402 guardrailTimes.pop_front(); in noteActivationBroadcastGuardrailHit()404 guardrailTimes.push_back(timeSec); in noteActivationBroadcastGuardrailHit()