Searched refs:REASON_MAIN_FORCED_BY_USER (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppIdleHistoryTests.java | 20 import static android.app.usage.UsageStatsManager.REASON_MAIN_FORCED_BY_USER; 113 REASON_MAIN_FORCED_BY_USER); in testBuckets() 125 REASON_MAIN_FORCED_BY_USER); in testBuckets() local 145 REASON_MAIN_FORCED_BY_USER); in testBuckets() local
|
D | AppStandbyControllerTests.java | 27 import static android.app.usage.UsageStatsManager.REASON_MAIN_FORCED_BY_USER; 1046 REASON_MAIN_FORCED_BY_USER); in testOverrides() 1057 REASON_MAIN_FORCED_BY_USER); in testOverrides() 1079 REASON_MAIN_FORCED_BY_USER); in testOverrides() 1092 REASON_MAIN_FORCED_BY_USER); in testOverrides() 1094 REASON_MAIN_FORCED_BY_USER); in testOverrides() 1100 REASON_MAIN_FORCED_BY_USER); in testOverrides() 1111 REASON_MAIN_FORCED_BY_USER); in testOverrides() 1140 REASON_MAIN_FORCED_BY_USER); in testOverrides() 1496 REASON_MAIN_FORCED_BY_USER); in testInitialForegroundServiceTimeout() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManager.java | 198 public static final int REASON_MAIN_FORCED_BY_USER = 0x0400; field in UsageStatsManager 1319 case REASON_MAIN_FORCED_BY_USER: in reasonToString()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 21 import static android.app.usage.UsageStatsManager.REASON_MAIN_FORCED_BY_USER; 993 if (oldMainReason == REASON_MAIN_FORCED_BY_USER) { in checkAndUpdateStandbyState() 1324 REASON_MAIN_FORCED_BY_USER, false); in forceIdleState() 1671 && mainReason != REASON_MAIN_FORCED_BY_USER) { in restrictApp() 1738 reason = REASON_MAIN_FORCED_BY_USER; in setAppStandbyBuckets() 1805 && ((app.bucketingReason & REASON_MAIN_MASK) == REASON_MAIN_FORCED_BY_USER in setAppStandbyBucket() 1834 (reason & REASON_MAIN_MASK) == REASON_MAIN_FORCED_BY_USER; in setAppStandbyBucket()
|
D | AppIdleHistory.java | 20 import static android.app.usage.UsageStatsManager.REASON_MAIN_FORCED_BY_USER; 593 reason = REASON_MAIN_FORCED_BY_USER; in setIdle()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 42 import static android.app.usage.UsageStatsManager.REASON_MAIN_FORCED_BY_USER; 497 eq(REASON_MAIN_FORCED_BY_USER), in testTogglingBackgroundRestrictInternal() 525 eq(REASON_MAIN_FORCED_BY_USER), in testTogglingBackgroundRestrictInternal() 549 eq(REASON_MAIN_FORCED_BY_USER), in testTogglingBackgroundRestrictInternal() 559 eq(REASON_MAIN_FORCED_BY_USER), in testTogglingBackgroundRestrictInternal() 3005 25_000L, REASON_MAIN_FORCED_BY_USER | REASON_SUB_FORCED_USER_FLAG_INTERACTION, in testPersistRestrictionSettings()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppRestrictionController.java | 45 import static android.app.usage.UsageStatsManager.REASON_MAIN_FORCED_BY_USER; 1587 refreshAppRestrictionLevelForUser(userId, REASON_MAIN_FORCED_BY_USER, in initRestrictionStates() 2059 case REASON_MAIN_FORCED_BY_USER: in getThresholdStatsd() 2274 mEmptyTrackerInfo, curBucket, true, REASON_MAIN_FORCED_BY_USER, in handleBackgroundRestrictionChanged() 3451 refreshAppRestrictionLevelForUser(userId, REASON_MAIN_FORCED_BY_USER,
|
D | ActivityManagerShellCommand.java | 30 import static android.app.usage.UsageStatsManager.REASON_MAIN_FORCED_BY_USER; 4095 REASON_MAIN_FORCED_BY_USER, REASON_SUB_FORCED_SYSTEM_FLAG_UNDEFINED);
|