Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java2443 public boolean isAdminActive(@NonNull ComponentName admin) { in isAdminActive()
2452 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser()
2468 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin()
2545 public void removeActiveAdmin(@NonNull ComponentName admin) { in removeActiveAdmin()
2566 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { in hasGrantedPolicy()
2733 public void setPasswordQuality(@NonNull ComponentName admin, int quality) { in setPasswordQuality()
2758 public int getPasswordQuality(@Nullable ComponentName admin) { in getPasswordQuality()
2764 public int getPasswordQuality(@Nullable ComponentName admin, int userHandle) { in getPasswordQuality()
2810 public void setPasswordMinimumLength(@NonNull ComponentName admin, int length) { in setPasswordMinimumLength()
2835 public int getPasswordMinimumLength(@Nullable ComponentName admin) { in getPasswordMinimumLength()
[all …]
DIDevicePolicyManager.aidl90 boolean isUsingUnifiedPassword(in ComponentName admin); in isUsingUnifiedPassword()
94 void setMaximumFailedPasswordsForWipe(in ComponentName admin, int num, boolean parent); in setMaximumFailedPasswordsForWipe()
95 int getMaximumFailedPasswordsForWipe(in ComponentName admin, int userHandle, boolean parent); in getMaximumFailedPasswordsForWipe()
113 ComponentName setGlobalProxy(in ComponentName admin, String proxySpec, String exclusionList); in setGlobalProxy()
115 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy()
173 …String[] setPackagesSuspended(in ComponentName admin, in String callerPackage, in String[] package… in setPackagesSuspended()
174 boolean isPackageSuspended(in ComponentName admin, in String callerPackage, String packageName); in isPackageSuspended()
176 boolean installCaCert(in ComponentName admin, String callerPackage, in byte[] certBuffer); in installCaCert()
177 void uninstallCaCerts(in ComponentName admin, String callerPackage, in String[] aliases); in uninstallCaCerts()
178 void enforceCanManageCaCerts(in ComponentName admin, in String callerPackage); in enforceCanManageCaCerts()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DBaseIDevicePolicyManager.java61 public boolean setKeyGrantForApp(ComponentName admin, String callerPackage, String alias, in setKeyGrantForApp()
72 public int getPersonalAppsSuspendedReasons(ComponentName admin) { in getPersonalAppsSuspendedReasons()
76 public void setPersonalAppsSuspended(ComponentName admin, boolean suspended) { in setPersonalAppsSuspended()
79 public void setManagedProfileMaximumTimeOff(ComponentName admin, long timeoutMs) { in setManagedProfileMaximumTimeOff()
82 public long getManagedProfileMaximumTimeOff(ComponentName admin) { in getManagedProfileMaximumTimeOff()
DOwners.java278 void setDeviceOwner(ComponentName admin, String ownerName, int userId) { in setDeviceOwner()
292 void setDeviceOwnerWithRestrictionsMigrated(ComponentName admin, String ownerName, int userId, in setDeviceOwnerWithRestrictionsMigrated()
322 void setProfileOwner(ComponentName admin, String ownerName, int userId) { in setProfileOwner()
585 ComponentName admin = ComponentName.unflattenFromString( in readLegacyOwnerFileLocked() local
958 public final ComponentName admin; field in Owners.OwnerInfo
976 public OwnerInfo(String name, ComponentName admin, boolean userRestrictionsMigrated, in OwnerInfo()
1036 final ComponentName admin = ComponentName.unflattenFromString(componentName); in readFromXml() local
DOverlayPackagesProvider.java98 public Set<String> getNonRequiredApps(@NonNull ComponentName admin, int userId, in getNonRequiredApps()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java169 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid) in setUpPackageManagerForAdmin()
175 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin()
180 protected void setUpPackageManagerForAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForAdmin()
186 protected void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForFakeAdmin()
200 protected void setUpPackageManagerForFakeAdmin(ComponentName admin, int packageUid, in setUpPackageManagerForFakeAdmin()
DDevicePolicyManagerServiceMigrationTest.java518 private void preparePo(int profileUserId, ComponentName admin, int profileOwnerXmlResId, in preparePo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedPreferenceHelper.java136 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled() local
148 public boolean setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
DRestrictedLockUtilsInternal.java264 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
469 boolean isEnforcing(DevicePolicyManager dpm, ComponentName admin, @UserIdInt int userId); in isEnforcing()
576 final MenuItem item, final EnforcedAdmin admin) { in setMenuItemAsDisabledByAdmin()
616 public static boolean isAdminInCurrentUserOrProfile(Context context, ComponentName admin) { in isAdminInCurrentUserOrProfile()
DRestrictedPreference.java110 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
DRestrictedSwitchPreference.java183 public void setDisabledByAdmin(EnforcedAdmin admin) { in setDisabledByAdmin()
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java76 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/
DToggleSeekBar.java74 public void setEnforcedAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setEnforcedAdmin()
DToggleSliderView.java99 public void setEnforcedAdmin(RestrictedLockUtils.EnforcedAdmin admin) { in setEnforcedAdmin()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java329 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/
DInputMethodPreference.java211 EnforcedAdmin admin = in updatePreferenceViews() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java481 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkIfRestrictionEnforcedByAdminOnly() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java714 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkIfAddUserDisallowedByAdminOnly() local
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...