Home
last modified time | relevance | path

Searched refs:packageName (Results 1 – 11 of 11) sorted by relevance

/libcore/support/src/test/java/tests/support/
DSupport_ClassLoader.java35 String packageName = Support_ClassLoader.class.getPackage().getName(); in getInstance() local
38 packageName + ".Support_ClassLoaderDalvik").newInstance(); in getInstance()
41 packageName + ".Support_ClassLoader$RefImpl").newInstance(); in getInstance()
/libcore/ojluni/src/main/java/sun/misc/
DJarIndex.java199 String packageName; in add() local
202 packageName = fileName.substring(0, pos); in add()
204 packageName = fileName; in add()
207 addMapping(packageName, jarName); in add()
344 String packageName = e.getKey(); in merge() local
352 toIndex.addMapping(packageName, jarName); in merge()
DURLClassPath.java1015 String packageName = name;
1018 packageName = name.substring(0, pos);
1029 if (entryName.equals(packageName)) {
/libcore/luni/src/test/java/libcore/java/net/
DOldURLClassLoaderTest.java174 String packageName = "new.package.name"; in test_definePackage() local
177 Package pack = tucl.definePackage(packageName + i, manifest, urls[i]); in test_definePackage()
178 assertEquals(packageName + i, pack.getName()); in test_definePackage()
188 tucl.definePackage(packageName + "0", manifest, null); in test_definePackage()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java471 String packageName = className.substring(0, pkgEndIndex); in nodeName()
472 return "/" + packageName.replace('.', '/'); in nodeName()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldAndroidClassTest.java29 private static final String packageName = "libcore.java.lang.reflect"; field in OldAndroidClassTest
47 Class.forName(packageName + ".ClassWithPrivateConstructor").newInstance(); in testNewInstancePrivateConstructor()
204 assertEquals(packageName, getClass().getPackage().getName()); in testClassGetPackage()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java43 final String packageName = getClass().getPackage().getName(); field in OldClassTest
44 final String classNameInitError1 = packageName + ".TestClass1";
45 final String classNameInitError2 = packageName + ".TestClass1B";
46 final String classNameLinkageError = packageName + ".TestClass";
316 packageName.replace(".", "/") + "/" + sourceJARfile); in test_forNameLjava_lang_StringLbooleanLClassLoader_AndroidOnly()
/libcore/ojluni/src/main/java/java/lang/
DClass.java899 String packageName = getPackageName$(); in getPackage() local
900 return packageName != null ? loader.getPackage(packageName) : null; in getPackage()
DClassLoader.java1292 public void setPackageAssertionStatus(String packageName, in setPackageAssertionStatus() argument
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClassLoader.java208 public void setPackageAssertionStatus(java.lang.String packageName, boolean enabled) { in setPackageAssertionStatus() argument
/libcore/libart/src/main/java/dalvik/system/
DVMRuntime.java746 public static native void setProcessPackageName(String packageName); in setProcessPackageName() argument