Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DGaugeMetric_e2e_pull_test.cpp67 int64_t configAddedTimeNs = 10 * 60 * NS_PER_SEC + baseTimeNs; in TEST() local
73 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
92 configAddedTimeNs + 55); in TEST()
100 configAddedTimeNs + bucketSizeNs + 10); in TEST()
104 configAddedTimeNs + bucketSizeNs + 100); in TEST()
115 configAddedTimeNs + 3 * bucketSizeNs + 2); in TEST()
122 configAddedTimeNs + 5 * bucketSizeNs + 1); in TEST()
132 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
156 EXPECT_EQ(configAddedTimeNs + 55, data.bucket_info(0).elapsed_timestamp_nanos(0)); in TEST()
212 int64_t configAddedTimeNs = 10 * 60 * NS_PER_SEC + baseTimeNs; in TEST() local
[all …]
DValueMetric_pull_e2e_test.cpp67 int64_t configAddedTimeNs = 10 * 60 * NS_PER_SEC + baseTimeNs; in TEST() local
73 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
92 configAddedTimeNs + 55); in TEST()
96 configAddedTimeNs + 65); in TEST()
100 configAddedTimeNs + 75); in TEST()
110 configAddedTimeNs + 2 * bucketSizeNs + 15); in TEST()
118 configAddedTimeNs + 4 * bucketSizeNs + 11); in TEST()
127 processor->onDumpReport(cfgKey, configAddedTimeNs + 7 * bucketSizeNs + 10, false, true, in TEST()
171 int64_t configAddedTimeNs = 10 * 60 * NS_PER_SEC + baseTimeNs; in TEST() local
177 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
[all …]
DDurationMetric_e2e_test.cpp50 const int64_t configAddedTimeNs = baseTimeNs + 1 * NS_PER_SEC; // 0:01 in TEST() local
58 auto processor = CreateStatsLogProcessor(baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
72 android::view::DISPLAY_STATE_OFF, configAddedTimeNs); // 0:01 in TEST()
76 const int64_t durationStartNs = configAddedTimeNs + 10 * NS_PER_SEC; // 0:11 in TEST()
90 processor->onDumpReport(cfgKey, configAddedTimeNs + bucketSizeNs + 1 * NS_PER_SEC, false, true, in TEST()
108 EXPECT_EQ(configAddedTimeNs, data.bucket_info(0).start_bucket_elapsed_nanos()); in TEST()
133 const int64_t configAddedTimeNs = baseTimeNs + 1 * NS_PER_SEC; // 0:01 in TEST() local
141 auto processor = CreateStatsLogProcessor(baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
155 android::view::DISPLAY_STATE_OFF, configAddedTimeNs); // 0:01 in TEST()
159 const int64_t durationStartNs = configAddedTimeNs + 10 * NS_PER_SEC; // 0:11 in TEST()
[all …]
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp1622 long configAddedTimeNs = metricsManager1->mLastReportTimeNs; in TEST() local
1624 auto event = CreateAcquireWakelockEvent(attributions1, "wl1", 1 + configAddedTimeNs); in TEST()
1627 event = CreateFinishScheduledJobEvent(attributions1, "finish1", 2 + configAddedTimeNs); in TEST()
1643 EXPECT_EQ(2 + configAddedTimeNs, activation4->start_ns); in TEST()
1652 EXPECT_TRUE(approximateSystemServerDeath > 2 + configAddedTimeNs); in TEST()
1653 EXPECT_TRUE(approximateSystemServerDeath < NS_PER_SEC + configAddedTimeNs); in TEST()
1712 EXPECT_EQ(2 + configAddedTimeNs, activation1004->start_ns); in TEST()