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.java33 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
536 assertTimeout(mController, 0, STANDBY_BUCKET_NEVER); in testBuckets()
578 assertEquals(STANDBY_BUCKET_NEVER, getStandbyBucket(mController, PACKAGE_UNKNOWN)); in testSetAppStandbyBucket()
589 assertEquals(STANDBY_BUCKET_NEVER, getStandbyBucket(mController, PACKAGE_UNKNOWN)); in testAppStandbyBucketOnInstallAndUninstall()
603 assertTimeout(mController, 0, STANDBY_BUCKET_NEVER); in testScreenTimeAndBuckets()
699 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_NEVER, in testOverrides()
701 assertEquals(STANDBY_BUCKET_NEVER, getStandbyBucket(mController, PACKAGE_1)); in testOverrides()
711 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_NEVER, in testOverrides()
715 assertEquals(STANDBY_BUCKET_NEVER, getStandbyBucket(mController, PACKAGE_1)); in testOverrides()
720 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_NEVER, in testOverrides()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java26 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
306 appUsageHistory.currentBucket = STANDBY_BUCKET_NEVER; in getPackageHistory()
412 return appUsageHistory == null ? STANDBY_BUCKET_NEVER : appUsageHistory.currentBucket; in getAppStandbyBucket()
DAppStandbyController.java44 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_NEVER;
473 if (currentBucket == STANDBY_BUCKET_NEVER) { in reportUnexemptedSyncScheduled()
910 if (prevBucket != STANDBY_BUCKET_NEVER) return; in reportEvent()
1229 if ((app.currentBucket == STANDBY_BUCKET_NEVER in setAppStandbyBucket()
1230 || newBucket == STANDBY_BUCKET_NEVER) in setAppStandbyBucket()
DUsageStatsService.java1223 || bucket > UsageStatsManager.STANDBY_BUCKET_NEVER) { in setAppStandbyBucket()
1311 || bucket > UsageStatsManager.STANDBY_BUCKET_NEVER) { in setAppStandbyBuckets()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java155 public static final int STANDBY_BUCKET_NEVER = 50; field in UsageStatsManager
213 STANDBY_BUCKET_NEVER,
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java1807 } else if (bucket < UsageStatsManager.STANDBY_BUCKET_NEVER) { in getQuotaForBucketLocked()
1827 if (bucket == UsageStatsManager.STANDBY_BUCKET_NEVER) index = NEVER_INDEX; in getMinDelayForBucketLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2356 return UsageStatsManager.STANDBY_BUCKET_NEVER;
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java2622 if (bucket == UsageStatsManager.STANDBY_BUCKET_NEVER) return NEVER_INDEX; in standbyBucketToBucketIndex()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java263 return UsageStatsManager.STANDBY_BUCKET_NEVER; in bucketIndexToUsageStatsBucket()
/frameworks/base/api/
Dsystem-current.txt1271 field public static final int STANDBY_BUCKET_NEVER = 50; // 0x32
/frameworks/base/non-updatable-api/
Dsystem-current.txt1271 field public static final int STANDBY_BUCKET_NEVER = 50; // 0x32