Searched refs:pcl (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 70 ClassLoader pcl = PathClassLoaderTest.class.getClassLoader(); in extractResourceJar() local 72 try (InputStream in = pcl.getResourceAsStream("dalvik/system/loading-test.jar"); in extractResourceJar() 100 PathClassLoader pcl = new PathClassLoader( in test_classLoader_tampered_certificate_loadsOK_nullCertificates() local 102 InputStream is = pcl.getResourceAsStream(signedEntryName); in test_classLoader_tampered_certificate_loadsOK_nullCertificates() 126 final PathClassLoader pcl = new PathClassLoader(jar.getAbsolutePath(), in test_classLoader_exceptionDuringLoading() local 167 pcl.getResource("test/Resource1.txt"); in test_classLoader_exceptionDuringLoading() 178 assertNotNull(pcl.getResource("test/Resource1.txt")); in test_classLoader_exceptionDuringLoading()
|
D | BaseDexClassLoaderTest.java | 64 private ClassLoader pcl; field in BaseDexClassLoaderTest 87 pcl = BaseDexClassLoaderTest.class.getClassLoader(); in extractTestJars() 89 try (InputStream in = pcl.getResourceAsStream("dalvik/system/loading-test.jar"); in extractTestJars() 94 try (InputStream in = pcl.getResourceAsStream("dalvik/system/loading-test2.jar"); in extractTestJars() 166 BaseDexClassLoader cl2 = new PathClassLoader(jar.getPath(), pcl); in testNoReportingAfterResetting()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 1039 public void addPreferenceChangeListener(PreferenceChangeListener pcl) { 1040 if (pcl==null) 1054 prefListeners.add(pcl); 1059 public void removePreferenceChangeListener(PreferenceChangeListener pcl) { 1065 if (!prefListeners.contains(pcl)) { 1084 prefListeners.remove(pcl);
|
D | Preferences.java | 1151 PreferenceChangeListener pcl); in addPreferenceChangeListener() argument 1165 PreferenceChangeListener pcl); in removePreferenceChangeListener() argument
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 254 ClassLoader pcl = getClass().getClassLoader(); in test_forNameLjava_lang_StringLbooleanLClassLoader() local 260 Class<?> clazz = Class.forName(classes[i].getName(), true, pcl); in test_forNameLjava_lang_StringLbooleanLClassLoader() 263 clazz = Class.forName(classes[i].getName(), false, pcl); in test_forNameLjava_lang_StringLbooleanLClassLoader() 281 Class.forName(null, true, pcl); in test_forNameLjava_lang_StringLbooleanLClassLoader() 288 Class.forName("NotExistClass", true, pcl); in test_forNameLjava_lang_StringLbooleanLClassLoader() 295 Class.forName("String", false, pcl); in test_forNameLjava_lang_StringLbooleanLClassLoader() 302 Class.forName("libcore.java.lang.NonexistentClass", false, pcl); in test_forNameLjava_lang_StringLbooleanLClassLoader() 955 ClassLoader pcl = getClass().getClassLoader(); in test_getResourceAsStreamLjava_lang_String() local 956 Class<?> clazz = pcl.loadClass("libcore.java.lang.OldClassTest"); in test_getResourceAsStreamLjava_lang_String()
|
D | OldThreadTest.java | 137 ClassLoader pcl = new ClassLoader() {}; in test_setContextClassLoader() local 139 st.setContextClassLoader(pcl); in test_setContextClassLoader() 140 assertEquals(pcl, st.getContextClassLoader()); in test_setContextClassLoader()
|
D | ClassTest.java | 81 PathClassLoader pcl = new PathClassLoader(f.getAbsolutePath(), null); in test_b28833829() local 82 Class<?> cl = pcl.loadClass( in test_b28833829()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | PreferencesTest.java | 396 public void addPreferenceChangeListener(PreferenceChangeListener pcl) { in addPreferenceChangeListener() argument 406 public void removePreferenceChangeListener(PreferenceChangeListener pcl) { in removePreferenceChangeListener() argument
|
D | AbstractPreferencesTest.java | 1224 MockPreferenceChangeListener pcl = new MockPreferenceChangeListener(); in testRuntimeException() local 1225 p.addPreferenceChangeListener(pcl); in testRuntimeException() 1226 p.removePreferenceChangeListener(pcl); in testRuntimeException()
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldPreferencesTest.java | 1099 public void addPreferenceChangeListener(PreferenceChangeListener pcl) { in addPreferenceChangeListener() argument 1107 public void removePreferenceChangeListener(PreferenceChangeListener pcl) { in removePreferenceChangeListener() argument
|