FileDocCategorySizeDatePackage
DevicePolicyManager.javaAPI DocAndroid 5.1 API18664Sat Mar 14 14:10:04 GMT 2015android.app.admin

DevicePolicyManager

public class DevicePolicyManager extends Object

Fields Summary
public static final String
ACTION_ADD_DEVICE_ADMIN
public static final String
ACTION_PROVISION_MANAGED_PROFILE
public static final String
ACTION_SET_NEW_PASSWORD
public static final String
ACTION_SET_PROFILE_OWNER
public static final String
ACTION_START_ENCRYPTION
public static final int
ENCRYPTION_STATUS_ACTIVATING
public static final int
ENCRYPTION_STATUS_ACTIVE
public static final int
ENCRYPTION_STATUS_INACTIVE
public static final int
ENCRYPTION_STATUS_UNSUPPORTED
public static final String
EXTRA_ADD_EXPLANATION
public static final String
EXTRA_DEVICE_ADMIN
public static final String
EXTRA_PROFILE_OWNER_NAME
public static final String
EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE
public static final String
EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE
public static final String
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM
public static final String
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_COOKIE_HEADER
public static final String
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION
public static final String
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME
public static final String
EXTRA_PROVISIONING_EMAIL_ADDRESS
public static final String
EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED
public static final String
EXTRA_PROVISIONING_LOCALE
public static final String
EXTRA_PROVISIONING_LOCAL_TIME
public static final String
EXTRA_PROVISIONING_TIME_ZONE
public static final String
EXTRA_PROVISIONING_WIFI_HIDDEN
public static final String
EXTRA_PROVISIONING_WIFI_PAC_URL
public static final String
EXTRA_PROVISIONING_WIFI_PASSWORD
public static final String
EXTRA_PROVISIONING_WIFI_PROXY_BYPASS
public static final String
EXTRA_PROVISIONING_WIFI_PROXY_HOST
public static final String
EXTRA_PROVISIONING_WIFI_PROXY_PORT
public static final String
EXTRA_PROVISIONING_WIFI_SECURITY_TYPE
public static final String
EXTRA_PROVISIONING_WIFI_SSID
public static final int
FLAG_MANAGED_CAN_ACCESS_PARENT
public static final int
FLAG_PARENT_CAN_ACCESS_MANAGED
public static final int
KEYGUARD_DISABLE_FEATURES_ALL
public static final int
KEYGUARD_DISABLE_FEATURES_NONE
public static final int
KEYGUARD_DISABLE_FINGERPRINT
public static final int
KEYGUARD_DISABLE_SECURE_CAMERA
public static final int
KEYGUARD_DISABLE_SECURE_NOTIFICATIONS
public static final int
KEYGUARD_DISABLE_TRUST_AGENTS
public static final int
KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS
public static final int
KEYGUARD_DISABLE_WIDGETS_ALL
public static final String
MIME_TYPE_PROVISIONING_NFC
public static final int
PASSWORD_QUALITY_ALPHABETIC
public static final int
PASSWORD_QUALITY_ALPHANUMERIC
public static final int
PASSWORD_QUALITY_BIOMETRIC_WEAK
public static final int
PASSWORD_QUALITY_COMPLEX
public static final int
PASSWORD_QUALITY_NUMERIC
public static final int
PASSWORD_QUALITY_NUMERIC_COMPLEX
public static final int
PASSWORD_QUALITY_SOMETHING
public static final int
PASSWORD_QUALITY_UNSPECIFIED
public static final int
RESET_PASSWORD_REQUIRE_ENTRY
public static final int
WIPE_EXTERNAL_STORAGE
public static final int
WIPE_RESET_PROTECTION_DATA
Constructors Summary
DevicePolicyManager()

 throw new RuntimeException("Stub!"); 
Methods Summary
public voidaddCrossProfileIntentFilter(android.content.ComponentName admin, android.content.IntentFilter filter, int flags)

 throw new RuntimeException("Stub!"); 
public booleanaddCrossProfileWidgetProvider(android.content.ComponentName admin, java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public voidaddPersistentPreferredActivity(android.content.ComponentName admin, android.content.IntentFilter filter, android.content.ComponentName activity)

 throw new RuntimeException("Stub!"); 
public voidaddUserRestriction(android.content.ComponentName admin, java.lang.String key)

 throw new RuntimeException("Stub!"); 
public voidclearCrossProfileIntentFilters(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public voidclearDeviceOwnerApp(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public voidclearPackagePersistentPreferredActivities(android.content.ComponentName admin, java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public voidclearProfileOwner(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public voidclearUserRestriction(android.content.ComponentName admin, java.lang.String key)

 throw new RuntimeException("Stub!"); 
public android.os.UserHandlecreateAndInitializeUser(android.content.ComponentName admin, java.lang.String name, java.lang.String ownerName, android.content.ComponentName profileOwnerComponent, android.os.Bundle adminExtras)

 throw new RuntimeException("Stub!"); 
public android.os.UserHandlecreateUser(android.content.ComponentName admin, java.lang.String name)

 throw new RuntimeException("Stub!"); 
public voidenableSystemApp(android.content.ComponentName admin, java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public intenableSystemApp(android.content.ComponentName admin, android.content.Intent intent)

 throw new RuntimeException("Stub!"); 
public java.lang.String[]getAccountTypesWithManagementDisabled()

 throw new RuntimeException("Stub!"); 
public java.util.ListgetActiveAdmins()

 throw new RuntimeException("Stub!"); 
public android.os.BundlegetApplicationRestrictions(android.content.ComponentName admin, java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public booleangetAutoTimeRequired()

 throw new RuntimeException("Stub!"); 
public booleangetCameraDisabled(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public booleangetCrossProfileCallerIdDisabled(android.content.ComponentName who)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetCrossProfileWidgetProviders(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetCurrentFailedPasswordAttempts()

 throw new RuntimeException("Stub!"); 
public java.lang.StringgetDeviceOwner()

 throw new RuntimeException("Stub!"); 
public java.util.ListgetInstalledCaCerts(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetKeyguardDisabledFeatures(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetMaximumFailedPasswordsForWipe(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public longgetMaximumTimeToLock(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public longgetPasswordExpiration(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public longgetPasswordExpirationTimeout(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetPasswordHistoryLength(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetPasswordMaximumLength(int quality)

 throw new RuntimeException("Stub!"); 
public intgetPasswordMinimumLength(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetPasswordMinimumLetters(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetPasswordMinimumLowerCase(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetPasswordMinimumNonLetter(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetPasswordMinimumNumeric(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetPasswordMinimumSymbols(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetPasswordMinimumUpperCase(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetPasswordQuality(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetPermittedAccessibilityServices(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetPermittedAccessibilityServices(int userId)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetPermittedInputMethods(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public java.util.ListgetPermittedInputMethodsForCurrentUser()

 throw new RuntimeException("Stub!"); 
public android.content.ComponentNamegetProfileOwner()

 throw new RuntimeException("Stub!"); 
public java.lang.StringgetProfileOwnerNameAsUser(int userId)

 throw new RuntimeException("Stub!"); 
public booleangetScreenCaptureDisabled(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public booleangetStorageEncryption(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public intgetStorageEncryptionStatus()

 throw new RuntimeException("Stub!"); 
public java.util.ListgetTrustAgentConfiguration(android.content.ComponentName admin, android.content.ComponentName agent)

 throw new RuntimeException("Stub!"); 
public booleanhasCaCertInstalled(android.content.ComponentName admin, byte[] certBuffer)

 throw new RuntimeException("Stub!"); 
public booleanhasGrantedPolicy(android.content.ComponentName admin, int usesPolicy)

 throw new RuntimeException("Stub!"); 
public booleaninstallCaCert(android.content.ComponentName admin, byte[] certBuffer)

 throw new RuntimeException("Stub!"); 
public booleaninstallKeyPair(android.content.ComponentName who, java.security.PrivateKey privKey, java.security.cert.Certificate cert, java.lang.String alias)

 throw new RuntimeException("Stub!"); 
public booleanisActivePasswordSufficient()

 throw new RuntimeException("Stub!"); 
public booleanisAdminActive(android.content.ComponentName who)

 throw new RuntimeException("Stub!"); 
public booleanisApplicationHidden(android.content.ComponentName admin, java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public booleanisDeviceOwnerApp(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public booleanisLockTaskPermitted(java.lang.String pkg)

 throw new RuntimeException("Stub!"); 
public booleanisMasterVolumeMuted(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public booleanisProfileOwnerApp(java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public booleanisUninstallBlocked(android.content.ComponentName admin, java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public voidlockNow()

 throw new RuntimeException("Stub!"); 
public voidremoveActiveAdmin(android.content.ComponentName who)

 throw new RuntimeException("Stub!"); 
public booleanremoveCrossProfileWidgetProvider(android.content.ComponentName admin, java.lang.String packageName)

 throw new RuntimeException("Stub!"); 
public booleanremoveUser(android.content.ComponentName admin, android.os.UserHandle userHandle)

 throw new RuntimeException("Stub!"); 
public booleanresetPassword(java.lang.String password, int flags)

 throw new RuntimeException("Stub!"); 
public voidsetAccountManagementDisabled(android.content.ComponentName admin, java.lang.String accountType, boolean disabled)

 throw new RuntimeException("Stub!"); 
public booleansetActiveProfileOwner(android.content.ComponentName admin, java.lang.String ownerName)

 throw new RuntimeException("Stub!"); 
public booleansetApplicationHidden(android.content.ComponentName admin, java.lang.String packageName, boolean hidden)

 throw new RuntimeException("Stub!"); 
public voidsetApplicationRestrictions(android.content.ComponentName admin, java.lang.String packageName, android.os.Bundle settings)

 throw new RuntimeException("Stub!"); 
public voidsetAutoTimeRequired(android.content.ComponentName admin, boolean required)

 throw new RuntimeException("Stub!"); 
public voidsetCameraDisabled(android.content.ComponentName admin, boolean disabled)

 throw new RuntimeException("Stub!"); 
public voidsetCrossProfileCallerIdDisabled(android.content.ComponentName who, boolean disabled)

 throw new RuntimeException("Stub!"); 
public voidsetGlobalSetting(android.content.ComponentName admin, java.lang.String setting, java.lang.String value)

 throw new RuntimeException("Stub!"); 
public voidsetKeyguardDisabledFeatures(android.content.ComponentName admin, int which)

 throw new RuntimeException("Stub!"); 
public voidsetLockTaskPackages(android.content.ComponentName admin, java.lang.String[] packages)

 throw new RuntimeException("Stub!"); 
public voidsetMasterVolumeMuted(android.content.ComponentName admin, boolean on)

 throw new RuntimeException("Stub!"); 
public voidsetMaximumFailedPasswordsForWipe(android.content.ComponentName admin, int num)

 throw new RuntimeException("Stub!"); 
public voidsetMaximumTimeToLock(android.content.ComponentName admin, long timeMs)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordExpirationTimeout(android.content.ComponentName admin, long timeout)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordHistoryLength(android.content.ComponentName admin, int length)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordMinimumLength(android.content.ComponentName admin, int length)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordMinimumLetters(android.content.ComponentName admin, int length)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordMinimumLowerCase(android.content.ComponentName admin, int length)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordMinimumNonLetter(android.content.ComponentName admin, int length)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordMinimumNumeric(android.content.ComponentName admin, int length)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordMinimumSymbols(android.content.ComponentName admin, int length)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordMinimumUpperCase(android.content.ComponentName admin, int length)

 throw new RuntimeException("Stub!"); 
public voidsetPasswordQuality(android.content.ComponentName admin, int quality)

 throw new RuntimeException("Stub!"); 
public booleansetPermittedAccessibilityServices(android.content.ComponentName admin, java.util.List packageNames)

 throw new RuntimeException("Stub!"); 
public booleansetPermittedInputMethods(android.content.ComponentName admin, java.util.List packageNames)

 throw new RuntimeException("Stub!"); 
public voidsetProfileEnabled(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public voidsetProfileName(android.content.ComponentName who, java.lang.String profileName)

 throw new RuntimeException("Stub!"); 
public voidsetRecommendedGlobalProxy(android.content.ComponentName admin, android.net.ProxyInfo proxyInfo)

 throw new RuntimeException("Stub!"); 
public voidsetRestrictionsProvider(android.content.ComponentName admin, android.content.ComponentName provider)

 throw new RuntimeException("Stub!"); 
public voidsetScreenCaptureDisabled(android.content.ComponentName admin, boolean disabled)

 throw new RuntimeException("Stub!"); 
public voidsetSecureSetting(android.content.ComponentName admin, java.lang.String setting, java.lang.String value)

 throw new RuntimeException("Stub!"); 
public intsetStorageEncryption(android.content.ComponentName admin, boolean encrypt)

 throw new RuntimeException("Stub!"); 
public voidsetTrustAgentConfiguration(android.content.ComponentName admin, android.content.ComponentName target, android.os.PersistableBundle configuration)

 throw new RuntimeException("Stub!"); 
public voidsetUninstallBlocked(android.content.ComponentName admin, java.lang.String packageName, boolean uninstallBlocked)

 throw new RuntimeException("Stub!"); 
public booleanswitchUser(android.content.ComponentName admin, android.os.UserHandle userHandle)

 throw new RuntimeException("Stub!"); 
public voiduninstallAllUserCaCerts(android.content.ComponentName admin)

 throw new RuntimeException("Stub!"); 
public voiduninstallCaCert(android.content.ComponentName admin, byte[] certBuffer)

 throw new RuntimeException("Stub!"); 
public voidwipeData(int flags)

 throw new RuntimeException("Stub!");