/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 1558 public boolean isAdminActive(@NonNull ComponentName admin) { in isAdminActive() 1567 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser() 1583 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin() 1658 public void removeActiveAdmin(@NonNull ComponentName admin) { in removeActiveAdmin() 1679 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { in hasGrantedPolicy() 1843 public void setPasswordQuality(@NonNull ComponentName admin, int quality) { in setPasswordQuality() 1865 public int getPasswordQuality(@Nullable ComponentName admin) { in getPasswordQuality() 1870 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality() 1907 public void setPasswordMinimumLength(@NonNull ComponentName admin, int length) { in setPasswordMinimumLength() 1930 public int getPasswordMinimumLength(@Nullable ComponentName admin) { in getPasswordMinimumLength() [all …]
|
D | IDevicePolicyManager.aidl | 83 void setMaximumFailedPasswordsForWipe(in ComponentName admin, int num, boolean parent); in setMaximumFailedPasswordsForWipe() 84 int getMaximumFailedPasswordsForWipe(in ComponentName admin, int userHandle, boolean parent); in getMaximumFailedPasswordsForWipe() 99 ComponentName setGlobalProxy(in ComponentName admin, String proxySpec, String exclusionList); in setGlobalProxy() 101 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy() 154 …String[] setPackagesSuspended(in ComponentName admin, in String callerPackage, in String[] package… in setPackagesSuspended() 155 boolean isPackageSuspended(in ComponentName admin, in String callerPackage, String packageName); in isPackageSuspended() 157 boolean installCaCert(in ComponentName admin, String callerPackage, in byte[] certBuffer); in installCaCert() 158 void uninstallCaCerts(in ComponentName admin, String callerPackage, in String[] aliases); in uninstallCaCerts() 159 void enforceCanManageCaCerts(in ComponentName admin, in String callerPackage); in enforceCanManageCaCerts() 178 …void addPersistentPreferredActivity(in ComponentName admin, in IntentFilter filter, in ComponentNa… in addPersistentPreferredActivity() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 133 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid) in setUpPackageManagerForAdmin() 139 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() 144 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin() 150 protected void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForFakeAdmin() 164 private void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForFakeAdmin()
|
D | DevicePolicyManagerTest.java | 244 private void setAsProfileOwner(ComponentName admin) { in setAsProfileOwner() 4307 ComponentName admin, int adminUid, ComponentName copyFromAdmin) throws Exception { in addManagedProfile()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1997 int userId, ActiveAdmin admin, Set<String> defaultRestrictions) { in maybeSetDefaultRestrictionsForAdminLocked() 2144 private void migrateUserRestrictionsForUser(UserHandle user, ActiveAdmin admin, in migrateUserRestrictionsForUser() 2190 final ActiveAdmin admin = policy.mAdminList.get(i); in findAdminComponentWithPackageLocked() local 2248 ActiveAdmin admin = getUserData(userHandle).mAdminMap.get(who); in getActiveAdminUncheckedLocked() local 2261 ActiveAdmin admin = getActiveAdminUncheckedLocked(who, userHandle); in getActiveAdminUncheckedLocked() local 2280 ActiveAdmin admin = policy.mAdminMap.get(who); in getActiveAdminForCallerLocked() local 2304 ActiveAdmin admin = getActiveAdminForCallerLocked(who, reqPolicy); in getActiveAdminForCallerLocked() local 2314 ActiveAdmin admin = policy.mAdminMap.get(who); in getActiveAdminForUidLocked() local 2330 ActiveAdmin admin = policy.mAdminMap.get(who); in getActiveAdminWithPolicyForUidLocked() local 2353 boolean isActiveAdminWithPolicyForUserLocked(ActiveAdmin admin, int reqPolicy, in isActiveAdminWithPolicyForUserLocked() [all …]
|
D | Owners.java | 225 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner() 239 void setDeviceOwnerWithRestrictionsMigrated(ComponentName admin, String ownerName, int userId, in setDeviceOwnerWithRestrictionsMigrated() 261 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner() 428 ComponentName admin = ComponentName.unflattenFromString( in readLegacyOwnerFileLocked() local 732 public final ComponentName admin; field in Owners.OwnerInfo 747 public OwnerInfo(String name, ComponentName admin, boolean userRestrictionsMigrated, in OwnerInfo() 793 final ComponentName admin = ComponentName.unflattenFromString(componentName); in readFromXml() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 241 EnforcedAdmin admin = getProfileOrDeviceOwner(context, userId); in checkIfInputMethodDisallowed() local 275 EnforcedAdmin admin = getProfileOwner(context, userId); in checkIfRemoteContactSearchDisallowed() local 294 EnforcedAdmin admin = getProfileOrDeviceOwner(context, userId); in checkIfAccessibilityServiceDisallowed() local 483 boolean isEnforcing(DevicePolicyManager dpm, ComponentName admin, @UserIdInt int userId); in isEnforcing() 601 final MenuItem item, final EnforcedAdmin admin) { in setMenuItemAsDisabledByAdmin() 644 public static void sendShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in sendShowAdminSupportDetailsIntent() 654 public static Intent getShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in getShowAdminSupportDetailsIntent() 679 public static boolean isAdminInCurrentUserOrProfile(Context context, ComponentName admin) { in isAdminInCurrentUserOrProfile()
|
D | RestrictedPreferenceHelper.java | 137 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled() local 149 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
D | RestrictedPreference.java | 110 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
D | RestrictedSwitchPreference.java | 164 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/vo/ |
D | User.java | 85 public void setAdmin(boolean admin) { in setAdmin()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodPreference.java | 202 EnforcedAdmin admin = in updatePreferenceViews() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 358 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfRestrictionEnforcedByAdminOnly() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserSwitcherController.java | 764 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfAddUserDisallowedByAdminOnly() local
|