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/
DPackage.java541 Package pkg = pkgs.get(name); in getSystemPackage() local
542 if (pkg == null) { in getSystemPackage()
546 pkg = defineSystemPackage(name, fn); in getSystemPackage()
549 return pkg; in getSystemPackage()
592 Package pkg; in defineSystemPackage() local
595 pkg = new Package(name, man, url, null); in defineSystemPackage()
597 pkg = new Package(name, null, null, null, in defineSystemPackage()
600 pkgs.put(name, pkg); in defineSystemPackage()
601 return pkg; in defineSystemPackage()
DClassLoader.java1150 Package pkg = packages.get(name); in definePackage() local
1151 if (pkg != null) { in definePackage()
1154 pkg = new Package(name, specTitle, specVersion, specVendor, in definePackage()
1157 packages.put(name, pkg); in definePackage()
1158 return pkg; in definePackage()
1175 Package pkg; in getPackage() local
1177 pkg = packages.get(name); in getPackage()
1179 return pkg; in getPackage()
DSecurityManager.java179 public void checkPackageAccess(String pkg) { } in checkPackageAccess() argument
181 public void checkPackageDefinition(String pkg) { } in checkPackageDefinition() argument
/libcore/ojluni/src/main/java/sun/reflect/misc/
DReflectUtil.java188 String pkg = (i != -1) ? name.substring(0, i) : ""; in isNonPublicProxyClass() local
193 return Proxy.isProxyClass(cls) && !pkg.isEmpty(); in isNonPublicProxyClass()
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java382 Package pkg = getPackage(pkgname);
383 if (pkg != null) {
385 if (pkg.isSealed()) {
387 if (!pkg.isSealed(url)) {
401 return pkg;
/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java534 String pkg = ((n == -1) ? "" : name.substring(0, n + 1)); in getProxyClass0() local
536 proxyPkg = pkg; in getProxyClass0()
537 } else if (!pkg.equals(proxyPkg)) { in getProxyClass0()