Home
last modified time | relevance | path

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

123

/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java80 final NetworkStats.Bucket bucket = in fetchStats() local
92 void reportStats(NetworkStats.Bucket bucket) { in reportStats()
/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/libs/hwui/service/
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
/frameworks/base/core/java/com/android/internal/power/
DMeasuredEnergyStats.java379 public void updateStandardBucket(@StandardPowerBucket int bucket, long chargeDeltaUC) { in updateStandardBucket()
387 public void updateStandardBucket(@StandardPowerBucket int bucket, long chargeDeltaUC, in updateStandardBucket()
469 public long getAccumulatedStandardBucketCharge(@StandardPowerBucket int bucket) { in getAccumulatedStandardBucketCharge()
480 public long getAccumulatedStandardBucketCharge(@StandardPowerBucket int bucket, int state) { in getAccumulatedStandardBucketCharge()
628 public boolean isStandardBucketSupported(@StandardPowerBucket int bucket) { in isStandardBucketSupported()
683 private static void checkValidStandardBucket(@StandardPowerBucket int bucket) { in checkValidStandardBucket()
689 private static boolean isValidStandardBucket(@StandardPowerBucket int bucket) { in isValidStandardBucket()
/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/libs/net/common/tests/unit/src/com/android/net/module/util/
DNetworkStatsUtilsTest.kt81 val bucket = makeMockBucket(android.app.usage.NetworkStats.Bucket.UID_ALL, in testBucketToEntry() constant
/frameworks/libs/net/common/framework/com/android/net/module/util/
DNetworkStatsUtils.java110 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in fromPublicNetworkStats() local
119 public static android.net.NetworkStats.Entry fromBucket(NetworkStats.Bucket bucket) { in fromBucket()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppIdleHistory.java428 int bucket, int reason) { in setAppStandbyBucket()
433 int bucket, int reason, boolean resetExpiryTimes) { in setAppStandbyBucket()
461 public void updateLastPrediction(AppUsageHistory app, long elapsedTimeAdjusted, int bucket) { in updateLastPrediction()
609 long elapsedRealtime, int bucket) { in shouldInformListeners()
662 private void logAppStandbyBucketChanged(String packageName, int userId, int bucket, in logAppStandbyBucketChanged()
675 long getBucketExpiryTimeMs(String packageName, int userId, int bucket, long elapsedRealtimeMs) { in getBucketExpiryTimeMs()
817 final int bucket = getIntValue(parser, ATTR_BUCKET, STANDBY_BUCKET_UNKNOWN); in readBucketExpiryTimes() local
829 int bucket, long expiryTimeMs) { in insertBucketExpiryTime()
921 final int bucket = history.bucketExpiryTimesMs.keyAt(j); in writeAppIdleTimes() local
1029 final int bucket = appUsageHistory.bucketExpiryTimesMs.keyAt(i); in dumpBucketExpiryTimes() 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/
DNotifSectioner.java36 protected NotifSectioner(String name, @PriorityBucket int bucket) { in NotifSectioner()
/frameworks/base/core/java/android/app/usage/
DAppStandbyInfo.java41 public AppStandbyInfo(String packageName, int bucket) { in AppStandbyInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleChartDataLoader.java45 final NetworkStats.Bucket bucket = mNetworkStatsManager.querySummaryForDevice( in recordUsage() local
DDataUsageController.java158 final Bucket bucket = mNetworkStatsManager.querySummaryForDevice(template, start, end); in getUsageLevel() local
183 private static String statsBucketToString(Bucket bucket) { in statsBucketToString()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java638 int bucket, int reason) { in onAppIdleStateChanged()
718 private void assertTimeout(AppStandbyController controller, long elapsedTime, int bucket) { in assertTimeout()
722 private void assertTimeout(AppStandbyController controller, long elapsedTime, int bucket, in assertTimeout()
755 private void assertBucket(int bucket) throws InterruptedException { in assertBucket()
759 private void assertBucket(int bucket, String pkg) throws InterruptedException { in assertBucket()
773 private void assertNotBucket(int bucket) throws InterruptedException { in assertNotBucket()
2185 private void setAndAssertBucket(String pkg, int user, int bucket, int reason) throws Exception { in setAndAssertBucket()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java490 private boolean satisfiesBucket(ComplexityBucket bucket) { in satisfiesBucket()
550 final ComplexityBucket bucket = ComplexityBucket.forComplexity(minComplexity); in validatePasswordMetrics() local
589 private static void comparePasswordMetrics(PasswordMetrics minMetrics, ComplexityBucket bucket, in comparePasswordMetrics()
684 ComplexityBucket bucket) { in applyComplexity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
DNotifSection.kt31 val bucket: Int = sectioner.bucket constant in com.android.systemui.statusbar.notification.collection.listbuilder.NotifSection
/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java78 public void histogram(String name, int bucket) { in histogram()
228 public static void histogram(Context context, String name, int bucket) { in histogram()
/frameworks/base/core/java/android/metrics/
DLogMaker.java210 public LogMaker setCounterBucket(int bucket) { in setCounterBucket()
221 public LogMaker setCounterBucket(long bucket) { in setCounterBucket()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationPanelLogger.java121 static int toNotificationSection(@PriorityBucket int bucket) { in toNotificationSection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DBatteryStateSnapshot.kt13 val bucket: Int, constant in com.android.systemui.power.BatteryStateSnapshot
DPowerUI.java308 int bucket = findBatteryLevelBucket(mBatteryLevel); in onReceive() local
355 protected void maybeShowBatteryWarningV2(boolean plugged, int bucket) { in maybeShowBatteryWarningV2()
678 void update(int batteryLevel, int bucket, long screenOffTime); in update()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageControllerTest.java110 final NetworkStats.Bucket bucket = mock(NetworkStats.Bucket.class); in getHistoricalUsageLevel_hasUsageData_shouldReturnTotalUsage() local
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DColorExtractor.java123 int bucket = (int) (s * 100) + (int) (v * 10000); in findDominantColorByHue() local

123