Home
last modified time | relevance | path

Searched refs:currentBucket (Results 1 – 5 of 5) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/
DNumericValueMetricProducer.cpp564 for (const auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in appendToFullBucket()
566 currentBucket.intervals.empty()) { in appendToFullBucket()
570 auto& interval = currentBucket.intervals[0]; in appendToFullBucket()
585 for (const auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in appendToFullBucket()
587 if (tracker != nullptr && !currentBucket.intervals.empty()) { in appendToFullBucket()
589 auto& interval = currentBucket.intervals[0]; in appendToFullBucket()
601 for (const auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in appendToFullBucket()
602 if (!currentBucket.intervals.empty()) { in appendToFullBucket()
604 auto& interval = currentBucket.intervals[0]; in appendToFullBucket()
DValueMetricProducer.cpp593 for (const auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in dumpStatesLocked()
594 for (const Interval& interval : currentBucket.intervals) { in dumpStatesLocked()
673 CurrentBucket& currentBucket = mCurrentSlicedBucket[MetricDimensionKey(whatKey, oldStateKey)]; in onMatchedLogEventInternalLocked() local
682 vector<Interval>& intervals = currentBucket.intervals; in onMatchedLogEventInternalLocked()
697 currentBucket.conditionTimer.onConditionChanged(false, eventTimeNs); in onMatchedLogEventInternalLocked()
752 for (auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in flushCurrentBucketLocked()
753 currentBucket.conditionTimer.newBucketStart(eventTimeNs, nextBucketStartTimeNs); in flushCurrentBucketLocked()
790 for (auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in closeCurrentBucket()
792 buildPartialBucket(bucketEndTimeNs, currentBucket.intervals); in closeCurrentBucket()
799 currentBucket.conditionTimer.newBucketStart(eventTimeNs, bucketEndTimeNs); in closeCurrentBucket()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java639 Bucket currentBucket, ListIterator<Bucket> iterTargetBuckets) { in mergeSettingsToLowerBuckets() argument
642 Bucket maxScheduledBucket = currentBucket; in mergeSettingsToLowerBuckets()
701 Bucket currentBucket = iterBuckets.next(); in optimizeBuckets() local
702 Iterator<ScanSettings> iterSettings = currentBucket.getSettingsList().iterator(); in optimizeBuckets()
713 currentSettings, currentBucket, iterTargetBuckets); in optimizeBuckets()
728 currentBucket.addSettings(splitSettings); in optimizeBuckets()
730 if (currentBucket.getSettingsList().isEmpty()) { in optimizeBuckets()
734 currentBucket.updateChannelCollection(); in optimizeBuckets()
/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java114 final int currentBucket = info.priority / 10; in updateState() local
115 boolean needDivider = currentBucket != bucket; in updateState()
116 bucket = currentBucket; in updateState()
/packages/modules/StatsD/statsd/tests/anomaly/
DAnomalyTracker_test.cpp73 const std::shared_ptr<DimToValMap>& currentBucket, in detectAnomaliesPass() argument
77 if (!tracker.detectAnomaly(bucketNum, key, getBucketValue(currentBucket, key))) { in detectAnomaliesPass()
82 if (tracker.detectAnomaly(bucketNum, key, getBucketValue(currentBucket, key))) { in detectAnomaliesPass()