/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLoggerTest.java | 66 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 …]
|
D | OldLogManagerTest.java | 101 assertNull("logger foo should not haven parent", foo.getParent()); in testGetLogger() 157 .getParent()); in testGetLogger_hierarchy()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DelegateLastClassLoader.java | 171 return getParent().loadClass(name); in loadClass() 196 final ClassLoader cl = getParent(); in getResource() 208 (getParent() == null || !delegateResourceLoading) in getResources() 209 ? null : getParent().getResources(name) }; in getResources()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | AbstractShortCircuitTask.java | 209 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()
|
D | AbstractTask.java | 264 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/ |
D | ClassLoaderTest.java | 57 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()
|
D | ThreadGroupTest.java | 33 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() 279 assertTrue("Parent is wrong", testRoot.getParent() == originalCurrent); in test_getParent() 298 assertTrue("Parent is wrong", current.getParent() == previous); in test_getParent() 360 !arrayIncludes(groups(testRoot.getParent()), testRoot)); in test_parentOfLjava_lang_ThreadGroup() 449 current.setMaxPriority(current.getParent().getMaxPriority() - 1); in test_setMaxPriorityI() 453 parentMaxPrio = current.getParent().getMaxPriority(); in test_setMaxPriorityI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | NodeChangeEventTest.java | 35 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructor() 48 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructorNullParam()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxFileStore.java | 69 UnixPath parent = path.getParent(); in findMountEntry() 80 parent = parent.getParent(); in findMountEntry()
|
D | AbstractPath.java | 60 Path parent = getParent(); in resolveSibling()
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | XMLFilter.java | 61 public abstract XMLReader getParent (); in getParent() method
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PolicyNode.java | 74 PolicyNode getParent(); in getParent() method
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | XMLFilterImplTest.java | 78 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/ojluni/src/main/java/java/util/prefs/ |
D | NodeChangeEvent.java | 70 public Preferences getParent() { in getParent() method in NodeChangeEvent
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldNodeChangeEventTest.java | 105 Preferences parent = e.getParent(); in testGetParent() 117 Preferences parent = e.getParent(); in testGetParent()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadGroupTest.java | 233 assertEquals(Thread.currentThread().getThreadGroup(), new ThreadGroup("test").getParent()); in test_getParent() 234 assertEquals(initialThreadGroup, new ThreadGroup(initialThreadGroup, "test").getParent()); in test_getParent() 329 while (rootThreadGroup.getParent() != null) { in setUp() 330 rootThreadGroup = rootThreadGroup.getParent(); in setUp()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultSecureDirectoryStreamTest.java | 362 ds_path_dir1.move(path_dir1, ds_path_dir1, Paths.get(path_root.getParent().toString(), in test_move() 364 assertTrue(Files.exists(Paths.get(path_root.getParent().toString(), "path_dir1"))); in test_move() 371 Paths.get(path_root.getParent().toString(), "path_dir1")); in test_move() 377 Paths.get(path_root.getParent().toString(), "path_dir1")); in test_move() 383 Paths.get(path_root.getParent().toString(), (String) null)); in test_move()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 398 String dirName = f1.getParent(); in test_createNewFile() 462 String fileLocation = addTrailingSlash(f1.getParent()); in test_createTempFileLjava_lang_StringLjava_lang_String() 543 fileLocation = addTrailingSlash(currentFile.getParent()); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() 910 assertNull("Incorrect path returned", f.getParent()); in test_getParent() 913 "/user/home", f.getParent()); in test_getParent() 916 assertEquals("Wrong parent test 1", File.separator, f1.getParent()); in test_getParent() 919 File.separator + "directory", f1.getParent()); in test_getParent() 921 assertEquals("Wrong parent test 3", "directory", f1.getParent()); in test_getParent() 923 assertNull("Wrong parent test 4", f1.getParent()); in test_getParent() 925 assertNull("Wrong parent test 5", f1.getParent()); in test_getParent() [all …]
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | Logging.java | 111 Logger p = l.getParent(); in getParentLoggerName()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 160 Path getParent(); in getParent() method
|
/libcore/ojluni/src/main/java/java/lang/ |
D | UNIXProcess.java | 99 while (root.getParent() != null) in getRootThreadGroup() 100 root = root.getParent(); in getRootThreadGroup()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | PhaserTest.java | 91 assertNull(phaser.getParent()); in testConstructorDefaultValues() 144 assertSame(parent, new Phaser(parent).getParent()); in testConstructor3() 145 assertNull(new Phaser(null).getParent()); in testConstructor3() 154 assertSame(parent, new Phaser(parent, 0).getParent()); in testConstructor5() 155 assertNull(new Phaser(null, 0).getParent()); in testConstructor5()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | PhaserTest.java | 67 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/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | TestUtils.java | 248 public PolicyNode getParent() { in getPolicyTree() method 267 public PolicyNode getParent() { in getPolicyTree()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | PolicyChecker.java | 602 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()
|