Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java1558 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 …]
DIDevicePolicyManager.aidl83 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/
DDpmTestBase.java133 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()
DDevicePolicyManagerTest.java244 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/
DDevicePolicyManagerService.java1997 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 …]
DOwners.java225 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/
DRestrictedLockUtils.java241 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()
DRestrictedPreferenceHelper.java137 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled() local
149 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
DRestrictedPreference.java110 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
DRestrictedSwitchPreference.java164 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/vo/
DUser.java85 public void setAdmin(boolean admin) { in setAdmin()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java202 EnforcedAdmin admin = in updatePreferenceViews() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java358 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfRestrictionEnforcedByAdminOnly() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java764 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in checkIfAddUserDisallowedByAdminOnly() local