Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java121 int currentBucket; field in AppIdleHistory.AppUsageHistory
254 if (appUsageHistory.currentBucket > newBucket) { in reportUsage()
255 appUsageHistory.currentBucket = newBucket; in reportUsage()
258 .currentBucket in reportUsage()
306 appUsageHistory.currentBucket = STANDBY_BUCKET_NEVER; in getPackageHistory()
323 return appUsageHistory.currentBucket >= STANDBY_BUCKET_RARE; in isIdle()
344 appUsageHistory.currentBucket = bucket; in setAppStandbyBucket()
358 Slog.d(TAG, "Moved " + packageName + " to bucket=" + appUsageHistory.currentBucket in setAppStandbyBucket()
412 return appUsageHistory == null ? STANDBY_BUCKET_NEVER : appUsageHistory.currentBucket; in getAppStandbyBucket()
421 appIdleEnabled ? userHistory.valueAt(i).currentBucket : STANDBY_BUCKET_ACTIVE)); in getAppStandbyBuckets()
[all …]
DAppStandbyController.java426 appUsage.currentBucket, appUsage.bucketingReason, false); in reportContentProviderUsage()
462 appUsage.currentBucket, appUsage.bucketingReason, false); in reportExemptedSyncScheduled()
471 final int currentBucket = in reportUnexemptedSyncScheduled() local
473 if (currentBucket == STANDBY_BUCKET_NEVER) { in reportUnexemptedSyncScheduled()
480 appUsage.currentBucket, appUsage.bucketingReason, false); in reportUnexemptedSyncScheduled()
496 appUsage.currentBucket, appUsage.bucketingReason, false); in reportExemptedSyncStart()
690 final int oldBucket = app.currentBucket; in checkAndUpdateStandbyState()
891 final int prevBucket = appHistory.currentBucket; in reportEvent()
925 appHistory.currentBucket == STANDBY_BUCKET_ACTIVE && in reportEvent()
926 prevBucket != appHistory.currentBucket && in reportEvent()
[all …]
/frameworks/opt/net/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()
/frameworks/base/cmds/statsd/tests/anomaly/
DAnomalyTracker_test.cpp71 const std::shared_ptr<DimToValMap>& currentBucket, in detectAnomaliesPass() argument
75 if (!tracker.detectAnomaly(bucketNum, key, getBucketValue(currentBucket, key))) { in detectAnomaliesPass()
80 if (tracker.detectAnomaly(bucketNum, key, getBucketValue(currentBucket, key))) { in detectAnomaliesPass()