Searched refs:mLastConditionChangeTimestampNs (Results 1 – 3 of 3) sorted by relevance
40 mLastConditionChangeTimestampNs = bucketStartNs; in ConditionTimer()52 int64_t mLastConditionChangeTimestampNs = 0; variable95 if (nextBucketStartNs >= mLastConditionChangeTimestampNs) { in newBucketStart()96 mTimerNs += (nextBucketStartNs - mLastConditionChangeTimestampNs); in newBucketStart()97 mLastConditionChangeTimestampNs = nextBucketStartNs; in newBucketStart()104 } else if (mLastConditionChangeTimestampNs > nextBucketStartNs) { in newBucketStart()111 mTimerNs -= (mLastConditionChangeTimestampNs - nextBucketStartNs); in newBucketStart()122 if (!mCondition && (mLastConditionChangeTimestampNs > nextBucketStartNs)) { in newBucketStart()128 mTimerNs = mLastConditionChangeTimestampNs - nextBucketStartNs; in newBucketStart()139 mTimerNs += (timestampNs - mLastConditionChangeTimestampNs); in onConditionChanged()[all …]
49 EXPECT_EQ(ct_start_time + 5, timer.mLastConditionChangeTimestampNs); in TEST()54 EXPECT_EQ(ct_start_time + 100, timer.mLastConditionChangeTimestampNs); in TEST()67 EXPECT_EQ(ct_start_time, timer.mLastConditionChangeTimestampNs); in TEST()86 EXPECT_EQ(ct_start_time, timer.mLastConditionChangeTimestampNs); in TEST()107 EXPECT_EQ(ct_start_time + 7, timer.mLastConditionChangeTimestampNs); in TEST()
167 EXPECT_EQ(lastConditionTrueTimestampNs, conditionTimer.mLastConditionChangeTimestampNs);