Home
last modified time | relevance | path

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

12345

/aosp12/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
H A 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
/aosp12/packages/modules/StatsD/statsd/src/anomaly/
H A DAnomalyTracker.cpp104 std::shared_ptr<DimToValMap>& bucket = mPastBuckets[bucketIndex]; in addPastBucket() local
116 std::shared_ptr<DimToValMap> bucket = std::make_shared<DimToValMap>(); in addPastBucket() local
122 void AnomalyTracker::addPastBucket(std::shared_ptr<DimToValMap> bucket, in addPastBucket()
141 void AnomalyTracker::subtractBucketFromSum(const shared_ptr<DimToValMap>& bucket) { in subtractBucketFromSum()
163 void AnomalyTracker::addBucketToSum(const shared_ptr<DimToValMap>& bucket) { in addBucketToSum()
181 const auto& bucket = mPastBuckets[index(bucketNum)]; in getPastBucketValue() local
/aosp12/frameworks/layoutlib/bridge/src/android/util/imagepool/
H A 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
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DByteBucketArray.h55 T* bucket = buckets_[bucket_index]; variable
67 T* bucket = buckets_[bucket_index]; in editItemAt() local
/aosp12/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp204 protos::GraphicsStatsHistogramBucketProto* bucket; in mergeProfileDataIntoProto() local
235 protos::GraphicsStatsHistogramBucketProto* bucket; in mergeProfileDataIntoProto() local
415 auto bucket = findIt->second.mutable_histogram(bucketIndex); in mergeStat() local
421 auto bucket = findIt->second.mutable_gpu_histogram(bucketIndex); in mergeStat() local
497 auto& bucket = stat.histogram(bucketIndex); in writeCpuHistogram() local
503 auto& bucket = stat.histogram(bucketIndex); in writeCpuHistogram() local
517 auto& bucket = stat.gpu_histogram(bucketIndex); in writeGpuHistogram() local
523 auto& bucket = stat.gpu_histogram(bucketIndex); in writeGpuHistogram() local
/aosp12/frameworks/base/core/java/com/android/internal/power/
H A DMeasuredEnergyStats.java218 public void updateStandardBucket(@StandardPowerBucket int bucket, long chargeDeltaUC) { in updateStandardBucket()
249 public long getAccumulatedStandardBucketCharge(@StandardPowerBucket int bucket) { in getAccumulatedStandardBucketCharge()
425 public boolean isStandardBucketSupported(@StandardPowerBucket int bucket) { in isStandardBucketSupported()
510 private static void checkValidStandardBucket(@StandardPowerBucket int bucket) { in checkValidStandardBucket()
516 private static boolean isValidStandardBucket(@StandardPowerBucket int bucket) { in isValidStandardBucket()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DNetworkCycleChartDataLoader.java46 final NetworkStats.Bucket bucket = mNetworkStatsManager.querySummaryForDevice( in recordUsage() local
/aosp12/packages/modules/StatsD/statsd/tests/anomaly/
H A DAnomalyTracker_test.cpp47 std::shared_ptr<DimToValMap> bucket) { in AddValueToBucket()
55 std::shared_ptr<DimToValMap> bucket = std::make_shared<DimToValMap>(); in MockBucket() local
61 int64_t getBucketValue(const std::shared_ptr<DimToValMap>& bucket, in getBucketValue()
92 const std::shared_ptr<DimToValMap>& bucket, in detectAndDeclareAnomalies()
/aosp12/packages/modules/StatsD/statsd/tests/
H A Dstatsd_test_util.h516 const int64_t timeBaseNs, const int64_t bucketSizeNs, T* bucket) { in backfillStartEndTimestampForFullBucket()
524 void backfillStartEndTimestampForPartialBucket(const int64_t timeBaseNs, T* bucket) { in backfillStartEndTimestampForPartialBucket()
543 auto bucket = data->mutable_bucket_info(j); in backfillStartEndTimestampForMetrics() local
/aosp12/frameworks/compile/mclinker/include/mcld/ADT/
H A 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
H A DHashBase.tcc128 bucket_type& bucket = m_Buckets[index]; in lookUpBucketFor() local
169 bucket_type& bucket = m_Buckets[index]; in findKey() local
H A 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
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DMtpDeviceIndex.java249 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in get() local
258 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in get() local
340 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in getPositionWithoutLabelsFromPosition() local
347 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in getPositionWithoutLabelsFromPosition() local
/aosp12/system/memory/libmemunreachable/
H A DAllocator.cpp115 static inline size_t bucket_to_size(unsigned int bucket) { in bucket_to_size()
230 Chunk::Chunk(HeapImpl* heap, int bucket) in Chunk()
364 int bucket = size_to_bucket(size); in AllocLocked() local
416 void HeapImpl::MoveToFreeList(Chunk* chunk, int bucket) { in MoveToFreeList()
420 void HeapImpl::MoveToFullList(Chunk* chunk, int bucket) { in MoveToFullList()
/aosp12/system/bpf/progs/include/
H A Dbpf_timeinstate.h35 uint32_t bucket; member
73 uint16_t bucket; member
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareMetricsTest.java680 WifiMetricsProto.WifiAwareLog.HistogramBucket bucket, long start, long end, int count) { in validateProtoHistBucket()
687 WifiMetricsProto.WifiAwareLog.NanStatusHistogramBucket bucket, int type, int count) { in validateNanStatusProtoHistBucket()
693 WifiMetricsProto.WifiAwareLog.NdpRequestTypeHistogramBucket bucket, int type, in validateNdpRequestProtoHistBucket()
/aosp12/frameworks/base/core/java/com/android/internal/app/procstats/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/
H A DNotifSectioner.java36 protected NotifSectioner(String name, @PriorityBucket int bucket) { in NotifSectioner()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/
H A DMetricsUtils.java153 int bucket = 0; in addValueToLinearHistogram() local
177 int bucket = histogram.keyAt(i); in linearHistogramToGenericBuckets() local
/aosp12/frameworks/base/core/java/android/app/usage/
H A DAppStandbyInfo.java41 public AppStandbyInfo(String packageName, int bucket) { in AppStandbyInfo()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
H A DRttMetricsTest.java531 WifiMetricsProto.WifiRttLog.HistogramBucket bucket, long start, long end, int count) { in validateProtoHistBucket()
538 WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status, in validateProtoOverallStatusHistBucket()
545 WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status, in validateProtoIndividualStatusHistBucket()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
H A DAppStandbyControllerTests.java570 int bucket, int reason) { in onAppIdleStateChanged()
650 private void assertTimeout(AppStandbyController controller, long elapsedTime, int bucket) { in assertTimeout()
654 private void assertTimeout(AppStandbyController controller, long elapsedTime, int bucket, in assertTimeout()
687 private void assertBucket(int bucket) throws InterruptedException { in assertBucket()
691 private void assertBucket(int bucket, String pkg) throws InterruptedException { in assertBucket()
705 private void assertNotBucket(int bucket) throws InterruptedException { in assertNotBucket()
2028 private void setAndAssertBucket(String pkg, int user, int bucket, int reason) throws Exception { in setAndAssertBucket()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DScanTestUtil.java156 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); in addBucketWithChannelCollection() local
166 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); in addBucketWithBand() local
185 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); in addBucketWithChannels() local
195 public NativeScanSettingsBuilder addBucket(WifiNative.BucketSettings bucket) { in addBucket()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
H A DNotificationPanelLogger.java111 static int toNotificationSection(@PriorityBucket int bucket) { in toNotificationSection()
/aosp12/frameworks/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java82 public void histogram(String name, int bucket) { in histogram()
232 public static void histogram(Context context, String name, int bucket) { in histogram()

12345