/libcore/luni/src/test/java/libcore/java/lang/ |
PackageTest.java | 24 /** assign packages immediately so that Class.getPackage() calls cannot side-effect it */ 29 assertEquals(0, getClass().getPackage().getAnnotations().length); 30 assertEquals(0, getClass().getPackage().getDeclaredAnnotations().length); 34 Package libcoreJavaLang = Package.getPackage("libcore.java.lang"); 36 assertEquals(getClass().getPackage(), libcoreJavaLang); 41 assertTrue(packages.contains(getClass().getPackage()));
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
Version.java | 12 Package pkg = Version.class.getPackage(); 18 Package pkg = Version.class.getPackage();
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
DocumentBuilderFactory.java | 378 + this.getClass().getPackage().getSpecificationTitle() 380 + this.getClass().getPackage().getSpecificationVersion() 444 + this.getClass().getPackage().getSpecificationTitle() 446 + this.getClass().getPackage().getSpecificationVersion() 473 + this.getClass().getPackage().getSpecificationTitle() 475 + this.getClass().getPackage().getSpecificationVersion() 495 + this.getClass().getPackage().getSpecificationTitle() 497 + this.getClass().getPackage().getSpecificationVersion()
|
SAXParserFactory.java | 261 + this.getClass().getPackage().getSpecificationTitle() 263 + this.getClass().getPackage().getSpecificationVersion() 320 + this.getClass().getPackage().getSpecificationTitle() 322 + this.getClass().getPackage().getSpecificationVersion() 349 + this.getClass().getPackage().getSpecificationTitle() 351 + this.getClass().getPackage().getSpecificationVersion() 371 + this.getClass().getPackage().getSpecificationTitle() 373 + this.getClass().getPackage().getSpecificationVersion()
|
DocumentBuilder.java | 81 + " Specification \"" + this.getClass().getPackage().getSpecificationTitle() + "\"" 82 + " version \"" + this.getClass().getPackage().getSpecificationVersion() + "\"" 282 + this.getClass().getPackage().getSpecificationTitle() 284 + this.getClass().getPackage().getSpecificationVersion() 310 + this.getClass().getPackage().getSpecificationTitle() 312 + this.getClass().getPackage().getSpecificationVersion()
|
SAXParser.java | 103 + " Specification \"" + this.getClass().getPackage().getSpecificationTitle() + "\"" 104 + " version \"" + this.getClass().getPackage().getSpecificationVersion() + "\"" 491 + this.getClass().getPackage().getSpecificationTitle() 493 + this.getClass().getPackage().getSpecificationVersion() 518 + this.getClass().getPackage().getSpecificationTitle() 520 + this.getClass().getPackage().getSpecificationVersion()
|
/cts/tools/signature-tools/test/signature/converter/ |
ConvertVisibilityTest.java | 50 IPackage p = ModelUtil.getPackage(api, "a");
68 IPackage p = ModelUtil.getPackage(api, "a");
86 IPackage p = ModelUtil.getPackage(api, "a");
104 IPackage p = ModelUtil.getPackage(api, "a");
121 IPackage sigPackage = ModelUtil.getPackage(api, "a");
136 IPackage sigPackage = ModelUtil.getPackage(api, "a");
152 IPackage sigPackage = ModelUtil.getPackage(api, "a");
168 IPackage sigPackage = ModelUtil.getPackage(api, "a");
|
ConvertPackageTest.java | 40 IPackage sigPackage = ModelUtil.getPackage(api, "a");
52 IPackage sigPackage = ModelUtil.getPackage(api, "a");
65 IPackage sigPackage = ModelUtil.getPackage(api, "a");
|
ConvertClassTest.java | 58 IPackage sigPackage = ModelUtil.getPackage(api, "a.b"); 69 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 80 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 91 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 102 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 113 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 132 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 149 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 168 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 187 IPackage sigPackage = ModelUtil.getPackage(api, "a") [all...] |
ConvertAnnotationTest.java | 58 IPackage sigPackage = ModelUtil.getPackage(api, "a");
88 IPackage sigPackage = ModelUtil.getPackage(api, "a");
110 IPackage sigPackage = ModelUtil.getPackage(api, "a");
138 IPackage sigPackage = ModelUtil.getPackage(api, "a");
163 IPackage sigPackage = ModelUtil.getPackage(api, "a");
187 IPackage sigPackage = ModelUtil.getPackage(api, "a");
222 IPackage sigPackage = ModelUtil.getPackage(api, "a");
248 IPackage sigPackage = ModelUtil.getPackage(api, "a");
272 IPackage sigPackage = ModelUtil.getPackage(api, "a");
312 IPackage sigPackage = ModelUtil.getPackage(api, "a"); [all...] |
ConvertParameterizedTypeTest.java | 51 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 75 IPackage sigPackage = ModelUtil.getPackage(api, "a");
|
ConvertWildcardTest.java | 48 IPackage sigPackage = ModelUtil.getPackage(api, "a"); 77 IPackage sigPackage = ModelUtil.getPackage(api, "a");
|
/libcore/luni/src/main/java/javax/xml/transform/ |
Transformer.java | 73 + " Specification \"" + this.getClass().getPackage().getSpecificationTitle() + "\"" 74 + " version \"" + this.getClass().getPackage().getSpecificationVersion() + "\""
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
UnitTests.java | 58 !testClass.getPackage().getName().startsWith(FuncTests.FUNC_TEST_PACKAGE);
|
AdtTestData.java | 123 String pkgAdt = AdtPlugin .class.getPackage().getName(); 124 String pkgTests = AdtTestData.class.getPackage().getName();
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
CurrentXmlHandler.java | 73 ApiPackage apiPackage = mApiCoverage.getPackage(mCurrentPackageName); 106 ApiPackage apiPackage = mApiCoverage.getPackage(mCurrentPackageName); 115 ApiPackage apiPackage = mApiCoverage.getPackage(mCurrentPackageName);
|
ApiCoverage.java | 34 public ApiPackage getPackage(String name) {
|
DexDepsXmlHandler.java | 72 ApiPackage apiPackage = mPackageMap.getPackage(mCurrentPackageName); 83 ApiPackage apiPackage = mPackageMap.getPackage(mCurrentPackageName);
|
/development/tools/apkcheck/src/com/android/apkcheck/ |
ApiList.java | 80 public PackageInfo getPackage(String name) {
|
/libcore/dalvik/src/main/java/dalvik/system/ |
BaseDexClassLoader.java | 86 * {@code myClass.getPackage().getName()} happy. Thus we construct 107 protected synchronized Package getPackage(String name) { 109 Package pack = super.getPackage(name);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
PackageTest.java | 39 return Class.forName(className, true, ucl).getPackage(); 181 * @tests java.lang.Package#getPackage(java.lang.String) 184 assertSame("Package getPackage failed for java.lang", Package 185 .getPackage("java.lang"), Package.getPackage("java.lang")); 187 assertSame("Package getPackage failed for java.lang", Package 188 .getPackage("java.lang"), Object.class.getPackage()); 210 Package p1 = Package.getPackage("java.lang");
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldAndroidClassTest.java | 201 // Test for Class.getPackage(); 203 assertNotNull(getClass().getPackage()); 204 assertEquals(packageName, getClass().getPackage().getName()); 205 assertEquals("Unknown", getClass().getPackage().getSpecificationTitle()); 207 Package p = Object.class.getPackage(); 210 assertSame(p, Object.class.getPackage()); 214 // getSimpleName(), and getPackage(). 232 String pkg = (clazz.getPackage() == null ? "" : clazz.getPackage().getName() + ".");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestInfoTest.java | 53 assertEquals("com.android.unittest", info.getPackage()); 67 assertEquals("com.android.unittest", info.getPackage()); 81 assertEquals("com.android.unittest", info.getPackage()); 108 assertEquals("com.android.unittest", info.getPackage()); 163 assertEquals("com.android.unittest", info.getPackage()); 185 assertEquals("com.android.unittest", info.getPackage()); 202 assertEquals("com.android.unittest", info.getPackage());
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/ |
ShortcutHelperTest.java | 93 assertEquals(mActivity.getPackageName(), launchIntent.getPackage()); 105 assertEquals(mActivity.getPackageName(), newLaunchIntent.getPackage()); 122 assertEquals(mActivity.getPackageName(), launchIntent.getPackage());
|
/libcore/luni/src/main/java/java/lang/ |
Package.java | 175 * @see ClassLoader#getPackage(java.lang.String) 177 public static Package getPackage(String packageName) { 182 return classloader.getPackage(packageName);
|