Home
last modified time | relevance | path

Searched refs:currentTimeNs (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp165 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()
Dmetrics_manager_util.cpp287 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 …]
DMetricsManager.cpp63 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()
Dmetrics_manager_util.h85 const int64_t currentTimeNs, UidMap& uidMap, const sp<StatsPullerManager>& pullerManager,
102 const int64_t currentTimeNs, std::set<int>& allTagIds,
DMetricProducer.h208 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);
DMetricsManager.h41 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);
DValueMetricProducer.h124 int64_t calcPreviousBucketEndTime(const int64_t currentTimeNs);
DValueMetricProducer.cpp473 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/
DStatsLogProcessor.h82 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);
DStatsLogProcessor.cpp613 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/
Dstatsd_test_util.h183 const int64_t currentTimeNs,
Dstatsd_test_util.cpp452 sp<StatsLogProcessor> CreateStatsLogProcessor(const int64_t timeBaseNs, const int64_t currentTimeNs, in CreateStatsLogProcessor() argument
466 processor->OnConfigUpdated(currentTimeNs, key, config); in CreateStatsLogProcessor()