Searched refs:setUpPackageManagerForAdmin (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 87 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid) in setUpPackageManagerForAdmin() method in DpmTestBase 89 setUpPackageManagerForAdmin(admin, packageUid, in setUpPackageManagerForAdmin() 93 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() method in DpmTestBase 95 setUpPackageManagerForAdmin(admin, packageUid, enabledSetting, /* appTargetSdk = */ null); in setUpPackageManagerForAdmin() 98 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() method in DpmTestBase
|
D | DevicePolicyManagerTest.java | 104 setUpPackageManagerForAdmin(admin1, DpmMockContext.CALLER_UID); in setUp() 105 setUpPackageManagerForAdmin(admin2, DpmMockContext.CALLER_UID); in setUp() 106 setUpPackageManagerForAdmin(admin3, DpmMockContext.CALLER_UID); in setUp() 107 setUpPackageManagerForAdmin(adminNoPerm, DpmMockContext.CALLER_UID); in setUp() 266 setUpPackageManagerForAdmin(admin2, DpmMockContext.CALLER_UID, in testSetActiveAdmin() 320 setUpPackageManagerForAdmin(admin2, ANOTHER_ADMIN_UID); in testSetActiveAdmin_multiUsers() 377 setUpPackageManagerForAdmin(adminNoPerm, DpmMockContext.CALLER_UID, null, in testSetActiveAdmin_permissionCheck() 552 setUpPackageManagerForAdmin(admin2, DpmMockContext.CALLER_SYSTEM_USER_UID); in testSetDeviceOwner() 580 setUpPackageManagerForAdmin(admin1, DpmMockContext.CALLER_SYSTEM_USER_UID); in setDeviceOwner() 803 setUpPackageManagerForAdmin(admin1, DpmMockContext.CALLER_UID); in testClearDeviceOwner() [all …]
|
D | DevicePolicyManagerServiceMigrationTest.java | 62 setUpPackageManagerForAdmin(admin1, DpmMockContext.CALLER_SYSTEM_USER_UID); in testMigration() 63 setUpPackageManagerForAdmin(admin2, UserHandle.getUid(10, 123)); in testMigration() 64 setUpPackageManagerForAdmin(admin3, UserHandle.getUid(11, 456)); in testMigration() 204 setUpPackageManagerForAdmin(admin2, DpmMockContext.CALLER_SYSTEM_USER_UID); in testMigration2_profileOwnerOnUser0()
|