Lines Matching refs:pullDelayNs

6542     const int64_t pullDelayNs = 1 * NS_PER_SEC;  // 1 sec  in TEST()  local
6566 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket2StartTimeNs + pullDelayNs, 10)); in TEST()
6568 bucket2StartTimeNs + pullDelayNs); in TEST()
6571 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {bucketSizeNs}, {pullDelayNs}, in TEST()
6581 {bucketSizeNs, bucketSizeNs}, {pullDelayNs, -pullDelayNs}, in TEST()
6646 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
6672 valueProducer->onConditionChanged(false, bucket2StartTimeNs + pullDelayNs); in TEST()
6676 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {bucketSizeNs}, {pullDelayNs}, in TEST()
6681 valueProducer->onConditionChanged(true, bucket2StartTimeNs + pullDelayNs + arbitraryIntervalNs); in TEST()
6684 false, bucket2StartTimeNs + pullDelayNs + arbitraryIntervalNs + conditionDurationNs); in TEST()
6695 valueProducer->mPastBuckets, {5, 5}, {bucketSizeNs, pullDelayNs + conditionDurationNs}, in TEST()
6696 {pullDelayNs, -pullDelayNs}, {bucketStartTimeNs, bucket2StartTimeNs}, in TEST()
6705 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
6735 valueProducer->onConditionChanged(true, bucket2StartTimeNs + pullDelayNs); in TEST()
6742 bucket2StartTimeNs + pullDelayNs + conditionDurationNs); in TEST()
6745 valueProducer->onConditionChanged(true, bucket3StartTimeNs + pullDelayNs); in TEST()
6761 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
6764 const int64_t bucket1LatePullNs = bucket2StartTimeNs + pullDelayNs; // 71 sec in TEST()
6796 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {bucketSizeNs}, {pullDelayNs}, in TEST()
6812 {pullDelayNs, -pullDelayNs + bucket2DelayNs}, in TEST()
6829 {pullDelayNs, -pullDelayNs + bucket2DelayNs, -bucket2DelayNs}, in TEST()
6838 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
6859 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket2StartTimeNs + pullDelayNs, 10)); in TEST()
6861 bucket2StartTimeNs + pullDelayNs); in TEST()
6864 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {bucketSizeNs}, {pullDelayNs}, in TEST()
6874 {bucketSizeNs, bucketSizeNs}, {pullDelayNs, -pullDelayNs}, in TEST()
6886 {pullDelayNs, -pullDelayNs, 0}, in TEST()
6896 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
6912 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket2StartTimeNs + pullDelayNs, 10)); in TEST()
6914 bucket2StartTimeNs + pullDelayNs); in TEST()
6928 {-pullDelayNs}, {bucket2StartTimeNs}, {bucket3StartTimeNs}); in TEST()
6937 valueProducer->mPastBuckets, {5, 5}, {bucketSizeNs, bucketSizeNs}, {-pullDelayNs, 0}, in TEST()
6949 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
6973 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket2StartTimeNs + pullDelayNs, 10)); in TEST()
6975 bucket2StartTimeNs + pullDelayNs); in TEST()
6979 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {bucketSizeNs}, {pullDelayNs}, in TEST()
7005 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
7030 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket2StartTimeNs + pullDelayNs, 10)); in TEST()
7032 bucket2StartTimeNs + pullDelayNs); in TEST()
7035 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {bucketSizeNs}, {pullDelayNs}, in TEST()
7050 EXPECT_EQ(pullDelayNs, in TEST()
7062 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
7063 const int64_t correctionThresholdNs = pullDelayNs; // 1 sec in TEST()
7066 metric.set_condition_correction_threshold_nanos(pullDelayNs); in TEST()
7067 ASSERT_EQ(pullDelayNs, metric.condition_correction_threshold_nanos()); in TEST()
7088 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket2StartTimeNs + pullDelayNs, 10)); in TEST()
7090 bucket2StartTimeNs + pullDelayNs); in TEST()
7093 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {bucketSizeNs}, {pullDelayNs}, in TEST()
7103 {bucketSizeNs, bucketSizeNs}, {pullDelayNs, -pullDelayNs}, in TEST()
7119 EXPECT_EQ(pullDelayNs, in TEST()
7121 EXPECT_EQ(-pullDelayNs, in TEST()
7133 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
7159 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket2StartTimeNs + pullDelayNs, 10)); in TEST()
7161 bucket2StartTimeNs + pullDelayNs); in TEST()
7164 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {bucketSizeNs}, {pullDelayNs}, in TEST()
7179 EXPECT_EQ(pullDelayNs, in TEST()
7191 const int64_t pullDelayNs = 1 * NS_PER_SEC; // 1 sec in TEST() local
7217 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket2StartTimeNs + pullDelayNs, 10)); in TEST()
7219 bucket2StartTimeNs + pullDelayNs); in TEST()
7222 assertPastBucketValuesSingleKey(valueProducer->mPastBuckets, {5}, {bucketSizeNs}, {pullDelayNs}, in TEST()