Searched refs:setLock (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/ |
D | KeyguardManagerTest.java | 137 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/ |
D | IInitialLockSetupService.aidl | 46 int setLock(in int lockType, in byte[] password) = 3; in setLock() method
|
D | InitialLockSetupClient.java | 481 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/ |
D | KeyguardManager.java | 1019 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/ |
D | Log.java | 397 public static void setLock(Object lock) { in setLock() method in Log
|
/frameworks/base/core/api/ |
D | test-current.txt | 355 …LS, "android.permission.ACCESS_KEYGUARD_SECURE_STORAGE"}) public boolean setLock(int, @Nullable by…
|
D | system-current.txt | 993 …method @RequiresPermission("android.permission.SET_INITIAL_LOCK") public boolean setLock(int, @Non…
|