Home
last modified time | relevance | path

Searched refs:pkg (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldAndroidClassTest.java232 String pkg = (clazz.getPackage() == null ? "" : clazz.getPackage().getName() + "."); in testVariousClassNames() local
236 assertEquals(pkg + "OldAndroidClassTest", clazz.getName()); in testVariousClassNames()
238 assertEquals(pkg + "OldAndroidClassTest", clazz.getCanonicalName()); in testVariousClassNames()
242 assertEquals(pkg + "OldAndroidClassTest$MemberClass", clazz.getName()); in testVariousClassNames()
244 assertEquals(pkg + "OldAndroidClassTest.MemberClass", clazz.getCanonicalName()); in testVariousClassNames()
252 assertEquals(pkg + "OldAndroidClassTest$1LocalClass", clazz.getName()); in testVariousClassNames()
258 assertEquals(pkg + "OldAndroidClassTest$1", clazz.getName()); in testVariousClassNames()
266 assertEquals(pkg + "Mou$$aka", clazz.getName()); in testVariousClassNames()
268 assertEquals(pkg + "Mou$$aka", clazz.getCanonicalName()); in testVariousClassNames()
272 assertEquals(pkg + "OldAndroidClassTest$Mi$o$oup", clazz.getName()); in testVariousClassNames()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DClassLoader.java1163 Package pkg = packages.get(name); in definePackage() local
1164 if (pkg != null) { in definePackage()
1167 pkg = new Package(name, specTitle, specVersion, specVendor, in definePackage()
1170 packages.put(name, pkg); in definePackage()
1171 return pkg; in definePackage()
1188 Package pkg; in getPackage() local
1190 pkg = packages.get(name); in getPackage()
1192 return pkg; in getPackage()
DPackage.java554 Package pkg = pkgs.get(name); in getSystemPackage() local
555 if (pkg == null) { in getSystemPackage()
559 pkg = defineSystemPackage(name, fn); in getSystemPackage()
562 return pkg; in getSystemPackage()
605 Package pkg; in defineSystemPackage() local
608 pkg = new Package(name, man, url, null); in defineSystemPackage()
610 pkg = new Package(name, null, null, null, in defineSystemPackage()
613 pkgs.put(name, pkg); in defineSystemPackage()
614 return pkg; in defineSystemPackage()
DSecurityManager.java189 public void checkPackageAccess(String pkg) { } in checkPackageAccess() argument
191 public void checkPackageDefinition(String pkg) { } in checkPackageDefinition() argument
/libcore/ojluni/src/main/java/sun/reflect/misc/
DReflectUtil.java256 String pkg = (i != -1) ? name.substring(0, i) : ""; in isNonPublicProxyClass() local
262 return Proxy.isProxyClass(cls) && !pkg.isEmpty(); in isNonPublicProxyClass()
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java393 Package pkg = getPackage(pkgname); in getAndVerifyPackage() local
394 if (pkg != null) { in getAndVerifyPackage()
396 if (pkg.isSealed()) { in getAndVerifyPackage()
398 if (!pkg.isSealed(url)) { in getAndVerifyPackage()
412 return pkg; in getAndVerifyPackage()
/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java660 String pkg = ((n == -1) ? "" : name.substring(0, n + 1)); in apply() local
662 proxyPkg = pkg; in apply()
663 } else if (!pkg.equals(proxyPkg)) { in apply()