Home
last modified time | relevance | path

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

/dalvik/tests/060-reflection-security/src/
DEnforcer.java34 public void checkPackageAccess(String pkg) { in checkPackageAccess() argument
35 System.out.println("checkPackageAccess: " + pkg); in checkPackageAccess()
37 super.checkPackageAccess(pkg); in checkPackageAccess()
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
DClass.java1202 String pkg = getName(); in getResource() local
1203 int dot = pkg.lastIndexOf('.'); in getResource()
1205 pkg = pkg.substring(0, dot).replace('.', '/'); in getResource()
1207 pkg = ""; in getResource()
1210 resName = pkg + "/" + resName; in getResource()
1239 String pkg = getName(); in getResourceAsStream() local
1240 int dot = pkg.lastIndexOf('.'); in getResourceAsStream()
1242 pkg = pkg.substring(0, dot).replace('.', '/'); in getResourceAsStream()
1244 pkg = ""; in getResourceAsStream()
1247 resName = pkg + "/" + resName; in getResourceAsStream()
DPackage.java125 private static native Annotation[] getDeclaredAnnotations(Package pkg, in getDeclaredAnnotations() argument
/dalvik/libcore/luni/src/main/java/java/lang/
DSecurityManager.java434 final String pkg) { in checkPackageProperty() argument
438 int plen = pkg.length(); in checkPackageProperty()
444 && pkg.startsWith(token) in checkPackageProperty()
445 && (token.charAt(tlen - 1) == '.' || pkg.charAt(tlen) == '.')) { in checkPackageProperty()
447 } else if (plen == tlen && token.startsWith(pkg)) { in checkPackageProperty()
449 } else if (plen + 1 == tlen && token.startsWith(pkg) in checkPackageProperty()
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DClassTest.java1209 public void checkPackageAccess(String pkg) { in test_getDeclaredClasses()
1210 if(pkg.equals(PublicTestClass.class.getPackage())) { in test_getDeclaredClasses()
1491 public void checkPackageAccess(String pkg) { in test_getFieldLjava_lang_String()
1492 if(pkg.equals(TestClass.class.getPackage())) { in test_getFieldLjava_lang_String()
2261 public void checkPackageAccess(String pkg) {
2262 if(pkg.equals(TestClass.class.getPackage())) {
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java332 String pkg = name.substring(6, slashAt); in checkClassName() local
333 bogus = (Arrays.binarySearch(JAVAX_CORE, pkg) >= 0); in checkClassName()
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
DJDKPKCS12KeyStore.java1447 byte[] pkg = bOut.toByteArray(); in engineStore()
1449 ContentInfo mainInfo = new ContentInfo(data, new BERConstructedOctetString(pkg)); in engineStore()