Lines Matching refs:stored
218 byte[] stored = readFile(getLockPasswordFilename(userId));
219 if (stored != null && stored.length > 0) {
220 return new CredentialHash(stored, CredentialHash.VERSION_GATEKEEPER);
223 stored = readFile(getLegacyLockPasswordFilename(userId));
224 if (stored != null && stored.length > 0) {
225 return new CredentialHash(stored, CredentialHash.VERSION_LEGACY);
232 byte[] stored = readFile(getLockPatternFilename(userId));
233 if (stored != null && stored.length > 0) {
234 return new CredentialHash(stored, CredentialHash.VERSION_GATEKEEPER);
237 stored = readFile(getBaseZeroLockPatternFilename(userId));
238 if (stored != null && stored.length > 0) {
239 return new CredentialHash(stored, true);
242 stored = readFile(getLegacyLockPatternFilename(userId));
243 if (stored != null && stored.length > 0) {
244 return new CredentialHash(stored, CredentialHash.VERSION_LEGACY);
298 byte[] stored = null;
301 stored = new byte[(int) raf.length()];
302 raf.readFully(stored, 0, stored.length);
315 mCache.putFileIfUnchanged(name, stored, version);
316 return stored;