/external/guava/guava-tests/test/com/google/common/io/ |
ResourcesTest.java | 48 URL url = getClass().getResource("/com/google/common/io/Resources.class"); 56 URL resource = getClass().getResource("testdata/i18n.txt"); 63 URL url = getClass().getResource("/com/google/common/io/Resources.class"); 71 URL resource = getClass().getResource("testdata/i18n.txt"); 77 URL resource = getClass().getResource("testdata/alice_in_wonderland.txt"); 101 URL resource = getClass().getResource("testdata/i18n.txt"); 108 Resources.getResource("no such resource"); 117 Resources.getResource("com/google/common/io/testdata/i18n.txt")); 122 Resources.getResource( 133 assertNotNull(Resources.getResource(getClass(), "testdata/i18n.txt")) [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwResource.java | 52 return getResource(STRING_DEFAULT_TEXT_ENCODING, TYPE_STRING); 57 return getResource(RAW_NO_DOMAIN, TYPE_RAW); 62 return getResource(RAW_LOAD_ERROR, TYPE_RAW); 65 private static String getResource(int resid, int type) {
|
/external/emma/core/java12/com/vladium/util/ |
ResourceLoader.java | 43 * @see java.lang.ClassLoader#getResource(java.lang.String) 45 public static URL getResource (final String name) 51 return loader.getResource (name); 92 public static URL getResource (final String name, final ClassLoader loader) 95 return loader.getResource (name);
|
/external/guava/guava/src/com/google/common/io/ |
Resources.java | 150 public static URL getResource(String resourceName) { 151 URL url = Resources.class.getClassLoader().getResource(resourceName); 162 public static URL getResource(Class<?> contextClass, String resourceName) { 163 URL url = contextClass.getResource(resourceName);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/ |
FileURLConnectionTest.java | 34 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); 53 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); 70 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); 76 url = ClassLoader.getSystemClassLoader().getResource(resourceName); 91 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarExecTest.java | 57 jout.write(getResource(resources, "hyts_" + jarClass + ".ser")); 94 joutFoo.write(getResource(resources, "hyts_Foo.ser")); 99 joutBar.write(getResource(resources, "hyts_Bar.ser")); 114 joutFoo.write(getResource(resources, "hyts_Foo.ser")); 126 joutFoo.write(getResource(resources, "hyts_Foo.ser")); 155 joutFoo.write(getResource(resources, "hyts_Foo.ser")); 160 joutBar.write(getResource(resources, "hyts_Bar.ser")); 180 joutFoo.write(getResource(resources, "hyts_Foo.ser")); 182 joutFoo.write(getResource(resources, "hyts_Bar.ser")); 199 String booBody = new String(getResource(resources, "hyts_Foo.ser"), "iso-8859-1") [all...] |
ZipExecTest.java | 53 zout.write(getResource(resources, "hyts_" + zipClass + ".ser")); 94 zoutFoo.write(getResource(resources, "hyts_Foo.ser")); 99 zoutBar.write(getResource(resources, "hyts_Bar.ser")); 116 zoutFoo.write(getResource(resources, "hyts_Foo.ser")); 130 zoutFoo.write(getResource(resources, "hyts_Foo.ser")); 156 joutFoo.write(getResource(resources, "hyts_Foo.ser")); 161 zoutBar.write(getResource(resources, "hyts_Bar.ser")); 192 zoutFoo.write(getResource(resources, "hyts_Foo.ser")); 197 joutBar.write(getResource(resources, "hyts_Bar.ser")); 230 zoutFoo.write(getResource(resources, "hyts_Foo.ser")) [all...] |
/external/javassist/src/main/javassist/ |
ClassClassPath.java | 84 return thisClass.getResource(jarname);
|
LoaderClassPath.java | 32 * and <code>getResource()</code>. 75 * This method calls <code>getResource(String)</code> 86 return cl.getResource(cname);
|
/external/oauth/core/src/main/java/net/oauth/ |
ConsumerProperties.java | 39 public static URL getResource(String name, ClassLoader loader) 41 URL resource = loader.getResource(name); 61 this(getProperties(getResource(resourceName, loader)));
|
/external/apache-harmony/luni/src/test/impl/common/org/apache/harmony/luni/tests/java/net/ |
URLClassLoaderImplTest.java | 52 final URL base = getClass().getResource("lf.jar");
|
/external/smack/src/org/jivesoftware/smack/packet/ |
Bind.java | 43 public String getResource() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
SourceRevealer.java | 124 methodMatches.get(0).getResource()); 136 IResource resource = unit.getResource(); 188 IResource resource = type.getResource(); 234 return displayFile((IFile) match.getResource(), lineNumber); 277 if (m.getResource() instanceof IFile 278 && m.getResource().getName().startsWith(fileName)) { 279 matchesPerFile.put(m.getResource(), m); 289 String p1 = m1.getResource().getProject().getName(); 290 String p2 = m2.getResource().getProject().getName(); 296 String r1 = m1.getResource().getName() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintColumn.java | 225 return marker1.getResource().getName().compareTo( 226 marker2.getResource().getName()); 253 IResource resource1 = marker1.getResource(); 254 IResource resource2 = marker2.getResource(); 325 IResource resource = marker.getResource(); 355 IResource resource1 = marker1.getResource(); 356 IResource resource2 = marker2.getResource(); 397 if (marker.getResource() instanceof IFile) { 398 return marker.getResource().getName(); 427 return marker.getResource().getFullPath().toOSString() [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
ClasspathLocator.java | 80 url = ClasspathLocator.class.getResource("/" + name); 82 url = Thread.currentThread().getContextClassLoader().getResource(name); 112 // since classpath locating would return null at the getResource()
|
/frameworks/base/core/java/android/net/http/ |
ErrorStrings.java | 37 return context.getText(getResource(errorCode)).toString(); 44 public static int getResource(int errorCode) {
|
/packages/apps/Mms/src/com/android/mms/ui/ |
IconListAdapter.java | 89 image.setImageResource(getItem(position).getResource()); 107 public int getResource() {
|
/libcore/libdvm/src/main/java/java/lang/ |
ClassLoader.java | 136 * @see Class#getResource 139 return SystemClassLoader.loader.getResource(resName); 386 * @see Class#getResource 388 public URL getResource(String resName) { 389 URL resource = parent.getResource(resName); 420 * {@link #getResource(String)} for a description of the lookup algorithm 430 URL url = getResource(resName); 766 return VMClassLoader.getResource(name); 811 public URL getResource(String resName) {
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
PageSerializerTest.cpp | 150 const SerializedResource* getResource(const char* url, const char* mimeType) 165 return getResource(url, mimeType); 170 const SerializedResource* resource = getResource(url, mimeType);
|
/libcore/libart/src/main/java/java/lang/ |
ClassLoader.java | 148 * @see Class#getResource 151 return SystemClassLoader.loader.getResource(resName); 398 * @see Class#getResource 400 public URL getResource(String resName) { 401 URL resource = parent.getResource(resName); 432 * {@link #getResource(String)} for a description of the lookup algorithm 442 URL url = getResource(resName); 786 return VMClassLoader.getResource(name); 831 public URL getResource(String resName) {
|
VMClassLoader.java | 35 static URL getResource(String name) {
|
/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
JmeSystem.java | 66 public static URL getResource(String name) {
68 return systemDelegate.getResource(name);
|
JmeSystemDelegate.java | 76 public URL getResource(String name) {
77 return this.getClass().getResource(name);
|
/external/proguard/src/proguard/wtk/ |
ProGuardObfuscator.java | 74 ConfigurationParser parser = new ConfigurationParser(this.getClass().getResource(DEFAULT_CONFIGURATION));
|
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/core/ |
JFmRxCcmVacResourceOwner.java | 70 public JFmRxEcalResource getResource() {
|