Home
last modified time | relevance | path

Searched refs:lockFile (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java473 public FileSystemPreferences(String path, File lockFile, boolean isUserNode) { in FileSystemPreferences() argument
488 userLockFile = lockFile; in FileSystemPreferences()
489 userRootModFile = new File(lockFile.getParentFile(), lockFile.getName() + ".rootmod"); in FileSystemPreferences()
491 systemLockFile = lockFile; in FileSystemPreferences()
492 systemRootModFile = new File(lockFile.getParentFile(), lockFile.getName() + ".rootmod"); in FileSystemPreferences()
669 if (!lockFile(false))
728 if (!lockFile(shared))
883 private boolean lockFile(boolean shared) throws SecurityException{
887 File lockFile = (usernode ? userLockFile : systemLockFile);
892 result = lockFile0(lockFile.getCanonicalPath(), perm, shared);
[all …]