/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 2330 public boolean isAdminActive(@NonNull ComponentName admin) { in isAdminActive() 2339 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() 2355 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin() 2432 public void removeActiveAdmin(@NonNull ComponentName admin) { in removeActiveAdmin() 2453 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { in hasGrantedPolicy() 2621 public void setPasswordQuality(@NonNull ComponentName admin, int quality) { in setPasswordQuality() 2646 public int getPasswordQuality(@Nullable ComponentName admin) { in getPasswordQuality() 2652 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality() 2692 public void setPasswordMinimumLength(@NonNull ComponentName admin, int length) { in setPasswordMinimumLength() 2717 public int getPasswordMinimumLength(@Nullable ComponentName admin) { in getPasswordMinimumLength() [all …]
|
D | IDevicePolicyManager.aidl | 86 boolean isUsingUnifiedPassword(in ComponentName admin); in isUsingUnifiedPassword() 90 void setMaximumFailedPasswordsForWipe(in ComponentName admin, int num, boolean parent); in setMaximumFailedPasswordsForWipe() 91 int getMaximumFailedPasswordsForWipe(in ComponentName admin, int userHandle, boolean parent); in getMaximumFailedPasswordsForWipe() 105 ComponentName setGlobalProxy(in ComponentName admin, String proxySpec, String exclusionList); in setGlobalProxy() 107 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy() 164 …String[] setPackagesSuspended(in ComponentName admin, in String callerPackage, in String[] package… in setPackagesSuspended() 165 boolean isPackageSuspended(in ComponentName admin, in String callerPackage, String packageName); in isPackageSuspended() 167 boolean installCaCert(in ComponentName admin, String callerPackage, in byte[] certBuffer); in installCaCert() 168 void uninstallCaCerts(in ComponentName admin, String callerPackage, in String[] aliases); in uninstallCaCerts() 169 void enforceCanManageCaCerts(in ComponentName admin, in String callerPackage); in enforceCanManageCaCerts() [all …]
|
/frameworks/opt/car/services/tests/src/com/android/internal/car/ |
D | CarHelperServiceTest.java | 78 UserInfo admin = mockAdminWithDefaultName(/* adminId= */ 10); in testStartsSecondaryAdminUserOnFirstRun() local 93 UserInfo admin = mockAdminWithDefaultName(/* adminId= */ 10); in testUpdateLastActiveUserOnFirstRun() local 108 UserInfo admin = in testStartsLastActiveUserOnReboot() local 127 UserInfo admin = new UserInfo(adminId, DEFAULT_NAME, UserInfo.FLAG_ADMIN); in mockAdminWithDefaultName() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 150 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid) in setUpPackageManagerForAdmin() 156 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() 161 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() 167 protected void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForFakeAdmin() 181 private void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForFakeAdmin()
|
D | DevicePolicyManagerTest.java | 269 private void setAsProfileOwner(ComponentName admin) { in setAsProfileOwner() 5490 ComponentName admin, int adminUid, ComponentName copyFromAdmin) throws Exception { in addManagedProfile()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2427 int userId, ActiveAdmin admin, Set<String> defaultRestrictions) { in maybeSetDefaultRestrictionsForAdminLocked() 2579 private void migrateUserRestrictionsForUser(UserHandle user, ActiveAdmin admin, in migrateUserRestrictionsForUser() 2625 final ActiveAdmin admin = policy.mAdminList.get(i); in findAdminComponentWithPackageLocked() local 2684 ActiveAdmin admin = getUserData(userHandle).mAdminMap.get(who); in getActiveAdminUncheckedLocked() local 2698 ActiveAdmin admin = getActiveAdminUncheckedLocked(who, userHandle); in getActiveAdminUncheckedLocked() local 2738 ActiveAdmin admin = policy.mAdminMap.get(who); in getActiveAdminOrCheckPermissionForCallerLocked() local 2788 ActiveAdmin admin = getActiveAdminOrCheckPermissionForCallerLocked( in getActiveAdminOrCheckPermissionForCallerLocked() local 2801 ActiveAdmin admin = policy.mAdminMap.get(who); in getActiveAdminForUidLocked() local 2828 ActiveAdmin admin = policy.mAdminMap.get(who); in getActiveAdminWithPolicyForUidLocked() local 2851 boolean isActiveAdminWithPolicyForUserLocked(ActiveAdmin admin, int reqPolicy, in isActiveAdminWithPolicyForUserLocked() [all …]
|
D | Owners.java | 267 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() 281 void setDeviceOwnerWithRestrictionsMigrated(ComponentName admin, String ownerName, int userId, in setDeviceOwnerWithRestrictionsMigrated() 311 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() 573 ComponentName admin = ComponentName.unflattenFromString( in readLegacyOwnerFileLocked() local 946 public final ComponentName admin; field in Owners.OwnerInfo 963 public OwnerInfo(String name, ComponentName admin, boolean userRestrictionsMigrated, in OwnerInfo() 1018 final ComponentName admin = ComponentName.unflattenFromString(componentName); in readFromXml() local
|
D | OverlayPackagesProvider.java | 105 public Set<String> getNonRequiredApps(@NonNull ComponentName admin, int userId, in getNonRequiredApps()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedPreferenceHelper.java | 136 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled() local 148 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
D | RestrictedLockUtilsInternal.java | 264 EnforcedAdmin admin = getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfInputMethodDisallowed() local 299 EnforcedAdmin admin = getProfileOwner(context, userId); in checkIfRemoteContactSearchDisallowed() local 318 EnforcedAdmin admin = getProfileOrDeviceOwner(context, getUserHandleOf(userId)); in checkIfAccessibilityServiceDisallowed() local 486 boolean isEnforcing(DevicePolicyManager dpm, ComponentName admin, @UserIdInt int userId); in isEnforcing() 593 final MenuItem item, final EnforcedAdmin admin) { in setMenuItemAsDisabledByAdmin() 633 public static boolean isAdminInCurrentUserOrProfile(Context context, ComponentName admin) { in isAdminInCurrentUserOrProfile()
|
D | RestrictedPreference.java | 110 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
D | RestrictedSwitchPreference.java | 170 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 76 public static void sendShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in sendShowAdminSupportDetailsIntent() 89 public static Intent getShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in getShowAdminSupportDetailsIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | ToggleSeekBar.java | 74 public void setEnforcedAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setEnforcedAdmin()
|
D | ToggleSliderView.java | 99 public void setEnforcedAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setEnforcedAdmin()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 329 private void setUpDeviceOwner(ComponentName admin) { in setUpDeviceOwner() 333 private void setUpProfileOwner(ComponentName admin, int userId) { in setUpProfileOwner()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodPreference.java | 210 EnforcedAdmin admin = in updatePreferenceViews() local
|
/frameworks/opt/car/services/src/com/android/internal/car/ |
D | CarServiceHelperService.java | 270 UserInfo admin = mCarUserManagerHelper.createNewAdminUser(); in setupAndStartUsers() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 397 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkIfRestrictionEnforcedByAdminOnly() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 699 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkIfAddUserDisallowedByAdminOnly() local
|