Home
last modified time | relevance | path

Searched refs:REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java31 import static android.app.usage.UsageStatsManager.REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE;
1232 REASON_MAIN_FORCED_BY_SYSTEM | REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE); in testSystemForcedFlags_NotAddedForUserForce()
1251 mController.restrictApp(PACKAGE_1, USER_ID, REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE); in testSystemForcedFlags_AddedForSystemForce()
1256 | REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE, getStandbyBucketReason(PACKAGE_1)); in testSystemForcedFlags_AddedForSystemForce()
1274 REASON_MAIN_FORCED_BY_SYSTEM | REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE); in testSystemForcedFlags_SystemForceChangesBuckets()
1279 | REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE, in testSystemForcedFlags_SystemForceChangesBuckets()
1467 REASON_MAIN_FORCED_BY_SYSTEM | REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE in testAppUpdateOnRestrictedBucketStatus()
1472 assertEquals(REASON_MAIN_FORCED_BY_SYSTEM | REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE, in testAppUpdateOnRestrictedBucketStatus()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java315 public static final int REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE = 1 << 1; field in UsageStatsManager
340 REASON_SUB_FORCED_SYSTEM_FLAG_ABUSE,