Lines Matching refs:file
5 * you may not use this file except in compliance with the License.
220 // Read all the bytes from the file
228 // Compare the hash from the file with the entered pattern's hash
231 Slog.e(TAG, "Cannot read file " + fnfe);
234 Slog.e(TAG, "Cannot read file " + ioe);
251 // Read all the bytes from the file
259 // Compare the hash from the file with the entered password's hash
262 Slog.e(TAG, "Cannot read file " + fnfe);
265 Slog.e(TAG, "Cannot read file " + ioe);
276 File file = new File(getLockPasswordFilename(userId));
277 if (file.exists()) {
278 file.delete();
280 file = new File(getLockPatternFilename(userId));
281 if (file.exists()) {
282 file.delete();
295 // Write the hash to file
297 // Truncate the file if pattern is null, to clear the lock
305 Slog.e(TAG, "Error writing to file " + ioe);