Searched refs:UID_1 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 147 private static final int UID_1 = Process.FIRST_APPLICATION_UID + 1; field in AppStateTrackerTest 150 private static final int UID_10_1 = UserHandle.getUid(10, UID_1); 334 areRestricted(instance, UID_1, PACKAGE_1, NONE); in testAll() 338 areRestrictedWithExemption(instance, UID_1, PACKAGE_1, NONE); in testAll() 347 areRestricted(instance, UID_1, PACKAGE_1, JOBS_AND_ALARMS); in testAll() 351 areRestrictedWithExemption(instance, UID_1, PACKAGE_1, NONE); in testAll() 359 assertFalse(instance.isUidActive(UID_1)); in testAll() 363 mIUidObserver.onUidActive(UID_1); in testAll() 365 areRestricted(instance, UID_1, PACKAGE_1, NONE); in testAll() 368 assertTrue(instance.isUidActive(UID_1)); in testAll() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 90 private static final int UID_1 = 10000001; field in CarrierPrivilegesTrackerTest 92 private static final int[] PRIVILEGED_UIDS = {UID_1, UID_2}; 185 new PackageCertInfo(PACKAGE_1, CERT_1, USER_1, UID_1), in setupCarrierPrivilegesTrackerWithCarrierConfigUids() 193 new PackageCertInfo(PACKAGE_1, CERT_1, USER_1, UID_1), in setupCarrierPrivilegesTrackerWithSimLoadedUids() 271 new PackageCertInfo(PACKAGE_1, CERT_1, USER_1, UID_1), in testCarrierConfigUpdated() 325 new PackageCertInfo(PACKAGE_1, CERT_1, USER_1, UID_1), in testSimCardStateChanged() 343 new PackageCertInfo(PACKAGE_1, CERT_1, USER_1, UID_1), in testSimApplicationStateChanged() 400 setupInstalledPackages(new PackageCertInfo(PACKAGE_1, CERT_1, USER_1, UID_1)); in testPackageAdded() 405 verifyPrivilegedUids(new int[] {UID_1}, 1 /* expectedUidUpdates */); in testPackageAdded() 415 new PackageCertInfo(PACKAGE_1, CERT_1, USER_1, UID_1), in testPackageAddedMultipleUsers() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 91 private static final int UID_1 = 10000; field in AppStandbyControllerTests 253 pi.applicationInfo.uid = UID_1; in setupPm() 265 doReturn(UID_1).when(mockPm).getPackageUidAsUser(eq(PACKAGE_1), anyInt(), anyInt()); in setupPm() 626 assertTrue(mController.isAppIdleFiltered(PACKAGE_1, UID_1, USER_ID, 0)); in testForcedIdle() 631 assertFalse(mController.isAppIdleFiltered(PACKAGE_1, UID_1, USER_ID, 0)); in testForcedIdle()
|