Home
last modified time | relevance | path

Searched refs:REASON_MAIN_PREDICTED (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java27 import static android.app.usage.UsageStatsManager.REASON_MAIN_PREDICTED;
675 REASON_MAIN_PREDICTED, HOUR_MS); in testPredictionTimedout()
707 REASON_MAIN_PREDICTED, 1 * HOUR_MS); in testOverrides()
714 REASON_MAIN_PREDICTED, 2 * HOUR_MS); in testOverrides()
721 REASON_MAIN_PREDICTED, 2 * HOUR_MS); in testOverrides()
732 REASON_MAIN_PREDICTED, mInjector.mElapsedRealtime); in testTimeout()
756 REASON_MAIN_PREDICTED, 1000); in testCascadingTimeouts()
760 REASON_MAIN_PREDICTED, 2000 + mController.mStrongUsageTimeoutMillis); in testCascadingTimeouts()
764 REASON_MAIN_PREDICTED, 2000 + mController.mNotificationSeenTimeoutMillis); in testCascadingTimeouts()
784 REASON_MAIN_PREDICTED, mInjector.mElapsedRealtime); in testOverlappingTimeouts()
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java168 public static final int REASON_MAIN_PREDICTED = 0x0500; field in UsageStatsManager
939 case REASON_MAIN_PREDICTED: in reasonToString()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java22 import static android.app.usage.UsageStatsManager.REASON_MAIN_PREDICTED;
349 if ((reason & REASON_MAIN_MASK) == REASON_MAIN_PREDICTED) { in setAppStandbyBucket()
DAppStandbyController.java22 import static android.app.usage.UsageStatsManager.REASON_MAIN_PREDICTED;
702 reason = REASON_MAIN_PREDICTED | REASON_SUB_PREDICTED_RESTORED; in checkAndUpdateStandbyState()
1223 boolean predicted = (reason & REASON_MAIN_MASK) == REASON_MAIN_PREDICTED; in setAppStandbyBucket()
DUsageStatsService.java1238 : UsageStatsManager.REASON_MAIN_PREDICTED; in setAppStandbyBucket()
1302 : UsageStatsManager.REASON_MAIN_PREDICTED; in setAppStandbyBuckets()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt10091 Landroid/app/usage/UsageStatsManager;->REASON_MAIN_PREDICTED:I