Home
last modified time | relevance | path

Searched refs:ANOTHER_UID (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContextListenerControllerTests.java55 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/
DAppTimeLimitControllerTests.java663 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/
DDevicePolicyManagerTest.java392 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 …]
DDpmMockContext.java92 public static final int ANOTHER_UID = UserHandle.getUid(UserHandle.USER_SYSTEM, 18434); field in DpmMockContext