Home
last modified time | relevance | path

Searched refs:unlockMethod (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java1008 private boolean isUnlockMethodSecure(String unlockMethod) { in isUnlockMethodSecure() argument
1009 return !(ScreenLockType.SWIPE.preferenceKey.equals(unlockMethod) || in isUnlockMethodSecure()
1010 ScreenLockType.NONE.preferenceKey.equals(unlockMethod)); in isUnlockMethodSecure()
1013 private boolean setUnlockMethod(String unlockMethod) { in setUnlockMethod() argument
1014 EventLog.writeEvent(EventLogTags.LOCK_SCREEN_TYPE, unlockMethod); in setUnlockMethod()
1016 ScreenLockType lock = ScreenLockType.fromKey(unlockMethod); in setUnlockMethod()
1034 Log.e(TAG, "Encountered unknown unlock method to set: " + unlockMethod); in setUnlockMethod()
1082 String unlockMethod = args.getString(ARG_UNLOCK_METHOD_TO_SET); in onCreateDialog()
1084 .setUnlockMethod(unlockMethod); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGeneric.java997 private boolean isUnlockMethodSecure(String unlockMethod) { in isUnlockMethodSecure() argument
998 return !(ScreenLockType.SWIPE.preferenceKey.equals(unlockMethod) || in isUnlockMethodSecure()
999 ScreenLockType.NONE.preferenceKey.equals(unlockMethod)); in isUnlockMethodSecure()
1002 private boolean setUnlockMethod(String unlockMethod) { in setUnlockMethod() argument
1003 EventLog.writeEvent(EventLogTags.LOCK_SCREEN_TYPE, unlockMethod); in setUnlockMethod()
1005 ScreenLockType lock = ScreenLockType.fromKey(unlockMethod); in setUnlockMethod()
1023 Log.e(TAG, "Encountered unknown unlock method to set: " + unlockMethod); in setUnlockMethod()
1071 String unlockMethod = args.getString(ARG_UNLOCK_METHOD_TO_SET); in onCreateDialog()
1073 .setUnlockMethod(unlockMethod); in onCreateDialog()