Home
last modified time | relevance | path

Searched refs:attemptsRemaining (Results 1 – 3 of 3) 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.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/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()