Fields Summary |
---|
static final String | TAG |
public static final int | USES_POLICY_DEVICE_OWNERA type of policy that this device admin can use: device owner meta-policy
for an admin that is designated as owner of the device. |
public static final int | USES_POLICY_PROFILE_OWNERA type of policy that this device admin can use: profile owner meta-policy
for admins that have been installed as owner of some user profile. |
public static final int | USES_POLICY_LIMIT_PASSWORDA type of policy that this device admin can use: limit the passwords
that the user can select, via {@link DevicePolicyManager#setPasswordQuality}
and {@link DevicePolicyManager#setPasswordMinimumLength}.
To control this policy, the device admin must have a "limit-password"
tag in the "uses-policies" section of its meta-data. |
public static final int | USES_POLICY_WATCH_LOGINA type of policy that this device admin can use: able to watch login
attempts from the user, via {@link DeviceAdminReceiver#ACTION_PASSWORD_FAILED},
{@link DeviceAdminReceiver#ACTION_PASSWORD_SUCCEEDED}, and
{@link DevicePolicyManager#getCurrentFailedPasswordAttempts}.
To control this policy, the device admin must have a "watch-login"
tag in the "uses-policies" section of its meta-data. |
public static final int | USES_POLICY_RESET_PASSWORDA type of policy that this device admin can use: able to reset the
user's password via
{@link DevicePolicyManager#resetPassword}.
To control this policy, the device admin must have a "reset-password"
tag in the "uses-policies" section of its meta-data. |
public static final int | USES_POLICY_FORCE_LOCKA type of policy that this device admin can use: able to force the device
to lock via{@link DevicePolicyManager#lockNow} or limit the
maximum lock timeout for the device via
{@link DevicePolicyManager#setMaximumTimeToLock}.
To control this policy, the device admin must have a "force-lock"
tag in the "uses-policies" section of its meta-data. |
public static final int | USES_POLICY_WIPE_DATAA type of policy that this device admin can use: able to factory
reset the device, erasing all of the user's data, via
{@link DevicePolicyManager#wipeData}.
To control this policy, the device admin must have a "wipe-data"
tag in the "uses-policies" section of its meta-data. |
public static final int | USES_POLICY_SETS_GLOBAL_PROXYA type of policy that this device admin can use: able to specify the
device Global Proxy, via {@link DevicePolicyManager#setGlobalProxy}.
To control this policy, the device admin must have a "set-global-proxy"
tag in the "uses-policies" section of its meta-data. |
public static final int | USES_POLICY_EXPIRE_PASSWORDA type of policy that this device admin can use: force the user to
change their password after an administrator-defined time limit.
To control this policy, the device admin must have an "expire-password"
tag in the "uses-policies" section of its meta-data. |
public static final int | USES_ENCRYPTED_STORAGEA type of policy that this device admin can use: require encryption of stored data.
To control this policy, the device admin must have a "encrypted-storage"
tag in the "uses-policies" section of its meta-data. |
public static final int | USES_POLICY_DISABLE_CAMERAA type of policy that this device admin can use: disables use of all device cameras.
To control this policy, the device admin must have a "disable-camera"
tag in the "uses-policies" section of its meta-data. |
public static final int | USES_POLICY_DISABLE_KEYGUARD_FEATURESA type of policy that this device admin can use: disables use of keyguard features.
To control this policy, the device admin must have a "disable-keyguard-features"
tag in the "uses-policies" section of its meta-data. |
static ArrayList | sPoliciesDisplayOrder |
static HashMap | sKnownPolicies |
static android.util.SparseArray | sRevKnownPolicies |
final android.content.pm.ResolveInfo | mReceiverThe BroadcastReceiver that implements this device admin component. |
boolean | mVisibleWhether this should be visible to the user. |
int | mUsesPoliciesThe policies this administrator needs access to. |
public static final Parcelable.Creator | CREATORUsed to make this class parcelable. |