Home
last modified time | relevance | path

Searched refs:getParent (Results 1 – 25 of 43) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLoggerTest.java66 assertNull(Logger.global.getParent().getParent()); in testGlobalLogger()
81 assertNull(mlog.getParent()); in testConstructor_Normal()
94 assertNull(mlog.getParent()); in testConstructor_Null()
146 assertSame(pLog.getParent(), root); in testGetLogger_WithParent()
159 assertSame(child.getParent(), pLog); in testGetLogger_WithParent()
172 assertNotSame(notChild.getParent(), pLog); in testGetLogger_WithParent()
179 assertSame(child.getParent().getParent(), root); in testGetLogger_WithParent()
187 assertSame(child.getParent().getParent(), root); in testGetLogger_WithParent()
192 assertSame(childOfChild.getParent(), child); in testGetLogger_WithParent()
193 assertSame(childOfChild.getParent().getParent(), pLog); in testGetLogger_WithParent()
[all …]
DOldLogManagerTest.java101 assertNull("logger foo should not haven parent", foo.getParent()); in testGetLogger()
157 .getParent()); in testGetLogger_hierarchy()
/libcore/ojluni/src/main/java/java/util/stream/
DAbstractShortCircuitTask.java209 for (K parent = getParent(); !cancel && parent != null; parent = parent.getParent()) in taskCanceled()
223 for (@SuppressWarnings("unchecked") K parent = getParent(), node = (K) this; in cancelLaterNodes()
225 node = parent, parent = parent.getParent()) { in cancelLaterNodes()
DAbstractTask.java264 return getParent() == null; in isRoot()
273 protected K getParent() { in getParent() method in AbstractTask
345 K parent = node.getParent(); in isLeftmostNode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassLoaderTest.java57 assertNotNull(cl.getParent()); in test_getSystemClassLoader()
59 assertSame(cl.getParent(), libcoreClass.getClassLoader()); in test_getSystemClassLoader()
89 ClassLoader parentClassLoader = testClassLoader.getParent(); in test_testClassLoader_getResourceLjava_lang_String()
107 ClassLoader parentClassLoader = testClassLoader.getParent(); in test_testClassLoader_getResourceAsStreamLjava_lang_String()
121 ClassLoader parentClassLoader = testClassLoader.getParent(); in test_testClassLoader_loadClass()
DThreadGroupTest.java33 while (rootThreadGroup.getParent() != null) { in setUp()
34 rootThreadGroup = rootThreadGroup.getParent(); in setUp()
61 newGroup.getParent() == initial); in test_ConstructorLjava_lang_String()
80 newGroup.getParent() == Thread.currentThread().getThreadGroup()); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
87 newGroup.getParent() == rootThreadGroup); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
278 assertTrue("Parent is wrong", testRoot.getParent() == originalCurrent); in test_getParent()
297 assertTrue("Parent is wrong", current.getParent() == previous); in test_getParent()
359 !arrayIncludes(groups(testRoot.getParent()), testRoot)); in test_parentOfLjava_lang_ThreadGroup()
448 current.setMaxPriority(current.getParent().getMaxPriority() - 1); in test_setMaxPriorityI()
452 parentMaxPrio = current.getParent().getMaxPriority(); in test_setMaxPriorityI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DNodeChangeEventTest.java35 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructor()
48 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructorNullParam()
/libcore/luni/src/main/java/org/xml/sax/
DXMLFilter.java61 public abstract XMLReader getParent (); in getParent() method
/libcore/ojluni/src/main/java/java/security/cert/
DPolicyNode.java74 PolicyNode getParent(); in getParent() method
/libcore/ojluni/src/main/java/java/util/prefs/
DNodeChangeEvent.java70 public Preferences getParent() { in getParent() method in NodeChangeEvent
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DXMLFilterImplTest.java78 assertEquals(null, parent.getParent()); in testXMLFilterImpl()
83 assertEquals(null, parent.getParent()); in testXMLFilterImplXMLReader()
87 assertEquals(null, filter.getParent()); in testXMLFilterImplXMLReader()
92 assertEquals(null, child.getParent()); in testGetSetParent()
95 assertEquals(parent, child.getParent()); in testGetSetParent()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldNodeChangeEventTest.java105 Preferences parent = e.getParent(); in testGetParent()
117 Preferences parent = e.getParent(); in testGetParent()
/libcore/ojluni/src/main/java/sun/util/resources/
DOpenListResourceBundle.java99 public OpenListResourceBundle getParent() { in getParent() method in OpenListResourceBundle
/libcore/ojluni/src/main/java/java/util/logging/
DLogging.java111 Logger p = l.getParent(); in getParentLoggerName()
DLogger.java622 logger = logger.getParent(); in log()
1547 public Logger getParent() {
1686 target = target.getParent();
/libcore/ojluni/src/main/java/java/lang/
DUNIXProcess.java99 while (root.getParent() != null) in getRootThreadGroup()
100 root = root.getParent(); in getRootThreadGroup()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java398 String dirName = f1.getParent(); in test_createNewFile()
457 String fileLocation = addTrailingSlash(f1.getParent()); in test_createTempFileLjava_lang_StringLjava_lang_String()
538 fileLocation = addTrailingSlash(currentFile.getParent()); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
905 assertNull("Incorrect path returned", f.getParent()); in test_getParent()
908 "/user/home", f.getParent()); in test_getParent()
911 assertEquals("Wrong parent test 1", File.separator, f1.getParent()); in test_getParent()
914 File.separator + "directory", f1.getParent()); in test_getParent()
916 assertEquals("Wrong parent test 3", "directory", f1.getParent()); in test_getParent()
918 assertNull("Wrong parent test 4", f1.getParent()); in test_getParent()
920 assertNull("Wrong parent test 5", f1.getParent()); in test_getParent()
[all …]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DTestUtils.java251 public PolicyNode getParent() { in getPolicyTree() method
270 public PolicyNode getParent() { in getPolicyTree()
/libcore/jsr166-tests/src/test/java/jsr166/
DPhaserTest.java67 assertNull(phaser.getParent()); in testConstructorDefaultValues()
120 assertSame(parent, new Phaser(parent).getParent()); in testConstructor3()
121 assertNull(new Phaser(null).getParent()); in testConstructor3()
130 assertSame(parent, new Phaser(parent, 0).getParent()); in testConstructor5()
131 assertNull(new Phaser(null, 0).getParent()); in testConstructor5()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPolicyChecker.java602 PolicyNodeImpl parentNode = (PolicyNodeImpl)anyNode.getParent(); in rewriteLeafNodes()
799 (PolicyNodeImpl) curNode.getParent(); in processPolicyMappings()
818 (PolicyNodeImpl) curAnyNode.getParent(); in processPolicyMappings()
880 PolicyNodeImpl parentNode = (PolicyNodeImpl)curNode.getParent(); in removeInvalidNodes()
/libcore/ojluni/src/main/java/sun/reflect/misc/
DReflectUtil.java111 acl = acl.getParent(); in isAncestor()
/libcore/ojluni/src/main/java/sun/net/www/http/
DKeepAliveStream.java181 while ((parent = grp.getParent()) != null) { in queueForCleanup()
DKeepAliveCache.java102 while ((parent = grp.getParent()) != null) { in put()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadGroupTest.java329 while (rootThreadGroup.getParent() != null) { in setUp()
330 rootThreadGroup = rootThreadGroup.getParent(); in setUp()
/libcore/luni/src/test/java/dalvik/system/
DBlockGuardTest.java54 f.getParent(); in testFile()

12