Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/e2e/
DGaugeMetric_e2e_pull_test.cpp82 processor->mPullerManager->ForceClearPullerCache(); in TEST()
91 ASSERT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST()
93 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST()
95 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST()
225 processor->mPullerManager->ForceClearPullerCache(); in TEST()
229 ASSERT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST()
231 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST()
233 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST()
345 processor->mPullerManager->ForceClearPullerCache(); in TEST()
443 processor->mPullerManager->ForceClearPullerCache(); in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp215 processor->mPullerManager->ForceClearPullerCache(); in TEST()
224 ASSERT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST()
226 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST()
228 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST()
337 processor->mPullerManager->ForceClearPullerCache(); in TEST()
346 ASSERT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST()
348 processor->mPullerManager->mReceivers.begin()->second.front().intervalNs); in TEST()
350 processor->mPullerManager->mReceivers.begin()->second.front().nextPullTimeNs; in TEST()
475 processor->mPullerManager->ForceClearPullerCache(); in TEST()
485 ASSERT_EQ((size_t)1, processor->mPullerManager->mReceivers.size()); in TEST()
[all …]
DPartialBucket_e2e_test.cpp258 service->mPullerManager->RegisterPullAtomCallback( in TEST_F()
286 service->mPullerManager->RegisterPullAtomCallback( in TEST_F()
320 service->mPullerManager->RegisterPullAtomCallback( in TEST_F()
347 service->mPullerManager->RegisterPullAtomCallback( in TEST_F()
372 service->mPullerManager->RegisterPullAtomCallback( in TEST_F()
402 service->mPullerManager->RegisterPullAtomCallback( in TEST_F()
DStringReplace_e2e_test.cpp265 processor->mPullerManager->ForceClearPullerCache(); in TEST()
328 processor->mPullerManager->ForceClearPullerCache(); in TEST()
650 processor->mPullerManager->ForceClearPullerCache(); in TEST()
DConfigUpdate_e2e_test.cpp1008 processor->mPullerManager->ForceClearPullerCache(); in TEST_F()
1011 processor->mPullerManager->ForceClearPullerCache(); in TEST_F()
1043 sp<StatsPullerManager> pullerManager = processor->mPullerManager; in TEST_F()
1081 processor->mPullerManager->ForceClearPullerCache(); in TEST_F()
1084 processor->mPullerManager->ForceClearPullerCache(); in TEST_F()
1386 processor->mPullerManager->ForceClearPullerCache(); in TEST_F()
1389 processor->mPullerManager->ForceClearPullerCache(); in TEST_F()
1421 sp<StatsPullerManager> pullerManager = processor->mPullerManager; in TEST_F()
1445 processor->mPullerManager->ForceClearPullerCache(); in TEST_F()
1448 processor->mPullerManager->ForceClearPullerCache(); in TEST_F()
/packages/modules/StatsD/statsd/src/
DStatsService.cpp160 mPullerManager = new StatsPullerManager();
164 mUidMap, mPullerManager, mAnomalyAlarmMonitor, mPeriodicAlarmMonitor,
907 if (mPullerManager->Pull(s, uids, getElapsedRealtimeNs(), &stats)) { in cmd_print_pulled_metrics()
934 int cleared = mPullerManager->ForceClearPullerCache(); in cmd_clear_puller_cache()
1100 mPullerManager->SetStatsCompanionService(statsCompanion); in statsCompanionReady()
1365 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerPullAtomCallback()
1384 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerNativePullAtomCallback()
1394 mPullerManager->UnregisterPullAtomCallback(uid, atomTag); in unregisterPullAtomCallback()
1408 mPullerManager->UnregisterPullAtomCallback(uid, atomTag); in unregisterNativePullAtomCallback()
1475 mPullerManager->SetStatsCompanionService(nullptr); in statsCompanionServiceDiedImpl()
[all …]
DStatsLogProcessor.cpp106 mPullerManager(pullerManager), in StatsLogProcessor()
116 mPullerManager->ForceClearPullerCache(); in StatsLogProcessor()
458 mPullerManager->ClearPullerCacheIfNecessary(curTimeSec * NS_PER_SEC); in OnLogEvent()
579 new MetricsManager(key, config, mTimeBaseNs, timestampNs, mUidMap, mPullerManager, in OnConfigUpdatedLocked()
895 mPullerManager->ForceClearPullerCache(); in OnConfigRemoved()
1424 mPullerManager->OnAlarmFired(timestampNs); in informPullAlarmFired()
DStatsService.h437 sp<StatsPullerManager> mPullerManager; variable
DStatsLogProcessor.h219 sp<StatsPullerManager> mPullerManager; // Reference to StatsPullerManager variable
/packages/modules/StatsD/statsd/tests/
DStatsService_test.cpp157 service->mPullerManager->RegisterPullAtomCallback(/*uid=*/0, ATOM_TAG, NS_PER_SEC, in TEST_F()
166 service->mProcessor->mPullerManager->ForceClearPullerCache(); in TEST_F()
/packages/modules/StatsD/statsd/src/metrics/
DGaugeMetricProducer.cpp94 mPullerManager(pullerManager),
143 mPullerManager->RegisterReceiver(mPullTagId, mConfigKey, this, getCurrentBucketEndTimeNs(),
157 mPullerManager->UnRegisterReceiver(mPullTagId, mConfigKey, this); in ~GaugeMetricProducer()
410 if (!mPullerManager->Pull(mPullTagId, mConfigKey, timestampNs, &allData)) { in pullAndMatchEventsLocked()
DMetricsManager.cpp83 mPullerManager(pullerManager), in MetricsManager()
115 mPullerManager->RegisterPullUidProvider(mConfigKey, this); in MetricsManager()
131 mPullerManager->UnregisterPullUidProvider(mConfigKey, this); in ~MetricsManager()
169 mConfigKey, config, mUidMap, mPullerManager, anomalyAlarmMonitor, periodicAlarmMonitor, in updateConfig()
DValueMetricProducer.cpp90 mPullerManager(pullOptions.pullerManager), in ValueMetricProducer()
135 mPullerManager->RegisterReceiver(mPullAtomId, mConfigKey, this, getCurrentBucketEndTimeNs(), in ValueMetricProducer()
154 mPullerManager->UnRegisterReceiver(mPullAtomId, mConfigKey, this); in ~ValueMetricProducer()
DGaugeMetricProducer.h182 sp<StatsPullerManager> mPullerManager; variable
DValueMetricProducer.h254 const sp<StatsPullerManager> mPullerManager; variable
DMetricsManager.h223 sp<StatsPullerManager> mPullerManager; variable
DNumericValueMetricProducer.cpp173 if (!mPullerManager->Pull(mPullAtomId, mConfigKey, timestampNs, &allData)) { in pullAndMatchEventsLocked()