Home
last modified time | relevance | path

Searched refs:Package (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java26 private static final List<Package> packages = Arrays.asList(Package.getPackages());
36 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in testGetPackage()
46 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in test_toString()
51 libcoreJavaLang = Package.getPackage("libcore.java.lang"); in test_toString()
DOldClassTest.java467 Package thisPackage = getClass().getPackage(); in test_getPackage()
471 Package stringPackage = String.class.getPackage(); in test_getPackage()
495 Package cPackage = clazz.getPackage(); in test_getPackage()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java113 public class Package implements java.lang.reflect.AnnotatedElement { class
281 public static Package getPackage(String name) { in getPackage()
303 public static Package[] getPackages() { in getPackages()
329 static Package getPackage(Class<?> c) { in getPackage()
468 Package(String name, in Package() method in Package
491 private Package(String name, Manifest man, URL url, ClassLoader loader) { in Package() method in Package
552 static Package getSystemPackage(String name) { in getSystemPackage()
554 Package pkg = pkgs.get(name); in getSystemPackage()
569 static Package[] getSystemPackages() { in getSystemPackages()
576 return pkgs.values().toArray(new Package[pkgs.size()]); in getSystemPackages()
[all …]
DClassLoader.java230 private final HashMap<String, Package> packages = new HashMap<>();
1153 protected Package definePackage(String name, String specTitle, in definePackage()
1160 Package pkg = packages.get(name); in definePackage()
1164 pkg = new Package(name, specTitle, specVersion, specVendor, in definePackage()
1184 protected Package getPackage(String name) { in getPackage()
1185 Package pkg; in getPackage()
1201 protected Package[] getPackages() { in getPackages()
1202 Map<String, Package> map; in getPackages()
1206 Package[] pkgs; in getPackages()
1207 return map.values().toArray(new Package[map.size()]); in getPackages()
[all …]
DClass.java893 public Package getPackage() { in getPackage()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DPackageTest.java60 Package aPackage = classInPackage.getPackage(); in checkDeclaredAnnotation()
95 Package aPackage = classInPackage.getPackage(); in assertGetDeclaredAnnotationsByType()
125 Package aPackage = classInPackage.getPackage(); in assertGetAnnotationsByType()
/libcore/support/src/test/java/tests/resources/manifest/
Dhyts_MANIFEST.MF5 Import-Package: com.ibm.ive.eccomm.client.services.log,
19 Export-Package: com.ibm.ive.eccomm.client.services.authentication; specification-version=1.0.0,
/libcore/dalvik/src/main/java/dalvik/system/
DBaseDexClassLoader.java184 protected synchronized Package getPackage(String name) { in getPackage()
186 Package pack = super.getPackage(name); in getPackage()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLClassLoaderTest.java177 Package pack = tucl.definePackage(packageName + i, manifest, urls[i]); in test_definePackage()
204 public Package definePackage(String name, in definePackage()
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java390 private Package getAndVerifyPackage(String pkgname, in getAndVerifyPackage()
392 Package pkg = getPackage(pkgname); in getAndVerifyPackage()
483 protected Package definePackage(String name, Manifest man, URL url) in definePackage()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldAndroidClassTest.java207 Package p = Object.class.getPackage(); in testClassGetPackage()
/libcore/expectations/
Dknownfailures.txt53 description: "Package.getPackages(), ClassLoader.getPackages() both omit results",
/libcore/
Dopenjdk_java_files.mk170 ojluni/src/main/java/java/lang/Package.java \