Home
last modified time | relevance | path

Searched defs:bucket (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/cmds/statsd/src/anomaly/
DAnomalyTracker.cpp106 std::shared_ptr<DimToValMap>& bucket = mPastBuckets[bucketIndex]; in addPastBucket() local
118 std::shared_ptr<DimToValMap> bucket = std::make_shared<DimToValMap>(); in addPastBucket() local
124 void AnomalyTracker::addPastBucket(std::shared_ptr<DimToValMap> bucket, in addPastBucket()
143 void AnomalyTracker::subtractBucketFromSum(const shared_ptr<DimToValMap>& bucket) { in subtractBucketFromSum()
165 void AnomalyTracker::addBucketToSum(const shared_ptr<DimToValMap>& bucket) { in addBucketToSum()
183 const auto& bucket = mPastBuckets[index(bucketNum)]; in getPastBucketValue() local
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolHelperTest.java38 Bucket bucket = new Bucket(); in testGetBufferedImage() local
55 Bucket bucket = new Bucket(); in testGetBufferedImageRecurse() local
75 Bucket bucket = new Bucket(); in testRecurseThenHitCacheLimit() local
96 Bucket bucket = new Bucket(); in testBucketHasImageToReturn() local
/frameworks/layoutlib/bridge/src/android/util/imagepool/
DImagePoolHelper.java72 Bucket bucket, BucketCreationMetaData metaData, ImagePoolStats stats) { in getBufferedImage()
105 Bucket bucket, BucketCreationMetaData metaData, ImagePoolStats stats) { in populateBucket()
137 Bucket bucket = map.get(key); in getBucket() local
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DConfigFactory.java95 public ConfigMetadata getConfig(int replication, TimeUnit bucket, boolean placebo, in getConfig()
190 private void addCountMetric(CountMetric template, int suffix, TimeUnit bucket, in addCountMetric()
211 private void addDurationMetric(DurationMetric template, int suffix, TimeUnit bucket, in addDurationMetric()
232 private void addGaugeMetric(GaugeMetric template, int suffix, TimeUnit bucket, in addGaugeMetric()
253 private void addValueMetric(ValueMetric template, int suffix, TimeUnit bucket, in addValueMetric()
DPerfDataRecorder.java42 protected PerfDataRecorder(boolean placebo, int replication, TimeUnit bucket, long periodSecs, in PerfDataRecorder()
127 private String getColumnSuffix(boolean placebo, int replication, TimeUnit bucket, in getColumnSuffix()
DBatteryDataRecorder.java30 public BatteryDataRecorder(boolean placebo, int replication, TimeUnit bucket, long periodSecs, in BatteryDataRecorder()
DMemoryDataRecorder.java30 public MemoryDataRecorder(boolean placebo, int replication, TimeUnit bucket, long periodSecs, in MemoryDataRecorder()
DStatsdStatsRecorder.java28 TimeUnit bucket, long periodSecs, int burst, boolean includeCountMetric, in StatsdStatsRecorder()
DValidationRecorder.java37 TimeUnit bucket, long periodSecs, int burst, boolean includeCountMetric, in ValidationRecorder()
/frameworks/base/libs/androidfw/include/androidfw/
DByteBucketArray.h55 T* bucket = buckets_[bucket_index]; variable
67 T* bucket = buckets_[bucket_index]; in editItemAt() local
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.h277 const int64_t timeBaseNs, const int64_t bucketSizeNs, T* bucket) { in backfillStartEndTimestampForFullBucket()
285 void backfillStartEndTimestampForPartialBucket(const int64_t timeBaseNs, T* bucket) { in backfillStartEndTimestampForPartialBucket()
304 auto bucket = data->mutable_bucket_info(j); in backfillStartEndTimestampForMetrics() local
/frameworks/base/cmds/statsd/tests/anomaly/
DAnomalyTracker_test.cpp45 std::shared_ptr<DimToValMap> bucket) { in AddValueToBucket()
53 std::shared_ptr<DimToValMap> bucket = std::make_shared<DimToValMap>(); in MockBucket() local
59 int64_t getBucketValue(const std::shared_ptr<DimToValMap>& bucket, in getBucketValue()
90 const std::shared_ptr<DimToValMap>& bucket, in detectAndDeclareAnomalies()
/frameworks/compile/mclinker/include/mcld/ADT/
DHashTable.tcc68 bucket_type& bucket = BaseTy::m_Buckets[index]; in insert() local
102 bucket_type& bucket = BaseTy::m_Buckets[index]; in erase() local
148 const_chain_iterator bucket, bEnd = end(pKey); in count() local
DHashBase.tcc128 bucket_type& bucket = m_Buckets[index]; in lookUpBucketFor() local
169 bucket_type& bucket = m_Buckets[index]; in findKey() local
DHashIterator.h37 bucket_type& bucket = m_pHashTable->m_Buckets[m_Index]; in ChainIteratorBase() local
116 bucket_type& bucket = m_pHashTable->m_Buckets[m_Index]; in advance() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DMetricsUtils.java149 int bucket = 0; in addValueToLinearHistogram() local
173 int bucket = histogram.keyAt(i); in linearHistogramToGenericBuckets() local
/frameworks/base/core/java/com/android/internal/app/procstats/
DSysMemUsageTable.java149 final int bucket = ((iscreen + imem) * STATE_COUNT); in dump() local
176 private void dumpCategory(PrintWriter pw, String prefix, String label, int bucket, int index) { in dumpCategory()
/frameworks/base/core/java/android/app/usage/
DAppStandbyInfo.java37 public AppStandbyInfo(String packageName, int bucket) { in AppStandbyInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleChartDataLoader.java46 final NetworkStats.Bucket bucket = mNetworkStatsManager.querySummaryForDevice( in recordUsage() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttMetricsTest.java511 WifiMetricsProto.WifiRttLog.HistogramBucket bucket, long start, long end, int count) { in validateProtoHistBucket()
518 WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status, in validateProtoOverallStatusHistBucket()
525 WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status, in validateProtoIndividualStatusHistBucket()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DMetricsCollector.java98 private static long round(long value, long bucket) { in round()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java621 WifiMetricsProto.WifiAwareLog.HistogramBucket bucket, long start, long end, int count) { in validateProtoHistBucket()
628 WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket bucket, int type, int count) { in validateNanStatusProtoHistBucket()
/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java82 public void histogram(String name, int bucket) { in histogram()
232 public static void histogram(Context context, String name, int bucket) { in histogram()
/frameworks/base/core/java/android/metrics/
DLogMaker.java212 public LogMaker setCounterBucket(int bucket) { in setCounterBucket()
223 public LogMaker setCounterBucket(long bucket) { in setCounterBucket()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java242 int bucket = findBatteryLevelBucket(mBatteryLevel); in onReceive() local
295 protected void maybeShowBatteryWarningV2(boolean plugged, int bucket) { in maybeShowBatteryWarningV2()
613 void update(int batteryLevel, int bucket, long screenOffTime); in update()

1234