Home
last modified time | relevance | path

Searched refs:flushIfNeededLocked (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp133 flushIfNeededLocked(startTimeNs); in GaugeMetricProducer()
174 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked()
189 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
380 flushIfNeededLocked(eventTimeNs); in onConditionChangedLocked()
395 flushIfNeededLocked(eventTimeNs); in onSlicedConditionMayChangeLocked()
472 flushIfNeededLocked(eventTimeNs); in onMatchedLogEventInternalLocked()
529 flushIfNeededLocked(dropTimeNs); in dropDataLocked()
539 void GaugeMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked() function in android::os::statsd::GaugeMetricProducer
DCountMetricProducer.cpp105 flushIfNeededLocked(startTimeNs); in CountMetricProducer()
154 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
245 flushIfNeededLocked(dropTimeNs); in dropDataLocked()
281 flushIfNeededLocked(eventTimeNs); in onMatchedLogEventInternalLocked()
316 void CountMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked() function in android::os::statsd::CountMetricProducer
DDurationMetricProducer.cpp132 flushIfNeededLocked(startTimeNs); in DurationMetricProducer()
434 flushIfNeededLocked(eventTime); in onSlicedConditionMayChangeLocked()
452 flushIfNeededLocked(eventTimeNs); in onActiveStateChangedLocked()
461 flushIfNeededLocked(eventTimeNs); in onActiveStateChangedLocked()
481 flushIfNeededLocked(eventTime); in onConditionChangedLocked()
490 flushIfNeededLocked(dropTimeNs); in dropDataLocked()
496 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked()
509 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
599 void DurationMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked() function in android::os::statsd::DurationMetricProducer
744 flushIfNeededLocked(event.GetElapsedTimestampNs()); in onMatchedLogEventLocked()
DGaugeMetricProducer.h83 flushIfNeededLocked(eventTimeNs); in notifyAppUpgrade()
123 void flushIfNeededLocked(const int64_t& eventTime) override;
DMetricProducer.h112 flushIfNeededLocked(eventTimeNs); in notifyAppUpgrade()
277 virtual void flushIfNeededLocked(const int64_t& eventTime){}; in flushIfNeededLocked() function
283 flushIfNeededLocked(eventTimeNs); in flushLocked()
DValueMetricProducer.cpp146 flushIfNeededLocked(startTimeNs); in ValueMetricProducer()
191 flushIfNeededLocked(dropTimeNs); in dropDataLocked()
396 flushIfNeededLocked(eventTimeNs); in onActiveStateChangedLocked()
451 flushIfNeededLocked(eventTimeNs); in onConditionChangedLocked()
508 flushIfNeededLocked(originalPullTimeNs); in onDataPulled()
678 flushIfNeededLocked(eventTimeNs); in onMatchedLogEventInternalLocked()
823 void ValueMetricProducer::flushIfNeededLocked(const int64_t& eventTimeNs) { in flushIfNeededLocked() function in android::os::statsd::ValueMetricProducer
DCountMetricProducer.h80 void flushIfNeededLocked(const int64_t& newEventTime) override;
DDurationMetricProducer.h96 void flushIfNeededLocked(const int64_t& eventTime);
DValueMetricProducer.h110 void flushIfNeededLocked(const int64_t& eventTime) override;
/frameworks/base/cmds/statsd/tests/metrics/
DCountMetricProducer_test.cpp79 countProducer.flushIfNeededLocked(bucketStartTimeNs + 2); in TEST()
83 countProducer.flushIfNeededLocked(bucketStartTimeNs + bucketSizeNs + 1); in TEST()
98 countProducer.flushIfNeededLocked(bucketStartTimeNs + 2 * bucketSizeNs + 1); in TEST()
109 countProducer.flushIfNeededLocked(bucketStartTimeNs + 3 * bucketSizeNs + 1); in TEST()
145 countProducer.flushIfNeededLocked(bucketStartTimeNs + bucketSizeNs + 1); in TEST()
198 countProducer.flushIfNeededLocked(bucketStartTimeNs + 1); in TEST()
202 countProducer.flushIfNeededLocked(bucketStartTimeNs + bucketSizeNs + 1); in TEST()
DDurationMetricProducer_test.cpp82 durationProducer.flushIfNeededLocked(bucketStartTimeNs + 2 * bucketSizeNs + 1); in TEST()
127 durationProducer.flushIfNeededLocked(bucketStartTimeNs + bucketSizeNs + 1); in TEST()
133 durationProducer.flushIfNeededLocked(bucketStartTimeNs + 2 * bucketSizeNs + 1); in TEST()
174 durationProducer.flushIfNeededLocked(bucketStartTimeNs + bucketSizeNs + 1); in TEST()
180 durationProducer.flushIfNeededLocked(bucketStartTimeNs + 2 * bucketSizeNs + 1); in TEST()
379 durationProducer.flushIfNeededLocked(bucketStartTimeNs + 3 * bucketSizeNs + 1); in TEST()
427 durationProducer.flushIfNeededLocked(bucketStartTimeNs + 2 * bucketSizeNs + 1); in TEST()
DValueMetricProducer_test.cpp881 valueProducer.flushIfNeededLocked(bucket2StartTimeNs); in TEST()
948 valueProducer.flushIfNeededLocked(bucket2StartTimeNs); in TEST()
1297 valueProducer.flushIfNeededLocked(bucket2StartTimeNs); in TEST()
1342 valueProducer.flushIfNeededLocked(bucket3StartTimeNs); in TEST()
1391 valueProducer.flushIfNeededLocked(bucket2StartTimeNs); in TEST()
1440 valueProducer.flushIfNeededLocked(bucket2StartTimeNs); in TEST()
1511 valueProducer.flushIfNeededLocked(bucket3StartTimeNs); in TEST()
1605 valueProducer.flushIfNeededLocked(bucket3StartTimeNs); in TEST()
2172 valueProducer->flushIfNeededLocked(bucket2StartTimeNs + 1); in TEST()
2267 valueProducer->flushIfNeededLocked(bucket2StartTimeNs + 1); in TEST()
[all …]
DGaugeMetricProducer_test.cpp176 gaugeProducer.flushIfNeededLocked(bucket4StartTimeNs); in TEST()
466 gaugeProducer.flushIfNeededLocked(bucket3StartTimeNs + 10); in TEST()