Lines Matching refs:raf
217 RandomAccessFile raf = new RandomAccessFile(getLockPatternFilename(userId), "r");
218 final byte[] stored = new byte[(int) raf.length()];
219 int got = raf.read(stored, 0, stored.length);
220 raf.close();
248 RandomAccessFile raf = new RandomAccessFile(getLockPasswordFilename(userId), "r");
249 final byte[] stored = new byte[(int) raf.length()];
250 int got = raf.read(stored, 0, stored.length);
251 raf.close();
292 RandomAccessFile raf = new RandomAccessFile(name, "rw");
295 raf.setLength(0);
297 raf.write(hash, 0, hash.length);
299 raf.close();