Searched refs:UID_2 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 148 private static final int UID_2 = Process.FIRST_APPLICATION_UID + 2; field in AppStateTrackerTest 151 private static final int UID_10_2 = UserHandle.getUid(10, UID_2); 335 areRestricted(instance, UID_2, PACKAGE_2, NONE); in testAll() 339 areRestrictedWithExemption(instance, UID_2, PACKAGE_2, NONE); in testAll() 348 areRestricted(instance, UID_2, PACKAGE_2, JOBS_AND_ALARMS); in testAll() 352 areRestrictedWithExemption(instance, UID_2, PACKAGE_2, NONE); in testAll() 360 assertFalse(instance.isUidActive(UID_2)); in testAll() 366 areRestricted(instance, UID_2, PACKAGE_2, JOBS_AND_ALARMS); in testAll() 369 assertFalse(instance.isUidActive(UID_2)); in testAll() 374 areRestricted(instance, UID_2, PACKAGE_2, JOBS_AND_ALARMS); in testAll() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 91 private static final int UID_2 = 10000002; field in CarrierPrivilegesTrackerTest 92 private static final int[] PRIVILEGED_UIDS = {UID_1, UID_2}; 186 new PackageCertInfo(PACKAGE_2, CERT_2, USER_1, UID_2)); in setupCarrierPrivilegesTrackerWithCarrierConfigUids() 194 new PackageCertInfo(PACKAGE_2, CERT_2, USER_1, UID_2)); in setupCarrierPrivilegesTrackerWithSimLoadedUids() 272 new PackageCertInfo(PACKAGE_2, CERT_2, USER_1, UID_2)); in testCarrierConfigUpdated() 326 new PackageCertInfo(PACKAGE_2, CERT_2, USER_1, UID_2)); in testSimCardStateChanged() 344 new PackageCertInfo(PACKAGE_2, CERT_2, USER_1, UID_2)); in testSimApplicationStateChanged() 416 new PackageCertInfo(PACKAGE_1, CERT_2, USER_2, UID_2)); in testPackageAddedMultipleUsers() 433 new PackageCertInfo(PACKAGE_1, CERT_2, USER_2, UID_2)); in testPackageReplaced() 447 new PackageCertInfo(PACKAGE_2, CERT_2, USER_1, UID_2)); in testPackageAddedOrReplacedNoSignatures() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsSensorTest.java | 242 final int UID_2 = 20000; // second uid for testing pool usage in testPooledBackgroundUsage() local 263 bi.noteUidProcessStateLocked(UID_2, ActivityManager.PROCESS_STATE_RECEIVER); // background in testPooledBackgroundUsage() 267 bi.noteStartSensorLocked(UID_2, SENSOR_ID); in testPooledBackgroundUsage() 279 bi.noteStopSensorLocked(UID_2, SENSOR_ID); in testPooledBackgroundUsage() 281 bi.noteStartSensorLocked(UID_2, SENSOR_ID); in testPooledBackgroundUsage() 283 bi.noteStopSensorLocked(UID_2, SENSOR_ID); in testPooledBackgroundUsage() 327 BatteryStats.Timer timer2 = bi.getUidStats().get(UID_2).getSensorStats() in testPooledBackgroundUsage() 329 BatteryStats.Timer bgTimer2 = bi.getUidStats().get(UID_2).getSensorStats() in testPooledBackgroundUsage()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/toast/ |
D | ToastUITest.java | 79 private static final int UID_2 = 10256; field in ToastUITest 266 mToastUI.showToast(UID_2, PACKAGE_NAME_2, TOKEN_2, TEXT, WINDOW_TOKEN_2, Toast.LENGTH_LONG, in testShowToast_afterShowToast_hidesCurrentToast()
|