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.java160 String pin = getPinInput(); in onCreateView()
161 if (!TextUtils.isEmpty(pin)) { in onCreateView()
162 done(pin); in onCreateView()
275 private void done(String pin) {
276 if (DEBUG) Log.d(TAG, "done: mType=" + mType + " pin=" + pin + " stored=" + getPin());
282 if (TextUtils.isEmpty(getPin()) || pin.equals(getPin())) {
292 mPrevPin = pin;
295 if (pin.equals(mPrevPin)) {
296 setPin(pin);
313 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/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/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/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.java181 byte[] pin = LockPatternUtils.charSequenceToByteArray(mPasswordField.getText()); in initPinView()
182 if (pin != null && pin.length > 0) { in initPinView()
186 if (pin != null) { in initPinView()
187 Arrays.fill(pin, (byte) 0); in initPinView()
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()
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()
/packages/services/Telephony/src/com/android/phone/
DIccNetworkDepersonalizationPanel.java207 String pin = mPinEntry.getText().toString();
209 if (TextUtils.isEmpty(pin)) {
213 if (DBG) log("requesting network depersonalization with code " + pin);
214 mPhone.getIccCard().supplyNetworkDepersonalization(pin,
DPhoneInterfaceManager.java1451 public boolean supplyPin(String pin) { in supplyPin() argument
1452 return supplyPinForSubscriber(getDefaultSubscription(), pin); in supplyPin()
1455 public boolean supplyPinForSubscriber(int subId, String pin) { in supplyPinForSubscriber() argument
1456 int [] resultArray = supplyPinReportResultForSubscriber(subId, pin); in supplyPinForSubscriber()
1460 public boolean supplyPuk(String puk, String pin) { in supplyPuk() argument
1461 return supplyPukForSubscriber(getDefaultSubscription(), puk, pin); in supplyPuk()
1464 public boolean supplyPukForSubscriber(int subId, String puk, String pin) { in supplyPukForSubscriber() argument
1465 int [] resultArray = supplyPukReportResultForSubscriber(subId, puk, pin); in supplyPukForSubscriber()
1470 public int[] supplyPinReportResult(String pin) { in supplyPinReportResult() argument
1471 return supplyPinReportResultForSubscriber(getDefaultSubscription(), pin); in supplyPinReportResult()
[all …]
DEnableIccPinScreen.java78 mPinField = (EditText) findViewById(R.id.pin); in setupView()
/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/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java258 int pin = 100000 + (int) Math.floor((Math.random() * (999999 - 100000))); in processMessage() local
259 sendDisplayPinIntent(devProp.getAddress(), pin, in processMessage() local
348 private void sendDisplayPinIntent(byte[] address, int pin, int variant) { in sendDisplayPinIntent() argument
351 if (pin != 0) { in sendDisplayPinIntent()
352 intent.putExtra(BluetoothDevice.EXTRA_PAIRING_KEY, pin); in sendDisplayPinIntent()
DAdapterService.java2944 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/apps/Settings/src/com/android/settings/
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/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.java9479 ContactsContract.PinnedPositions.pin(mResolver, i1.mContactId, 5); in testPinnedPositions_ContactsContractPinnedPositionsPin()
9485 ContactsContract.PinnedPositions.pin(mResolver, i1.mContactId, PinnedPositions.UNPINNED); in testPinnedPositions_ContactsContractPinnedPositionsPin()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz
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