HomeSort by relevance Sort by last modified time
    Searched refs:STANDBY_BUCKET_RARE (Results 1 - 12 of 12) sorted by null

  /packages/apps/Settings/src/com/android/settings/fuelgauge/
InactiveApps.java 23 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;
55 Integer.toString(STANDBY_BUCKET_RARE)
111 case STANDBY_BUCKET_RARE: return "RARE";
126 && appBucket <= STANDBY_BUCKET_RARE;
  /frameworks/base/services/tests/servicestests/src/com/android/server/usage/
AppIdleHistoryTests.java 24 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;
104 aih.setAppStandbyBucket(PACKAGE_1, USER_ID, 3000, STANDBY_BUCKET_RARE,
107 assertEquals(aih.getAppStandbyBucket(PACKAGE_1, USER_ID, 3000), STANDBY_BUCKET_RARE);
119 assertEquals(aih.getAppStandbyBucket(PACKAGE_1, USER_ID, 5000), STANDBY_BUCKET_RARE);
123 assertTrue(aih.shouldInformListeners(PACKAGE_1, USER_ID, 5000, STANDBY_BUCKET_RARE));
124 assertFalse(aih.shouldInformListeners(PACKAGE_1, USER_ID, 5000, STANDBY_BUCKET_RARE));
AppStandbyControllerTests.java 33 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;
445 assertTimeout(mController, RARE_THRESHOLD + 1, STANDBY_BUCKET_RARE);
452 assertTimeout(mController, RARE_THRESHOLD * 2 + 2, STANDBY_BUCKET_RARE);
472 assertNotEquals(STANDBY_BUCKET_RARE, getStandbyBucket(mController));
475 assertTimeout(mController, RARE_THRESHOLD * 2 + 2, STANDBY_BUCKET_RARE);
481 assertEquals(STANDBY_BUCKET_RARE, getStandbyBucket(mController));
526 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_RARE,
528 assertEquals(STANDBY_BUCKET_RARE, getStandbyBucket(mController));
549 assertEquals(STANDBY_BUCKET_RARE, getStandbyBucket(mController));
600 assertBucket(STANDBY_BUCKET_RARE);
    [all...]
  /frameworks/base/core/java/android/app/usage/
UsageStatsManager.java 142 public static final int STANDBY_BUCKET_RARE = 40;
203 STANDBY_BUCKET_RARE,
463 * {@link #STANDBY_BUCKET_RARE}, with {@link #STANDBY_BUCKET_ACTIVE} being the least
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
UsageStatsTest.java 250 found |= event.getAppStandbyBucket() == UsageStatsManager.STANDBY_BUCKET_RARE;
270 UsageStatsManager.STANDBY_BUCKET_RARE);
303 if (event.getAppStandbyBucket() == UsageStatsManager.STANDBY_BUCKET_RARE) {
    [all...]
  /frameworks/base/services/usage/java/com/android/server/usage/
AppIdleHistory.java 27 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;
326 return appUsageHistory.currentBucket >= STANDBY_BUCKET_RARE;
448 appUsageHistory.currentBucket = STANDBY_BUCKET_RARE;
AppStandbyController.java 43 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;
150 STANDBY_BUCKET_RARE
657 && app.lastPredictedBucket <= STANDBY_BUCKET_RARE) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
ActivityManagerShellCommand.java     [all...]
  /prebuilts/sdk/28/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_28/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 263 milliseconds