Searched refs:ANOTHER_UID (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContextListenerControllerTests.java | 55 private static final int ANOTHER_UID = 1000; field in WindowContextListenerControllerTests 149 true /* callerCanManagerAppTokens */, ANOTHER_UID)); in testAssertCallerCanModifyListener_CanManageAppTokens_ReturnTrue() 167 false /* callerCanManagerAppTokens */, ANOTHER_UID); in testAssertCallerCanModifyListener_DifferentUid_ThrowException()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppTimeLimitControllerTests.java | 663 int ANOTHER_UID = UID + 1; in testAppUsageObserver_MaxObserverLimit() local 677 mController.addAppUsageObserver(ANOTHER_UID, OBS_ID11, GROUP1, TIME_30_MIN, null, USER_ID); in testAppUsageObserver_MaxObserverLimit() 694 int ANOTHER_UID = UID + 1; in testUsageSessionObserver_MaxObserverLimit() local 707 mController.addUsageSessionObserver(ANOTHER_UID, OBS_ID11, GROUP1, TIME_30_MIN, TIME_1_MIN, in testUsageSessionObserver_MaxObserverLimit() 724 int ANOTHER_UID = UID + 1; in testAppUsageLimitObserver_MaxObserverLimit() local 739 ANOTHER_UID, OBS_ID11, GROUP1, TIME_30_MIN, 0, null, USER_ID); in testAppUsageLimitObserver_MaxObserverLimit()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 392 final int ANOTHER_UID = UserHandle.getUid(CALLER_USER_HANDLE, 1306); in testLoadAdminData() local 393 setUpPackageManagerForFakeAdmin(adminAnotherPackage, ANOTHER_UID, admin2); in testLoadAdminData() 3630 setUpPackageManagerForFakeAdmin(adminAnotherPackage, DpmMockContext.ANOTHER_UID, admin2); in setup_withDo_systemUser() 3691 DpmMockContext.ANOTHER_PACKAGE_NAME, DpmMockContext.ANOTHER_UID); in testProvisioning_withDo_systemUser() 3719 DpmMockContext.ANOTHER_PACKAGE_NAME, DpmMockContext.ANOTHER_UID); in testProvisioning_withDo_systemUser_restrictedBySystem() 3753 DpmMockContext.ANOTHER_PACKAGE_NAME, DpmMockContext.ANOTHER_UID); in testCheckProvisioningPreCondition_attemptingComp() 3777 DpmMockContext.ANOTHER_PACKAGE_NAME, DpmMockContext.ANOTHER_UID); in testCheckProvisioningPreCondition_comp_cannot_remove_profile() 3833 mContext.binder.callingUid = DpmMockContext.ANOTHER_UID; in setup_provisionManagedProfileWithDeviceOwner_primaryUser() 4234 mContext.binder.callingUid = DpmMockContext.ANOTHER_UID; in testIsOrganizationOwnedDevice() 6505 mContext.binder.callingUid = DpmMockContext.ANOTHER_UID; in testEnforceCallerCanRequestDeviceIdAttestation_deviceOwnerCaller() [all …]
|
D | DpmMockContext.java | 92 public static final int ANOTHER_UID = UserHandle.getUid(UserHandle.USER_SYSTEM, 18434); field in DpmMockContext
|