/libcore/ojluni/src/main/java/sun/security/util/ |
D | SecurityConstants.java | 180 public static final RuntimePermission CREATE_CLASSLOADER_PERMISSION = 181 new RuntimePermission("createClassLoader"); 184 public static final RuntimePermission CHECK_MEMBER_ACCESS_PERMISSION = 185 new RuntimePermission("accessDeclaredMembers"); 188 public static final RuntimePermission MODIFY_THREAD_PERMISSION = 189 new RuntimePermission("modifyThread"); 192 public static final RuntimePermission MODIFY_THREADGROUP_PERMISSION = 193 new RuntimePermission("modifyThreadGroup"); 196 public static final RuntimePermission GET_PD_PERMISSION = 197 new RuntimePermission("getProtectionDomain"); [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | RuntimePermission.java | 34 public final class RuntimePermission extends BasicPermission { class 38 public RuntimePermission(String name) in RuntimePermission() method in RuntimePermission 43 public RuntimePermission(String name, String actions) in RuntimePermission() method in RuntimePermission
|
D | Thread.java | 1593 private static final RuntimePermission SUBCLASS_IMPLEMENTATION_PERMISSION = 1594 new RuntimePermission("enableContextClassLoaderOverride");
|
D | ProcessBuilder.java | 342 security.checkPermission(new RuntimePermission("getenv.*")); in environment()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ExecutorsTest.java | 374 new RuntimePermission("getClassLoader"), in testPrivilegedThreadFactory() 375 new RuntimePermission("setContextClassLoader"), in testPrivilegedThreadFactory() 376 new RuntimePermission("modifyThread")); in testPrivilegedThreadFactory() 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() 438 new RuntimePermission("getClassLoader"), in testPrivilegedCallableUsingCCLWithPrivs() 439 new RuntimePermission("setContextClassLoader")); in testPrivilegedCallableUsingCCLWithPrivs() 524 new RuntimePermission("getClassLoader"), in testPrivilegedCallableWithPrivs() [all …]
|
D | AbstractExecutorServiceTest.java | 127 new RuntimePermission("getClassLoader"), in testSubmitPrivilegedAction() 128 new RuntimePermission("setContextClassLoader"), in testSubmitPrivilegedAction() 129 new RuntimePermission("modifyThread")); in testSubmitPrivilegedAction()
|
D | JSR166TestCase.java | 1180 (new RuntimePermission("modifyThread"), 1181 new RuntimePermission("getClassLoader"), 1182 new RuntimePermission("setContextClassLoader"), 1186 new RuntimePermission("setSecurityManager"), 1188 new RuntimePermission("accessDeclaredMembers"),
|
D | ForkJoinPoolTest.java | 496 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitPrivilegedAction() 515 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitPrivilegedExceptionAction() 539 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitFailedPrivilegedExceptionAction()
|
/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/nio/file/spi/ |
D | FileTypeDetector.java | 55 sm.checkPermission(new RuntimePermission("fileTypeDetector")); in checkPermission()
|
D | FileSystemProvider.java | 90 sm.checkPermission(new RuntimePermission("fileSystemProvider")); in checkPermission()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | Preferences.java | 40 import java.lang.RuntimePermission; 392 private static Permission prefsPerm = new RuntimePermission("preferences");
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpClientProvider.java | 60 sm.checkPermission(new RuntimePermission("ftpClientProvider")); in FtpClientProvider()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | AccessControllerTest.java | 37 final Permission permission = new RuntimePermission("do stuff"); in testDoPrivilegedWithCombiner()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractUserDefinedFileAttributeView.java | 53 sm.checkPermission(new RuntimePermission("accessUserDefinedAttributes")); in checkAccess()
|
D | UnixFileAttributeViews.java | 148 sm.checkPermission(new RuntimePermission("accessUserInformation")); in checkReadExtended() 156 sm.checkPermission(new RuntimePermission("accessUserInformation")); in checkWriteExtended()
|
D | UnixUserPrincipals.java | 142 sm.checkPermission(new RuntimePermission("lookupUserInformation")); in lookupName()
|
D | UnixSecureDirectoryStream.java | 453 sm.checkPermission(new RuntimePermission("accessUserInformation")); in checkWriteAndUserAccess() 470 sm.checkPermission(new RuntimePermission("accessUserInformation")); in readAttributes()
|
D | UnixFileSystem.java | 252 sm.checkPermission(new RuntimePermission("getFileStoreAttributes"));
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AsynchronousChannelProvider.java | 57 sm.checkPermission(new RuntimePermission("asynchronousChannelProvider")); in checkPermission()
|
D | SelectorProvider.java | 84 sm.checkPermission(new RuntimePermission("selectorProvider")); in SelectorProvider()
|
/libcore/ojluni/src/main/java/java/io/ |
D | File.java | 1767 sm.checkPermission(new RuntimePermission("getFileSystemAttributes")); in getTotalSpace() 1805 sm.checkPermission(new RuntimePermission("getFileSystemAttributes")); in getFreeSpace() 1851 sm.checkPermission(new RuntimePermission("getFileSystemAttributes")); in getUsableSpace()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadPoolExecutor.java | 588 private static final RuntimePermission shutdownPerm = 589 new RuntimePermission("modifyThread");
|
D | ForkJoinPool.java | 1377 static final RuntimePermission modifyThreadPermission; 3496 modifyThreadPermission = new RuntimePermission("modifyThread"); 3560 innocuousPerms.add(new RuntimePermission( in innocuousPerms.add() 3562 innocuousPerms.add(new RuntimePermission( in innocuousPerms.add()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 263 sm.checkPermission(new RuntimePermission("shutdownHooks")); in checkSubclassPermissions() 264 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in checkSubclassPermissions()
|