Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/prefs/
DPreferencesTest.java40 private final File systemLockFile; field in PreferencesTest.TestPreferencesFactory
44 systemLockFile = new File(root, "system.lock"); in TestPreferencesFactory()
46 assertTrue(systemLockFile.createNewFile()); in TestPreferencesFactory()
48 … systemPrefs = new FileSystemPreferences(root + "/system", systemLockFile, false); } in TestPreferencesFactory()
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java189 systemLockFile = new File(systemRootDir, ".system.lock"); in setupSystemRoot()
233 static File systemLockFile; field in FileSystemPreferences
491 systemLockFile = lockFile; in FileSystemPreferences()
667 synchronized (isUserNode()? userLockFile: systemLockFile) {
727 synchronized (isUserNode()? userLockFile:systemLockFile) {
887 File lockFile = (usernode ? userLockFile : systemLockFile);
973 File lockFile = (usernode ? userLockFile : systemLockFile);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DAbstractPreferencesTest.java52 private final File systemLockFile; field in AbstractPreferencesTest.TestPreferencesFactory
56 systemLockFile = new File(root, "system.lock"); in TestPreferencesFactory()
58 assertTrue(systemLockFile.createNewFile()); in TestPreferencesFactory()
60 systemPrefs = new FileSystemPreferences(root + "/system", systemLockFile, false); in TestPreferencesFactory()