Home
last modified time | relevance | path

Searched refs:ct_start_time (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/cmds/statsd/tests/condition/
DConditionTimer_test.cpp27 static int64_t ct_start_time = 200; variable
34 EXPECT_EQ(0, timer.newBucketStart(ct_start_time)); in TEST()
37 timer.onConditionChanged(true, ct_start_time + 5); in TEST()
38 EXPECT_EQ(ct_start_time + 5, timer.mLastConditionTrueTimestampNs); in TEST()
41 EXPECT_EQ(95, timer.newBucketStart(ct_start_time + 100)); in TEST()
42 EXPECT_EQ(ct_start_time + 100, timer.mLastConditionTrueTimestampNs); in TEST()
51 EXPECT_EQ(ct_start_time - time_base, timer.newBucketStart(ct_start_time)); in TEST()
54 EXPECT_EQ(ct_start_time, timer.mLastConditionTrueTimestampNs); in TEST()
56 timer.onConditionChanged(false, ct_start_time + 5); in TEST()
59 EXPECT_EQ(5, timer.newBucketStart(ct_start_time + 100)); in TEST()