Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferenceChangeEventTest.java20 import java.util.prefs.AbstractPreferences;
49 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetKey()
52 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetKey()
74 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetNewValue()
77 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetNewValue()
104 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetNode()
107 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetNode()
DOldNodeChangeEventTest.java20 import java.util.prefs.AbstractPreferences;
50 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetChild()
53 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetChild()
98 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetParent()
101 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetParent()
DOldAbstractPreferencesTest.java23 import java.util.prefs.AbstractPreferences;
49 AbstractPreferences pref;
50 AbstractPreferences root;
51 AbstractPreferences parent = null;
60 root = (AbstractPreferences) Preferences.userRoot(); in setUp()
64 parent = (AbstractPreferences) Preferences.userNodeForPackage(getClass()); in setUp()
65 pref = (AbstractPreferences) parent.node(nodeName); in setUp()
186 AbstractPreferences ap = (AbstractPreferences) pref.node("New node"); in testClear()
675 AbstractPreferences first = (AbstractPreferences) pref.node("First node"); in testChildrenNames()
676 AbstractPreferences second = (AbstractPreferences) pref.node("Second node"); in testChildrenNames()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DMockAbstractPreferences.java23 import java.util.prefs.AbstractPreferences;
27 public class MockAbstractPreferences extends AbstractPreferences {
46 protected MockAbstractPreferences(AbstractPreferences parent, String name) { in MockAbstractPreferences()
51 protected MockAbstractPreferences(AbstractPreferences parent, String name, in MockAbstractPreferences()
109 public AbstractPreferences publicChildSpi(String name) { in publicChildSpi()
114 protected AbstractPreferences childSpi(String name) { in childSpi()
121 AbstractPreferences r = childs.get(name); in childSpi()
240 public AbstractPreferences getChildImpl(String name) in getChildImpl()
245 public AbstractPreferences[] cachedChildrenImpl() { in cachedChildrenImpl()
DPreferencesTest.java26 import java.util.prefs.AbstractPreferences;
76 assertTrue(p instanceof AbstractPreferences); in testSystemNodeForPackage()
98 assertTrue(p instanceof AbstractPreferences); in testSystemRoot()
116 assertTrue(p instanceof AbstractPreferences); in testUserNodeForPackage()
136 assertTrue(p instanceof AbstractPreferences); in testUserRoot()
DAbstractPreferencesTest.java28 import java.util.prefs.AbstractPreferences;
72 private AbstractPreferences pref;
73 private AbstractPreferences root;
74 private AbstractPreferences parent;
94 root = (AbstractPreferences) Preferences.userRoot(); in setUp()
95 parent = (AbstractPreferences) Preferences.userNodeForPackage(Preferences.class); in setUp()
97 pref = (AbstractPreferences) parent.node("mock"); in setUp()
108 (AbstractPreferences) Preferences.userRoot(), "mo/ck"); in testConstructor()
142 p2 = new MockAbstractPreferences((AbstractPreferences) Preferences in testConstructor()
168 pref = new MockAbstractPreferences((AbstractPreferences) Preferences in testToString()
[all …]
/libcore/ojluni/src/main/java/java/util/prefs/
DAbstractPreferences.java124 public abstract class AbstractPreferences extends Preferences { class
138 final AbstractPreferences parent;
143 private final AbstractPreferences root; // Relative to this node
159 private Map<String, AbstractPreferences> kidCache = new HashMap<>();
205 protected AbstractPreferences(AbstractPreferences parent, String name) { in AbstractPreferences() method in AbstractPreferences
738 protected final AbstractPreferences[] cachedChildren() { in cachedChildren()
742 private static final AbstractPreferences[] EMPTY_ABSTRACT_PREFS_ARRAY
743 = new AbstractPreferences[0];
835 AbstractPreferences child = kidCache.get(token); in node()
903 AbstractPreferences child = kidCache.get(token); in nodeExists()
[all …]
DXmlSupport.java100 if (((AbstractPreferences)p).isRemoved()) in export()
148 synchronized (((AbstractPreferences)prefs).lock) { in putPreferencesInXml()
151 if (((AbstractPreferences)prefs).isRemoved()) { in putPreferencesInXml()
345 synchronized (((AbstractPreferences)prefsNode).lock) { in ImportSubtree()
347 if (((AbstractPreferences)prefsNode).isRemoved()) in ImportSubtree()
DFileSystemPreferences.java54 public class FileSystemPreferences extends AbstractPreferences {
662 protected AbstractPreferences childSpi(String name) {
/libcore/
Dopenjdk_java_files.bp1138 "ojluni/src/main/java/java/util/prefs/AbstractPreferences.java",