Home
last modified time | relevance | path

Searched refs:checkPermission (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/libcore/java/security/
DAccessControllerTest.java53 AccessController.getContext().checkPermission(permission); in testDoPrivilegedWithCombiner()
60 AccessController.getContext().checkPermission(permission); in testDoPrivilegedWithCombiner()
/libcore/luni/src/main/java/java/lang/
DSecurityManager.java149 public void checkPermission(Permission permission) { } in checkPermission() method in SecurityManager
151 public void checkPermission(Permission permission, Object context) { } in checkPermission() method in SecurityManager
/libcore/luni/src/main/java/java/security/
DAccessControlContext.java44 public void checkPermission(Permission perm) throws AccessControlException { } in checkPermission() method in AccessControlContext
DAccessController.java89 public static void checkPermission(Permission permission) throws AccessControlException { } in checkPermission() method in AccessController
/libcore/luni/src/main/java/java/security/acl/
DAclEntry.java95 boolean checkPermission(Permission permission); in checkPermission() method
DAcl.java159 boolean checkPermission(Principal principal, Permission permission); in checkPermission() method
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DSecurityChecker.java45 public void checkPermission(Permission p) { in checkPermission() method in SecurityChecker
/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java69 public void checkPermission(Permission perm) { in test_addShutdownHook()
108 public void checkPermission(Permission perm) { in test_execLjava_lang_StringLjava_lang_StringArray()
155 public void checkPermission(Permission perm) { in test_execLjava_lang_StringArrayLjava_lang_StringArray()
201 public void checkPermission(Permission perm) { in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File()
250 public void checkPermission(Permission perm) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java366 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in haveCCLPermissions()
367 sm.checkPermission(new RuntimePermission("getClassLoader")); in haveCCLPermissions()
378 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in checkCCL()
379 sm.checkPermission(new RuntimePermission("getClassLoader")); in checkCCL()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScopeTest.java44 public void checkPermission(Permission permission){ in checkPermission() method in IdentityScopeTest.MySecurityManager
DSignerTest.java50 public void checkPermission(Permission permission){ in checkPermission() method in SignerTest.MySecurityManager
DProviderTest.java607 public void checkPermission(Permission permission) { in checkPermission() method in ProviderTest.TestSecurityManager
/libcore/luni/src/test/java/tests/java/security/
DIdentityTest.java48 public void checkPermission(Permission permission){ in checkPermission() method in IdentityTest.MySecurityManager
/libcore/luni/src/test/java/libcore/java/net/
DOldURLTest.java593 public void checkPermission(Permission permission) { in checkPermission() method in OldURLTest.MockSecurityManager
597 super.checkPermission(permission); in checkPermission()
DOldSocketTest.java52 public void checkPermission(Permission perm) {}
474 public void checkPermission(Permission perm) { in test_setSocketImplFactoryLjava_net_SocketImplFactory()
2170 public void checkPermission(Permission permission) { in checkPermission() method in OldSocketTest.MockSecurityManager
/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinPool.java508 private static void checkPermission() { in checkPermission() method in ForkJoinPool
511 security.checkPermission(modifyThreadPermission); in checkPermission()
2413 checkPermission(); in ForkJoinPool()
2908 checkPermission();
2927 checkPermission();
DThreadPoolExecutor.java705 security.checkPermission(shutdownPerm); in checkShutdownAccess()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java199 AccessController.checkPermission(privCheckPermission); in test_getClasses_subtest0()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java146 public void checkPermission(Permission perm) {