/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricProducer.cpp | 164 int64_t currentTimeNs) { in loadActiveMetricLocked() argument 182 currentTimeNs + activeEventActivation.remaining_ttl_nanos() - activation->ttl_ns; in loadActiveMetricLocked() 192 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto) { in writeActiveMetricToProtoOutputStream() argument 200 activation->start_ns + activation->ttl_ns < currentTimeNs)) { in writeActiveMetricToProtoOutputStream() 210 activation->start_ns + activation->ttl_ns - currentTimeNs; in writeActiveMetricToProtoOutputStream()
|
D | metrics_manager_util.cpp | 288 const int64_t currentTimeNs, in initMetrics() argument 340 … new CountMetricProducer(key, metric, conditionIndex, wizard, timeBaseTimeNs, currentTimeNs); in initMetrics() 410 … trackerIndices[2], nesting, wizard, internalDimensions, timeBaseTimeNs, currentTimeNs); in initMetrics() 504 timeBaseTimeNs, currentTimeNs, pullerManager); in initMetrics() 591 timeBaseTimeNs, currentTimeNs, pullerManager); in initMetrics() 663 const int64_t timeBaseNs, const int64_t currentTimeNs, in initAlarms() argument 667 int64_t currentTimeMillis = currentTimeNs / 1000 /1000; in initAlarms() 707 const int64_t currentTimeNs, in initMetricActivations() argument 777 const int64_t currentTimeNs, set<int>& allTagIds, in initStatsdConfig() argument 806 if (!initMetrics(key, config, timeBaseNs, currentTimeNs, pullerManager, logTrackerMap, in initStatsdConfig() [all …]
|
D | MetricsManager.cpp | 63 const int64_t timeBaseNs, const int64_t currentTimeNs, in MetricsManager() argument 72 mLastReportTimeNs(currentTimeNs), in MetricsManager() 80 timeBaseNs, currentTimeNs, mTagIds, mAllAtomMatchers, mAllConditionTrackers, in MetricsManager() 522 void MetricsManager::loadActiveConfig(const ActiveConfig& config, int64_t currentTimeNs) { in loadActiveConfig() argument 534 metric->loadActiveMetric(activeMetric, currentTimeNs); in loadActiveConfig() 546 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto) { in writeActiveConfigToProtoOutputStream() argument 553 metric->writeActiveMetricToProtoOutputStream(currentTimeNs, reason, proto); in writeActiveConfigToProtoOutputStream()
|
D | MetricProducer.h | 201 void loadActiveMetric(const ActiveMetric& activeMetric, int64_t currentTimeNs) { in loadActiveMetric() argument 203 loadActiveMetricLocked(activeMetric, currentTimeNs); in loadActiveMetric() 246 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto); 270 void loadActiveMetricLocked(const ActiveMetric& activeMetric, int64_t currentTimeNs);
|
D | MetricsManager.h | 41 const int64_t currentTimeNs, const sp<UidMap>& uidMap, 137 void loadActiveConfig(const ActiveConfig& config, int64_t currentTimeNs); 140 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto);
|
D | metrics_manager_util.h | 84 const int64_t currentTimeNs, UidMap& uidMap, const sp<StatsPullerManager>& pullerManager, 101 const int64_t currentTimeNs, std::set<int>& allTagIds,
|
D | ValueMetricProducer.h | 122 int64_t calcPreviousBucketEndTime(const int64_t currentTimeNs);
|
D | ValueMetricProducer.cpp | 468 int64_t ValueMetricProducer::calcPreviousBucketEndTime(const int64_t currentTimeNs) { in calcPreviousBucketEndTime() argument 469 return mTimeBaseNs + ((currentTimeNs - mTimeBaseNs) / mBucketSizeNs) * mBucketSizeNs; in calcPreviousBucketEndTime()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.h | 82 void SaveActiveConfigsToDisk(int64_t currentTimeNs); 86 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto); 92 void SetConfigsActiveState(const ActiveConfigList& activeConfigList, int64_t currentTimeNs); 168 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto); 171 int64_t currentTimeNs);
|
D | StatsLogProcessor.cpp | 604 void StatsLogProcessor::SaveActiveConfigsToDisk(int64_t currentTimeNs) { in SaveActiveConfigsToDisk() argument 617 WriteActiveConfigsToProtoOutputStreamLocked(currentTimeNs, DEVICE_SHUTDOWN, &proto); in SaveActiveConfigsToDisk() 631 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto) { in WriteActiveConfigsToProtoOutputStream() argument 633 WriteActiveConfigsToProtoOutputStreamLocked(currentTimeNs, reason, proto); in WriteActiveConfigsToProtoOutputStream() 637 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto) { in WriteActiveConfigsToProtoOutputStreamLocked() argument 642 metricsManager->writeActiveConfigToProtoOutputStream(currentTimeNs, reason, proto); in WriteActiveConfigsToProtoOutputStreamLocked() 677 int64_t currentTimeNs) { in SetConfigsActiveState() argument 679 SetConfigsActiveStateLocked(activeConfigList, currentTimeNs); in SetConfigsActiveState() 683 int64_t currentTimeNs) { in SetConfigsActiveStateLocked() argument 693 it->second->loadActiveConfig(config, currentTimeNs); in SetConfigsActiveStateLocked()
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.h | 183 const int64_t currentTimeNs,
|
D | statsd_test_util.cpp | 452 sp<StatsLogProcessor> CreateStatsLogProcessor(const int64_t timeBaseNs, const int64_t currentTimeNs, in CreateStatsLogProcessor() argument 466 processor->OnConfigUpdated(currentTimeNs, key, config); in CreateStatsLogProcessor()
|