Home
last modified time | relevance | path

Searched refs:admin2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java155 public static EnforcedAdmin combine(EnforcedAdmin admin1, EnforcedAdmin admin2) { in combine() argument
157 return admin2; in combine()
159 if (admin2 == null) { in combine()
162 if (admin1.equals(admin2)) { in combine()
165 if (!admin1.enforcedRestriction.equals(admin2.enforcedRestriction)) { in combine()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java51 public ComponentName admin2; field in DpmTestBase
67 admin2 = new ComponentName(mRealTestContext, DummyDeviceAdmins.Admin2.class); in setUp()
DDevicePolicyManagerServiceMigrationTest.java87 setUpPackageManagerForAdmin(admin2, UserHandle.getUid(10, 123)); in testMigration()
225 setUpPackageManagerForAdmin(admin2, DpmMockContext.CALLER_SYSTEM_USER_UID); in testMigration2_profileOwnerOnUser0()