Home
last modified time | relevance | path

Searched refs:STANDBY_BUCKET_NEVER (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java43 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
829 assertTimeout(mController, 0, STANDBY_BUCKET_NEVER); in testBuckets()
875 waitAndAssertBucket(STANDBY_BUCKET_NEVER, PACKAGE_UNKNOWN); in testSetAppStandbyBucket()
886 waitAndAssertBucket(STANDBY_BUCKET_NEVER, PACKAGE_UNKNOWN); in testAppStandbyBucketOnInstallAndUninstall()
900 assertTimeout(mController, 0, STANDBY_BUCKET_NEVER); in testScreenTimeAndBuckets()
973 .setInt("notification_seen_promoted_bucket", STANDBY_BUCKET_NEVER); in testNotificationEvent_quotaBump()
1045 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_NEVER, in testOverrides()
1047 waitAndAssertBucket(STANDBY_BUCKET_NEVER, PACKAGE_1); in testOverrides()
1064 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_NEVER, in testOverrides()
1068 waitAndAssertBucket(STANDBY_BUCKET_NEVER, PACKAGE_1); in testOverrides()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java50 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
795 if (currentBucket == STANDBY_BUCKET_NEVER) { in reportUnexemptedSyncScheduled()
997 if (oldBucket == STANDBY_BUCKET_NEVER) { in checkAndUpdateStandbyState()
1122 return bucketIndex >= 0 ? THRESHOLD_BUCKETS[bucketIndex] : STANDBY_BUCKET_NEVER; in getBucketForLocked()
1220 if (prevBucket != STANDBY_BUCKET_NEVER) return; in reportEventLocked()
1435 return STANDBY_BUCKET_NEVER; in getAppMinBucket()
1444 if (packageName == null) return STANDBY_BUCKET_NEVER; in getAppMinBucket()
1529 return STANDBY_BUCKET_NEVER; in getAppMinBucket()
1654 return STANDBY_BUCKET_NEVER; in getAppMinStandbyBucket()
1713 if (standbyBucket == STANDBY_BUCKET_NEVER) { in restoreAppToRare()
[all …]
DAppIdleHistory.java28 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
400 appUsageHistory.currentBucket = STANDBY_BUCKET_NEVER; in getPackageHistory()
562 return appUsageHistory == null ? STANDBY_BUCKET_NEVER : appUsageHistory.currentBucket; in getAppStandbyBucket()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java175 public static final int STANDBY_BUCKET_NEVER = 50; field in UsageStatsManager
355 STANDBY_BUCKET_NEVER,
1421 case STANDBY_BUCKET_NEVER: in standbyBucketToString()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java57 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
1736 case STANDBY_BUCKET_NEVER: in calcAppRestrictionLevel()
1819 case STANDBY_BUCKET_NEVER: in standbyBucketToRestrictionLevel()
DActivityManagerShellCommand.java3123 return UsageStatsManager.STANDBY_BUCKET_NEVER;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java53 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
241 STANDBY_BUCKET_NEVER,
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java2316 } else if (bucket < UsageStatsManager.STANDBY_BUCKET_NEVER) { in getQuotaForBucketLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java4630 if (bucket == UsageStatsManager.STANDBY_BUCKET_NEVER) {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java352 return UsageStatsManager.STANDBY_BUCKET_NEVER; in bucketIndexToUsageStatsBucket()
/frameworks/base/core/api/
Dsystem-current.txt3231 field public static final int STANDBY_BUCKET_NEVER = 50; // 0x32