Home
last modified time | relevance | path

Searched refs:mNewPin (Results 1 – 3 of 3) sorted by relevance

/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnSetting.java73 private String mNewPin; field in FdnSetting
181 mNewPin = button.getText(); in updatePINChangeState()
184 if (validatePin (mNewPin, false)) { in updatePINChangeState()
194 if (!mNewPin.equals(button.getText())) { in updatePINChangeState()
206 mNewPin, onComplete); in updatePINChangeState()
208 mPhone.getIccCard().supplyPuk2(mPuk2, mNewPin, in updatePINChangeState()
231 mNewPin = button.getText(); in updatePINChangeState()
235 if (validatePin (mNewPin, false)) { in updatePINChangeState()
245 if (!mNewPin.equals(button.getText())) { in updatePINChangeState()
259 mPhone.getIccCard().supplyPuk2(mPuk2, mNewPin, onComplete); in updatePINChangeState()
[all …]
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/
DRestrictedProfilePinStorageTest.java65 private String mNewPin; field in RestrictedProfilePinStorageTest
78 mNewPin = "1234"; in setUp()
88 mPinStorage.setPin(mNewPin, mOriginalPin); in testSetPinWhenNoPinIsSet_success()
93 verify(mPinService).setPin(mNewPin); in testSetPinWhenNoPinIsSet_success()
104 mPinStorage.setPin(mNewPin, mWrongPin); in testSetPinWhenWrongPinIsInput_fail()
119 mPinStorage.setPin(mNewPin, mOriginalPin); in testSetPinWhenCorrectPinIsInput_success()
124 verify(mPinService).setPin(eq(mNewPin)); in testSetPinWhenCorrectPinIsInput_success()
218 mPinStorage.setPin(mNewPin, mOriginalPin); in testMigrationToInternalStorage_SetPin()
226 verify(mPinService).setPin(eq(mNewPin)); in testMigrationToInternalStorage_SetPin()
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java114 private String mNewPin; field in IccLockSettings
247 mNewPin = savedInstanceState.getString(NEW_PINCODE); in restoreDialogStates()
418 out.putString(NEW_PINCODE, mNewPin); in onSaveInstanceState()
500 mNewPin = mPin; in onPinEntered()
506 if (!mPin.equals(mNewPin)) { in onPinEntered()
648 new ChangeIccLockPin(mOldPin, mNewPin).execute(); in tryChangePin()
653 private final String mNewPin; field in IccLockSettings.ChangeIccLockPin
657 mNewPin = newPin; in ChangeIccLockPin()
663 return mTelephonyManager.changeIccLockPin(mOldPin, mNewPin); in doInBackground()