/frameworks/base/cmds/statsd/src/metrics/ |
D | MetricProducer.cpp | 165 int64_t currentTimeNs) { in loadActiveMetricLocked() argument 183 currentTimeNs + activeEventActivation.remaining_ttl_nanos() - activation->ttl_ns; in loadActiveMetricLocked() 193 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto) { in writeActiveMetricToProtoOutputStream() argument 201 activation->start_ns + activation->ttl_ns < currentTimeNs)) { in writeActiveMetricToProtoOutputStream() 211 activation->start_ns + activation->ttl_ns - currentTimeNs; in writeActiveMetricToProtoOutputStream()
|
D | metrics_manager_util.cpp | 287 const int64_t currentTimeNs, UidMap& uidMap, in initMetrics() argument 339 … new CountMetricProducer(key, metric, conditionIndex, wizard, timeBaseTimeNs, currentTimeNs); in initMetrics() 409 … trackerIndices[2], nesting, wizard, internalDimensions, timeBaseTimeNs, currentTimeNs); in initMetrics() 503 timeBaseTimeNs, currentTimeNs, pullerManager); in initMetrics() 590 timeBaseTimeNs, currentTimeNs, pullerManager); in initMetrics() 665 const int64_t timeBaseNs, const int64_t currentTimeNs, in initAlarms() argument 669 int64_t currentTimeMillis = currentTimeNs / 1000 /1000; in initAlarms() 709 const int64_t currentTimeNs, in initMetricActivations() argument 779 const int64_t currentTimeNs, set<int>& allTagIds, in initStatsdConfig() argument 808 if (!initMetrics(key, config, timeBaseNs, currentTimeNs, uidMap, 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() 511 void MetricsManager::loadActiveConfig(const ActiveConfig& config, int64_t currentTimeNs) { in loadActiveConfig() argument 523 metric->loadActiveMetric(activeMetric, currentTimeNs); in loadActiveConfig() 535 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto) { in writeActiveConfigToProtoOutputStream() argument 542 metric->writeActiveMetricToProtoOutputStream(currentTimeNs, reason, proto); in writeActiveConfigToProtoOutputStream()
|
D | metrics_manager_util.h | 85 const int64_t currentTimeNs, UidMap& uidMap, const sp<StatsPullerManager>& pullerManager, 102 const int64_t currentTimeNs, std::set<int>& allTagIds,
|
D | MetricProducer.h | 208 void loadActiveMetric(const ActiveMetric& activeMetric, int64_t currentTimeNs) { in loadActiveMetric() argument 210 loadActiveMetricLocked(activeMetric, currentTimeNs); in loadActiveMetric() 253 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto); 277 void loadActiveMetricLocked(const ActiveMetric& activeMetric, int64_t currentTimeNs);
|
D | MetricsManager.h | 41 const int64_t currentTimeNs, const sp<UidMap>& uidMap, 141 void loadActiveConfig(const ActiveConfig& config, int64_t currentTimeNs); 144 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto);
|
D | ValueMetricProducer.h | 124 int64_t calcPreviousBucketEndTime(const int64_t currentTimeNs);
|
D | ValueMetricProducer.cpp | 473 int64_t ValueMetricProducer::calcPreviousBucketEndTime(const int64_t currentTimeNs) { in calcPreviousBucketEndTime() argument 474 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); 158 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto); 161 int64_t currentTimeNs);
|
D | StatsLogProcessor.cpp | 613 void StatsLogProcessor::SaveActiveConfigsToDisk(int64_t currentTimeNs) { in SaveActiveConfigsToDisk() argument 626 WriteActiveConfigsToProtoOutputStreamLocked(currentTimeNs, DEVICE_SHUTDOWN, &proto); in SaveActiveConfigsToDisk() 640 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto) { in WriteActiveConfigsToProtoOutputStream() argument 642 WriteActiveConfigsToProtoOutputStreamLocked(currentTimeNs, reason, proto); in WriteActiveConfigsToProtoOutputStream() 646 int64_t currentTimeNs, const DumpReportReason reason, ProtoOutputStream* proto) { in WriteActiveConfigsToProtoOutputStreamLocked() argument 651 metricsManager->writeActiveConfigToProtoOutputStream(currentTimeNs, reason, proto); in WriteActiveConfigsToProtoOutputStreamLocked() 686 int64_t currentTimeNs) { in SetConfigsActiveState() argument 688 SetConfigsActiveStateLocked(activeConfigList, currentTimeNs); in SetConfigsActiveState() 692 int64_t currentTimeNs) { in SetConfigsActiveStateLocked() argument 702 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()
|