Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DNodeChangeEventTest.java33 event = new NodeChangeEvent(Preferences.systemRoot(), Preferences in testConstructor()
35 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructor()
37 assertSame(Preferences.systemRoot(), event.getSource()); in testConstructor()
47 event = new NodeChangeEvent(Preferences.systemRoot(), null); in testConstructorNullParam()
48 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructorNullParam()
50 assertSame(Preferences.systemRoot(), event.getSource()); in testConstructorNullParam()
55 event = new NodeChangeEvent(Preferences.systemRoot(), null); in testSerialization()
DMockPreferencesFactory.java29 static MockAbstractPreferences systemRoot = new MockAbstractPreferences( field in MockPreferencesFactory
39 public Preferences systemRoot() { in systemRoot() method in MockPreferencesFactory
40 return systemRoot; in systemRoot()
DPreferencesFactoryTest.java44 assertNull(f.systemRoot()); in testSystemRoot()
53 public Preferences systemRoot() { in systemRoot() method in PreferencesFactoryTest.PreferencesFactoryImpl
DFilePreferencesImplTest.java40 sroot = factory.systemRoot().node("harmony_test"); in setUp()
DPreferencesTest.java77 Preferences root = Preferences.systemRoot(); in testSystemNodeForPackage()
97 Preferences p = Preferences.systemRoot(); in testSystemRoot()
DAbstractPreferencesTest.java67 public Preferences systemRoot() { in systemRoot() method in AbstractPreferencesTest.TestPreferencesFactory
138 assertNotSame(p2, Preferences.systemRoot()); in testConstructor()
169 .systemRoot(), "mock"); in testToString()
386 .systemRoot(), "mock"); in testIsUserNode()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java453 return systemRoot().node(nodeName(c)); in systemNodeForPackage()
518 public static Preferences systemRoot() { in systemRoot() method in Preferences
523 return factory.systemRoot(); in systemRoot()
DPreferencesFactory.java50 Preferences systemRoot(); in systemRoot() method
DFileSystemPreferencesFactory.java44 public Preferences systemRoot() { in systemRoot() method in FileSystemPreferencesFactory
DFileSystemPreferences.java147 static Preferences systemRoot; field in FileSystemPreferences
150 if (systemRoot == null) { in getSystemRoot()
152 systemRoot = new FileSystemPreferences(false); in getSystemRoot()
154 return systemRoot; in getSystemRoot()
439 systemRt = systemRoot; in syncWorld()
DXmlSupport.java227 Preferences.userRoot() : Preferences.systemRoot()); in importPreferences()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldFilePreferencesImplTest.java47 Preferences sroot = Preferences.systemRoot().node("test"); in testSystemChildNodes()
DPreferencesTest.java54 public Preferences systemRoot() { in systemRoot() method in PreferencesTest.TestPreferencesFactory
DOldPreferencesTest.java123 Preferences p2 = Preferences.systemRoot(); in testToString()
DOldAbstractPreferencesTest.java869 assertFalse(Preferences.systemRoot().isUserNode()); in testIsUserNode()