Searched refs:admin2 (Results 1 – 3 of 3) sorted by relevance
155 public static EnforcedAdmin combine(EnforcedAdmin admin1, EnforcedAdmin admin2) { in combine() argument157 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()
51 public ComponentName admin2; field in DpmTestBase67 admin2 = new ComponentName(mRealTestContext, DummyDeviceAdmins.Admin2.class); in setUp()
87 setUpPackageManagerForAdmin(admin2, UserHandle.getUid(10, 123)); in testMigration()225 setUpPackageManagerForAdmin(admin2, DpmMockContext.CALLER_SYSTEM_USER_UID); in testMigration2_profileOwnerOnUser0()