Lines Matching defs:password

122      * Activity action: have the user enter a new password. This activity should
125 * enter a new password that meets the current requirements. You can use
127 * have the user select a new password in order to meet the current
129 * password characteristics to see if they are sufficient.
220 * for the password. Note that quality constants are ordered so that higher
235 * of password, but doesn't care what it is. Note that quality constants
242 * password containing at least numeric characters. Note that quality
249 * password containing at least alphabetic (or other symbol) characters.
257 * password containing at least <em>both></em> numeric <em>and</em>
265 * password containing at least a letter, a numerical digit and a special
266 * symbol, by default. With this password quality, passwords can be
277 * password restrictions it is imposing. After setting this, the user
278 * will not be able to enter a new password that is not at least as
279 * restrictive as what has been set. Note that the current password
281 * take place immediately. To prompt the user for a new password, use
310 * Retrieve the current minimum password quality for all admins
333 * minimum allowed password length. After setting this, the user
334 * will not be able to enter a new password that is not at least as
335 * restrictive as what has been set. Note that the current password
337 * take place immediately. To prompt the user for a new password, use
349 * @param length The new desired minimum password length. A value of 0
363 * Retrieve the current minimum password length for all admins
386 * minimum number of upper case letters required in the password. After
387 * setting this, the user will not be able to enter a new password that is
389 * password will remain until the user has set a new one, so the change does
390 * not take place immediately. To prompt the user for a new password, use
403 * required in the password. A value of 0 means there is no
418 * password for all admins or a particular one. This is the same value as
420 * and only applies when the password quality is
426 * password.
446 * minimum number of lower case letters required in the password. After
447 * setting this, the user will not be able to enter a new password that is
449 * password will remain until the user has set a new one, so the change does
450 * not take place immediately. To prompt the user for a new password, use
463 * required in the password. A value of 0 means there is no
478 * password for all admins or a particular one. This is the same value as
480 * and only applies when the password quality is
486 * password.
506 * minimum number of letters required in the password. After setting this,
507 * the user will not be able to enter a new password that is not at least as
508 * restrictive as what has been set. Note that the current password will
510 * place immediately. To prompt the user for a new password, use
523 * password. A value of 0 means there is no restriction.
536 * Retrieve the current number of letters required in the password for all
539 * and only applies when the password quality is
544 * @return The minimum number of letters required in the password.
564 * minimum number of numerical digits required in the password. After
565 * setting this, the user will not be able to enter a new password that is
567 * password will remain until the user has set a new one, so the change does
568 * not take place immediately. To prompt the user for a new password, use
581 * in the password. A value of 0 means there is no restriction.
594 * Retrieve the current number of numerical digits required in the password
597 * and only applies when the password quality is
602 * @return The minimum number of numerical digits required in the password.
622 * minimum number of symbols required in the password. After setting this,
623 * the user will not be able to enter a new password that is not at least as
624 * restrictive as what has been set. Note that the current password will
626 * place immediately. To prompt the user for a new password, use
639 * password. A value of 0 means there is no restriction.
652 * Retrieve the current number of symbols required in the password for all
655 * and only applies when the password quality is
660 * @return The minimum number of symbols required in the password.
681 * required in the password. After setting this, the user will not be able
682 * to enter a new password that is not at least as restrictive as what has
683 * been set. Note that the current password will remain until the user has
685 * the user for a new password, use {@link #ACTION_SET_NEW_PASSWORD} after
697 * password. A value of 0 means there is no restriction.
711 * password for all admins or a particular one. This is the same value as
713 * and only applies when the password quality is
718 * @return The minimum number of letters required in the password.
738 * of the password history. After setting this, the user will not be able to
739 * enter a new password that is the same as any password in the history. Note
740 * that the current password will remain until the user has set a new one, so
742 * password, use {@link #ACTION_SET_NEW_PASSWORD} after setting this value.
755 * @param length The new desired length of password history. A value of 0
769 * Called by a device admin to set the password expiration timeout. Calling this method
770 * will restart the countdown for password expiration for the given admin, as will changing
771 * the device password (for all admins).
774 * For example, to have the password expire 5 days from now, timeout would be
777 * <p>To disable password expiration, a value of 0 may be used for timeout.
784 * @param timeout The limit (in ms) that a password can remain in effect. A value of 0
798 * Get the password expiration timeout for the given admin. The expiration timeout is the
818 * Get the current password expiration time for the given admin or an aggregate of
819 * all admins if admin is null. If the password is expired, this will return the time since
820 * the password expired as a negative number. If admin is null, then a composite of all
824 * @return The password expiration time, in ms.
838 * Retrieve the current password history length for all admins
842 * @return The length of the password history
861 * Return the maximum password length that the device supports for a
862 * particular password quality.
872 * Determine whether the current password the user has set is sufficient
880 * @return Returns true if the password meets the current requirements,
896 * password since that last successful password entry.
929 * @param num The number of failed password attempts at which point the
967 * the password again until the user has entered it.
972 * Force a new device unlock password (the password needed to access the
975 * The given password must be sufficient for the
976 * current password quality and length constraints as returned by
980 * that the password may be a stronger quality (containing alphanumeric
988 * @param password The new password for the user.
990 * @return Returns true if the password was applied, or false if it is
993 public boolean resetPassword(String password, int flags) {
996 return mService.resetPassword(password, flags, UserHandle.myUserId());
1265 * also require (and check for) a pattern, PIN, or password.