Home
last modified time | relevance | path

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

12

/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLogManagerTest.java151 assertNull(foo.getParent()); in testAddGetLogger()
228 assertNull(foo.getParent()); in testAddGetLogger_Hierachy()
229 assertNull(child.getParent()); in testAddGetLogger_Hierachy()
230 assertNull(grandson.getParent()); in testAddGetLogger_Hierachy()
231 assertNull(otherChild.getParent()); in testAddGetLogger_Hierachy()
236 assertNull(child.getParent()); in testAddGetLogger_Hierachy()
239 assertNull(fakeChild.getParent()); in testAddGetLogger_Hierachy()
242 assertSame(child, grandson.getParent()); in testAddGetLogger_Hierachy()
245 assertSame(foo, child.getParent()); in testAddGetLogger_Hierachy()
246 assertNull(foo.getParent()); in testAddGetLogger_Hierachy()
[all …]
DLoggerTest.java107 assertNull(Logger.global.getParent().getParent()); in testGlobalLogger()
131 assertNull(mlog.getParent()); in testConstructor_Normal()
153 assertNull(mlog.getParent()); in testConstructor_Null()
239 assertEquals("", alog.getParent().getName()); in testGetAnonymousLogger()
240 assertNull(alog.getParent().getParent()); in testGetAnonymousLogger()
263 assertEquals("", alog.getParent().getName()); in testGetAnonymousLogger_ValidResourceBundle()
264 assertNull(alog.getParent().getParent()); in testGetAnonymousLogger_ValidResourceBundle()
287 assertEquals("", alog.getParent().getName()); in testGetAnonymousLogger_NullResourceBundle()
288 assertNull(alog.getParent().getParent()); in testGetAnonymousLogger_NullResourceBundle()
349 assertNull(log.getParent().getParent()); in testGetLogger_Normal()
[all …]
/dalvik/libcore/xml/src/main/java/org/xml/sax/
DXMLFilter.java61 public abstract XMLReader getParent (); in getParent() method
/dalvik/libcore/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
DMockNodeChangeListener.java58 Preferences parent = e.getParent(); in childAdded()
88 Preferences parent = e.getParent(); in childRemoved()
DNodeChangeEventTest.java51 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructor()
70 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructorNullParam()
/dalvik/dx/src/com/android/dx/ssa/
DNormalSsaInsn.java52 block.getParent().onSourcesChanged(this, oldSources); in mapSourceRegisters()
79 block.getParent().onSourceChanged(this, origSpec, newSpec); in changeOneSource()
171 block.getParent().onSourcesChanged(this, oldSources); in upgradeToLiteral()
DSsaInsn.java128 block.getParent().updateOneDefinition(this, oldResult); in mapRegisters()
DPhiInsn.java260 block.getParent().onSourceChanged(this, old, o.regSpec); in mapSourceRegisters()
/dalvik/libcore/security/src/main/java/java/security/cert/
DPolicyNode.java68 public PolicyNode getParent(); in getParent() method
/dalvik/libcore/prefs/src/main/java/java/util/prefs/
DNodeChangeEvent.java66 public Preferences getParent() { in getParent() method in NodeChangeEvent
/dalvik/libcore/security/src/test/java/tests/security/cert/
DPolicyNodeTest.java203 assertNull(pn.getParent()); in test_getParent()
210 PolicyNode newPN = pn1.getParent(); in test_getParent()
217 PolicyNode newPN = pn2.getParent(); in test_getParent()
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/helpers/
DXMLFilterImplTest.java88 assertEquals(null, parent.getParent()); in testXMLFilterImpl()
98 assertEquals(null, parent.getParent()); in testXMLFilterImplXMLReader()
102 assertEquals(null, filter.getParent()); in testXMLFilterImplXMLReader()
119 assertEquals(null, child.getParent()); in testGetSetParent()
122 assertEquals(parent, child.getParent()); in testGetSetParent()
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DThreadGroupTest.java97 newGroup.getParent() == initial); in test_ConstructorLjava_lang_String()
149 newGroup.getParent() == Thread.currentThread().getThreadGroup()); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
156 newGroup.getParent() == getRootThreadGroup()); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
782 assertTrue("Parent is wrong", testRoot.getParent() == originalCurrent); in test_getParent()
801 assertTrue("Parent is wrong", current.getParent() == previous); in test_getParent()
819 parent = testRoot.getParent(); in test_getParent()
999 !arrayIncludes(groups(testRoot.getParent()), testRoot)); in test_parentOfLjava_lang_ThreadGroup()
1146 current.setMaxPriority(current.getParent().getMaxPriority() - 1); in test_setMaxPriorityI()
1150 parentMaxPrio = current.getParent().getMaxPriority(); in test_setMaxPriorityI()
1612 while (rootThreadGroup.getParent() != null) { in setUp()
[all …]
DClassLoaderTest.java94 assertEquals(ClassLoader.getSystemClassLoader(), pcl.getParent()); in test_ClassLoaderLClassLoader()
836 assertNotNull(pcl.getParent()); in test_getParent()
837 ClassLoader cl = getClass().getClassLoader().getParent(); in test_getParent()
854 getClass().getClassLoader().getParent(); in test_getParent()
DSecurityManagerTest.java348 while (initialThreadGroup.getParent() != null) { in test_checkAccessLjava_lang_Thread()
349 initialThreadGroup = initialThreadGroup.getParent(); in test_checkAccessLjava_lang_Thread()
407 while (initialThreadGroup.getParent() != null) { in test_checkAccessLjava_lang_ThreadGroup()
408 initialThreadGroup = initialThreadGroup.getParent(); in test_checkAccessLjava_lang_ThreadGroup()
/dalvik/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()
DPolicyNodeImpl.java71 public PolicyNode getParent() { in getParent() method in PolicyNodeImpl
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
DPKIXPolicyNode.java67 public PolicyNode getParent() in getParent() method in PKIXPolicyNode
DCertPathValidatorUtilities.java669 PKIXPolicyNode _parent = (PKIXPolicyNode)_node.getParent(); in removePolicyNode()
826 PKIXPolicyNode p_node = (PKIXPolicyNode)node.getParent(); in prepareNextCertB1()
854 PKIXPolicyNode p_node = (PKIXPolicyNode)node.getParent(); in prepareNextCertB2()
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
DFileTest.java472 String dirName = f1.getParent(); in test_createNewFile()
517 String fileLocation = f1.getParent(); in test_createTempFileLjava_lang_StringLjava_lang_String()
613 fileLocation = currentFile.getParent(); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
1027 assertNull("Test 1: Incorrect path returned", f.getParent()); in test_getParent()
1030 f.getParent().equals(dir)); in test_getParent()
1038 assertTrue("Wrong parent test 1", f1.getParent().equals(slash)); in test_getParent()
1040 assertTrue("Wrong parent test 2", f1.getParent().equals( in test_getParent()
1043 assertEquals("Wrong parent test 3", "directory", f1.getParent()); in test_getParent()
1045 assertNull("Wrong parent test 4", f1.getParent()); in test_getParent()
1047 assertNull("Wrong parent test 5", f1.getParent()); in test_getParent()
[all …]
/dalvik/libcore/security/src/test/java/tests/security/permissions/
DJavaLangThreadTest.java183 t3.setContextClassLoader(this.getClass().getClassLoader().getParent()); in test_getContextClassLoader()
/dalvik/libcore/xml/src/main/java/org/kxml2/kdom/
DElement.java177 public Node getParent() { in getParent() method in Element
/dalvik/libcore/luni/src/main/java/java/io/
DFile.java657 public String getParent() { in getParent() method in File
685 String tempParent = getParent(); in getParentFile()
1141 String parentDir = getParent(); in mkdirs()
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
DXMLFilterImpl.java127 public XMLReader getParent () in getParent() method in XMLFilterImpl
/dalvik/libcore/logging/src/main/java/java/util/logging/
DLogManager.java377 Logger oldParent = child.getParent(); in addToFamilyTree()

12