Home
last modified time | relevance | path

Searched refs:setLock (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DKeyguardManagerTest.java137 boolean successfullySetLock = mKeyguardManager.setLock(PASSWORD_LOCK_TYPE, in setLock_setInitialLockPermissionGranted_validPassword()
154 boolean successfullySetLock = mKeyguardManager.setLock(PASSWORD_LOCK_TYPE, in setLock_setInitialLockPermissionGranted_invalidPassword()
168 boolean successfullySetLock = mKeyguardManager.setLock(PASSWORD_LOCK_TYPE, in setLock_setInitialLockPermissionDenied()
184 assertFalse(mKeyguardManager.setLock(KeyguardManager.PIN, invalidPin, -1, null)); in setLock_validatesCredential()
187 assertTrue(mKeyguardManager.setLock(KeyguardManager.PIN, validPin, -1, null)); in setLock_validatesCredential()
189 assertTrue(mKeyguardManager.setLock(-1, null, KeyguardManager.PIN, validPin)); in setLock_validatesCredential()
199 mKeyguardManager.setLock(PASSWORD_LOCK_TYPE, in checkLock_correctCredentials()
218 mKeyguardManager.setLock(PASSWORD_LOCK_TYPE, in checkLock_incorrectCredentials()
269 mKeyguardManager.setLock(-1, null, PASSWORD_LOCK_TYPE, PASSWORD.getBytes())); in verifyDeviceLockedAndRemoveLock()
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/
DIInitialLockSetupService.aidl46 int setLock(in int lockType, in byte[] password) = 3; in setLock() method
DInitialLockSetupClient.java481 return km.setLock(mLockType, passwords[0], complexity) in doInBackground()
492 int output = initialLockSetupService.setLock(mLockType, passwords[0]); in doInBackground()
/frameworks/base/core/java/android/app/
DKeyguardManager.java1019 public boolean setLock(@LockTypes int lockType, @NonNull byte[] password, in setLock() method in KeyguardManager
1211 public boolean setLock(@LockTypes int newLockType, @Nullable byte[] newPassword, in setLock() method in KeyguardManager
/frameworks/base/telecomm/java/android/telecom/
DLog.java397 public static void setLock(Object lock) { in setLock() method in Log
/frameworks/base/core/api/
Dtest-current.txt355 …LS, "android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"}) public boolean setLock(int, @Nullable by…
Dsystem-current.txt993 …method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean setLock(int, @Non…