Searched refs:start_ns (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/cmds/statsd/tests/e2e/ |
D | MetricActivation_e2e_test.cpp | 284 EXPECT_EQ(eventActivationMap[0]->start_ns, 0); in TEST() 287 EXPECT_EQ(eventActivationMap[2]->start_ns, 0); in TEST() 307 EXPECT_EQ(eventActivationMap[0]->start_ns, bucketStartTimeNs + 10); in TEST() 310 EXPECT_EQ(eventActivationMap[2]->start_ns, 0); in TEST() 324 EXPECT_EQ(eventActivationMap[0]->start_ns, bucketStartTimeNs + 10); in TEST() 327 EXPECT_EQ(eventActivationMap[2]->start_ns, bucketStartTimeNs + 20); in TEST() 337 EXPECT_EQ(eventActivationMap[0]->start_ns, bucketStartTimeNs + 10); in TEST() 340 EXPECT_EQ(eventActivationMap[2]->start_ns, bucketStartTimeNs + 20); in TEST() 358 EXPECT_EQ(eventActivationMap[0]->start_ns, bucketStartTimeNs + 10); in TEST() 361 EXPECT_EQ(eventActivationMap[2]->start_ns, bucketStartTimeNs + 20); in TEST() [all …]
|
D | DurationMetric_e2e_test.cpp | 266 EXPECT_EQ(eventActivationMap[2]->start_ns, 0); in TEST() 293 EXPECT_EQ(eventActivationMap[2]->start_ns, activationStartNs); in TEST() 307 EXPECT_EQ(eventActivationMap[2]->start_ns, activationStartNs); in TEST() 337 EXPECT_EQ(eventActivationMap[2]->start_ns, activation2StartNs); in TEST() 612 EXPECT_EQ(eventActivationMap[4]->start_ns, 0); in TEST() 624 EXPECT_EQ(eventActivationMap[4]->start_ns, 0); in TEST() 632 EXPECT_EQ(eventActivationMap[4]->start_ns, 0); in TEST() 641 EXPECT_EQ(eventActivationMap[4]->start_ns, durationStartNs); in TEST() 651 EXPECT_EQ(eventActivationMap[4]->start_ns, durationStartNs); in TEST() 676 EXPECT_EQ(eventActivationMap[4]->start_ns, duration2StartNs); in TEST()
|
/frameworks/base/cmds/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 616 EXPECT_EQ(0, activation1003->start_ns); in TEST() 620 EXPECT_EQ(0, activation1005->start_ns); in TEST() 624 EXPECT_EQ(0, activation1006->start_ns); in TEST() 630 EXPECT_EQ(timeBase2 + ttl3 - activation1003->ttl_ns, activation1003->start_ns); in TEST() 632 EXPECT_EQ(timeBase2 + ttl5 - activation1005->ttl_ns, activation1005->start_ns); in TEST() 634 EXPECT_EQ(timeBase2 + ttl6 - activation1006->ttl_ns, activation1003->start_ns); in TEST() 701 EXPECT_EQ(0, activation1->start_ns); in TEST() 709 EXPECT_EQ(0, activation1->start_ns); in TEST() 749 EXPECT_EQ(0, activation1001->start_ns); in TEST() 755 EXPECT_EQ(timeBase2 + ttl1 - activation1001->ttl_ns, activation1001->start_ns); in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricProducer.cpp | 93 elapsedTimestampNs > it.second->ttl_ns + it.second->start_ns) { in evaluateActiveStateLocked() 145 activation->start_ns = elapsedTimestampNs; in activateLocked() 182 activation->start_ns = in loadActiveMetricLocked() 201 activation->start_ns + activation->ttl_ns < currentTimeNs)) { in writeActiveMetricToProtoOutputStream() 211 activation->start_ns + activation->ttl_ns - currentTimeNs; in writeActiveMetricToProtoOutputStream()
|
D | MetricProducer.h | 397 start_ns(0), in Activation() 402 int64_t start_ns; member
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | test-resampler.cpp | 356 int64_t start_ns = start.tv_sec * 1000000000LL + start.tv_nsec; in main() local 358 int64_t time = end_ns - start_ns; in main() 372 start_ns = start.tv_sec * 1000000000LL + start.tv_nsec; in main() 374 time = end_ns - start_ns; in main() 418 int64_t start_ns = start.tv_sec * 1000000000LL + start.tv_nsec; in main() local 420 int64_t diff_ns = end_ns - start_ns; in main()
|