Home
last modified time | relevance | path

Searched refs:REASON_MAIN_USAGE (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java20 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;
98 REASON_MAIN_USAGE); in testBuckets()
103 REASON_MAIN_USAGE); in testBuckets()
144 assertEquals(REASON_MAIN_USAGE | REASON_SUB_USAGE_MOVE_TO_FOREGROUND, in testReason()
DAppStandbyControllerTests.java29 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;
719 REASON_MAIN_USAGE, 2 * HOUR_MS); in testOverrides()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java23 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;
262 appUsageHistory.bucketingReason = REASON_MAIN_USAGE | usageReason; in reportUsage()
448 appUsageHistory.bucketingReason = REASON_MAIN_USAGE | REASON_SUB_USAGE_USER_INTERACTION; in setIdle()
DAppStandbyController.java24 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;
695 || oldMainReason == REASON_MAIN_USAGE in checkAndUpdateStandbyState()
731 : REASON_MAIN_USAGE | REASON_SUB_USAGE_ACTIVE_TIMEOUT; in checkAndUpdateStandbyState()
895 final int reason = REASON_MAIN_USAGE | subReason; in reportEvent()
927 (prevBucketReason & REASON_MAIN_MASK) != REASON_MAIN_USAGE; in reportEvent()
1258 reason = REASON_MAIN_USAGE | REASON_SUB_USAGE_ACTIVE_TIMEOUT; in setAppStandbyBucket()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java164 public static final int REASON_MAIN_USAGE = 0x0300; field in UsageStatsManager
950 case REASON_MAIN_USAGE: in reasonToString()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java19 import static android.app.usage.UsageStatsManager.REASON_MAIN_USAGE;
653 UsageStatsManager.STANDBY_BUCKET_ACTIVE, REASON_MAIN_USAGE); in testExempt()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt10093 Landroid/app/usage/UsageStatsManager;->REASON_MAIN_USAGE:I