Home
last modified time | relevance | path

Searched refs:pin (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/dialog/
DPinDialogFragment.java173 String pin = getPinInput(); in onCreateView()
174 if (!TextUtils.isEmpty(pin)) { in onCreateView()
175 done(pin); in onCreateView()
288 private void done(String pin) {
289 if (DEBUG) Log.d(TAG, "done: mType=" + mType + " pin=" + pin + " stored=" + getPin());
295 if (TextUtils.isEmpty(getPin()) || pin.equals(getPin())) {
305 mPrevPin = pin;
308 if (pin.equals(mPrevPin)) {
309 setPin(pin);
326 if (pin.equals(getPin())) {
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java135 public abstract void setPin(String pin, String originalPin); in setPin() argument
148 public abstract boolean isPinCorrect(String pin); in isPinCorrect() argument
295 private void done(String pin) {
296 if (DEBUG) Log.d(TAG, "done: mType=" + mType + " pin=" + pin);
303 if (!isPinSet() || isPinCorrect(pin)) {
305 deletePin(pin);
316 mPrevPin = pin;
319 if (pin.equals(mPrevPin)) {
320 setPin(pin, mOriginalPin);
331 if (isPinCorrect(pin)) {
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmLockPassword.java327 final byte[] pin = LockPatternUtils.charSequenceToByteArray(mPasswordEntry.getText()); in handleNext()
328 if (pin == null || pin.length == 0) { in handleNext()
339 startVerifyPassword(pin, intent); in handleNext()
343 startCheckPassword(pin, intent); in handleNext()
354 private void startVerifyPassword(final byte[] pin, final Intent intent) { in startVerifyPassword() argument
379 mLockPatternUtils, pin, challenge, localUserId, onVerifyCallback) in startVerifyPassword()
381 mLockPatternUtils, pin, false, challenge, localUserId, in startVerifyPassword()
385 private void startCheckPassword(final byte[] pin, final Intent intent) { in startCheckPassword() argument
389 pin, in startCheckPassword()
400 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, pin); in startCheckPassword()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPassword.java327 final byte[] pin = LockPatternUtils.charSequenceToByteArray(mPasswordEntry.getText()); in handleNext()
328 if (pin == null || pin.length == 0) { in handleNext()
339 startVerifyPassword(pin, intent); in handleNext()
343 startCheckPassword(pin, intent); in handleNext()
354 private void startVerifyPassword(final byte[] pin, final Intent intent) { in startVerifyPassword() argument
379 mLockPatternUtils, pin, challenge, localUserId, onVerifyCallback) in startVerifyPassword()
381 mLockPatternUtils, pin, false, challenge, localUserId, in startVerifyPassword()
385 private void startCheckPassword(final byte[] pin, final Intent intent) { in startCheckPassword() argument
389 pin, in startCheckPassword()
400 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, pin); in startCheckPassword()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java36 void saveLockPassword(String pin, String originalPin, int quality); in saveLockPassword() argument
98 public void setPin(String pin, String originalPin) { in setPin() argument
111 callback.saveLockPassword(pin, originalPin, in setPin()
135 public boolean isPinCorrect(String pin) { in isPinCorrect() argument
148 return callback.checkPassword(pin); in isPinCorrect()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DConfirmLockPinPasswordFragment.java175 byte[] pin = LockPatternUtils.charSequenceToByteArray(mPasswordField.getText()); in initPinView()
176 if (pin != null && pin.length > 0) { in initPinView()
180 if (pin != null) { in initPinView()
181 Arrays.fill(pin, (byte) 0); in initPinView()
DPasswordHelper.java135 private int validatePin(byte[] pin) { in validatePin() argument
137 PasswordMetrics metrics = PasswordMetrics.computeForPassword(pin); in validatePin()
150 int sequence = PasswordMetrics.maxLengthSequence(pin); in validatePin()
DChooseLockPinPasswordFragment.java280 byte[] pin = getEnteredPassword(); in initPinView()
281 if (pin != null && pin.length > 0) { in initPinView()
285 if (pin != null) { in initPinView()
286 Arrays.fill(pin, (byte) 0); in initPinView()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DPinChangerImpl.java71 public void setScrambledPin(String pin) { in setScrambledPin() argument
74 .putString(KEY_SCRAMBLED_PIN, pin) in setScrambledPin()
76 if (pin == null) { in setScrambledPin()
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java502 private SetIccLockEnabled(boolean state, String pin) { in SetIccLockEnabled() argument
504 mPassword = pin; in SetIccLockEnabled()
652 private boolean reasonablePin(String pin) { in reasonablePin() argument
653 if (pin == null || pin.length() < MIN_PIN_LENGTH || pin.length() > MAX_PIN_LENGTH) { in reasonablePin()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java255 int pin = 100000 + (int) Math.floor((Math.random() * (999999 - 100000))); in processMessage() local
256 sendDisplayPinIntent(devProp.getAddress(), pin, in processMessage() local
346 private void sendDisplayPinIntent(byte[] address, int pin, int variant) { in sendDisplayPinIntent() argument
349 if (pin != 0) { in sendDisplayPinIntent()
350 intent.putExtra(BluetoothDevice.EXTRA_PAIRING_KEY, pin); in sendDisplayPinIntent()
DAdapterService.java3109 private native boolean pinReplyNative(byte[] address, boolean accept, int len, byte[] pin); in pinReplyNative() argument
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnSetting.java443 private boolean validatePin(String pin, boolean isPuk) { in validatePin() argument
449 if (pin == null || pin.length() < pinMinimum || pin.length() > MAX_PIN_LENGTH) { in validatePin()
DGetPin2Screen.java53 mPin2Field = (EditText) findViewById(R.id.pin); in onCreate()
/packages/services/Telephony/src/com/android/phone/
DIccNetworkDepersonalizationPanel.java249 String pin = mPinEntry.getText().toString();
251 if (TextUtils.isEmpty(pin)) {
258 mPhone.getIccCard().supplySimDepersonalization(mPersoSubState,pin,
DEnableIccPinScreen.java78 mPinField = (EditText) findViewById(R.id.pin); in setupView()
DPhoneInterfaceManager.java1792 public boolean supplyPinForSubscriber(int subId, String pin) { in supplyPinForSubscriber() argument
1793 int [] resultArray = supplyPinReportResultForSubscriber(subId, pin); in supplyPinForSubscriber()
1797 public boolean supplyPukForSubscriber(int subId, String puk, String pin) { in supplyPukForSubscriber() argument
1798 int [] resultArray = supplyPukReportResultForSubscriber(subId, puk, pin); in supplyPukForSubscriber()
1802 public int[] supplyPinReportResultForSubscriber(int subId, String pin) { in supplyPinReportResultForSubscriber() argument
1809 return checkSimPin.unlockSim(null, pin); in supplyPinReportResultForSubscriber()
1815 public int[] supplyPukReportResultForSubscriber(int subId, String puk, String pin) { in supplyPukReportResultForSubscriber() argument
1822 return checkSimPuk.unlockSim(puk, pin); in supplyPukReportResultForSubscriber()
1898 synchronized int[] unlockSim(String puk, String pin) { in unlockSim() argument
1910 mSimCard.supplyPin(pin, callback); in unlockSim()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DIccLockSettings.java570 private boolean reasonablePin(String pin) { in reasonablePin() argument
571 if (pin == null || pin.length() < MIN_PIN_LENGTH || pin.length() > MAX_PIN_LENGTH) { in reasonablePin()
/packages/apps/Dialer/java/com/android/voicemail/
DPinChanger.java58 void setScrambledPin(String pin); in setScrambledPin() argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java347 public void saveLockPassword(String pin, String originalPin, int quality) { in saveLockPassword() argument
349 .saveLockPassword(pin, originalPin, quality, getContext().getUserId()); in saveLockPassword()
DFallbackHome.java116 public void saveLockPassword(String pin, String originalPin, int quality) { in saveLockPassword() argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java9505 ContactsContract.PinnedPositions.pin(mResolver, i1.mContactId, 5); in testPinnedPositions_ContactsContractPinnedPositionsPin()
9511 ContactsContract.PinnedPositions.pin(mResolver, i1.mContactId, PinnedPositions.UNPINNED); in testPinnedPositions_ContactsContractPinnedPositionsPin()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...

12