Home
last modified time | relevance | path

Searched refs:attemptsRemaining (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnSetting.java252 int attemptsRemaining = msg.arg1;
261 attemptsRemaining);
265 displayMessage(R.string.pin2_invalid, attemptsRemaining);
268 displayMessage(R.string.fdn_failed, attemptsRemaining);
288 int attemptsRemaining = msg.arg1;
290 + attemptsRemaining);
317 displayMessage(R.string.badPin2, attemptsRemaining);
320 displayMessage(R.string.badPuk2, attemptsRemaining);
356 private final void displayMessage(int strId, int attemptsRemaining) { in displayMessage() argument
360 if (attemptsRemaining >= 0) { in displayMessage()
[all …]
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java524 private void iccLockChanged(boolean success, int attemptsRemaining) { in iccLockChanged() argument
529 if (attemptsRemaining >= 0) { in iccLockChanged()
530 createCustomTextToast(getPinPasswordErrorMessage(attemptsRemaining)); in iccLockChanged()
592 private void iccPinChanged(boolean success, int attemptsRemaining) { in iccPinChanged() argument
595 createCustomTextToast(getPinPasswordErrorMessage(attemptsRemaining)); in iccPinChanged()
635 private String getPinPasswordErrorMessage(int attemptsRemaining) { in getPinPasswordErrorMessage() argument
638 if (attemptsRemaining == 0) { in getPinPasswordErrorMessage()
640 } else if (attemptsRemaining > 0) { in getPinPasswordErrorMessage()
642 .getQuantityString(R.plurals.wrong_pin_code, attemptsRemaining, in getPinPasswordErrorMessage()
643 attemptsRemaining); in getPinPasswordErrorMessage()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DIccLockSettings.java465 private void iccLockChanged(boolean success, int attemptsRemaining, Throwable exception) { in iccLockChanged() argument
472 createCustomTextToast(getPinPasswordErrorMessage(attemptsRemaining)); in iccLockChanged()
535 private void iccPinChanged(boolean success, int attemptsRemaining) { in iccPinChanged() argument
537 createCustomTextToast(getPinPasswordErrorMessage(attemptsRemaining)); in iccPinChanged()
553 private String getPinPasswordErrorMessage(int attemptsRemaining) { in getPinPasswordErrorMessage() argument
556 if (attemptsRemaining == 0) { in getPinPasswordErrorMessage()
558 } else if (attemptsRemaining > 0) { in getPinPasswordErrorMessage()
560 .getQuantityString(R.plurals.wrong_pin_code, attemptsRemaining, in getPinPasswordErrorMessage()
561 attemptsRemaining); in getPinPasswordErrorMessage()
566 + " attemptsRemaining=" + attemptsRemaining + " displayMessage=" + displayMessage); in getPinPasswordErrorMessage()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java8483 int attemptsRemaining = (int) sendRequest(CMD_SET_ICC_LOCK_ENABLED, in setIccLockEnabled() local
8485 return attemptsRemaining; in setIccLockEnabled()
8513 int attemptsRemaining = (int) sendRequest(CMD_CHANGE_ICC_LOCK_PASSWORD, in changeIccLockPassword() local
8515 return attemptsRemaining; in changeIccLockPassword()