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.java277 int attemptsRemaining = msg.arg1;
287 displayMessage(R.string.pin2_invalid, attemptsRemaining);
290 displayMessage(R.string.fdn_failed, attemptsRemaining);
311 int attemptsRemaining = msg.arg1;
313 + attemptsRemaining);
321 if (mIsPuk2Locked && attemptsRemaining == 0) {
329 displayMessage(R.string.badPin2, attemptsRemaining);
332 displayMessage(R.string.badPuk2, attemptsRemaining);
366 private void displayMessage(int strId, int attemptsRemaining) { in displayMessage() argument
370 if (attemptsRemaining >= 0) { in displayMessage()
[all …]
DBaseFdnContactScreen.java140 final int attemptsRemaining = msg.arg1;
141 if (attemptsRemaining > 0) {
146 attemptsRemaining), Toast.LENGTH_LONG)
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java560 private void iccLockChanged(boolean success, int attemptsRemaining) { in iccLockChanged() argument
565 if (attemptsRemaining >= 0) { in iccLockChanged()
566 createCustomTextToast(getPinPasswordErrorMessage(attemptsRemaining)); in iccLockChanged()
629 private void iccPinChanged(boolean success, int attemptsRemaining) { in iccPinChanged() argument
632 createCustomTextToast(getPinPasswordErrorMessage(attemptsRemaining)); in iccPinChanged()
667 private String getPinPasswordErrorMessage(int attemptsRemaining) { in getPinPasswordErrorMessage() argument
670 if (attemptsRemaining == 0) { in getPinPasswordErrorMessage()
672 } else if (attemptsRemaining == 1) { in getPinPasswordErrorMessage()
673 displayMessage = mRes.getString(R.string.wrong_pin_code_one, attemptsRemaining); in getPinPasswordErrorMessage()
674 } else if (attemptsRemaining > 1) { in getPinPasswordErrorMessage()
[all …]
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java9619 int attemptsRemaining = (int) sendRequest(CMD_SET_ICC_LOCK_ENABLED, in setIccLockEnabled() local
9621 return attemptsRemaining; in setIccLockEnabled()
9651 int attemptsRemaining = (int) sendRequest(CMD_CHANGE_ICC_LOCK_PASSWORD, in changeIccLockPassword() local
9653 return attemptsRemaining; in changeIccLockPassword()