Searched refs:admin1 (Results 1 – 5 of 5) sorted by relevance
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerTest.java | 966 addManagedProfile(admin1, MANAGED_PROFILE_ADMIN_UID, admin1); in testSetActivePasswordState_sendToProfiles() 1005 addManagedProfile(admin1, MANAGED_PROFILE_ADMIN_UID, admin1); in testSetActivePasswordState_notSentToParent() 3337 addManagedProfile(admin1, PROFILE_ADMIN, admin1); in testIsActiveSupervisionApp() 3351 addManagedProfile(admin1, PROFILE_ADMIN, admin1); in testSetMaximumTimeToLockProfile() 4055 addManagedProfile(admin1, managedProfileAdminUid, admin1); in testUpdateNetworkPreferenceOnStartUser() 4072 addManagedProfile(admin1, managedProfileAdminUid, admin1); in testUpdateNetworkPreferenceOnStopUser() 4095 addManagedProfile(admin1, managedProfileAdminUid, admin1); in testGetSetPreferentialNetworkService() 5341 addManagedProfile(admin1, managedProfileAdminUid, admin1); in testIsPasswordSufficientAfterProfileUnification() 5437 addManagedProfile(admin1, managedProfileAdminUid, admin1); in testCannotSetPasswordRequirementOnParent() 5646 addManagedProfile(admin1, adminUid, admin1); in addManagedProfileForPasswordTests() [all …]
|
H A D | DevicePolicyManagerServiceMigrationTest.java | 318 setUpPackageManagerForAdmin(admin1, UserHandle.getUid(10, 123)); in testMigration3_managedProfileOwner() 404 .that(dpm.getParentProfileInstance(admin1).getPasswordHistoryLength(admin1)) in testCompMigrationAffiliated() 407 .that(dpm.getPasswordHistoryLength(admin1)).isEqualTo(0); in testCompMigrationAffiliated() 409 .that(dpm.getParentProfileInstance(admin1).getScreenCaptureDisabled(admin1)) in testCompMigrationAffiliated() 413 .that(dpm.getParentProfileInstance(admin1) in testCompMigrationAffiliated() 422 .that(dpm.getParentProfileInstance(admin1).getUserRestrictions(admin1).keySet()) in testCompMigrationAffiliated() 426 dpm.getUserRestrictions(admin1).keySet()) in testCompMigrationAffiliated() 438 .that(dpm.getPersonalAppsSuspendedReasons(admin1)) in testCompMigrationAffiliated() 471 .that(dpm.getPersonalAppsSuspendedReasons(admin1)) in testCompMigration_keepSuspendedAppsWhenDpcIsRPlus() 497 .that(dpm.getPersonalAppsSuspendedReasons(admin1)) in testCompMigration_unsuspendAppsWhenDpcNotRPlus() [all …]
|
H A D | NetworkEventTest.java | 66 setUpPackageManagerForAdmin(admin1, DpmMockContext.CALLER_UID); in setUp() 67 mDpmTestable.setActiveAdmin(admin1, true, DpmMockContext.CALLER_USER_HANDLE); in setUp()
|
H A D | DpmTestBase.java | 62 public ComponentName admin1; field in DpmTestBase 74 admin1 = new ComponentName(mRealTestContext, DummyDeviceAdmins.Admin1.class); in setFixtures()
|
/aosp12/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
H A D | RestrictedLockUtils.java | 170 public static EnforcedAdmin combine(EnforcedAdmin admin1, EnforcedAdmin admin2) { in combine() argument 171 if (admin1 == null) { in combine() 175 return admin1; in combine() 177 if (admin1.equals(admin2)) { in combine() 178 return admin1; in combine() 180 if (!admin1.enforcedRestriction.equals(admin2.enforcedRestriction)) { in combine()
|