Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java457 private final boolean isUserNode; field in FileSystemPreferences
465 isUserNode = user; in FileSystemPreferences()
473 public FileSystemPreferences(String path, File lockFile, boolean isUserNode) { in FileSystemPreferences() argument
475 this.isUserNode = isUserNode; in FileSystemPreferences()
487 if (isUserNode) { in FileSystemPreferences()
503 isUserNode = parent.isUserNode; in FileSystemPreferences()
521 public boolean isUserNode() { in isUserNode() method in FileSystemPreferences
522 return isUserNode; in isUserNode()
667 synchronized (isUserNode()? userLockFile: systemLockFile) {
717 boolean userNode = isUserNode();
[all …]
DPreferences.java1074 public abstract boolean isUserNode(); in isUserNode() method in Preferences
DAbstractPreferences.java1030 public boolean isUserNode() { in isUserNode() method in AbstractPreferences
1333 return (this.isUserNode() ? "User" : "System") +
DXmlSupport.java107 xmlRoot.setAttribute("type", (p.isUserNode() ? "user" : "system")); in export()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DPreferencesTest.java80 assertFalse(p.isUserNode()); in testSystemNodeForPackage()
101 assertFalse(p.isUserNode()); in testSystemRoot()
120 assertTrue(p.isUserNode()); in testUserNodeForPackage()
139 assertTrue(p.isUserNode()); in testUserRoot()
316 public boolean isUserNode() { in isUserNode() method in PreferencesTest.MockPreferences
DAbstractPreferencesTest.java140 assertFalse(p2.isUserNode()); in testConstructor()
383 assertTrue(pref.isUserNode()); in testIsUserNode()
387 assertFalse(pref.isUserNode()); in testIsUserNode()
1095 p.isUserNode(); in testBackingStoreException()
1223 p.isUserNode(); in testRuntimeException()
1309 p.isUserNode(); in testSPIReturnNull()
1350 pref.isUserNode(); in testIllegalStateException()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferencesTest.java91 p.isUserNode(); in testAbstractMethods()
299 assertTrue(pref1.isUserNode()); in testIsUserNode()
302 assertFalse(pref2.isUserNode()); in testIsUserNode()
1029 public boolean isUserNode() { in isUserNode() method in OldPreferencesTest.MockPreferences
DOldAbstractPreferencesTest.java868 assertTrue(parent.isUserNode()); in testIsUserNode()
869 assertFalse(Preferences.systemRoot().isUserNode()); in testIsUserNode()