Methods Summary |
---|
public void | addCrossProfileIntentFilter(android.content.ComponentName admin, android.content.IntentFilter filter, int flags)
|
public boolean | addCrossProfileWidgetProvider(android.content.ComponentName admin, java.lang.String packageName)
|
public void | addPersistentPreferredActivity(android.content.ComponentName admin, android.content.IntentFilter filter, android.content.ComponentName activity)
|
public void | clearCrossProfileIntentFilters(android.content.ComponentName admin)
|
public void | clearDeviceOwner(java.lang.String packageName)
|
public void | clearPackagePersistentPreferredActivities(android.content.ComponentName admin, java.lang.String packageName)
|
public void | clearProfileOwner(android.content.ComponentName who)
|
public android.os.UserHandle | createAndInitializeUser(android.content.ComponentName who, java.lang.String name, java.lang.String profileOwnerName, android.content.ComponentName profileOwnerComponent, android.os.Bundle adminExtras)
|
public android.os.UserHandle | createUser(android.content.ComponentName who, java.lang.String name)
|
public void | enableSystemApp(android.content.ComponentName admin, java.lang.String packageName)
|
public int | enableSystemAppWithIntent(android.content.ComponentName admin, android.content.Intent intent)
|
public void | enforceCanManageCaCerts(android.content.ComponentName admin)
|
public java.lang.String[] | getAccountTypesWithManagementDisabled()
|
public java.lang.String[] | getAccountTypesWithManagementDisabledAsUser(int userId)
|
public java.util.List | getActiveAdmins(int userHandle)
|
public android.os.Bundle | getApplicationRestrictions(android.content.ComponentName who, java.lang.String packageName)
|
public boolean | getAutoTimeRequired()
|
public boolean | getCameraDisabled(android.content.ComponentName who, int userHandle)
|
public boolean | getCrossProfileCallerIdDisabled(android.content.ComponentName who)
|
public boolean | getCrossProfileCallerIdDisabledForUser(int userId)
|
public java.util.List | getCrossProfileWidgetProviders(android.content.ComponentName admin)
|
public int | getCurrentFailedPasswordAttempts(int userHandle)
|
public java.lang.String | getDeviceOwner()
|
public java.lang.String | getDeviceOwnerName()
|
public android.content.ComponentName | getGlobalProxyAdmin(int userHandle)
|
public int | getKeyguardDisabledFeatures(android.content.ComponentName who, int userHandle)
|
public java.lang.String[] | getLockTaskPackages(android.content.ComponentName who)
|
public int | getMaximumFailedPasswordsForWipe(android.content.ComponentName admin, int userHandle)
|
public long | getMaximumTimeToLock(android.content.ComponentName who, int userHandle)
|
public long | getPasswordExpiration(android.content.ComponentName who, int userHandle)
|
public long | getPasswordExpirationTimeout(android.content.ComponentName who, int userHandle)
|
public int | getPasswordHistoryLength(android.content.ComponentName who, int userHandle)
|
public int | getPasswordMinimumLength(android.content.ComponentName who, int userHandle)
|
public int | getPasswordMinimumLetters(android.content.ComponentName who, int userHandle)
|
public int | getPasswordMinimumLowerCase(android.content.ComponentName who, int userHandle)
|
public int | getPasswordMinimumNonLetter(android.content.ComponentName who, int userHandle)
|
public int | getPasswordMinimumNumeric(android.content.ComponentName who, int userHandle)
|
public int | getPasswordMinimumSymbols(android.content.ComponentName who, int userHandle)
|
public int | getPasswordMinimumUpperCase(android.content.ComponentName who, int userHandle)
|
public int | getPasswordQuality(android.content.ComponentName who, int userHandle)
|
public java.util.List | getPermittedAccessibilityServices(android.content.ComponentName admin)
|
public java.util.List | getPermittedAccessibilityServicesForUser(int userId)
|
public java.util.List | getPermittedInputMethods(android.content.ComponentName admin)
|
public java.util.List | getPermittedInputMethodsForCurrentUser()
|
public android.content.ComponentName | getProfileOwner(int userHandle)
|
public java.lang.String | getProfileOwnerName(int userHandle)
|
public int | getProfileWithMinimumFailedPasswordsForWipe(int userHandle)
|
public void | getRemoveWarning(android.content.ComponentName policyReceiver, android.os.RemoteCallback result, int userHandle)
|
public android.content.ComponentName | getRestrictionsProvider(int userHandle)
|
public boolean | getScreenCaptureDisabled(android.content.ComponentName who, int userHandle)
|
public boolean | getStorageEncryption(android.content.ComponentName who, int userHandle)
|
public int | getStorageEncryptionStatus(int userHandle)
|
public java.util.List | getTrustAgentConfiguration(android.content.ComponentName admin, android.content.ComponentName agent, int userId)
|
public boolean | hasGrantedPolicy(android.content.ComponentName policyReceiver, int usesPolicy, int userHandle)
|
public boolean | hasUserSetupCompleted()
|
public boolean | installCaCert(android.content.ComponentName admin, byte[] certBuffer)
|
public boolean | installKeyPair(android.content.ComponentName who, byte[] privKeyBuffer, byte[] certBuffer, java.lang.String alias)
|
public boolean | isActivePasswordSufficient(int userHandle)
|
public boolean | isAdminActive(android.content.ComponentName policyReceiver, int userHandle)
|
public boolean | isApplicationHidden(android.content.ComponentName admin, java.lang.String packageName)
|
public boolean | isDeviceOwner(java.lang.String packageName)
|
public boolean | isLockTaskPermitted(java.lang.String pkg)
|
public boolean | isMasterVolumeMuted(android.content.ComponentName admin)
|
public boolean | isRemovingAdmin(android.content.ComponentName adminReceiver, int userHandle)
|
public boolean | isUninstallBlocked(android.content.ComponentName admin, java.lang.String packageName)
|
public void | lockNow()
|
public void | notifyLockTaskModeChanged(boolean isEnabled, java.lang.String pkg, int userId)
|
public boolean | packageHasActiveAdmins(java.lang.String packageName, int userHandle)
|
public void | removeActiveAdmin(android.content.ComponentName policyReceiver, int userHandle)
|
public boolean | removeCrossProfileWidgetProvider(android.content.ComponentName admin, java.lang.String packageName)
|
public boolean | removeUser(android.content.ComponentName who, android.os.UserHandle userHandle)
|
public void | reportFailedPasswordAttempt(int userHandle)
|
public void | reportSuccessfulPasswordAttempt(int userHandle)
|
public boolean | resetPassword(java.lang.String password, int flags, int userHandle)
|
public void | setAccountManagementDisabled(android.content.ComponentName who, java.lang.String accountType, boolean disabled)
|
public void | setActiveAdmin(android.content.ComponentName policyReceiver, boolean refreshing, int userHandle)
|
public void | setActivePasswordState(int quality, int length, int letters, int uppercase, int lowercase, int numbers, int symbols, int nonletter, int userHandle)
|
public boolean | setApplicationHidden(android.content.ComponentName admin, java.lang.String packageName, boolean hidden)
|
public void | setApplicationRestrictions(android.content.ComponentName who, java.lang.String packageName, android.os.Bundle settings)
|
public void | setAutoTimeRequired(android.content.ComponentName who, int userHandle, boolean required)
|
public void | setCameraDisabled(android.content.ComponentName who, boolean disabled, int userHandle)
|
public void | setCrossProfileCallerIdDisabled(android.content.ComponentName who, boolean disabled)
|
public boolean | setDeviceOwner(java.lang.String packageName, java.lang.String ownerName)
|
public android.content.ComponentName | setGlobalProxy(android.content.ComponentName admin, java.lang.String proxySpec, java.lang.String exclusionList, int userHandle)
|
public void | setGlobalSetting(android.content.ComponentName who, java.lang.String setting, java.lang.String value)
|
public void | setKeyguardDisabledFeatures(android.content.ComponentName who, int which, int userHandle)
|
public void | setLockTaskPackages(android.content.ComponentName who, java.lang.String[] packages)
|
public void | setMasterVolumeMuted(android.content.ComponentName admin, boolean on)
|
public void | setMaximumFailedPasswordsForWipe(android.content.ComponentName admin, int num, int userHandle)
|
public void | setMaximumTimeToLock(android.content.ComponentName who, long timeMs, int userHandle)
|
public void | setPasswordExpirationTimeout(android.content.ComponentName who, long expiration, int userHandle)
|
public void | setPasswordHistoryLength(android.content.ComponentName who, int length, int userHandle)
|
public void | setPasswordMinimumLength(android.content.ComponentName who, int length, int userHandle)
|
public void | setPasswordMinimumLetters(android.content.ComponentName who, int length, int userHandle)
|
public void | setPasswordMinimumLowerCase(android.content.ComponentName who, int length, int userHandle)
|
public void | setPasswordMinimumNonLetter(android.content.ComponentName who, int length, int userHandle)
|
public void | setPasswordMinimumNumeric(android.content.ComponentName who, int length, int userHandle)
|
public void | setPasswordMinimumSymbols(android.content.ComponentName who, int length, int userHandle)
|
public void | setPasswordMinimumUpperCase(android.content.ComponentName who, int length, int userHandle)
|
public void | setPasswordQuality(android.content.ComponentName who, int quality, int userHandle)
|
public boolean | setPermittedAccessibilityServices(android.content.ComponentName admin, java.util.List packageList)
|
public boolean | setPermittedInputMethods(android.content.ComponentName admin, java.util.List packageList)
|
public void | setProfileEnabled(android.content.ComponentName who)
|
public void | setProfileName(android.content.ComponentName who, java.lang.String profileName)
|
public boolean | setProfileOwner(android.content.ComponentName who, java.lang.String ownerName, int userHandle)
|
public void | setRecommendedGlobalProxy(android.content.ComponentName admin, android.net.ProxyInfo proxyInfo)
|
public void | setRestrictionsProvider(android.content.ComponentName who, android.content.ComponentName provider)
|
public void | setScreenCaptureDisabled(android.content.ComponentName who, int userHandle, boolean disabled)
|
public void | setSecureSetting(android.content.ComponentName who, java.lang.String setting, java.lang.String value)
|
public int | setStorageEncryption(android.content.ComponentName who, boolean encrypt, int userHandle)
|
public void | setTrustAgentConfiguration(android.content.ComponentName admin, android.content.ComponentName agent, android.os.PersistableBundle args, int userId)
|
public void | setUninstallBlocked(android.content.ComponentName admin, java.lang.String packageName, boolean uninstallBlocked)
|
public void | setUserRestriction(android.content.ComponentName who, java.lang.String key, boolean enable)
|
public boolean | switchUser(android.content.ComponentName who, android.os.UserHandle userHandle)
|
public void | uninstallCaCert(android.content.ComponentName admin, java.lang.String alias)
|
public void | wipeData(int flags, int userHandle)
|