Lines Matching defs:password

115      * Activity action: have the user enter a new password. This activity should
118 * enter a new password that meets the current requirements. You can use
120 * have the user select a new password in order to meet the current
122 * password characteristics to see if they are sufficient.
213 * for the password. Note that quality constants are ordered so that higher
228 * of password, but doesn't care what it is. Note that quality constants
235 * password containing at least numeric characters. Note that quality
242 * password containing at least alphabetic (or other symbol) characters.
250 * password containing at least <em>both></em> numeric <em>and</em>
258 * password containing at least a letter, a numerical digit and a special
259 * symbol, by default. With this password quality, passwords can be
270 * password restrictions it is imposing. After setting this, the user
271 * will not be able to enter a new password that is not at least as
272 * restrictive as what has been set. Note that the current password
274 * take place immediately. To prompt the user for a new password, use
303 * Retrieve the current minimum password quality for all admins
326 * minimum allowed password length. After setting this, the user
327 * will not be able to enter a new password that is not at least as
328 * restrictive as what has been set. Note that the current password
330 * take place immediately. To prompt the user for a new password, use
342 * @param length The new desired minimum password length. A value of 0
356 * Retrieve the current minimum password length for all admins
379 * minimum number of upper case letters required in the password. After
380 * setting this, the user will not be able to enter a new password that is
382 * password will remain until the user has set a new one, so the change does
383 * not take place immediately. To prompt the user for a new password, use
396 * required in the password. A value of 0 means there is no
411 * password for all admins or a particular one. This is the same value as
413 * and only applies when the password quality is
419 * password.
439 * minimum number of lower case letters required in the password. After
440 * setting this, the user will not be able to enter a new password that is
442 * password will remain until the user has set a new one, so the change does
443 * not take place immediately. To prompt the user for a new password, use
456 * required in the password. A value of 0 means there is no
471 * password for all admins or a particular one. This is the same value as
473 * and only applies when the password quality is
479 * password.
499 * minimum number of letters required in the password. After setting this,
500 * the user will not be able to enter a new password that is not at least as
501 * restrictive as what has been set. Note that the current password will
503 * place immediately. To prompt the user for a new password, use
516 * password. A value of 0 means there is no restriction.
529 * Retrieve the current number of letters required in the password for all
532 * and only applies when the password quality is
537 * @return The minimum number of letters required in the password.
557 * minimum number of numerical digits required in the password. After
558 * setting this, the user will not be able to enter a new password that is
560 * password will remain until the user has set a new one, so the change does
561 * not take place immediately. To prompt the user for a new password, use
574 * in the password. A value of 0 means there is no restriction.
587 * Retrieve the current number of numerical digits required in the password
590 * and only applies when the password quality is
595 * @return The minimum number of numerical digits required in the password.
615 * minimum number of symbols required in the password. After setting this,
616 * the user will not be able to enter a new password that is not at least as
617 * restrictive as what has been set. Note that the current password will
619 * place immediately. To prompt the user for a new password, use
632 * password. A value of 0 means there is no restriction.
645 * Retrieve the current number of symbols required in the password for all
648 * and only applies when the password quality is
653 * @return The minimum number of symbols required in the password.
674 * required in the password. After setting this, the user will not be able
675 * to enter a new password that is not at least as restrictive as what has
676 * been set. Note that the current password will remain until the user has
678 * the user for a new password, use {@link #ACTION_SET_NEW_PASSWORD} after
690 * password. A value of 0 means there is no restriction.
704 * password for all admins or a particular one. This is the same value as
706 * and only applies when the password quality is
711 * @return The minimum number of letters required in the password.
731 * of the password history. After setting this, the user will not be able to
732 * enter a new password that is the same as any password in the history. Note
733 * that the current password will remain until the user has set a new one, so
735 * password, use {@link #ACTION_SET_NEW_PASSWORD} after setting this value.
748 * @param length The new desired length of password history. A value of 0
762 * Called by a device admin to set the password expiration timeout. Calling this method
763 * will restart the countdown for password expiration for the given admin, as will changing
764 * the device password (for all admins).
767 * For example, to have the password expire 5 days from now, timeout would be
770 * <p>To disable password expiration, a value of 0 may be used for timeout.
777 * @param timeout The limit (in ms) that a password can remain in effect. A value of 0
791 * Get the password expiration timeout for the given admin. The expiration timeout is the
811 * Get the current password expiration time for the given admin or an aggregate of
812 * all admins if admin is null. If the password is expired, this will return the time since
813 * the password expired as a negative number. If admin is null, then a composite of all
817 * @return The password expiration time, in ms.
831 * Retrieve the current password history length for all admins
835 * @return The length of the password history
854 * Return the maximum password length that the device supports for a
855 * particular password quality.
865 * Determine whether the current password the user has set is sufficient
873 * @return Returns true if the password meets the current requirements,
889 * password since that last successful password entry.
922 * @param num The number of failed password attempts at which point the
960 * the password again until the user has entered it.
965 * Force a new device unlock password (the password needed to access the
968 * The given password must be sufficient for the
969 * current password quality and length constraints as returned by
973 * that the password may be a stronger quality (containing alphanumeric
981 * @param password The new password for the user.
983 * @return Returns true if the password was applied, or false if it is
986 public boolean resetPassword(String password, int flags) {
989 return mService.resetPassword(password, flags, UserHandle.myUserId());
1258 * also require (and check for) a pattern, PIN, or password.