/libcore/luni/src/test/java/libcore/java/lang/ |
D | PackageTest.java | 34 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()
|
D | OldClassTest.java | 467 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/ |
D | Package.java | 113 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 …]
|
D | ClassLoader.java | 230 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 …]
|
D | Class.java | 896 public Package getPackage() { in getPackage()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | PackageTest.java | 60 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/ |
D | ClassLoader.java | 179 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;
|
D | Class.java | 123 public java.lang.Package getPackage() { in getPackage()
|
/libcore/support/src/test/java/tests/resources/manifest/ |
D | hyts_MANIFEST.MF | 5 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/ |
D | URLClassLoader.java | 80 private java.lang.Package getAndVerifyPackage( in getAndVerifyPackage() 95 protected java.lang.Package definePackage( in definePackage()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | BaseDexClassLoader.java | 311 protected synchronized Package getPackage(String name) { in getPackage() 313 Package pack = super.getPackage(name); in getPackage()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLClassLoaderTest.java | 177 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/ |
D | URLClassLoader.java | 391 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/ |
D | OldAndroidClassTest.java | 207 Package p = Object.class.getPackage(); in testClassGetPackage()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 84 public java.lang.Package getPackage() { throw new RuntimeException("Stub!"); } in getPackage()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 82 @libcore.util.Nullable public java.lang.Package getPackage() { throw new RuntimeException("Stub!");… in getPackage()
|
/libcore/expectations/ |
D | knownfailures.txt | 53 description: "Package.getPackages(), ClassLoader.getPackages() both omit results",
|
/libcore/ |
D | openjdk_java_files.bp | 174 "ojluni/src/main/java/java/lang/Package.java",
|