Home
last modified time | relevance | path

Searched refs:getPackage (Results 1 – 25 of 26) sorted by relevance

12

/libcore/luni/src/main/java/javax/xml/parsers/
DSAXParserFactory.java261 + this.getClass().getPackage().getSpecificationTitle() in getSchema()
263 + this.getClass().getPackage().getSpecificationVersion() in getSchema()
320 + this.getClass().getPackage().getSpecificationTitle() in setSchema()
322 + this.getClass().getPackage().getSpecificationVersion() in setSchema()
349 + this.getClass().getPackage().getSpecificationTitle() in setXIncludeAware()
351 + this.getClass().getPackage().getSpecificationVersion() in setXIncludeAware()
371 + this.getClass().getPackage().getSpecificationTitle() in isXIncludeAware()
373 + this.getClass().getPackage().getSpecificationVersion() in isXIncludeAware()
DDocumentBuilderFactory.java378 + this.getClass().getPackage().getSpecificationTitle() in getSchema()
380 + this.getClass().getPackage().getSpecificationVersion() in getSchema()
444 + this.getClass().getPackage().getSpecificationTitle() in setSchema()
446 + this.getClass().getPackage().getSpecificationVersion() in setSchema()
473 + this.getClass().getPackage().getSpecificationTitle() in setXIncludeAware()
475 + this.getClass().getPackage().getSpecificationVersion() in setXIncludeAware()
495 + this.getClass().getPackage().getSpecificationTitle() in isXIncludeAware()
497 + this.getClass().getPackage().getSpecificationVersion() in isXIncludeAware()
DDocumentBuilder.java81 + " Specification \"" + this.getClass().getPackage().getSpecificationTitle() + "\"" in reset()
82 + " version \"" + this.getClass().getPackage().getSpecificationVersion() + "\"" in reset()
282 + this.getClass().getPackage().getSpecificationTitle() in getSchema()
284 + this.getClass().getPackage().getSpecificationVersion() in getSchema()
310 + this.getClass().getPackage().getSpecificationTitle() in isXIncludeAware()
312 + this.getClass().getPackage().getSpecificationVersion() in isXIncludeAware()
DSAXParser.java103 + " Specification \"" + this.getClass().getPackage().getSpecificationTitle() + "\"" in reset()
104 + " version \"" + this.getClass().getPackage().getSpecificationVersion() + "\"" in reset()
491 + this.getClass().getPackage().getSpecificationTitle() in getSchema()
493 + this.getClass().getPackage().getSpecificationVersion() in getSchema()
518 + this.getClass().getPackage().getSpecificationTitle() in isXIncludeAware()
520 + this.getClass().getPackage().getSpecificationVersion() in isXIncludeAware()
/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java42 assertEquals(1, getClass().getPackage().getAnnotations().length); in test_getAnnotations()
43 assertEquals(1, getClass().getPackage().getDeclaredAnnotations().length); in test_getAnnotations()
47 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in testGetPackage()
49 assertEquals(getClass().getPackage(), libcoreJavaLang); in testGetPackage()
53 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in testGetPackageName()
61 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in test_toString_targetSdkVersion_24()
68 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in test_toString_targetSdkVersion_25()
74 assertTrue(packages.contains(getClass().getPackage())); in testGetPackages()
78 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in testGetAnnotationsByType()
85 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); in testGetAnnotationsByType_shouldThrowNPE_whenNullIsPassed()
DOldClassTest.java43 final String packageName = getClass().getPackage().getName();
467 Package thisPackage = getClass().getPackage(); in test_getPackage()
471 Package stringPackage = String.class.getPackage(); in test_getPackage()
492 clazz.getPackage()); in test_getPackage()
495 Package cPackage = clazz.getPackage(); in test_getPackage()
DOldStackTraceElementTest.java203 ste.toString().contains(getClass().getPackage().getName())); in test_toString()
DLambdaImplementationTest.java375 assertEquals(LambdaImplementationTest.class.getPackage(), lambdaClass.getPackage()); in assertGeneralLambdaClassCharacteristics()
/libcore/luni/src/main/java/javax/xml/transform/
DTransformer.java73 + " Specification \"" + this.getClass().getPackage().getSpecificationTitle() + "\"" in reset()
74 + " version \"" + this.getClass().getPackage().getSpecificationVersion() + "\"" in reset()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldAndroidClassTest.java203 assertNotNull(getClass().getPackage()); in testClassGetPackage()
204 assertEquals(packageName, getClass().getPackage().getName()); in testClassGetPackage()
205 assertEquals("Unknown", getClass().getPackage().getSpecificationTitle()); in testClassGetPackage()
207 Package p = Object.class.getPackage(); in testClassGetPackage()
210 assertSame(p, Object.class.getPackage()); in testClassGetPackage()
232 String pkg = (clazz.getPackage() == null ? "" : clazz.getPackage().getName() + "."); in testVariousClassNames()
/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/support/
DSupport_ClassLoader.java35 String packageName = Support_ClassLoader.class.getPackage().getName(); in getInstance()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java281 public static Package getPackage(String name) { in getPackage() method in Package
284 return l.getPackage(name); in getPackage()
329 static Package getPackage(Class<?> c) { in getPackage() method in Package
336 return cl.getPackage(name); in getPackage()
DClassLoader.java1187 protected Package getPackage(String name) { in getPackage() method in ClassLoader
1390 protected Package getPackage(String name) { in getPackage() method in BootClassLoader
1393 Package pack = super.getPackage(name); in getPackage()
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKZoneIdSerialization.java155 String serClass = ZoneId.class.getPackage().getName() + ".Ser"; in deserialize()
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTest.java111 String filename = getClass().getPackage().getName(); in resolveURI()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMTestCase.java80 String filename = getClass().getPackage().getName(); in resolveURI()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java113 String serClass = object.getClass().getPackage().getName() + ".Ser"; in assertSerializedBySer()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClassLoader.java192 protected java.lang.Package getPackage(java.lang.String name) { in getPackage() method in ClassLoader
DClass.java123 public java.lang.Package getPackage() { in getPackage() method in Class
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java84 public java.lang.Package getPackage() { throw new RuntimeException("Stub!"); } in getPackage() method in Class
/libcore/ojluni/src/test/java/time/test/java/util/
DTestFormatter.java143 String clname = c.getName().substring(c.getPackage().getName().length() + 1); in getClassName()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java82 @libcore.util.Nullable public java.lang.Package getPackage() { throw new RuntimeException("Stub!");… in getPackage() method in Class
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java52 ClassTest.class.getPackage().getName().replace('.', '/');
/libcore/json/src/main/java/org/json/
DJSONObject.java836 if (o.getClass().getPackage().getName().startsWith("java.")) { in wrap()

12