Home
last modified time | relevance | path

Searched defs:admin (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java1055 public boolean isAdminActive(@NonNull ComponentName admin) { in isAdminActive()
1063 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser()
1078 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin()
1152 public void removeActiveAdmin(@NonNull ComponentName admin) { in removeActiveAdmin()
1173 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { in hasGrantedPolicy()
1306 public void setPasswordQuality(@NonNull ComponentName admin, int quality) { in setPasswordQuality()
1328 public int getPasswordQuality(@Nullable ComponentName admin) { in getPasswordQuality()
1333 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality()
1370 public void setPasswordMinimumLength(@NonNull ComponentName admin, int length) { in setPasswordMinimumLength()
1393 public int getPasswordMinimumLength(@Nullable ComponentName admin) { in getPasswordMinimumLength()
[all …]
DIDevicePolicyManager.aidl76 void setMaximumFailedPasswordsForWipe(in ComponentName admin, int num, boolean parent); in setMaximumFailedPasswordsForWipe()
77 int getMaximumFailedPasswordsForWipe(in ComponentName admin, int userHandle, boolean parent); in getMaximumFailedPasswordsForWipe()
89 ComponentName setGlobalProxy(in ComponentName admin, String proxySpec, String exclusionList); in setGlobalProxy()
91 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy()
143 …String[] setPackagesSuspended(in ComponentName admin, in String[] packageNames, boolean suspended); in setPackagesSuspended()
144 boolean isPackageSuspended(in ComponentName admin, String packageName); in isPackageSuspended()
146 boolean installCaCert(in ComponentName admin, in byte[] certBuffer); in installCaCert()
147 void uninstallCaCerts(in ComponentName admin, in String[] aliases); in uninstallCaCerts()
148 void enforceCanManageCaCerts(in ComponentName admin); in enforceCanManageCaCerts()
163 …void addPersistentPreferredActivity(in ComponentName admin, in IntentFilter filter, in ComponentNa… in addPersistentPreferredActivity()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java87 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid) in setUpPackageManagerForAdmin()
93 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin()
98 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin()
111 protected void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForFakeAdmin()
DDevicePolicyManagerTest.java164 private void setAsProfileOwner(ComponentName admin) { in setAsProfileOwner()
1703 final ComponentName admin = new ComponentName("test", "test"); in testUserAffiliation() local
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1797 private void migrateUserRestrictionsForUser(UserHandle user, ActiveAdmin admin, in migrateUserRestrictionsForUser()
1843 final ActiveAdmin admin = policy.mAdminList.get(i); in findAdminComponentWithPackageLocked() local
1901 ActiveAdmin admin = getUserData(userHandle).mAdminMap.get(who); in getActiveAdminUncheckedLocked() local
1914 ActiveAdmin admin = getActiveAdminUncheckedLocked(who, userHandle); in getActiveAdminUncheckedLocked() local
1933 ActiveAdmin admin = policy.mAdminMap.get(who); in getActiveAdminForCallerLocked() local
1957 ActiveAdmin admin = getActiveAdminForCallerLocked(who, reqPolicy); in getActiveAdminForCallerLocked() local
1967 ActiveAdmin admin = policy.mAdminMap.get(who); in getActiveAdminForUidLocked() local
1983 ActiveAdmin admin = policy.mAdminMap.get(who); in getActiveAdminWithPolicyForUidLocked() local
2006 boolean isActiveAdminWithPolicyForUserLocked(ActiveAdmin admin, int reqPolicy, in isActiveAdminWithPolicyForUserLocked()
2021 void sendAdminCommandLocked(ActiveAdmin admin, String action) { in sendAdminCommandLocked()
[all …]
DOwners.java218 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner()
232 void setDeviceOwnerWithRestrictionsMigrated(ComponentName admin, String ownerName, int userId, in setDeviceOwnerWithRestrictionsMigrated()
254 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner()
421 ComponentName admin = ComponentName.unflattenFromString( in readLegacyOwnerFileLocked() local
691 public final ComponentName admin; field in Owners.OwnerInfo
706 public OwnerInfo(String name, ComponentName admin, boolean userRestrictionsMigrated, in OwnerInfo()
752 final ComponentName admin = ComponentName.unflattenFromString(componentName); in readFromXml() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedPreferenceHelper.java134 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled() local
146 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
DRestrictedLockUtils.java237 EnforcedAdmin admin = getProfileOrDeviceOwner(context, userId); in checkIfInputMethodDisallowed() local
271 EnforcedAdmin admin = getProfileOwner(context, userId); in checkIfRemoteContactSearchDisallowed() local
290 EnforcedAdmin admin = getProfileOrDeviceOwner(context, userId); in checkIfAccessibilityServiceDisallowed() local
574 final MenuItem item, final EnforcedAdmin admin) { in setMenuItemAsDisabledByAdmin()
617 public static void sendShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in sendShowAdminSupportDetailsIntent()
627 public static Intent getShowAdminSupportDetailsIntent(Context context, EnforcedAdmin admin) { in getShowAdminSupportDetailsIntent()
652 public static boolean isAdminInCurrentUserOrProfile(Context context, ComponentName admin) { in isAdminInCurrentUserOrProfile()
DRestrictedPreference.java102 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
DRestrictedSwitchPreference.java164 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java680 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfAddUserDisallowedByAdminOnly() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTile.java318 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfRestrictionEnforcedByAdminOnly() local