Searched refs:UID_10_2 (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 151 private static final int UID_10_2 = UserHandle.getUid(10, UID_2); field in AppStateTrackerTest 400 assertTrue(instance.isRunAnyInBackgroundAppOpsAllowed(UID_10_2, PACKAGE_2)); in testAll() 405 areRestricted(instance, UID_10_2, PACKAGE_2, NONE); in testAll() 409 setAppOps(UID_10_2, PACKAGE_2, true); in testAll() 413 assertFalse(instance.isRunAnyInBackgroundAppOpsAllowed(UID_10_2, PACKAGE_2)); in testAll() 418 areRestricted(instance, UID_10_2, PACKAGE_2, JOBS_AND_ALARMS); in testAll() 431 areRestricted(instance, UID_10_2, PACKAGE_2, JOBS_AND_ALARMS); in testAll() 436 setAppOps(UID_10_2, PACKAGE_2, false); in testAll() 444 areRestricted(instance, UID_10_2, PACKAGE_2, JOBS_AND_ALARMS); in testAll() 454 areRestricted(instance, UID_10_2, PACKAGE_2, ALARMS_ONLY); in testAll() [all …]
|