/libcore/ojluni/src/main/java/java/util/logging/ |
D | Handler.java | 122 checkPermission(); in setFormatter() 151 checkPermission(); in setEncoding() 186 checkPermission(); in setFilter() 210 checkPermission(); in setErrorManager() 225 checkPermission(); in getErrorManager() 265 checkPermission(); in setLevel() 308 void checkPermission() throws SecurityException { in checkPermission() method in Handler 310 manager.checkPermission(); in checkPermission()
|
D | FileHandler.java | 262 checkPermission(); in FileHandler() 288 checkPermission(); in FileHandler() 321 checkPermission(); in FileHandler() 358 checkPermission(); in FileHandler() 397 checkPermission(); in FileHandler() 420 manager.checkPermission(); in openFiles()
|
D | Logger.java | 416 private void checkPermission() throws SecurityException { in checkPermission() method in Logger 422 manager.checkPermission(); in checkPermission() 697 checkPermission(); in setFilter() 1689 checkPermission(); in setLevel() 1749 checkPermission(); in addHandler() 1764 checkPermission(); in removeHandler() 1799 checkPermission(); in setUseParentHandlers() 1939 checkPermission(); 1971 checkPermission(); 2036 manager.checkPermission();
|
D | LogManager.java | 264 sm.checkPermission(new RuntimePermission("shutdownHooks")); in checkSubclassPermissions() 265 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in checkSubclassPermissions() 430 checkPermission(); in addPropertyChangeListener() 465 checkPermission(); in removePropertyChangeListener() 1247 checkPermission(); in readConfiguration() 1318 checkPermission(); in reset() 1404 checkPermission(); in readConfiguration() 1588 void checkPermission() { in checkPermission() method in LogManager 1591 sm.checkPermission(controlPermission); in checkPermission() 1605 checkPermission(); in checkAccess()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileTypeDetector.java | 52 private static Void checkPermission() { in checkPermission() method in FileTypeDetector 55 sm.checkPermission(new RuntimePermission("fileTypeDetector")); in checkPermission() 68 this(checkPermission()); in FileTypeDetector()
|
D | FileSystemProvider.java | 87 private static Void checkPermission() { in checkPermission() method in FileSystemProvider 90 sm.checkPermission(new RuntimePermission("fileSystemProvider")); in checkPermission() 108 this(checkPermission()); in FileSystemProvider()
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | Subject.java | 241 sm.checkPermission(AuthPermissionHolder.SET_READ_ONLY_PERMISSION); in setReadOnly() 287 sm.checkPermission(AuthPermissionHolder.GET_SUBJECT_PERMISSION); in getSubject() 348 sm.checkPermission(AuthPermissionHolder.DO_AS_PERMISSION); 410 sm.checkPermission(AuthPermissionHolder.DO_AS_PERMISSION); 467 sm.checkPermission(AuthPermissionHolder.DO_AS_PRIVILEGED_PERMISSION); 534 sm.checkPermission(AuthPermissionHolder.DO_AS_PRIVILEGED_PERMISSION); 1062 sm.checkPermission(new PrivateCredentialPermission 1084 sm.checkPermission(AuthPermissionHolder.MODIFY_PRINCIPALS_PERMISSION); 1087 … sm.checkPermission(AuthPermissionHolder.MODIFY_PUBLIC_CREDENTIALS_PERMISSION); 1090 … sm.checkPermission(AuthPermissionHolder.MODIFY_PRIVATE_CREDENTIALS_PERMISSION); [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | Authenticator.java | 127 sm.checkPermission(setDefaultPermission); in setDefault() 171 sm.checkPermission(requestPermission); in requestPasswordAuthentication() 233 sm.checkPermission(requestPermission); in requestPasswordAuthentication() 300 sm.checkPermission(requestPermission); in requestPasswordAuthentication()
|
D | ResponseCache.java | 86 sm.checkPermission(SecurityConstants.GET_RESPONSECACHE_PERMISSION); in getDefault() 109 sm.checkPermission(SecurityConstants.SET_RESPONSECACHE_PERMISSION); in setDefault()
|
D | CookieHandler.java | 75 sm.checkPermission(SecurityConstants.GET_COOKIEHANDLER_PERMISSION); in getDefault() 95 sm.checkPermission(SecurityConstants.SET_COOKIEHANDLER_PERMISSION); in setDefault()
|
D | ProxySelector.java | 94 sm.checkPermission(SecurityConstants.GET_PROXYSELECTOR_PERMISSION); in getDefault() 117 sm.checkPermission(SecurityConstants.SET_PROXYSELECTOR_PERMISSION); in setDefault()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AsynchronousChannelProvider.java | 54 private static Void checkPermission() { in checkPermission() method in AsynchronousChannelProvider 57 sm.checkPermission(new RuntimePermission("asynchronousChannelProvider")); in checkPermission() 70 this(checkPermission()); in AsynchronousChannelProvider()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ExtendedOptionsImpl.java | 65 sm.checkPermission(new NetworkPermission(check)); in checkSetOptionPermission() 74 sm.checkPermission(new NetworkPermission(check)); in checkGetOptionPermission()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | SecurityManager.java | 125 public void checkPermission(Permission perm) { in checkPermission() method in SecurityManager 129 public void checkPermission(Permission perm, Object context) { in checkPermission() method in SecurityManager
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | AccessControllerTest.java | 103 AccessController.getContext().checkPermission(permission); in assertActionRun() 109 AccessController.getContext().checkPermission(permission); in assertActionRun()
|
/libcore/ojluni/src/main/java/java/security/ |
D | AccessControlContext.java | 51 public void checkPermission(Permission perm) in checkPermission() method in AccessControlContext
|
D | AccessController.java | 101 public static void checkPermission(Permission perm) in checkPermission() method in AccessController
|
/libcore/ojluni/src/main/java/java/nio/charset/spi/ |
D | CharsetProvider.java | 84 sm.checkPermission(new RuntimePermission("charsetProvider")); in CharsetProvider()
|
/libcore/ojluni/src/main/java/java/security/acl/ |
D | AclEntry.java | 132 public boolean checkPermission(Permission permission); in checkPermission() method
|
D | Acl.java | 232 public boolean checkPermission(Principal principal, Permission permission); in checkPermission() method
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldRuntimeTest.java | 78 public void checkPermission(Permission perm) { in test_addShutdownHook() 117 public void checkPermission(Permission perm) { in test_execLjava_lang_StringLjava_lang_StringArray() 164 public void checkPermission(Permission perm) { in test_execLjava_lang_StringArrayLjava_lang_StringArray() 210 public void checkPermission(Permission perm) { in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() 259 public void checkPermission(Permission perm) { in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | Preferences.java | 499 security.checkPermission(prefsPerm); in userRoot() 521 security.checkPermission(prefsPerm); in systemRoot()
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpClientProvider.java | 60 sm.checkPermission(new RuntimePermission("ftpClientProvider")); in FtpClientProvider()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ExecutorsTest.java | 383 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in haveCCLPermissions() 384 sm.checkPermission(new RuntimePermission("getClassLoader")); in haveCCLPermissions() 395 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in checkCCL() 396 sm.checkPermission(new RuntimePermission("getClassLoader")); in checkCCL()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ExecutorsTest.java | 406 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in haveCCLPermissions() 407 sm.checkPermission(new RuntimePermission("getClassLoader")); in haveCCLPermissions() 418 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in checkCCL() 419 sm.checkPermission(new RuntimePermission("getClassLoader")); in checkCCL()
|