Home
last modified time | relevance | path

Searched refs:resPath (Results 1 – 3 of 3) sorted by relevance

/libcore/support/src/test/java/tests/support/resource/
DSupport_Resources.java69 String resPath = resources.toString(); in getURL() local
70 if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') { in getURL()
71 resPath = resPath.substring(1); in getURL()
73 String urlSpec = "file:/" + resPath + "/" + fileName; in getURL()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java478 String resPath = resources.toString(); in test_getPackage() local
479 if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') in test_getPackage()
480 resPath = resPath.substring(1); in test_getPackage()
484 URL resourceURL = new URL("file:/" + resPath + "/Package/" in test_getPackage()
546 String resPath = resources.toString(); in test_getPackageName() local
547 if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') in test_getPackageName()
548 resPath = resPath.substring(1); in test_getPackageName()
552 URL resourceURL = new URL("file:/" + resPath + "/Package/" in test_getPackageName()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java340 String resPath = "hyts_" + "des-ede3-cbc.test" + index in test_update$BII() local
343 Support_Resources.copyFile(resources, null, resPath); in test_update$BII()
344 InputStream is = Support_Resources.getStream(resPath); in test_update$BII()
398 String resPath = "hyts_" + "des-ede3-cbc.test" + index in test_doFinal() local
401 Support_Resources.copyFile(resources, null, resPath); in test_doFinal()
402 InputStream is = Support_Resources.getStream(resPath); in test_doFinal()
462 private byte[] loadBytes(String resPath) throws Exception { in loadBytes() argument
464 Support_Resources.copyFile(resources, null, resPath); in loadBytes()
465 InputStream is = Support_Resources.getStream(resPath); in loadBytes()