Home | History | Annotate | Download | only in managedprovisioning

Lines Matching refs:LOCKSCREEN

49  * Currently there are two types, one is keys bound to lockscreen passwords which can be configured
66 private static final int LOCKSCREEN = 1;
136 showToast("Test failed. No lockscreen password exists.");
144 mToast.setText(String.format("Lockscreen challenge start in %d seconds..",
160 createKey(LOCKSCREEN);
195 showToast("Please set a lockscreen password.");
206 return testType == LOCKSCREEN ? LOCKSCREEN_KEY_NAME : FINGERPRINT_KEY_NAME;
224 if (testType == LOCKSCREEN) {
225 // Require that the user unlocked the lockscreen in the last 5 seconds
256 cipher.init(Cipher.ENCRYPT_MODE, loadSecretKey(LOCKSCREEN));
265 createKey(LOCKSCREEN);
266 showToast("Set up lockscreen after test ran. Retry the test.");
270 throw new RuntimeException("Encrypt with lockscreen-bound key failed", e);
285 showToast("Set up lockscreen after test ran. Retry the test.");
317 showToast("Lockscreen challenge canceled.");