Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java34 private static final List<Package> packages = Arrays.asList(Package.getPackages());
44 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in testGetPackage()
52 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in test_toString_targetSdkVersion_24()
59 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in test_toString_targetSdkVersion_25()
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<>();
1156 protected Package definePackage(String name, String specTitle, in definePackage()
1163 Package pkg = packages.get(name); in definePackage()
1167 pkg = new Package(name, specTitle, specVersion, specVendor, in definePackage()
1187 protected Package getPackage(String name) { in getPackage()
1188 Package pkg; in getPackage()
1204 protected Package[] getPackages() { in getPackages()
1205 Map<String, Package> map; in getPackages()
1209 Package[] pkgs; in getPackages()
1210 return map.values().toArray(new Package[map.size()]); in getPackages()
[all …]
DClass.java896 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/ojluni/annotations/hiddenapi/java/lang/
DClassLoader.java179 protected java.lang.Package definePackage( in definePackage()
192 protected java.lang.Package getPackage(java.lang.String name) { in getPackage()
196 protected java.lang.Package[] getPackages() { in getPackages()
224 private final java.util.HashMap<java.lang.String, java.lang.Package> packages;
DClass.java123 public java.lang.Package getPackage() { in getPackage()
/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/ojluni/annotations/hiddenapi/java/net/
DURLClassLoader.java80 private java.lang.Package getAndVerifyPackage( in getAndVerifyPackage()
95 protected java.lang.Package definePackage( in definePackage()
/libcore/dalvik/src/main/java/dalvik/system/
DBaseDexClassLoader.java311 protected synchronized Package getPackage(String name) { in getPackage()
313 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.java391 private Package getAndVerifyPackage(String pkgname, in getAndVerifyPackage()
393 Package pkg = getPackage(pkgname); in getAndVerifyPackage()
488 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/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java84 public java.lang.Package getPackage() { throw new RuntimeException("Stub!"); } in getPackage()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java82 @libcore.util.Nullable public java.lang.Package getPackage() { throw new RuntimeException("Stub!");… in getPackage()
/libcore/expectations/
Dknownfailures.txt53 description: "Package.getPackages(), ClassLoader.getPackages() both omit results",
/libcore/
Dopenjdk_java_files.bp174 "ojluni/src/main/java/java/lang/Package.java",