Searched refs:guardrailTimes (Results 1 – 2 of 2) sorted by relevance
483 for (const auto& guardrailTimes : report.activation_guardrail_stats()) { in TEST() local484 if (uid1 == guardrailTimes.uid()) { in TEST()486 ASSERT_EQ(2, guardrailTimes.guardrail_met_sec_size()); in TEST()487 EXPECT_EQ(10, guardrailTimes.guardrail_met_sec(0)); in TEST()488 EXPECT_EQ(20, guardrailTimes.guardrail_met_sec(1)); in TEST()489 } else if (uid2 == guardrailTimes.uid()) { in TEST()492 ASSERT_EQ(maxCount, guardrailTimes.guardrail_met_sec_size()); in TEST()494 EXPECT_EQ(100 - maxCount + i, guardrailTimes.guardrail_met_sec(i)); in TEST()
250 auto& guardrailTimes = mActivationBroadcastGuardrailStats[uid]; in noteActivationBroadcastGuardrailHit() local251 if (guardrailTimes.size() == kMaxTimestampCount) { in noteActivationBroadcastGuardrailHit()252 guardrailTimes.pop_front(); in noteActivationBroadcastGuardrailHit()254 guardrailTimes.push_back(timeSec); in noteActivationBroadcastGuardrailHit()